Annotation Interface Method.Index
- Enclosing class:
Method
Reads the return value of a method on the target class. A method with the same name as the
conduit method is used if there is one, otherwise the zero-argument instance method at the
given position in declaration order. Falls back to the constructor argument at that index if
neither can be evaluated.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionintThe position of the method to read, in declaration order.
-
Element Details
-
value
int valueThe position of the method to read, in declaration order.- Returns:
- the method position, counted from zero
-