/** * 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 IConstructorInfo. */ public static IConstructorInfo callableConstructorStrict( List<? extends IConstructorInfo> constructors, IType... params ) { return callableConstructorImpl( constructors, 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 constructor where the arguments must be coerced to the expected parameter tyeps. * If you wish strict behavior call {@link #callableConstructorStrict(java.util.List, IType[])} */ public static IConstructorInfo callableConstructor( List<? extends IConstructorInfo> constructors, IType... params ) { return callableConstructorImpl( constructors, 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 IConstructorInfo. */ public static IConstructorInfo callableConstructorStrict( List<? extends IConstructorInfo> constructors, IType... params ) { return callableConstructorImpl( constructors, 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 constructor where the arguments must be coerced to the expected parameter tyeps. * If you wish strict behavior call {@link #callableConstructorStrict(java.util.List, IType[])} */ public static IConstructorInfo callableConstructor( List<? extends IConstructorInfo> constructors, IType... params ) { return callableConstructorImpl( constructors, false, params ); }