- All Superinterfaces:
MemberDesc,MethodDesc,MethodTyped,Typed
A descriptor for a method on a class.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ClassMethodDescCreate a new class method descriptor.static ClassMethodDescConstruct a new class method descriptor.static ClassMethodDescCreate a new class method descriptor.static ClassMethodDescConstruct a new class method descriptor.static ClassMethodDescof(ClassDesc owner, String name, MethodTypeDesc type) Create a new class method descriptor.static ClassMethodDescof(ClassDesc owner, String name, MethodType type) Create a new class method descriptor.Methods inherited from interface io.quarkus.gizmo2.desc.MemberDesc
name, owner, toString, typeMethods inherited from interface io.quarkus.gizmo2.MethodTyped
genericReturnType, hasGenericReturnType, isPrimitiveParameter, isPrimitiveReturn, isVoidReturn, parameterCount, parameterSlotSize, parameterType, parameterTypeKind, parameterTypes, returnSlotSize, returnType, returnTypeKind, type
-
Method Details
-
of
Create a new class method descriptor.- Parameters:
owner- the class which contains the method (must not benull)name- the method name (must not benull)type- the method type (must not benull)- Returns:
- the class method descriptor (not
null)
-
of
Create a new class method descriptor.- Parameters:
owner- the class which contains the method (must not benull)name- the method name (must not benull)type- the method type (must not benull)- Returns:
- the class method descriptor (not
null)
-
of
static ClassMethodDesc of(ClassDesc owner, String name, Class<?> returnType, Class<?>... paramTypes) Create a new class method descriptor.- Parameters:
owner- the class which contains the method (must not benull)name- the name of the method (must not benull)returnType- the class of the return type (must not benull)paramTypes- the classes of the parameter types (must not benull)- Returns:
- the class method descriptor (not
null)
-
of
static ClassMethodDesc of(ClassDesc owner, String name, Class<?> returnType, List<Class<?>> paramTypes) Construct a new class method descriptor.- Parameters:
owner- the class which contains the method (must not benull)name- the name of the method (must not benull)returnType- the class of the return type (must not benull)paramTypes- the classes of the parameter types (must not benull)- Returns:
- the class method descriptor (not
null)
-
of
static ClassMethodDesc of(ClassDesc owner, String name, ClassDesc returnType, ClassDesc... paramTypes) Create a new class method descriptor.- Parameters:
owner- the class which contains the method (must not benull)name- the name of the method (must not benull)returnType- the class of the return type (must not benull)paramTypes- the classes of the parameter types (must not benull)- Returns:
- the class method descriptor (not
null)
-
of
static ClassMethodDesc of(ClassDesc owner, String name, ClassDesc returnType, List<ClassDesc> paramTypes) Construct a new class method descriptor.- Parameters:
owner- the class which contains the method (must not benull)name- the name of the method (must not benull)returnType- the class of the return type (must not benull)paramTypes- the classes of the parameter types (must not benull)- Returns:
- the class method descriptor (not
null)
-