blob: a243a5af2d3e0e677db35e88aea71051e36fed4d [file] [log] [blame]
import org.checkerframework.common.value.qual.IntRange;
public class AnnotationUse {
// :: error: (annotation.intrange.on.noninteger)
@IntRange(to = 0) String s1;
// :: error: (annotation.intrange.on.noninteger)
@IntRange(from = 0) String s2;
// Allowed on j.l.Object, because of possible boxing
@IntRange(to = 0) Object o;
}