Class Template
java.lang.Object
gg.jte.runtime.Template
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidfindRenderMethods(Class<?> clazz) private booleanisMangledKotlinRenderMethod(Method method) The Kotlin compiler mangles methods value class parameters, for examplerender-JMhnnco
See related GitHub issue.voidrender(TemplateOutput output, HtmlInterceptor htmlInterceptor, Object param) voidrenderMap(TemplateOutput output, HtmlInterceptor htmlInterceptor, Map<String, Object> params) private int
-
Field Details
-
name
-
clazz
-
parameterCount
private final int parameterCount -
render
-
renderMap
-
parameterInfo
-
-
Constructor Details
-
Template
-
-
Method Details
-
render
public void render(TemplateOutput output, HtmlInterceptor htmlInterceptor, Object param) throws Throwable - Throws:
Throwable
-
renderMap
public void renderMap(TemplateOutput output, HtmlInterceptor htmlInterceptor, Map<String, Object> params) throws Throwable- Throws:
Throwable
-
getClassLoader
-
findRenderMethods
-
resolveParameterCount
private int resolveParameterCount() -
getParamInfo
-
calculateParameterInfo
-
isMangledKotlinRenderMethod
The Kotlin compiler mangles methods value class parameters, for examplerender-JMhnnco
See related GitHub issue.
-