Resolver retrieves the type for an enum constant.
| Modifier and Type | Field and Description |
|---|---|
| private String | enumLiteral
The fully qualified name of the enum constant. |
| private IType | type
Hides org. IType that was already created elsewhere.
|
| Access | Constructor and Description |
|---|---|
| public | EnumLiteralResolver(Resolver
The parent of this resolver, which is never parent, IType nullThe type, String IType of the enum typeThe fully qualified name of the enum constant enumLiteral)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected IType | buildType()
Overrides org. IType of the property handled by this Resolver.
|
| protected ITypeDeclaration | buildTypeDeclaration()
Implements abstract org. ITypeDeclaration of the property handled by this Resolver.
|
| public String | Returns: The name of the constant without the fully qualified enum typeReturns the name of the constant constant. |
| public String |
| enumLiteral | back to summary |
|---|---|
| private String enumLiteral The fully qualified name of the enum constant. | |
| type | back to summary |
|---|---|
| private IType type Hides org. The cached | |
| EnumLiteralResolver | back to summary |
|---|---|
| public EnumLiteralResolver(Resolver parent, IType type, String enumLiteral) Creates a new
| |
| buildType | back to summary |
|---|---|
| protected IType buildType() Overrides org. Doc from org. Resolves the | |
| buildTypeDeclaration | back to summary |
|---|---|
| protected ITypeDeclaration buildTypeDeclaration() Implements abstract org. Doc from org. Resolves the
| |
| getConstantName | back to summary |
|---|---|
| public String getConstantName() Returns the name of the constant constant.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |