Class BlockStatementTemplateGenerator
java.lang.Object
org.openrewrite.java.internal.template.BlockStatementTemplateGenerator
Generates a stub containing enough variable, method, and class scope
for the insertion of a statement in any block scope.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlistTemplatedTrees(JavaSourceFile cu, Class<J2> expected) template(org.openrewrite.Cursor cursor, String template, Space.Location location)
-
Constructor Details
-
BlockStatementTemplateGenerator
public BlockStatementTemplateGenerator()
-
-
Method Details
-
template
-
listTemplatedTrees
-