public static enum InjectionPoint.Specifier extends java.lang.Enum<InjectionPoint.Specifier>
At annotations by including a colon (:)
character followed by the specifier type (case-sensitive), eg:
@At(value = "INVOKE:LAST", ... )
| Enum Constant and Description |
|---|
ALL
Use all instructions from the query result.
|
DEFAULT
Use the default setting as defined by the consumer.
|
FIRST
Use the first instruction from the query result.
|
LAST
Use the last instruction from the query result.
|
ONE
The query must return exactly one instruction, if it returns
more than one instruction this should be considered a fail-fast error
state and a runtime exception will be thrown.
|
| Modifier and Type | Method and Description |
|---|---|
static InjectionPoint.Specifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InjectionPoint.Specifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InjectionPoint.Specifier ALL
public static final InjectionPoint.Specifier FIRST
public static final InjectionPoint.Specifier LAST
public static final InjectionPoint.Specifier ONE
public static final InjectionPoint.Specifier DEFAULT
public static InjectionPoint.Specifier[] values()
for (InjectionPoint.Specifier c : InjectionPoint.Specifier.values()) System.out.println(c);
public static InjectionPoint.Specifier valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null