Package ai.timefold.jpyinterpreter
Class MethodDescriptor
java.lang.Object
ai.timefold.jpyinterpreter.MethodDescriptor
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMethodDescriptor(Class<?> declaringClass, MethodDescriptor.MethodType methodType, String methodName, Class<?> returnType, Class<?>... parameterTypes) MethodDescriptor(Class<?> interfaceClass, Method method, List<Class<?>> typeArgumentList) MethodDescriptor(Constructor<?> constructor) MethodDescriptor(Method method) MethodDescriptor(Method method, MethodDescriptor.MethodType type) MethodDescriptor(String declaringClassInternalName, MethodDescriptor.MethodType methodType, String methodName, String methodDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionvoidcallMethod(org.objectweb.asm.MethodVisitor methodVisitor) booleanorg.objectweb.asm.Type[]org.objectweb.asm.TypeinthashCode()static MethodDescriptoruseStaticMethodAsVirtual(Method method) withReturnType(org.objectweb.asm.Type returnType)
-
Constructor Details
-
MethodDescriptor
-
MethodDescriptor
-
MethodDescriptor
-
MethodDescriptor
-
MethodDescriptor
public MethodDescriptor(String declaringClassInternalName, MethodDescriptor.MethodType methodType, String methodName, String methodDescriptor) -
MethodDescriptor
public MethodDescriptor(Class<?> declaringClass, MethodDescriptor.MethodType methodType, String methodName, Class<?> returnType, Class<?>... parameterTypes)
-
-
Method Details
-
useStaticMethodAsVirtual
-
getDeclaringClassInternalName
-
getMethodName
-
getMethodDescriptor
-
getMethodType
-
callMethod
public void callMethod(org.objectweb.asm.MethodVisitor methodVisitor) -
withReturnType
-
equals
-
hashCode
public int hashCode() -
getReturnType
public org.objectweb.asm.Type getReturnType() -
getParameterTypes
public org.objectweb.asm.Type[] getParameterTypes()
-