mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 00:14:09 +00:00
Move classes around
This commit is contained in:
1 parent
3ea6303fc3
commit
a1549abff1
9 files changed
+18
-16
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
package somehussar.gui;
|
||||
package somehussar.gui.annotationHandling;
|
||||
|
||||
public interface FieldConstraint {
|
||||
void validate(Object value);
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package somehussar.gui;
|
||||
package somehussar.gui.annotationHandling;
|
||||
|
||||
public final class FieldConstraints {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package somehussar.gui;
|
||||
package somehussar.gui.annotationHandling;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.annotation.Retention;
|
||||
+5
-3
@@ -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;
|
||||
+2
-2
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
package somehussar.gui.constraints;
|
||||
package somehussar.gui.annotationHandling.constraints;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
+2
-2
@@ -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;
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user