mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 21:04:27 +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
+13
@@ -0,0 +1,13 @@
|
||||
package somehussar.gui.annotationHandling.constraints;
|
||||
|
||||
import somehussar.gui.annotationHandling.FieldConstraint;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
public class NumericConstraintFactory implements ConstraintFactory<NumericConstraint> {
|
||||
|
||||
@Override
|
||||
public FieldConstraint create(Field field, NumericConstraint ann) {
|
||||
return new NumericRangeConstraint(ann.min(), ann.max());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user