public class ParamElementHolder extends Object implements VariableElement
| 构造器和说明 |
|---|
ParamElementHolder(VariableElement real,
TypeMirror type) |
| 限定符和类型 | 方法和说明 |
|---|---|
<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) |
Object |
getConstantValue() |
List<? extends Element> |
getEnclosedElements() |
Element |
getEnclosingElement() |
ElementKind |
getKind() |
Set<Modifier> |
getModifiers() |
VariableElement |
getReal() |
Name |
getSimpleName() |
public ParamElementHolder(VariableElement real, TypeMirror type)
public VariableElement getReal()
public Object getConstantValue()
getConstantValue 在接口中 VariableElementpublic TypeMirror asType()
public ElementKind getKind()
public Set<Modifier> getModifiers()
getModifiers 在接口中 Elementpublic Name getSimpleName()
getSimpleName 在接口中 ElementgetSimpleName 在接口中 VariableElementpublic Element getEnclosingElement()
getEnclosingElement 在接口中 ElementgetEnclosingElement 在接口中 VariableElementpublic 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.