Package daikon.simplify
Class InvariantLemma
-
- All Implemented Interfaces:
Comparable<Lemma>
public class InvariantLemma extends Lemma
InvariantLemmas are Lemmas created by printing a Daikon invariant in Simplify format, sometimes with some hacks.
-
-
Constructor Summary
Constructors Constructor Description InvariantLemma(Invariant inv)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Invariant>
invClass()
If this lemma came from an invariant, get its class.static InvariantLemma
makeLemmaAddOrig(Invariant inv)
Make a lemma corresponding to the given invariant, except referring to the prestate versions of all the variables that inv referred to.String
summarize()
Return a human-readable description.-
Methods inherited from class Lemma
compareTo, lemmasList
-
-
-
-
Constructor Detail
-
InvariantLemma
public InvariantLemma(Invariant inv)
-
-
Method Detail
-
summarize
public String summarize(@GuardSatisfied InvariantLemma this)
Description copied from class:Lemma
Return a human-readable description.
-
invClass
public Class<? extends Invariant> invClass()
If this lemma came from an invariant, get its class.
-
makeLemmaAddOrig
public static InvariantLemma makeLemmaAddOrig(Invariant inv)
Make a lemma corresponding to the given invariant, except referring to the prestate versions of all the variables that inv referred to.
-
-