private static MethodType FixMethodType(Class callerClass, Object type) { if (type is MethodType) { return((MethodType)type); } else { return(MethodType.FromMethodDescriptorString((String)type, callerClass.ClassLoader)); } }
private static MethodType FixMethodType(Class callerClass, Object type) { if (type is MethodType) { return((MethodType)type); } else { return(MethodType.FromMethodDescriptorString((String)type, callerClass.ClassLoader)); } }