public class CodeTypeMirror extends Object implements TypeMirror
| Modifier and Type | Class and Description |
|---|---|
static class |
CodeTypeMirror.ArrayCodeTypeMirror |
static class |
CodeTypeMirror.DeclaredCodeTypeMirror |
static class |
CodeTypeMirror.WildcardTypeMirror |
| Constructor and Description |
|---|
CodeTypeMirror(TypeKind kind) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(TypeVisitor<R,P> v,
P p) |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<? extends AnnotationMirror> |
getAnnotationMirrors() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
TypeKind |
getKind() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, toStringpublic CodeTypeMirror(TypeKind kind)
public TypeKind getKind()
getKind in interface TypeMirrorpublic <R,P> R accept(TypeVisitor<R,P> v, P p)
accept in interface TypeMirrorpublic List<? extends AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors in interface AnnotatedConstructgetAnnotationMirrors in interface TypeMirrorpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation in interface AnnotatedConstructgetAnnotation in interface TypeMirrorannotationType - public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
getAnnotationsByType in interface AnnotatedConstructgetAnnotationsByType in interface TypeMirrorannotationType -