public final class RepresentsAxiom extends ClassAxiom
| Modifier and Type | Field and Description | 
|---|---|
private java.util.Map<LocationVariable,ProgramVariable> | 
atPreVars  | 
private KeYJavaType | 
kjt  | 
private java.lang.String | 
name  | 
private ImmutableList<ProgramVariable> | 
originalParamVars  | 
private Term | 
originalPre  | 
private Term | 
originalRep  | 
private ProgramVariable | 
originalSelfVar  | 
private IObserverFunction | 
target  | 
private VisibilityModifier | 
visibility  | 
displayName| Constructor and Description | 
|---|
RepresentsAxiom(java.lang.String name,
               IObserverFunction target,
               KeYJavaType kjt,
               VisibilityModifier visibility,
               Term pre,
               Term rep,
               ProgramVariable selfVar,
               ImmutableList<ProgramVariable> paramVars,
               java.util.Map<LocationVariable,ProgramVariable> atPreVars)  | 
RepresentsAxiom(java.lang.String name,
               java.lang.String displayName,
               IObserverFunction target,
               KeYJavaType kjt,
               VisibilityModifier visibility,
               Term pre,
               Term rep,
               ProgramVariable selfVar,
               ImmutableList<ProgramVariable> paramVars,
               java.util.Map<LocationVariable,ProgramVariable> atPreVars)  | 
| Modifier and Type | Method and Description | 
|---|---|
RepresentsAxiom | 
conjoin(RepresentsAxiom ax,
       TermBuilder tb)
Conjoins two represents clauses with minimum visibility. 
 | 
boolean | 
equals(java.lang.Object o)  | 
Term | 
getAxiom(ParsableVariable heapVar,
        ParsableVariable selfVar,
        Services services)  | 
KeYJavaType | 
getKJT()
Returns the KeYJavaType representing the class/interface to which the 
 specification element belongs. 
 | 
java.lang.String | 
getName()
Returns the unique internal name of the specification element. 
 | 
Contract.OriginalVariables | 
getOrigVars()  | 
ImmutableSet<Taclet> | 
getTaclets(ImmutableSet<Pair<Sort,IObserverFunction>> toLimit,
          Services services)
The axiom as one or many taclets, where the non-defining occurrences of
 the passed observers are replaced by their "limited" counterparts. 
 | 
IObserverFunction | 
getTarget()
Returns the axiomatised function symbol. 
 | 
ImmutableSet<Pair<Sort,IObserverFunction>> | 
getUsedObservers(Services services)
Returns the pairs (kjt, obs) for which there is an occurrence of
 o.obs in the axiom, where kjt is the type of o (excluding the
 defining occurrence of the axiom target). 
 | 
VisibilityModifier | 
getVisibility()
Returns the visibility of the invariant (null for default visibility) 
 | 
int | 
hashCode()  | 
private boolean | 
isFunctional(Services services)  | 
RepresentsAxiom | 
setKJT(KeYJavaType newKjt)  | 
java.lang.String | 
toString()  | 
getDisplayNameprivate final java.lang.String name
private final IObserverFunction target
private final KeYJavaType kjt
private final VisibilityModifier visibility
private final Term originalPre
private final Term originalRep
private final ProgramVariable originalSelfVar
private final java.util.Map<LocationVariable,ProgramVariable> atPreVars
private final ImmutableList<ProgramVariable> originalParamVars
public RepresentsAxiom(java.lang.String name,
                       IObserverFunction target,
                       KeYJavaType kjt,
                       VisibilityModifier visibility,
                       Term pre,
                       Term rep,
                       ProgramVariable selfVar,
                       ImmutableList<ProgramVariable> paramVars,
                       java.util.Map<LocationVariable,ProgramVariable> atPreVars)
public RepresentsAxiom(java.lang.String name,
                       java.lang.String displayName,
                       IObserverFunction target,
                       KeYJavaType kjt,
                       VisibilityModifier visibility,
                       Term pre,
                       Term rep,
                       ProgramVariable selfVar,
                       ImmutableList<ProgramVariable> paramVars,
                       java.util.Map<LocationVariable,ProgramVariable> atPreVars)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprivate boolean isFunctional(Services services)
public Term getAxiom(ParsableVariable heapVar, ParsableVariable selfVar, Services services)
public java.lang.String getName()
SpecificationElementpublic IObserverFunction getTarget()
ClassAxiomgetTarget in class ClassAxiompublic KeYJavaType getKJT()
SpecificationElementpublic VisibilityModifier getVisibility()
SpecificationElementpublic ImmutableSet<Taclet> getTaclets(ImmutableSet<Pair<Sort,IObserverFunction>> toLimit, Services services)
ClassAxiomgetTaclets in class ClassAxiompublic ImmutableSet<Pair<Sort,IObserverFunction>> getUsedObservers(Services services)
ClassAxiomgetUsedObservers in class ClassAxiompublic java.lang.String toString()
toString in class java.lang.Objectpublic RepresentsAxiom setKJT(KeYJavaType newKjt)
public RepresentsAxiom conjoin(RepresentsAxiom ax, TermBuilder tb)
tb - TODOpublic Contract.OriginalVariables getOrigVars()