Class ITypeInfo.FIND

  • Enclosing interface:
    ITypeInfo

    public static class ITypeInfo.FIND
    extends Object
    A general purpose class for finding methods and constructors.
    • Constructor Detail

      • FIND

        public FIND()
    • Method Detail

      • callableMethodStrict

        public static IMethodInfo callableMethodStrict​(MethodList methods,
                                                       CharSequence method,
                                                       IType... 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.
      • callableConstructor

        public static IConstructorInfo callableConstructor​(List<? extends IConstructorInfo> constructors,
                                                           IType... 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 callableConstructorStrict(java.util.List, IType[])
      • callableConstructorStrict

        public static IConstructorInfo callableConstructorStrict​(List<? extends IConstructorInfo> constructors,
                                                                 IType... 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.
      • areParamsEqual

        public static boolean areParamsEqual​(IParameterInfo[] srcArgs,
                                             IType[] testArgs)