Class NdConstantEnum
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.NdStruct
org.aspectj.org.eclipse.jdt.internal.core.nd.NdNode
org.aspectj.org.eclipse.jdt.internal.core.nd.java.NdConstant
org.aspectj.org.eclipse.jdt.internal.core.nd.java.NdConstantEnum
- All Implemented Interfaces:
IDestructable,INdStruct
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic FieldManyToOne<NdTypeSignature>static FieldStringstatic StructDef<NdConstantEnum>Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.nd.java.NdConstant
PARENT_ANNOTATION_VALUE, PARENT_ARRAY, PARENT_METHOD, PARENT_VARIABLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNdConstantEnum(Nd nd)NdConstantEnum(Nd nd, long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic NdConstantEnumcreate(NdTypeSignature enumType, String enumValue)Returns theConstantcorresponding to the value of thisNdConstantor null if the receiver corresponds to aConstant.getType()char[]getValue()voidsetEnumType(NdTypeSignature enumType)voidsetEnumValue(String enumType)Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.nd.java.NdConstant
create, setParent, toStringMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.nd.NdNode
delete, destruct, equals, getAddress, getBindingID, getBit, getByte, getNodeId, getNodeType, hashCode, load, load
-
Field Details
-
ENUM_TYPE
-
ENUM_VALUE
-
type
-
-
Constructor Details
-
NdConstantEnum
-
NdConstantEnum
-
-
Method Details
-
create
-
setEnumType
-
setEnumValue
-
getType
-
getValue
public char[] getValue() -
getConstant
Description copied from class:NdConstantReturns theConstantcorresponding to the value of thisNdConstantor null if the receiver corresponds to aConstant.- Specified by:
getConstantin classNdConstant
-