- All Superinterfaces:
MemberDesc,MethodTyped,Typed
A descriptor for a constructor.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConstructorDescConstruct a new instance.static ConstructorDescof(Class<?> owner, MethodTypeDesc type) Construct a new instance.static ConstructorDescof(Class<?> owner, MethodType type) Construct a new instance.static ConstructorDescConstruct a new instance.static ConstructorDescConstruct a new instance for a zero-parameter constructor.static ConstructorDescConstruct a new instance.static ConstructorDescConstruct a new instance.static ConstructorDescof(ClassDesc owner, MethodTypeDesc type) Construct a new instance.static ConstructorDescConstruct a new instance.static ConstructorDescof(Constructor<?> ctor) Returns a constructor descriptor for the given constructor.type()Returns a descriptor representing the type of this constructor.Methods inherited from interface io.quarkus.gizmo2.desc.MemberDesc
name, owner, toStringMethods inherited from interface io.quarkus.gizmo2.MethodTyped
genericReturnType, hasGenericReturnType, isPrimitiveParameter, isPrimitiveReturn, isVoidReturn, parameterCount, parameterSlotSize, parameterType, parameterTypeKind, parameterTypes, returnSlotSize, returnType, returnTypeKind
-
Method Details
-
of
Construct a new instance.- Parameters:
owner- the descriptor of the class which contains the constructor (must not benull)type- the descriptor of the type of the constructor (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance for a zero-parameter constructor.- Parameters:
owner- the descriptor of the class which contains the constructor (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the descriptor of the class which contains the constructor (must not benull)paramTypes- a list of parameter types (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the descriptor of the class which contains the constructor (must not benull)paramTypes- a list of descriptors corresponding to the parameter types (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the descriptor of the class which contains the constructor (must not benull)paramTypes- a list of descriptors corresponding to the parameter types (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the class which contains the constructor (must not benull)type- the descriptor of the type of the constructor (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the class which contains the constructor (must not benull)type- the type of the constructor (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the class which contains the constructor (must not benull)paramTypes- a list of parameter types (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the class which contains the constructor (must not benull)paramTypes- a list of parameter types (must not benull)- Returns:
- the constructor descriptor (not
null)
-
of
Returns a constructor descriptor for the given constructor.- Parameters:
ctor- the constructor (must not benull)- Returns:
- a constructor descriptor for the given constructor
-
type
MethodTypeDesc type()Returns a descriptor representing the type of this constructor.- Specified by:
typein interfaceMemberDesc- Specified by:
typein interfaceMethodTyped- Specified by:
typein interfaceTyped- Returns:
- a descriptor representing the type of this constructor
-