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
-
Constructor Summary
ConstructorDescriptionVariableElement
(ElementKind kind) VariableElement
(ElementKind kind, Object constantValue) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(ElementVisitor<R, P> v, P p) final Object
final boolean
final void
setConstantValue
(Object constantValue) final String
toString()
protected final ElementKind
validateKind
(ElementKind kind) protected final TypeMirror
validateType
(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, validateSimpleName
Methods inherited from class org.microbean.lang.AnnotatedConstruct
addAnnotationMirror, addAnnotationMirrors, getAnnotation, getAnnotationMirrors, getAnnotationsByType, validateAnnotationMirror
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getKind, getModifiers, hashCode
Methods 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:
isUnnamed
in interfaceVariableElement
- Overrides:
isUnnamed
in classElement
-
getConstantValue
- Specified by:
getConstantValue
in interfaceVariableElement
-
setConstantValue
-
toString
-
validateKind
- Overrides:
validateKind
in classElement
-
validateType
- Overrides:
validateType
in classElement
-