public class TypeParamElementHolder extends Object implements TypeParameterElement
| 构造器和说明 |
|---|
TypeParamElementHolder(TypeParameterElement 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) |
List<? extends TypeMirror> |
getBounds() |
List<? extends Element> |
getEnclosedElements() |
Element |
getEnclosingElement() |
Element |
getGenericElement() |
ElementKind |
getKind() |
Set<Modifier> |
getModifiers() |
Name |
getSimpleName() |
public TypeParamElementHolder(TypeParameterElement real, TypeMirror type)
public Element getGenericElement()
getGenericElement 在接口中 TypeParameterElementpublic List<? extends TypeMirror> getBounds()
getBounds 在接口中 TypeParameterElementpublic TypeMirror asType()
public ElementKind getKind()
public Set<Modifier> getModifiers()
getModifiers 在接口中 Elementpublic Name getSimpleName()
getSimpleName 在接口中 Elementpublic Element getEnclosingElement()
getEnclosingElement 在接口中 ElementgetEnclosingElement 在接口中 TypeParameterElementpublic 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.