Package io.quarkus.gizmo
Class Type.ClassType
- java.lang.Object
-
- io.quarkus.gizmo.Type
-
- io.quarkus.gizmo.Type.ClassType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.quarkus.gizmo.Type
Type.ArrayType, Type.ClassType, Type.ParameterizedType, Type.PrimitiveType, Type.TypeVariable, Type.VoidType, Type.WildcardType
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringnamestatic Type.ClassTypeOBJECT(package private) Typeowner
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidappendToSignature(java.lang.StringBuilder signature)(package private) Type.ClassTypeasClass()Type.ClassTypeinnerClass(java.lang.String simpleName)Allows building a signature likeLcom/example/Outer.Inner;.Type.ParameterizedTypeinnerParameterizedType(java.lang.String simpleName, Type... typeArguments)Allows build a signature likeLcom/example/Outer.Inner<TU;>;.(package private) booleanisClass()-
Methods inherited from class io.quarkus.gizmo.Type
arrayType, arrayType, asArray, asParameterizedType, asPrimitive, asTypeVariable, asVoid, asWildcard, booleanType, byteType, charType, classType, classType, classType, doubleType, floatType, intType, isArray, isParameterizedType, isPrimitive, isTypeVariable, isVoid, isWildcard, longType, parameterizedType, shortType, typeVariable, typeVariable, typeVariable, voidType, wildcardTypeUnbounded, wildcardTypeWithLowerBound, wildcardTypeWithUpperBound
-
-
-
-
Field Detail
-
OBJECT
public static final Type.ClassType OBJECT
-
name
final java.lang.String name
-
owner
final Type owner
-
-
Constructor Detail
-
ClassType
ClassType(java.lang.String name, Type owner)
-
-
Method Detail
-
innerClass
public Type.ClassType innerClass(java.lang.String simpleName)
Allows building a signature likeLcom/example/Outer.Inner;. This is usually unnecessary, becauseLcom/example/Outer$Inneris 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(java.lang.String simpleName, Type... typeArguments)
Allows build a signature likeLcom/example/Outer.Inner<TU;>;. This is usually unnecessary, becauseLcom/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(java.lang.StringBuilder signature)
- Specified by:
appendToSignaturein classType
-
asClass
Type.ClassType asClass()
-
-