Annotation Interface Argument.Named
- Enclosing class:
Argument
Looks the method up on the target class under a different name. Useful when a field or
method in the scanned class has a name that would make a poor Java method name, or clashes
with another one.
@Argument.Named("r")
Integer red();
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe name to look up on the target class in place of the method's own.- Returns:
- the field or method name on the target class
-