Class AbstractASMPredicateBuilder

  • All Implemented Interfaces:
    org.drools.compiler.rule.builder.PredicateBuilder
    Direct Known Subclasses:
    ASMPredicateStubBuilder

    public abstract class AbstractASMPredicateBuilder
    extends java.lang.Object
    implements org.drools.compiler.rule.builder.PredicateBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void build​(org.drools.compiler.rule.builder.RuleBuildContext context, org.drools.compiler.compiler.BoundIdentifiers usedIdentifiers, org.drools.base.rule.Declaration[] previousDeclarations, org.drools.base.rule.Declaration[] localDeclarations, org.drools.base.rule.PredicateConstraint predicateConstraint, org.drools.drl.ast.descr.PredicateDescr predicateDescr, org.drools.compiler.compiler.AnalysisResult analysis)  
      protected abstract byte[] createPredicateBytecode​(org.drools.compiler.rule.builder.RuleBuildContext context, java.util.Map<java.lang.String,​java.lang.Object> vars)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractASMPredicateBuilder

        public AbstractASMPredicateBuilder()
    • Method Detail

      • build

        public void build​(org.drools.compiler.rule.builder.RuleBuildContext context,
                          org.drools.compiler.compiler.BoundIdentifiers usedIdentifiers,
                          org.drools.base.rule.Declaration[] previousDeclarations,
                          org.drools.base.rule.Declaration[] localDeclarations,
                          org.drools.base.rule.PredicateConstraint predicateConstraint,
                          org.drools.drl.ast.descr.PredicateDescr predicateDescr,
                          org.drools.compiler.compiler.AnalysisResult analysis)
        Specified by:
        build in interface org.drools.compiler.rule.builder.PredicateBuilder
      • createPredicateBytecode

        protected abstract byte[] createPredicateBytecode​(org.drools.compiler.rule.builder.RuleBuildContext context,
                                                          java.util.Map<java.lang.String,​java.lang.Object> vars)