Package org.drools.mvelcompiler
Class PreprocessPhase
- java.lang.Object
-
- org.drools.mvelcompiler.PreprocessPhase
-
public class PreprocessPhase extends Object
This phase transforms modify and with statements in valid Java code It's used both in the MVEL Compiler and also to preprocess Drools' Java consequences that use modify and with blocks.
-
-
Constructor Summary
Constructors Constructor Description PreprocessPhase()PreprocessPhase(boolean failOnEmptyRootScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.drools.mvelcompiler.PreprocessPhase.PreprocessPhaseResultinvoke(com.github.javaparser.ast.stmt.Statement statement)voidremoveEmptyStmt(com.github.javaparser.ast.stmt.BlockStmt blockStmt)
-