org.eclipse.jdt.internal.compiler.apt.model
类 VariableElementImpl
java.lang.Object
org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
org.eclipse.jdt.internal.compiler.apt.model.VariableElementImpl
- 所有已实现的接口:
- 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.
| 从接口 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)
- 指定者:
- 接口
javax.lang.model.element.Element 中的 accept
getAnnotationBindings
protected AnnotationBinding[] getAnnotationBindings()
- 指定者:
- 类
ElementImpl 中的 getAnnotationBindings
- 返回:
- the set of compiler annotation bindings on this element
getConstantValue
public Object getConstantValue()
- 指定者:
- 接口
javax.lang.model.element.VariableElement 中的 getConstantValue
getEnclosedElements
public List<? extends javax.lang.model.element.Element> getEnclosedElements()
- 指定者:
- 接口
javax.lang.model.element.Element 中的 getEnclosedElements
getEnclosingElement
public javax.lang.model.element.Element getEnclosingElement()
- 指定者:
- 接口
javax.lang.model.element.Element 中的 getEnclosingElement
getKind
public javax.lang.model.element.ElementKind getKind()
- 指定者:
- 接口
javax.lang.model.element.Element 中的 getKind
getModifiers
public Set<javax.lang.model.element.Modifier> getModifiers()
- 指定者:
- 接口
javax.lang.model.element.Element 中的 getModifiers - 覆盖:
- 类
ElementImpl 中的 getModifiers
getSimpleName
public javax.lang.model.element.Name getSimpleName()
- 指定者:
- 接口
javax.lang.model.element.Element 中的 getSimpleName - 覆盖:
- 类
ElementImpl 中的 getSimpleName
hides
public boolean hides(javax.lang.model.element.Element hiddenElement)
- 从类
ElementImpl 复制的描述
- Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.
This base implementation suffices for other types.
- 覆盖:
- 类
ElementImpl 中的 hides
- 返回:
- true if this element hides
hidden - 另请参见:
Elements#hides()
toString
public String toString()
- 覆盖:
- 类
ElementImpl 中的 toString
Copyright © 2013. All Rights Reserved.