Move classes around

This commit is contained in:
somehussar committed 2026-01-31 05:47:17 +01:00
1 parent 3ea6303fc3
commit a1549abff1
9 files changed
+18 -16

No files matched your search

@@ -1,4 +1,4 @@
package somehussar.gui;
package somehussar.gui.annotationHandling;
public interface FieldConstraint {
void validate(Object value);
@@ -1,4 +1,4 @@
package somehussar.gui;
package somehussar.gui.annotationHandling;
public final class FieldConstraints {
@@ -1,4 +1,4 @@
package somehussar.gui;
package somehussar.gui.annotationHandling;
import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
@@ -1,7 +1,9 @@
package somehussar.gui;
package somehussar.gui.annotationHandling;
import somehussar.gui.constraints.*;
import somehussar.gui.field.EditableField;
import somehussar.gui.annotationHandling.constraints.ConstraintFactory;
import somehussar.gui.annotationHandling.constraints.NumericConstraint;
import somehussar.gui.annotationHandling.constraints.NumericConstraintFactory;
import somehussar.gui.annotationHandling.field.EditableField;
import java.lang.annotation.Annotation;
import java.lang.invoke.MethodHandles;
@@ -1,6 +1,6 @@
package somehussar.gui.constraints;
package somehussar.gui.annotationHandling.constraints;
import somehussar.gui.FieldConstraint;
import somehussar.gui.annotationHandling.FieldConstraint;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
@@ -1,4 +1,4 @@
package somehussar.gui.constraints;
package somehussar.gui.annotationHandling.constraints;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -1,6 +1,6 @@
package somehussar.gui.constraints;
package somehussar.gui.annotationHandling.constraints;
import somehussar.gui.FieldConstraint;
import somehussar.gui.annotationHandling.FieldConstraint;
import java.lang.reflect.Field;
@@ -1,6 +1,6 @@
package somehussar.gui.constraints;
package somehussar.gui.annotationHandling.constraints;
import somehussar.gui.FieldConstraint;
import somehussar.gui.annotationHandling.FieldConstraint;
public final class NumericRangeConstraint implements FieldConstraint {
@@ -1,7 +1,7 @@
package somehussar.gui.field;
package somehussar.gui.annotationHandling.field;
import somehussar.gui.FieldConstraints;
import somehussar.gui.GuiEditable;
import somehussar.gui.annotationHandling.FieldConstraints;
import somehussar.gui.annotationHandling.GuiEditable;
import java.lang.invoke.MethodHandle;