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) booleanprotected AnnotationBinding[]getKind()booleanSubclassed 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, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.lang.model.element.Element
getAnnotation, getAnnotationMirrors, getAnnotationsByType, hashCodeMethods inherited from interface javax.lang.model.element.VariableElement
asType, isUnnamed
-
Method Details
-
accept
-
getAnnotationBindings
- Specified by:
getAnnotationBindingsin classElementImpl- Returns:
- the set of compiler annotation bindings on this element
-
getConstantValue
- Specified by:
getConstantValuein interfaceVariableElement
-
getEnclosedElements
- Specified by:
getEnclosedElementsin interfaceElement
-
getEnclosingElement
- Specified by:
getEnclosingElementin interfaceElement- Specified by:
getEnclosingElementin interfaceVariableElement
-
getKind
-
getModifiers
- Specified by:
getModifiersin interfaceElement- Overrides:
getModifiersin classElementImpl
-
getSimpleName
- Specified by:
getSimpleNamein interfaceElement- Specified by:
getSimpleNamein interfaceVariableElement- Overrides:
getSimpleNamein classElementImpl
-
hides
Description copied from class:ElementImplSubclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl. This base implementation suffices for other types.- Overrides:
hidesin classElementImpl- Returns:
- true if this element hides
hidden - See Also:
-
toString
- Overrides:
toStringin classElementImpl
-
equals
- Specified by:
equalsin interfaceElement- Overrides:
equalsin classElementImpl
-