Klasse ElementImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
- Alle implementierten Schnittstellen:
AnnotatedConstruct,Element,IElementInfo
- Bekannte direkte Unterklassen:
ExecutableElementImpl,ModuleElementImpl,PackageElementImpl,TypeElementImpl,TypeParameterElementImpl,VariableElementImpl
Element represents any defined Java language element - a package,
a method, a class or interface. Contrast with DeclaredType.
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedElementImpl(BaseProcessingEnvImpl env, Binding binding) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasType()boolean<A extends Annotation>
AgetAnnotation(Class<A> annotationClass) protected abstract AnnotationBinding[]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()Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden javax.lang.model.element.Element
accept, getEnclosedElements, getEnclosingElement, getKind
-
Felddetails
-
_env
-
_binding
-
-
Konstruktordetails
-
ElementImpl
-
-
Methodendetails
-
asType
-
getAnnotationBindings
- Gibt zurück:
- the set of compiler annotation bindings on this element
-
getPackedAnnotationBindings
-
getAnnotation
- Angegeben von:
getAnnotationin SchnittstelleAnnotatedConstruct- Angegeben von:
getAnnotationin SchnittstelleElement
-
getAnnotationMirrors
- Angegeben von:
getAnnotationMirrorsin SchnittstelleAnnotatedConstruct- Angegeben von:
getAnnotationMirrorsin SchnittstelleElement
-
getAnnotationsByType
- Angegeben von:
getAnnotationsByTypein SchnittstelleAnnotatedConstruct- Angegeben von:
getAnnotationsByTypein SchnittstelleElement
-
getModifiers
- Angegeben von:
getModifiersin SchnittstelleElement
-
getSimpleName
- Angegeben von:
getSimpleNamein SchnittstelleElement
-
hashCode
public int hashCode() -
equals
-
toString
-
getFileName
Beschreibung aus Schnittstelle kopiert: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.- Angegeben von:
getFileNamein SchnittstelleIElementInfo- Gibt zurück:
- the project-relative path, or null.
-
hides
Subclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl. This base implementation suffices for other types.- Gibt zurück:
- true if this element hides
hidden - Siehe auch:
-