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

templates.methodcall.ftlh Maven / Gradle / Ivy

The newest version!
<#if private>
<#if jre>
        try {
            java.lang.reflect.Method method = org.apache.commons.lang3.reflect.MethodUtils.getMatchingMethod(${parent}.class, "${name}");
            method.setAccessible(true);
            method.invoke(instance<#if args??>, ${args});
        } catch (Exception e) {
            throw new Error(e);
        };
<#else>
    ((elemental2.core.Function) elemental2.core.Reflect.get(instance, io.crysknife.client.Reflect.objectProperty("${name?no_esc}", instance))).bind(instance<#if args??>, ${args}).call();

<#else>
    instance.${name}(<#if args??>${args});





© 2015 - 2025 Weber Informatics LLC | Privacy Policy