|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.jmlrac.TransMethod.SpecCase
org.jmlspecs.jmlrac.TransMethod.GeneralSpecCase
A concrete wrapper class to JmlGeneralSpecCase for
conjoining multiple specification clauses in a specification
case.
JmlGeneralSpecCase| Field Summary | |
private JmlGeneralSpecCase |
spec
The spec case whose specification clauses to be conjoined. |
| Fields inherited from class org.jmlspecs.jmlrac.TransMethod.SpecCase |
bodyClauses |
| Constructor Summary | |
TransMethod.GeneralSpecCase(JmlGeneralSpecCase spec)
Constructs a new instance. |
|
| Method Summary | |
boolean |
hasPrecondition()
Returns true if this spec case has the precondition specified. |
boolean |
hasSpecVarDecls()
Returns true if this spec case has any specification variable declarations. |
JExpression |
precondition()
Returns the precondition of this spec case. |
JmlSpecVarDecl[] |
specVarDecls()
Returns the specification variable declarations of this spec case. |
| Methods inherited from class org.jmlspecs.jmlrac.TransMethod.SpecCase |
conjoin, exceptionalPostcondition, hasExceptionalPostcondition, hasPostcondition, isCheckable, postcondition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private JmlGeneralSpecCase spec
| Constructor Detail |
public TransMethod.GeneralSpecCase(JmlGeneralSpecCase spec)
requires spec != null && (* spec is desugared *);
| Method Detail |
public boolean hasSpecVarDecls()
public boolean hasPrecondition()
public JmlSpecVarDecl[] specVarDecls()
public JExpression precondition()
requires clauses, the
clauses are conjoined.
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||