public static enum ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus extends Enum<ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus>
Enum Constant and Description |
---|
DOES_NOT_WRAP_USING_WHITELISTED_METHOD |
FIELD_TYPE_CANNOT_BE_WRAPPED |
WRAPS_AND_COPIES_SAFELY |
WRAPS_BUT_DOES_NOT_COPY |
Modifier and Type | Field and Description |
---|---|
boolean |
canBeWrapped |
boolean |
invokesWhitelistedWrapperMethod |
boolean |
safelyCopiesBeforeWrapping |
Modifier and Type | Method and Description |
---|---|
static ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus FIELD_TYPE_CANNOT_BE_WRAPPED
public static final ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus DOES_NOT_WRAP_USING_WHITELISTED_METHOD
public static final ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus WRAPS_BUT_DOES_NOT_COPY
public static final ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus WRAPS_AND_COPIES_SAFELY
public final boolean canBeWrapped
public final boolean invokesWhitelistedWrapperMethod
public final boolean safelyCopiesBeforeWrapping
public static ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus[] values()
for (ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus c : ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus.values()) System.out.println(c);
public static ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus 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 © 2008–2020 Graham Allan. All rights reserved.