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 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 ElementImpl
asType, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getFileName, getPackedAnnotationBindings, hashCodeModifier and TypeMethodDescriptionasType()<A extends Annotation>
AgetAnnotation(Class<A> annotationClass) List<? extends AnnotationMirror> <A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType) Get the project-relative path to the source file that contains this element.final AnnotationBinding[]inthashCode()Methods inherited from interface 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
-