Annotation Type Next
-
@Target({}) @Retention(RUNTIME) public @interface NextSee@Desc.next
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>[]argsThe argument types of a method to match, ignored for fields.intmaxThe maximum number of times this selector can match.intminThe minimum number of times this selector should match.java.lang.StringnameThe name of the member to match.java.lang.Class<?>retThe return type of a method to match, or the declared type of a field.
-
-
-
-
min
int min
The minimum number of times this selector should match. By default the selector is allowed to match no targets. When selecting fields or methods setting this value to anything other than 0 or 1 is pointless since the member can either be present or absent. However when matching method calls or field accesses (eg. when using this value inside@At.desc) this allows a minimum number of matches to be specified in order to provide early validation that the selector matched the correct number of candidates. To specify an exact number of matches, setmaxto the same value as min. Values less than zero are ignored since selectors cannot match a negative number of times.- Default:
- 0
-
-
-
max
int max
The maximum number of times this selector can match. By default the selector is allowed to match an unlimited number of targets. When selecting fields or methods, setting this value to anything other than 1 is pointless since the member can either be present or absent. However when matching method calls or field accesses (eg. when using this value inside@At.desc) this allows a maximum number of matches to be specified in order to limit the number of times that the selector can match candidates. To specify an exact number of matches, set max to the same value asmin. Values less than 1 are treated as Integer.MAX_VALUE (the default) since setting a value of 0 or less has no meaning.- Default:
- 2147483647
-
-