Class InstructionActionCache


  • public class InstructionActionCache
    extends java.lang.Object
    A cache for looking up the collection of ObligationPolicyDatabaseActions associated with a given InstructionHandle. Avoids the need for repeated (slow) lookups.
    Author:
    David Hovemeyer
    • Method Detail

      • getActions

        public java.util.Collection<ObligationPolicyDatabaseAction> getActions​(org.apache.bcel.generic.InstructionHandle handle,
                                                                               org.apache.bcel.generic.ConstantPoolGen cpg)
      • addsObligation

        public boolean addsObligation​(org.apache.bcel.generic.InstructionHandle handle,
                                      org.apache.bcel.generic.ConstantPoolGen cpg,
                                      Obligation obligation)
      • deletesObligation

        public boolean deletesObligation​(org.apache.bcel.generic.InstructionHandle handle,
                                         org.apache.bcel.generic.ConstantPoolGen cpg,
                                         Obligation obligation)