|
||||||||||
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.JmlSpecCase
public class JmlSpecCase
Field Summary | |
---|---|
JmlSpecCaseBody |
body
|
static JmlSpecCase[] |
EMPTY_SPEC_CASE_ARRAY
|
Constructor Summary | |
---|---|
JmlSpecCase(JmlSpecCaseBody body)
|
|
JmlSpecCase(java.lang.String behaviorKeywordLexeme,
JmlSpecCaseBody body,
int modifiers)
|
Method Summary | |
---|---|
void |
analysePostcondition(MethodScope scope,
FlowContext methodContext,
FlowInfo flowInfo)
|
void |
analysePrecondition(MethodScope scope,
FlowContext methodContext,
FlowInfo flowInfo)
|
void |
generateCheckOfPostcondition(BlockScope currentScope,
AbstractMethodDeclaration methodDeclaration,
CodeStream codeStream)
|
void |
generateCheckOfPrecondition(MethodScope methodScope,
AbstractMethodDeclaration methodDeclaration,
CodeStream codeStream)
|
java.lang.String |
getBehaviour()
|
java.util.List |
getEnsuresExpressions()
|
int |
getModifiers()
|
java.util.List |
getRequiresExpressions()
|
java.lang.StringBuffer |
print(int indent,
java.lang.StringBuffer output)
|
void |
resolve(MethodScope scope)
|
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 static final JmlSpecCase[] EMPTY_SPEC_CASE_ARRAY
public final JmlSpecCaseBody body
Constructor Detail |
---|
public JmlSpecCase(JmlSpecCaseBody body)
public JmlSpecCase(java.lang.String behaviorKeywordLexeme, JmlSpecCaseBody body, int modifiers)
Method Detail |
---|
public void resolve(MethodScope scope)
public java.lang.StringBuffer print(int indent, java.lang.StringBuffer output)
print
in class ASTNode
public void analysePostcondition(MethodScope scope, FlowContext methodContext, FlowInfo flowInfo)
public void analysePrecondition(MethodScope scope, FlowContext methodContext, FlowInfo flowInfo)
public void generateCheckOfPostcondition(BlockScope currentScope, AbstractMethodDeclaration methodDeclaration, CodeStream codeStream)
public void generateCheckOfPrecondition(MethodScope methodScope, AbstractMethodDeclaration methodDeclaration, CodeStream codeStream)
public java.util.List getRequiresExpressions()
public java.util.List getEnsuresExpressions()
public java.lang.String getBehaviour()
public int getModifiers()
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 |