private static <T> Constructor<T> getConstructor(Class<T> clazz)
    {
        try
        {
            return clazz.getDeclaredConstructor((Class[]) null);
        }
        catch (SecurityException e)
        {
            return null;
            // return OBJECT_CONSTRUCTOR == null ? null :
            // OnDemandSunReflectionFactory.getConstructor(clazz,
            // OBJECT_CONSTRUCTOR);
        }
        catch (NoSuchMethodException e)
        {
            return null;
            // return OBJECT_CONSTRUCTOR == null ? null :
            // OnDemandSunReflectionFactory.getConstructor(clazz,
            // OBJECT_CONSTRUCTOR);
        }
    }
Returns an instatiator for the specified {@code clazz}.
protostuff-runtime-md/src/main/java/io/protostuff/runtime/RuntimeEnv.java