W
- The type of the annotation's expected value.public static class AnnotationValue.ForMissingValue.Loaded<W> extends AnnotationValue.Loaded.AbstractBase<W>
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>
AnnotationValue.Loaded.AbstractBase<W>
Constructor and Description |
---|
Loaded(Class<? extends Annotation> type,
String property)
Creates a new loaded representation for an unresolved property.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue.State |
getState()
Returns the state of the represented loaded annotation value.
|
boolean |
represents(Object value)
Verifies if this loaded value represents the supplied loaded value.
|
W |
resolve()
Resolves the value to the actual value of an annotation.
|
resolve
public Loaded(Class<? extends Annotation> type, String property)
type
- The annotation type.property
- The name of the property for which the annotation value is missing.public AnnotationValue.State getState()
public W 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–2024. All rights reserved.