public abstract class ElementImpl extends java.lang.Object implements javax.lang.model.element.Element, IElementInfo
| Modifier and Type | Field and Description |
|---|---|
Binding |
_binding |
BaseProcessingEnvImpl |
_env |
| Modifier | Constructor and Description |
|---|---|
protected |
ElementImpl(BaseProcessingEnvImpl env,
Binding binding) |
| Modifier and Type | Method and Description |
|---|---|
javax.lang.model.type.TypeMirror |
asType() |
boolean |
equals(java.lang.Object obj) |
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationClass) |
protected abstract AnnotationBinding[] |
getAnnotationBindings() |
java.util.List<? extends javax.lang.model.element.AnnotationMirror> |
getAnnotationMirrors() |
<A extends java.lang.annotation.Annotation> |
getAnnotationsByType(java.lang.Class<A> annotationType) |
java.lang.String |
getFileName()
Get the project-relative path to the source file that contains this element.
|
java.util.Set<javax.lang.model.element.Modifier> |
getModifiers() |
AnnotationBinding[] |
getPackedAnnotationBindings() |
javax.lang.model.element.Name |
getSimpleName() |
int |
hashCode() |
boolean |
hides(javax.lang.model.element.Element hidden)
Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.
|
java.lang.String |
toString() |
public final BaseProcessingEnvImpl _env
public final Binding _binding
protected ElementImpl(BaseProcessingEnvImpl env, Binding binding)
public javax.lang.model.type.TypeMirror asType()
asType in interface javax.lang.model.element.Elementprotected abstract AnnotationBinding[] getAnnotationBindings()
public final AnnotationBinding[] getPackedAnnotationBindings()
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationClass)
getAnnotation in interface javax.lang.model.AnnotatedConstructgetAnnotation in interface javax.lang.model.element.Elementpublic java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors in interface javax.lang.model.AnnotatedConstructgetAnnotationMirrors in interface javax.lang.model.element.Elementpublic <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> annotationType)
getAnnotationsByType in interface javax.lang.model.AnnotatedConstructpublic java.util.Set<javax.lang.model.element.Modifier> getModifiers()
getModifiers in interface javax.lang.model.element.Elementpublic javax.lang.model.element.Name getSimpleName()
getSimpleName in interface javax.lang.model.element.Elementpublic int hashCode()
hashCode in interface javax.lang.model.element.ElementhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface javax.lang.model.element.Elementequals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getFileName()
IElementInfogetFileName in interface IElementInfopublic boolean hides(javax.lang.model.element.Element hidden)
hiddenElements.hides(javax.lang.model.element.Element, javax.lang.model.element.Element)