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

@@ -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());
}
}