Class ClassType

java.lang.Object
org.jboss.jandex.Type
org.jboss.jandex.ClassType

public final class ClassType extends Type
Represents a standard raw class name.
Author:
Jason T. Greene
  • Field Details

    • OBJECT_TYPE

      public static final ClassType OBJECT_TYPE
  • Method Details

    • kind

      public Type.Kind kind()
      Description copied from class: Type
      Returns the kind of Type this is.
      Specified by:
      kind in class Type
      Returns:
      the kind
    • asClassType

      public ClassType asClassType()
      Description copied from class: Type
      Casts this type to a ClassType and returns it if the kind is Type.Kind.CLASS. Throws an exception otherwise.
      Overrides:
      asClassType in class Type
      Returns:
      a ClassType