Class SyntheticAnnotationMirror.SyntheticAnnotationValue
java.lang.Object
org.microbean.construct.element.SyntheticAnnotationMirror.SyntheticAnnotationValue
- All Implemented Interfaces:
Constable, AnnotationValue
- Enclosing class:
SyntheticAnnotationMirror
public static final class SyntheticAnnotationMirror.SyntheticAnnotationValue
extends Object
implements AnnotationValue, Constable
An experimental
AnnotationValue implementation that is partially or wholly synthetic.- Author:
- Laird Nelson
-
Constructor Summary
ConstructorsConstructorDescriptionSyntheticAnnotationValue(Object value) Creates a newSyntheticAnnotationMirror.SyntheticAnnotationValue. -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,P> R accept(AnnotationValueVisitor<R, P> v, P p) final Optional<? extends ConstantDesc> final booleanfinal ObjectgetValue()final inthashCode()final StringtoString()
-
Constructor Details
-
SyntheticAnnotationValue
Creates a newSyntheticAnnotationMirror.SyntheticAnnotationValue.- Parameters:
value- the value; must not benull; must be a legalAnnotationValuetype- Throws:
NullPointerException- ifvalueisnullIllegalArgumentException- ifvalueis not a legalAnnotationValuetype- See Also:
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceAnnotationValue
-
describeConstable
- Specified by:
describeConstablein interfaceConstable
-
equals
-
getValue
- Specified by:
getValuein interfaceAnnotationValue
-
hashCode
-
toString
-