public static Constructor ctor()

in hadoop-api-shim/src/main/java/org/apache/hadoop/fs/shim/impl/ShimReflectionSupport.java [158:170]


  public static <T> Constructor<?> ctor(
      Class<?> source, Class<?>... parameterTypes) {
    if (source == null) {
      return null;
    }
    try {
      return source.getConstructor(parameterTypes);
    } catch (NoSuchMethodException | SecurityException e) {

      LOG.debug("Could not load constructor for {}", source, e);
      return null;
    }
  }