Class Type.ClassType

java.lang.Object
io.quarkus.gizmo.Type
io.quarkus.gizmo.Type.ClassType
Enclosing class:
Type

public static final class Type.ClassType extends Type
  • Field Details

  • Constructor Details

  • Method Details

    • innerClass

      public Type.ClassType innerClass(String simpleName)
      Allows building a signature like Lcom/example/Outer.Inner;. This is usually unnecessary, because Lcom/example/Outer$Inner is also a valid signature, but it's occasionally useful to build a signature of more complex inner types.
      Parameters:
      simpleName - simple name of the member class nested in this class
      Returns:
      the inner class
    • innerParameterizedType

      public Type.ParameterizedType innerParameterizedType(String simpleName, Type... typeArguments)
      Allows build a signature like Lcom/example/Outer.Inner<TU;>;. This is usually unnecessary, because Lcom/example/Outer$Inner<TU;>; is also a valid signature, but it's occasionally useful to build a signature of more complex inner types.
      Parameters:
      simpleName - simple name of the generic member class nested in this class
      Returns:
      the inner parameterized type
    • appendToSignature

      void appendToSignature(StringBuilder signature)
      Specified by:
      appendToSignature in class Type
    • isClass

      boolean isClass()
      Overrides:
      isClass in class Type
    • asClass

      Type.ClassType asClass()
      Overrides:
      asClass in class Type