org.aspectj.org.eclipse.jdt.internal.compiler.apt.model
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:
- javax.lang.model.element.Element, javax.lang.model.element.VariableElement, IElementInfo
public class VariableElementImpl
- extends ElementImpl
- implements javax.lang.model.element.VariableElement
Implementation of VariableElement, which represents a a field, enum constant,
method or constructor parameter, local variable, or exception parameter.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.lang.model.element.Element |
asType, equals, getAnnotation, getAnnotationMirrors, hashCode |
accept
public <R,P> R accept(javax.lang.model.element.ElementVisitor<R,P> v,
P p)
- Specified by:
accept in interface javax.lang.model.element.Element
getAnnotationBindings
protected AnnotationBinding[] getAnnotationBindings()
- Specified by:
getAnnotationBindings in class ElementImpl
- Returns:
- the set of compiler annotation bindings on this element
getConstantValue
public java.lang.Object getConstantValue()
- Specified by:
getConstantValue in interface javax.lang.model.element.VariableElement
getEnclosedElements
public java.util.List<? extends javax.lang.model.element.Element> getEnclosedElements()
- Specified by:
getEnclosedElements in interface javax.lang.model.element.Element
getEnclosingElement
public javax.lang.model.element.Element getEnclosingElement()
- Specified by:
getEnclosingElement in interface javax.lang.model.element.Element
getKind
public javax.lang.model.element.ElementKind getKind()
- Specified by:
getKind in interface javax.lang.model.element.Element
getModifiers
public java.util.Set<javax.lang.model.element.Modifier> getModifiers()
- Specified by:
getModifiers in interface javax.lang.model.element.Element- Overrides:
getModifiers in class ElementImpl
getSimpleName
public javax.lang.model.element.Name getSimpleName()
- Specified by:
getSimpleName in interface javax.lang.model.element.Element- Overrides:
getSimpleName in class ElementImpl
hides
public boolean hides(javax.lang.model.element.Element hiddenElement)
- Description copied from class:
ElementImpl
- Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.
This base implementation suffices for other types.
- Overrides:
hides in class ElementImpl
- Returns:
- true if this element hides
hidden - See Also:
Elements.hides(javax.lang.model.element.Element, javax.lang.model.element.Element)
toString
public java.lang.String toString()
- Overrides:
toString in class ElementImpl