- All Superinterfaces:
MemberDesc,MethodDesc,MethodTyped,Typed
A descriptor for a method on an interface.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic InterfaceMethodDescCreate a new interface method descriptor.static InterfaceMethodDescConstruct a new interface method descriptor.static InterfaceMethodDescCreate a new interface method descriptor.static InterfaceMethodDescConstruct a new interface method descriptor.static InterfaceMethodDescof(ClassDesc owner, String name, MethodTypeDesc type) Create a new interface method descriptor.static InterfaceMethodDescof(ClassDesc owner, String name, MethodType type) Create a new interface 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 interface method descriptor.- Parameters:
owner- the interface which contains the method (must not benull)name- the method name (must not benull)type- the method type (must not benull)- Returns:
- the interface method descriptor (not
null)
-
of
Create a new interface method descriptor.- Parameters:
owner- the interface which contains the method (must not benull)name- the method name (must not benull)type- the method type (must not benull)- Returns:
- the interface method descriptor (not
null)
-
of
static InterfaceMethodDesc of(ClassDesc owner, String name, Class<?> returnType, Class<?>... paramTypes) Create a new interface method descriptor.- Parameters:
owner- the interface 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 interface method descriptor (not
null)
-
of
static InterfaceMethodDesc of(ClassDesc owner, String name, Class<?> returnType, List<Class<?>> paramTypes) Construct a new interface method descriptor.- Parameters:
owner- the interface 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 interface method descriptor (not
null)
-
of
static InterfaceMethodDesc of(ClassDesc owner, String name, ClassDesc returnType, ClassDesc... paramTypes) Create a new interface method descriptor.- Parameters:
owner- the interface 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 interface method descriptor (not
null)
-
of
static InterfaceMethodDesc of(ClassDesc owner, String name, ClassDesc returnType, List<ClassDesc> paramTypes) Construct a new interface method descriptor.- Parameters:
owner- the interface 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 interface method descriptor (not
null)
-