Annotation Type Desc
-
@Documented @Retention(RUNTIME) public @interface DescDescis a metadata annotation to specify a specific class member without the potential of typos.When matching to fields,
args()is ignored. The descriptor of the field is solely defined byret().It is generally advisable to fill in all information, as otherwise matching might happen in an unintended manner.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe name of the member to match.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>[]argsThe arguments of the matched methods.java.lang.Class<?>ownerThe owner of the member, or the type from which a call is made.java.lang.Class<?>retThe return type of the matched member.
-