@Documented @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(value=UpperBoundUnknown.class) public @interface LTEqLengthOf
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.
@JavaExpression public abstract String[] value