U
- The represented type.protected static class AnnotationValue.ForTypeDescription.Loaded<U extends Class<U>> extends AnnotationValue.Loaded.AbstractBase<U>
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>
AnnotationValue.Loaded.AbstractBase<W>
Constructor and Description |
---|
Loaded(U type)
Creates a new loaded annotation value for a given type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
AnnotationValue.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.
|
U |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
resolve
public Loaded(U type)
type
- The represented type.public AnnotationValue.State getState()
public U 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–2020. All rights reserved.