NO_PAEAMS应该是定义的一个static const类的东西

解决方案 »

  1.   

    NO_PAEAMS应该是定义的一个static const类的东西
      

  2.   

    public static final Class[] NO_PARAMS = new Class[0];
    定义了一个空的参数数组,跟null的效果一样,表示这个方法没有参数。
    obClass.getMethod(columns[i],NO_PARAMS)表示从objClass类中查找名字为
    columns[i]的没有参数的方法The parameterTypes parameter is an array of Class objects that identify the method's formal parameter types, in declared order. If parameterTypes is null, it is treated as if it were an empty array.