Class TypeElementImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl
- All Implemented Interfaces:
AnnotatedConstruct
,Element
,Parameterizable
,QualifiedNameable
,TypeElement
,IElementInfo
- Direct Known Subclasses:
ErrorTypeElement
-
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)
protected AnnotationBinding[]
Get the project-relative path to the source file that contains this element.List<? extends TypeMirror>
getKind()
List<? extends TypeMirror>
List<? extends RecordComponentElement>
List<? extends TypeParameterElement>
boolean
Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.toString()
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
asType, equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getPackedAnnotationBindings, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, hashCode
Methods inherited from interface javax.lang.model.element.TypeElement
asType
-
Method Details
-
accept
-
getAnnotationBindings
- Specified by:
getAnnotationBindings
in classElementImpl
- Returns:
- the set of compiler annotation bindings on this element
-
getEnclosedElements
- Specified by:
getEnclosedElements
in interfaceElement
- Specified by:
getEnclosedElements
in interfaceTypeElement
-
getRecordComponents
- Specified by:
getRecordComponents
in interfaceTypeElement
-
getPermittedSubclasses
- Specified by:
getPermittedSubclasses
in interfaceTypeElement
-
getEnclosingElement
- Specified by:
getEnclosingElement
in interfaceElement
- Specified by:
getEnclosingElement
in interfaceTypeElement
-
getFileName
Description copied from interface:IElementInfo
Get the project-relative path to the source file that contains this element. If the element is a PackageElement, the "source file" is package-info.java. If the element is not recognized or does not exist in the project for some reason, returns null.- Specified by:
getFileName
in interfaceIElementInfo
- Overrides:
getFileName
in classElementImpl
- Returns:
- the project-relative path, or null.
-
getInterfaces
- Specified by:
getInterfaces
in interfaceTypeElement
-
getKind
-
getModifiers
- Specified by:
getModifiers
in interfaceElement
- Overrides:
getModifiers
in classElementImpl
-
getNestingKind
- Specified by:
getNestingKind
in interfaceTypeElement
-
getQualifiedName
- Specified by:
getQualifiedName
in interfaceQualifiedNameable
- Specified by:
getQualifiedName
in interfaceTypeElement
-
getSimpleName
- Specified by:
getSimpleName
in interfaceElement
- Specified by:
getSimpleName
in interfaceTypeElement
- Overrides:
getSimpleName
in classElementImpl
-
getSuperclass
- Specified by:
getSuperclass
in interfaceTypeElement
-
getTypeParameters
- Specified by:
getTypeParameters
in interfaceParameterizable
- Specified by:
getTypeParameters
in interfaceTypeElement
-
hides
Description copied from class:ElementImpl
Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl. This base implementation suffices for other types.- Overrides:
hides
in classElementImpl
- Returns:
- true if this element hides
hidden
- See Also:
Elements.hides(javax.lang.model.element.Element, javax.lang.model.element.Element)
-
toString
- Overrides:
toString
in classElementImpl
-