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 jakarta.enterprise.lang.model.AnnotationTarget
annotation, annotations, annotations, hasAnnotation, hasAnnotation, repeatableAnnotationMethods inherited from interface jakarta.enterprise.lang.model.types.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
Description copied from interface:TypeReturns the kind of this type. -
asClass
Description copied from interface:TypeReturns this type as a class type.
-