Class VariableElementImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.VariableElementImpl
- All Implemented Interfaces:
AnnotatedConstruct
,Element
,VariableElement
,IElementInfo
- Direct Known Subclasses:
RecordComponentElementImpl
Implementation of VariableElement, which represents a a field, enum constant,
method or constructor parameter, local variable, or exception parameter.
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
_binding, _env
-
Method Summary
Modifier and TypeMethodDescription<R, P> R
accept(ElementVisitor<R,P> v, P p)
boolean
protected AnnotationBinding[]
getKind()
boolean
Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.toString()
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
asType, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getFileName, getPackedAnnotationBindings, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.lang.model.element.Element
getAnnotation, getAnnotationMirrors, getAnnotationsByType, hashCode
Methods inherited from interface javax.lang.model.element.VariableElement
asType
-
Method Details
-
accept
-
getAnnotationBindings
- Specified by:
getAnnotationBindings
in classElementImpl
- Returns:
- the set of compiler annotation bindings on this element
-
getConstantValue
- Specified by:
getConstantValue
in interfaceVariableElement
-
getEnclosedElements
- Specified by:
getEnclosedElements
in interfaceElement
-
getEnclosingElement
- Specified by:
getEnclosingElement
in interfaceElement
- Specified by:
getEnclosingElement
in interfaceVariableElement
-
getKind
-
getModifiers
- Specified by:
getModifiers
in interfaceElement
- Overrides:
getModifiers
in classElementImpl
-
getSimpleName
- Specified by:
getSimpleName
in interfaceElement
- Specified by:
getSimpleName
in interfaceVariableElement
- Overrides:
getSimpleName
in classElementImpl
-
hides
Description copied from class:ElementImpl
Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl. This base implementation suffices for other types.- Overrides:
hides
in classElementImpl
- Returns:
- true if this element hides
hidden
- See Also:
Elements.hides(javax.lang.model.element.Element, javax.lang.model.element.Element)
-
toString
- Overrides:
toString
in classElementImpl
-
equals
- Specified by:
equals
in interfaceElement
- Overrides:
equals
in classElementImpl
-