public static enum InjectionPoint.RestrictTargetLevel extends java.lang.Enum<InjectionPoint.RestrictTargetLevel>
Inject).| Enum Constant and Description |
|---|
ALLOW_ALL
Injection point is valid for instructions in both methods and
constructors, both before and after the delegate call
|
CONSTRUCTORS_AFTER_DELEGATE
Injection point is valid for instructions in methods and in
constructors but only after the delegate constructor call.
|
METHODS_ONLY
Injection point is valid for instructions in methods only
|
| Modifier and Type | Method and Description |
|---|---|
static InjectionPoint.RestrictTargetLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InjectionPoint.RestrictTargetLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InjectionPoint.RestrictTargetLevel METHODS_ONLY
public static final InjectionPoint.RestrictTargetLevel CONSTRUCTORS_AFTER_DELEGATE
public static final InjectionPoint.RestrictTargetLevel ALLOW_ALL
public static InjectionPoint.RestrictTargetLevel[] values()
for (InjectionPoint.RestrictTargetLevel c : InjectionPoint.RestrictTargetLevel.values()) System.out.println(c);
public static InjectionPoint.RestrictTargetLevel 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