public R create()

in src/main/java/com/intellij/util/ui/TempMethodInvocator.java [76:88]


    public R create(Object... args) {
        if (myCtor == null) {
            throw new IllegalStateException("Ctor is not available");
        }

        try {
            //noinspection unchecked
            return (R)myCtor.newInstance(args);
        }
        catch (IllegalAccessException | InvocationTargetException | InstantiationException e) {
            throw new RuntimeException(e);
        }
    }