public class DeclaredTypeHolder extends Object implements DeclaredType
| 构造器和说明 |
|---|
DeclaredTypeHolder(DeclaredType real,
Map<String,TypeMirror> gtArgMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
<R,P> R |
accept(TypeVisitor<R,P> v,
P p) |
Element |
asElement() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<? extends AnnotationMirror> |
getAnnotationMirrors() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
TypeMirror |
getEnclosingType() |
TypeKind |
getKind() |
List<? extends TypeMirror> |
getTypeArguments() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic DeclaredTypeHolder(DeclaredType real, Map<String,TypeMirror> gtArgMap)
public String toString()
toString 在接口中 TypeMirrortoString 在类中 Objectpublic Element asElement()
asElement 在接口中 DeclaredTypepublic TypeMirror getEnclosingType()
getEnclosingType 在接口中 DeclaredTypepublic List<? extends TypeMirror> getTypeArguments()
getTypeArguments 在接口中 DeclaredTypepublic TypeKind getKind()
getKind 在接口中 TypeMirrorpublic <R,P> R accept(TypeVisitor<R,P> v, P p)
accept 在接口中 TypeMirrorpublic List<? extends AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors 在接口中 AnnotatedConstructpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation 在接口中 AnnotatedConstructpublic <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
getAnnotationsByType 在接口中 AnnotatedConstructCopyright © 2023. All rights reserved.