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, toString
public static final ClassType OBJECT_TYPE
public ClassType asClassType()
Type
ClassType
and returns it if the kind is Type.Kind.CLASS
Throws an exception otherwise.asClassType
in class Type
ClassType
Copyright © 2018 JBoss by Red Hat. All rights reserved.