Class PreprocessPhase


  • public class PreprocessPhase
    extends Object
    This phase transforms modify statements in valid Java code It's used both in the MVEL Compiler and also to preprocess Drools' Java consequences that use modify blocks.
    • Constructor Detail

      • PreprocessPhase

        public PreprocessPhase()
    • Method Detail

      • invoke

        public org.drools.mvelcompiler.PreprocessPhase.PreprocessPhaseResult invoke​(com.github.javaparser.ast.stmt.Statement statement)
      • removeEmptyStmt

        public void removeEmptyStmt​(com.github.javaparser.ast.stmt.BlockStmt blockStmt)