Class JavaTemplateJavaExtension
java.lang.Object
org.openrewrite.java.internal.template.JavaTemplateLanguageExtension
org.openrewrite.java.internal.template.JavaTemplateJavaExtension
Not so much an extension as the FOUNDATION of templating for the Java family of languages. Nevertheless, the
base class gives us an opportunity to extract this long block of code from
JavaTemplate itself and
make it a bit more readable.-
Constructor Summary
ConstructorsConstructorDescriptionJavaTemplateJavaExtension(JavaTemplateParser templateParser, Substitutions substitutions, String substitutedTemplate, JavaCoordinates coordinates) -
Method Summary
-
Constructor Details
-
JavaTemplateJavaExtension
public JavaTemplateJavaExtension(JavaTemplateParser templateParser, Substitutions substitutions, String substitutedTemplate, JavaCoordinates coordinates)
-
-
Method Details
-
getMixin
- Specified by:
getMixinin classJavaTemplateLanguageExtension
-