public enum NonLockGuardedType extends java.lang.Enum<NonLockGuardedType>
| Enum Constant and Description |
|---|
METHOD
Indicates the method shouldn't be lock-guarded, but still should decorate the returned object(if applies)
|
NONE
Indicates the method shouldn't be lock-guarded neither the returned object should be decorated for lock guard.
|
RETURN
Indicates the returned object shouldn't be decorated for lock guard.
|
| Modifier and Type | Method and Description |
|---|---|
static NonLockGuardedType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NonLockGuardedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NonLockGuardedType RETURN
public static final NonLockGuardedType METHOD
public static final NonLockGuardedType NONE
public static NonLockGuardedType[] values()
for (NonLockGuardedType c : NonLockGuardedType.values()) System.out.println(c);
public static NonLockGuardedType 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