java.lang.Object
org.microbean.lang.AnnotatedConstruct
org.microbean.lang.element.Element
org.microbean.lang.element.VariableElement
- All Implemented Interfaces:
AnnotatedConstruct,Element,VariableElement,Encloseable,Encloser
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableElement(ElementKind kind) VariableElement(ElementKind kind, Object constantValue) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,P> R accept(ElementVisitor<R, P> v, P p) final Objectfinal booleanfinal voidsetConstantValue(Object constantValue) final StringtoString()protected final ElementKindvalidateKind(ElementKind kind) protected final TypeMirrorvalidateType(TypeMirror type) Methods inherited from class org.microbean.lang.element.Element
addEnclosedElement, addEnclosedElements, addModifier, addModifiers, asType, canEnclose, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, setEnclosedElementsGenerator, setEnclosingElement, setSimpleName, setSimpleName, setType, validateEnclosedElement, validateModifier, validateSimpleNameMethods inherited from class org.microbean.lang.AnnotatedConstruct
addAnnotationMirror, addAnnotationMirrors, getAnnotation, getAnnotationMirrors, getAnnotationsByType, validateAnnotationMirrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getKind, getModifiers, hashCodeMethods inherited from interface javax.lang.model.element.VariableElement
asType, getEnclosingElement, getSimpleName
-
Field Details
-
constantValue
-
-
Constructor Details
-
VariableElement
-
VariableElement
-
-
Method Details
-
accept
-
isUnnamed
public final boolean isUnnamed()- Specified by:
isUnnamedin interfaceVariableElement- Overrides:
isUnnamedin classElement
-
getConstantValue
- Specified by:
getConstantValuein interfaceVariableElement
-
setConstantValue
-
toString
-
validateKind
- Overrides:
validateKindin classElement
-
validateType
- Overrides:
validateTypein classElement
-