public final class ClassType extends Type
| Modifier and Type | Field and Description |
|---|---|
static ClassType |
OBJECT_TYPE |
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
ClassType |
asClassType()
Casts this type to a
ClassType and returns it if the kind is Type.Kind.CLASS
Throws an exception otherwise. |
Type.Kind |
kind()
Returns the kind of Type this is.
|
annotations, asArrayType, asParameterizedType, asPrimitiveType, asTypeVariable, asUnresolvedTypeVariable, asVoidType, asWildcardType, create, equals, hashCode, name, toStringpublic static final ClassType OBJECT_TYPE
public ClassType asClassType()
TypeClassType and returns it if the kind is Type.Kind.CLASS
Throws an exception otherwise.asClassType in class TypeClassTypeCopyright © 2022 JBoss by Red Hat. All rights reserved.