protected static class TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.LegalRuntimeEnumeration extends Object implements TypePool.LazyTypeDescription.AnnotationValue.Loaded<Enum<?>>
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State
Constructor and Description |
---|
LegalRuntimeEnumeration(Enum<?> value)
Creates a representation for an enumeration value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
Enum<?> |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
public LegalRuntimeEnumeration(Enum<?> value)
value
- The represented value.public TypePool.LazyTypeDescription.AnnotationValue.Loaded.State getState()
TypePool.LazyTypeDescription.AnnotationValue.Loaded
getState
in interface TypePool.LazyTypeDescription.AnnotationValue.Loaded<Enum<?>>
public Enum<?> resolve()
TypePool.LazyTypeDescription.AnnotationValue.Loaded
resolve
in interface TypePool.LazyTypeDescription.AnnotationValue.Loaded<Enum<?>>
Copyright © 2014–2015. All rights reserved.