protected static class TypePool.AbstractBase.RawTypeValue.Loaded extends AnnotationValue.Loaded.AbstractBase<Class<?>>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State
Constructor and Description |
---|
Loaded(Class<?> type)
Creates a new representation for an annotation property referencing a type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
boolean |
represents(Object value)
Verifies if this loaded value represents the supplied loaded value.
|
Class<?> |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
resolve
public Loaded(Class<?> type)
type
- The type that is represented by an annotation property.public AnnotationValue.Loaded.State getState()
public Class<?> resolve()
public boolean represents(Object value)
value
- A loaded annotation value.true
if the supplied annotation value is represented by this annotation value.Copyright © 2014–2019. All rights reserved.