private void validateDescription(Class<?> input) {
    Description description = AnnotationUtils.getAnnotation(input, Description.class);
    if (description == null) {
      LOG.warn("UDF Class {}"
              + " does not have description. Please annotate the class with the " +
              "org.apache.hadoop.hive.ql.exec.Description annotation and provide the description of the function.",
              input.getCanonicalName());
    }
  }
@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