|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.jmlspecs.jml4.ast.JmlMethodSpecification
public class JmlMethodSpecification
Field Summary | |
---|---|
boolean |
isExtending
|
Constructor Summary | |
---|---|
JmlMethodSpecification(JmlSpecCase[] specCases,
JmlSpecCase[] impliedSpecCases,
boolean isExtending)
|
Method Summary | |
---|---|
void |
analysePostcondition(MethodScope scope,
FlowContext methodContext,
FlowInfo flowInfo)
|
void |
analysePrecondition(MethodScope scope,
FlowContext methodContext,
FlowInfo flowInfo)
|
void |
generateCheckOfEnsures(BlockScope currentScope,
AbstractMethodDeclaration methodDeclaration,
CodeStream codeStream)
|
void |
generateCheckOfRequires(MethodScope methodScope,
AbstractMethodDeclaration methodDeclaration,
CodeStream codeStream)
|
Expression |
getPostcondition()
|
Expression |
getPrecondition()
|
JmlSpecCase[] |
getRedundantSpecCases()
|
JmlSpecCase[] |
getSpecCases()
|
java.lang.StringBuffer |
print(int indent,
java.lang.StringBuffer output)
|
void |
resolve(MethodScope scope)
|
void |
setRedundantSpecCases(JmlSpecCase[] redundantSpecCases)
|
void |
setSpecCases(JmlSpecCase[] specCases)
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ASTNode |
---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final boolean isExtending
Constructor Detail |
---|
public JmlMethodSpecification(JmlSpecCase[] specCases, JmlSpecCase[] impliedSpecCases, boolean isExtending)
Method Detail |
---|
public java.lang.StringBuffer print(int indent, java.lang.StringBuffer output)
print
in class ASTNode
public void analysePrecondition(MethodScope scope, FlowContext methodContext, FlowInfo flowInfo)
public void analysePostcondition(MethodScope scope, FlowContext methodContext, FlowInfo flowInfo)
public void resolve(MethodScope scope)
public void generateCheckOfRequires(MethodScope methodScope, AbstractMethodDeclaration methodDeclaration, CodeStream codeStream)
public void generateCheckOfEnsures(BlockScope currentScope, AbstractMethodDeclaration methodDeclaration, CodeStream codeStream)
public Expression getPrecondition()
public Expression getPostcondition()
public JmlSpecCase[] getSpecCases()
public void setSpecCases(JmlSpecCase[] specCases)
public JmlSpecCase[] getRedundantSpecCases()
public void setRedundantSpecCases(JmlSpecCase[] redundantSpecCases)
public void traverse(ASTVisitor visitor, BlockScope scope)
traverse
in class ASTNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |