Annotation Type MethodVal
-
@Documented @Retention(RUNTIME) @Target({TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(UnknownMethod.class) public @interface MethodValThis represents a set ofMethodorConstructorvalues. If an expression's type has@MethodVal, then the expression's run-time value is one of those values.Each of
@MethodVal's argument lists must be of equal length, and { className[i], methodName[i], params[i] } represents one of theMethodorConstructorvalues in the set.- See the Checker Framework Manual:
- MethodVal Checker
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]classNameThe binary name of the class that declares this method.java.lang.String[]methodNameThe name of the method that this Method object represents.int[]paramsThe number of parameters to the method.
-
-
-
Element Detail
-
className
java.lang.String[] className
The binary name of the class that declares this method.
-
-