// Path: src/main/java/gui/utils/GUIErrorHandler.java
// public class GUIErrorHandler {
// 
// 	public GUIErrorHandler(Exception e) {
// 		// TODO
// 		e.printStackTrace();
// 	}
// 
// }


import java.awt.Component;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.LinkedList;
import java.util.List;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JSpinner;
import gui.utils.GUIErrorHandler;
		boolean setter) {

		String accessorPrefix = setter ? "set" : "get";
		Class<?>[] args = new Class<?>[0];
		try {
			if (elt instanceof JCheckBox) {
				if (setter) {
					args = new Class<?>[]{boolean.class};
				} else {
					accessorPrefix = "is";
				}
				return elt.getClass().getMethod(
					accessorPrefix + "Selected",
					args
				);
			} else if (elt instanceof JComboBox
				|| elt instanceof JSpinner) {

				if (setter) {
					args = new Class<?>[]{Object.class};
				}
				String accessorSuffix = elt instanceof JComboBox
					? "SelectedItem"
					: "Value";
				return elt.getClass().getMethod(
					accessorPrefix + accessorSuffix,
					args
				);
			}
		} catch (NoSuchMethodException | SecurityException e) {
// Path: src/main/java/gui/utils/GUIErrorHandler.java
// public class GUIErrorHandler {
// 
// 	public GUIErrorHandler(Exception e) {
// 		// TODO
// 		e.printStackTrace();
// 	}
// 
// }


// Path: src/main/java/main/utils/ReflectionUtils.java
import java.awt.Component;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.LinkedList;
import java.util.List;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JSpinner;
import gui.utils.GUIErrorHandler;

		boolean setter) {

		String accessorPrefix = setter ? "set" : "get";
		Class<?>[] args = new Class<?>[0];
		try {
			if (elt instanceof JCheckBox) {
				if (setter) {
					args = new Class<?>[]{boolean.class};
				} else {
					accessorPrefix = "is";
				}
				return elt.getClass().getMethod(
					accessorPrefix + "Selected",
					args
				);
			} else if (elt instanceof JComboBox
				|| elt instanceof JSpinner) {

				if (setter) {
					args = new Class<?>[]{Object.class};
				}
				String accessorSuffix = elt instanceof JComboBox
					? "SelectedItem"
					: "Value";
				return elt.getClass().getMethod(
					accessorPrefix + accessorSuffix,
					args
				);
			}
		} catch (NoSuchMethodException | SecurityException e) {
			new GUIErrorHandler(e);