summaryrefslogtreecommitdiff
path: root/src/main/java/au/id/zancanaro/javacheck/object/IntRange.java
blob: 5d2aa30dedcf5cf5a1925fb2d215cfc5cd095254 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package au.id.zancanaro.javacheck.object;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface IntRange {
    int max();
    int min();
}