U
- The represented type.protected static class AnnotationValue.ForTypeDescription.Loaded<U extends Class<U>> extends AnnotationValue.Loaded.AbstractBase<U>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State
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.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.
|
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.Loaded.State getState()
AnnotationValue.Loaded
public U resolve()
AnnotationValue.Loaded
public boolean represents(Object value)
AnnotationValue.Loaded
value
- A loaded annotation value.true
if the supplied annotation value is represented by this annotation value.Copyright © 2014–2018. All rights reserved.