public enum TypeManifestation extends Enum<TypeManifestation> implements ModifierContributor.ForType
ModifierContributor.ForField, ModifierContributor.ForMethod, ModifierContributor.ForParameter, ModifierContributor.ForType, ModifierContributor.Resolver<T extends ModifierContributor>| Enum Constant and Description |
|---|
ABSTRACT
Modifier for an abstract class.
|
ANNOTATION
Modifier for an annotation.
|
FINAL
Modifier for a final class.
|
INTERFACE
Modifier for an interface.
|
PLAIN
Modifier for a non-final, non-abstract, non-interface, non-enum type.
|
MASKEMPTY_MASK| Modifier and Type | Method and Description |
|---|---|
int |
getMask()
Returns the mask of this modifier.
|
int |
getRange()
Returns the entire range of modifiers that address this contributor's property.
|
boolean |
isAbstract()
Returns
true if a type represents an abstract type but not an interface type. |
boolean |
isAnnotation()
Returns
true if a type represents an annotation type. |
boolean |
isDefault()
Determines if this is the default modifier.
|
boolean |
isFinal()
Returns
true if a type represents a final type. |
boolean |
isInterface()
Returns
true if a type represents an interface type. |
static TypeManifestation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeManifestation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeManifestation PLAIN
public static final TypeManifestation FINAL
public static final TypeManifestation ABSTRACT
public static final TypeManifestation INTERFACE
public static final TypeManifestation ANNOTATION
public static TypeManifestation[] values()
for (TypeManifestation c : TypeManifestation.values()) System.out.println(c);
public static TypeManifestation 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 nullpublic int getMask()
getMask in interface ModifierContributorpublic int getRange()
getRange in interface ModifierContributorpublic boolean isDefault()
isDefault in interface ModifierContributortrue if this contributor represents the default modifier.public boolean isFinal()
true if a type represents a final type.true if a type represents a final type.public boolean isAbstract()
true if a type represents an abstract type but not an interface type.true if a type represents an abstract type but not an interface type.public boolean isInterface()
true if a type represents an interface type.true if a type represents an interface type.public boolean isAnnotation()
true if a type represents an annotation type.true if a type represents an annotation type.Copyright © 2014–2019. All rights reserved.