@Target(value={})
@Retention(value=RUNTIME)
public @interface Next
@Desc.next| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?>[] |
args
The argument types of a method to match, ignored for fields.
|
int |
max
The maximum number of times this selector can match.
|
int |
min
The minimum number of times this selector should match.
|
java.lang.String |
name
The name of the member to match.
|
java.lang.Class<?> |
ret
The return type of a method to match, or the declared type of a field.
|
public abstract java.lang.String name
public abstract java.lang.Class<?> ret
public abstract java.lang.Class<?>[] args
public abstract int min
@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, set max to the same value as min. Values
less than zero are ignored since selectors cannot match a negative number
of times.public abstract int max
@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 as min.
Values less than 1 are treated as Integer.MAX_VALUE (the
default) since setting a value of 0 or less has no meaning.