templates.methodcall.ftlh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crysknife-processor Show documentation
Show all versions of crysknife-processor Show documentation
apt processor for crysknife-annotations project
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}#if>);
} 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}#if>).call();
#if>
<#else>
instance.${name}(<#if args??>${args}#if>);
#if>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy