Top Description Methods
org.checkerframework.checker.index.qual

public @Interface LTEqLengthOf

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:TYPE_USE, TYPE_PARAMETER
@SubtypeOf:UpperBoundUnknown
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.checkerframework.framework.qual.JavaExpression, .SubtypeOf

The annotated expression evaluates to an integer whose value is less than or equal to the lengths of all the given sequences. ("LTEq" stands for "Less than or equal to".)

For example, an expression with type @LTLengthOf({"a", "b"}) is less than or equal to both a.length and b.length. The sequences a and b might have different lengths.

@LTEqLengthOf({"a"}) = @LTLengthOf(value={"a"}, offset=-1), and
@LTEqLengthOf(value={"a"}, offset=x) = @LTLengthOf(value={"a"}, offset=x-1) for any x.

Method Summary

Modifier and TypeMethod and Description
public String[]
value()

Sequences, each of which is at least as long as the annotated expression's value.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()

Sequences, each of which is at least as long as the annotated expression's value.

Annotations
@JavaExpression