mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 17:39:39 +00:00
15 lines
432 B
Java
15 lines
432 B
Java
package somehussar.gui.annotationHandling.constraints;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Retention(value = RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.FIELD)
|
|
public @interface NumericConstraint {
|
|
double min() default Double.NEGATIVE_INFINITY;
|
|
|
|
double max() default Double.POSITIVE_INFINITY;
|
|
}
|