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> booleanSubclassed 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, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, hashCodeMethods inherited from interface javax.lang.model.element.TypeElement
asType
-
Method Details
-
accept
-
getAnnotationBindings
- Specified by:
getAnnotationBindingsin classElementImpl- Returns:
- the set of compiler annotation bindings on this element
-
getEnclosedElements
- Specified by:
getEnclosedElementsin interfaceElement- Specified by:
getEnclosedElementsin interfaceTypeElement
-
getRecordComponents
- Specified by:
getRecordComponentsin interfaceTypeElement
-
getPermittedSubclasses
- Specified by:
getPermittedSubclassesin interfaceTypeElement
-
getEnclosingElement
- Specified by:
getEnclosingElementin interfaceElement- Specified by:
getEnclosingElementin interfaceTypeElement
-
getFileName
Description copied from interface:IElementInfoGet 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:
getFileNamein interfaceIElementInfo- Overrides:
getFileNamein classElementImpl- Returns:
- the project-relative path, or null.
-
getInterfaces
- Specified by:
getInterfacesin interfaceTypeElement
-
getKind
-
getModifiers
- Specified by:
getModifiersin interfaceElement- Overrides:
getModifiersin classElementImpl
-
getNestingKind
- Specified by:
getNestingKindin interfaceTypeElement
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceQualifiedNameable- Specified by:
getQualifiedNamein interfaceTypeElement
-
getSimpleName
- Specified by:
getSimpleNamein interfaceElement- Specified by:
getSimpleNamein interfaceTypeElement- Overrides:
getSimpleNamein classElementImpl
-
getSuperclass
- Specified by:
getSuperclassin interfaceTypeElement
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceParameterizable- Specified by:
getTypeParametersin interfaceTypeElement
-
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
-