package org.checkerframework.checker.index.qual;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* An integer that, for each of the given sequences, is equal to the sequence's length.
*
* <p>This is treated as an {@link IndexOrHigh} annotation internally. This is an implementation
* detail that may change in the future, when this type may be used to implement more precise
* refinements.
*
* @checker_framework.manual #index-checker Index Checker
*/
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
public @interface LengthOf {
/** Sequences that the annotated expression is equal to the lengeth of. */
String[] value() default {};
}