protected static class AnnotationDescription.AnnotationInvocationHandler.DefaultValue extends Object implements AnnotationDescription.AnnotationValue.Loaded<Object>
AnnotationDescription.AnnotationValue.Loaded.State
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
AnnotationDescription.AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
protected static AnnotationDescription.AnnotationValue.Loaded<?> |
of(Method method)
Creates a default value representation for a given method which might or might not provide such
a default value.
|
Object |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
protected static AnnotationDescription.AnnotationValue.Loaded<?> of(Method method)
method
- The method for which a default value is to be extracted.public AnnotationDescription.AnnotationValue.Loaded.State getState()
AnnotationDescription.AnnotationValue.Loaded
getState
in interface AnnotationDescription.AnnotationValue.Loaded<Object>
public Object resolve()
AnnotationDescription.AnnotationValue.Loaded
resolve
in interface AnnotationDescription.AnnotationValue.Loaded<Object>
Copyright © 2014–2015. All rights reserved.