public enum NonLockGuardedType extends 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(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.