summaryrefslogtreecommitdiff
path: root/src/main/java/au/id/zancanaro/javacheck/object/DoubleRange.java
blob: 08f8e3a16a21e9b569c3434b67191d8e46206865 (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 DoubleRange {
    double min();
    double max();
}