private FunctionInfo registerGenericUDF(String functionName, FunctionType functionType,
      Class<? extends GenericUDF> genericUDFClass, FunctionResource... resources) {
    validateClass(genericUDFClass, GenericUDF.class);
    validateDescription(genericUDFClass);
    FunctionInfo fI = new FunctionInfo(functionType, functionName,
        ReflectionUtil.newInstance(genericUDFClass, null), resources);
    addFunction(functionName, fI);
    return fI;
  }
@deprecated From next release, replaced by {@link #registerUDF(String, Class, boolean, String)}
Deprecated because method unnecessarily accepts FunctionResource vararg param
ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java