Package io.quarkus.gizmo
Class MethodDescriptor
java.lang.Object
io.quarkus.gizmo.MethodDescriptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMethodDescriptor(String declaringClass, String name, String returnType, String... parameterTypes) privateMethodDescriptor(org.jboss.jandex.MethodInfo info) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetName()String[]inthashCode()static MethodDescriptorof(org.jboss.jandex.MethodInfo methodInfo) static MethodDescriptorofConstructor(Class<?> declaringClass, Class<?>... parameterTypes) static MethodDescriptorofConstructor(Object declaringClass, Object... parameterTypes) static MethodDescriptorofConstructor(String declaringClass, String... parameterTypes) static MethodDescriptorstatic MethodDescriptorstatic MethodDescriptorstatic MethodDescriptortoString()
-
Field Details
-
INIT
The constant string<init>. Used to denote an instance initialization method, which typically corresponds to a constructor.- See Also:
-
CLINIT
The constant string<clinit>. Used to denote a class initialization method.- See Also:
-
declaringClass
-
name
-
returnType
-
parameterTypes
-
descriptor
-
-
Constructor Details
-
MethodDescriptor
-
MethodDescriptor
private MethodDescriptor(org.jboss.jandex.MethodInfo info)
-
-
Method Details
-
ofMethod
public static MethodDescriptor ofMethod(String declaringClass, String name, String returnType, String... parameterTypes) -
ofMethod
public static MethodDescriptor ofMethod(Class<?> declaringClass, String name, Class<?> returnType, Class<?>... parameterTypes) -
ofMethod
-
ofMethod
public static MethodDescriptor ofMethod(Object declaringClass, String name, Object returnType, Object... parameterTypes) -
ofConstructor
-
ofConstructor
-
ofConstructor
-
of
-
getName
-
getReturnType
-
getParameterTypes
-
getDeclaringClass
-
equals
-
equals
-
hashCode
public int hashCode() -
toString
-
getDescriptor
-