Interface ClassType
- All Superinterfaces:
AnnotationTarget, Type
A class type, including interface types, enum types, annotation types and record types.
Class types are introduced by class declarations.
- Since:
- 4.0
-
Nested Class Summary
-
Method Summary
Methods inherited from interface AnnotationTarget
annotation, annotations, annotations, hasAnnotation, hasAnnotation, repeatableAnnotationMethods inherited from interface Type
asArray, asDeclaration, asParameterizedType, asPrimitive, asType, asTypeVariable, asVoid, asWildcardType, isArray, isClass, isDeclaration, isParameterizedType, isPrimitive, isType, isTypeVariable, isVoid, isWildcardType
-
Method Details
-
declaration
ClassInfo declaration()Returns the declaration of this class type.- Returns:
- the declaration of this class type
-
kind
-
asClass
-