Klasse ExecutableElementImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ExecutableElementImpl
- Alle implementierten Schnittstellen:
AnnotatedConstruct,Element,ExecutableElement,Parameterizable,IElementInfo
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
_binding, _env -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<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.getKind()List<? extends VariableElement>List<? extends TypeMirror>List<? extends TypeParameterElement>booleanSubclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl.booleanbooleanbooleanoverrides(ExecutableElement overridden, TypeElement type) Return true if this method overridesoverriddenin the context oftype.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.ElementImpl
asType, equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getPackedAnnotationBindings, hashCode, toStringVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden javax.lang.model.element.Element
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, hashCodeVon Schnittstelle geerbte Methoden javax.lang.model.element.ExecutableElement
asType
-
Methodendetails
-
accept
-
getAnnotationBindings
- Angegeben von:
getAnnotationBindingsin KlasseElementImpl- Gibt zurück:
- the set of compiler annotation bindings on this element
-
getDefaultValue
- Angegeben von:
getDefaultValuein SchnittstelleExecutableElement
-
getEnclosedElements
- Angegeben von:
getEnclosedElementsin SchnittstelleElement
-
getEnclosingElement
- Angegeben von:
getEnclosingElementin SchnittstelleElement- Angegeben von:
getEnclosingElementin SchnittstelleExecutableElement
-
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- Setzt außer Kraft:
getFileNamein KlasseElementImpl- Gibt zurück:
- the project-relative path, or null.
-
getKind
-
getModifiers
- Angegeben von:
getModifiersin SchnittstelleElement- Setzt außer Kraft:
getModifiersin KlasseElementImpl
-
getParameters
- Angegeben von:
getParametersin SchnittstelleExecutableElement
-
getReturnType
- Angegeben von:
getReturnTypein SchnittstelleExecutableElement
-
getSimpleName
- Angegeben von:
getSimpleNamein SchnittstelleElement- Angegeben von:
getSimpleNamein SchnittstelleExecutableElement- Setzt außer Kraft:
getSimpleNamein KlasseElementImpl
-
getThrownTypes
- Angegeben von:
getThrownTypesin SchnittstelleExecutableElement
-
getTypeParameters
- Angegeben von:
getTypeParametersin SchnittstelleExecutableElement- Angegeben von:
getTypeParametersin SchnittstelleParameterizable
-
hides
Beschreibung aus Klasse kopiert:ElementImplSubclassed by VariableElementImpl, TypeElementImpl, and ExecutableElementImpl. This base implementation suffices for other types.- Setzt außer Kraft:
hidesin KlasseElementImpl- Gibt zurück:
- true if this element hides
hidden - Siehe auch:
-
isVarArgs
public boolean isVarArgs()- Angegeben von:
isVarArgsin SchnittstelleExecutableElement
-
overrides
Return true if this method overridesoverriddenin the context oftype. For instance, considerinterface A { void f(); } class B { void f() {} } class C extends B implements I { }In the context of B, B.f() does not override A.f(); they are unrelated. But in the context of C, B.f() does override A.f(). That is, the copy of B.f() that C inherits overrides A.f(). This is equivalent to considering two questions: first, does C inherit B.f(); if so, does the inherited C.f() override A.f(). If B.f() were private, for instance, then in the context of C it would still not override A.f().- Siehe auch:
-
getReceiverType
- Angegeben von:
getReceiverTypein SchnittstelleExecutableElement
-
isDefault
public boolean isDefault()- Angegeben von:
isDefaultin SchnittstelleExecutableElement
-