/** * If there is a tie this method will throw an IllegalArgumentException. This method is not strict, which means that * clients calling this method may get back a method where the arguments must be coerced to the expected parameter tyeps. * If you wish strict behavior call {@link #callableMethodStrict(MethodList, CharSequence, IType[])} */ public static IMethodInfo callableMethod( MethodList methods, CharSequence method, IType... params ) { return callableMethodImpl( methods, method, false, params ); }
/** * If there is a tie this method will throw an IllegalArgumentException. This version is strict, which means that * clients calling this method do not need to do any coercion of arguments in order to invoke the IMethodInfo. */ public static IMethodInfo callableMethodStrict( MethodList methods, CharSequence method, IType... params ) { return callableMethodImpl( methods, method, true, params ); }
/** * If there is a tie this method will throw an IllegalArgumentException. This method is not strict, which means that * clients calling this method may get back a method where the arguments must be coerced to the expected parameter tyeps. * If you wish strict behavior call {@link #callableMethodStrict(MethodList, CharSequence, IType[])} */ public static IMethodInfo callableMethod( MethodList methods, CharSequence method, IType... params ) { return callableMethodImpl( methods, method, false, params ); }
/** * If there is a tie this method will throw an IllegalArgumentException. This version is strict, which means that * clients calling this method do not need to do any coercion of arguments in order to invoke the IMethodInfo. */ public static IMethodInfo callableMethodStrict( MethodList methods, CharSequence method, IType... params ) { return callableMethodImpl( methods, method, true, params ); }