Class PackageElementImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.PackageElementImpl
- All Implemented Interfaces:
AnnotatedConstruct, Element, PackageElement, QualifiedNameable, IElementInfo
Implementation of PackageElement, which represents a package
-
Field Summary
Fields inherited from class ElementImpl
_binding, _env -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(ElementVisitor<R, P> v, P p) protected AnnotationBinding[]getKind()booleanMethods inherited from class ElementImpl
asType, equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getFileName, getModifiers, getPackedAnnotationBindings, hashCode, hides, toStringModifier and TypeMethodDescriptionasType()boolean<A extends Annotation>
AgetAnnotation(Class<A> annotationClass) List<? extends AnnotationMirror> <A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType) Get the project-relative path to the source file that contains this element.final AnnotationBinding[]inthashCode()booleanSubclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.toString()Methods inherited from interface PackageElement
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 interfacePackageElement
-
getEnclosingElement
- Specified by:
getEnclosingElementin interfaceElement- Specified by:
getEnclosingElementin interfacePackageElement
-
getKind
-
getSimpleName
- Specified by:
getSimpleNamein interfaceElement- Specified by:
getSimpleNamein interfacePackageElement- Overrides:
getSimpleNamein classElementImpl
-
getQualifiedName
- Specified by:
getQualifiedNamein interfacePackageElement- Specified by:
getQualifiedNamein interfaceQualifiedNameable
-
isUnnamed
public boolean isUnnamed()- Specified by:
isUnnamedin interfacePackageElement
-