All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.resources.method.ftlh Maven / Gradle / Ivy

private static ${prototype} ${name};

    private void ${name}Initializer() {
        ${initializer?no_esc}
    }

    private static class ${name}Initializer {
        static {
            INSTANCE.${name}Initializer();
        }
        static ${prototype} get() {
            return ${name};
        }
    }

    @Override
    public ${prototype} ${name}() {
        return ${name}Initializer.get();
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy