public class MethodElementHolder extends Object implements ExecutableElement
| 构造器和说明 |
|---|
MethodElementHolder(ExecutableElement real,
Map<String,TypeMirror> gtArgMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
TypeMirror |
asType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<? extends AnnotationMirror> |
getAnnotationMirrors() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
AnnotationValue |
getDefaultValue() |
List<? extends Element> |
getEnclosedElements() |
Element |
getEnclosingElement() |
ElementKind |
getKind() |
Set<Modifier> |
getModifiers() |
List<? extends VariableElement> |
getParameters() |
TypeMirror |
getReceiverType() |
TypeMirror |
getReturnType() |
Name |
getSimpleName() |
List<? extends TypeMirror> |
getThrownTypes() |
List<? extends TypeParameterElement> |
getTypeParameters() |
boolean |
isDefault() |
boolean |
isVarArgs() |
public MethodElementHolder(ExecutableElement real, Map<String,TypeMirror> gtArgMap)
public List<? extends TypeParameterElement> getTypeParameters()
getTypeParameters 在接口中 ExecutableElementgetTypeParameters 在接口中 Parameterizablepublic TypeMirror getReturnType()
getReturnType 在接口中 ExecutableElementpublic List<? extends VariableElement> getParameters()
getParameters 在接口中 ExecutableElementpublic TypeMirror getReceiverType()
getReceiverType 在接口中 ExecutableElementpublic boolean isVarArgs()
isVarArgs 在接口中 ExecutableElementpublic boolean isDefault()
isDefault 在接口中 ExecutableElementpublic List<? extends TypeMirror> getThrownTypes()
getThrownTypes 在接口中 ExecutableElementpublic AnnotationValue getDefaultValue()
getDefaultValue 在接口中 ExecutableElementpublic TypeMirror asType()
public ElementKind getKind()
public Set<Modifier> getModifiers()
getModifiers 在接口中 Elementpublic Name getSimpleName()
getSimpleName 在接口中 ElementgetSimpleName 在接口中 ExecutableElementpublic Element getEnclosingElement()
getEnclosingElement 在接口中 Elementpublic List<? extends Element> getEnclosedElements()
getEnclosedElements 在接口中 Elementpublic List<? extends AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors 在接口中 AnnotatedConstructgetAnnotationMirrors 在接口中 Elementpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation 在接口中 AnnotatedConstructgetAnnotation 在接口中 Elementpublic <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
getAnnotationsByType 在接口中 AnnotatedConstructpublic <R,P> R accept(ElementVisitor<R,P> v, P p)
Copyright © 2023. All rights reserved.