Package org.jboss.jandex
Class ClassType
java.lang.Object
org.jboss.jandex.Type
org.jboss.jandex.ClassType
Represents a standard raw class name.
- Author:
- Jason T. Greene
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class org.jboss.jandex.Type
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionCasts this type to aClassTypeand returns it if the kind isType.Kind.CLASS.kind()Returns the kind of Type this is.Methods inherited from class org.jboss.jandex.Type
annotation, annotations, annotationsWithRepeatable, asArrayType, asParameterizedType, asPrimitiveType, asTypeVariable, asTypeVariableReference, asUnresolvedTypeVariable, asVoidType, asWildcardType, create, createWithAnnotations, equals, hasAnnotation, hashCode, internEquals, internHashCode, name, toString
-
Field Details
-
OBJECT_TYPE
-
-
Method Details
-
kind
Description copied from class:TypeReturns the kind of Type this is. -
asClassType
Description copied from class:TypeCasts this type to aClassTypeand returns it if the kind isType.Kind.CLASS. Throws an exception otherwise.- Overrides:
asClassTypein classType- Returns:
- a
ClassType
-