|
||||||||||
| 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.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration
org.jmlspecs.jml4.ast.JmlMethodDeclaration
public class JmlMethodDeclaration
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
static boolean |
DEBUG_NULLITY_OF_OVERRIDES
|
JmlLocalDeclaration |
resultValue
|
JmlMethodSpecification |
specification
|
| Fields inherited from class org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
|---|
returnType, typeParameters |
| Fields inherited from class org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
|---|
annotations, arguments, binding, bodyEnd, bodyStart, compilationResult, declarationSourceEnd, declarationSourceStart, explicitDeclarations, ignoreFurtherInvestigation, javadoc, modifiers, modifiersSourceStart, scope, selector, statements, thrownExceptions |
| Fields inherited from interface org.eclipse.jdt.internal.compiler.problem.ProblemSeverities |
|---|
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, Error, Fatal, Ignore, Optional, SecondaryError, Warning |
| Constructor Summary | |
|---|---|
JmlMethodDeclaration(CompilationResult compilationResult)
|
|
| Method Summary | |
|---|---|
void |
analyseCode(ClassScope classScope,
InitializationFlowContext initializationContext,
FlowInfo flowInfo)
|
void |
generateCode(ClassFile classFile)
|
JmlMethodSpecification |
getSpecification()
|
void |
initJmlModifiersFromAnnotations()
|
boolean |
isModel()
|
boolean |
isPure()
|
void |
resolve(ClassScope upperScope)
|
void |
resolveStatements()
|
void |
setEscResults(Result[] results)
|
void |
setSpecification(JmlMethodSpecification specification)
|
void |
traverse(ASTVisitor visitor,
ClassScope classScope)
|
| Methods inherited from class org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
|---|
isMethod, parseStatements, printReturnType, typeParameters |
| Methods inherited from class org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
|---|
abort, bindArguments, bindThrownExceptions, compilationResult, generateCode, hasErrors, isAbstract, isAnnotationMethod, isClinit, isConstructor, isDefaultConstructor, isInitializationMethod, isNative, isStatic, print, printBody, resolveJavadoc, tagAsHavingErrors |
| 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, traverse |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEBUG
public static final boolean DEBUG_NULLITY_OF_OVERRIDES
public JmlMethodSpecification specification
public JmlLocalDeclaration resultValue
| Constructor Detail |
|---|
public JmlMethodDeclaration(CompilationResult compilationResult)
| Method Detail |
|---|
public void resolve(ClassScope upperScope)
resolve in class AbstractMethodDeclarationpublic void initJmlModifiersFromAnnotations()
initJmlModifiersFromAnnotations in interface JmlAbstractMethodDeclarationpublic void resolveStatements()
resolveStatements in class MethodDeclaration
public void analyseCode(ClassScope classScope,
InitializationFlowContext initializationContext,
FlowInfo flowInfo)
analyseCode in class MethodDeclarationpublic void generateCode(ClassFile classFile)
generateCode in class AbstractMethodDeclarationpublic boolean isPure()
isPure in class AbstractMethodDeclarationpublic boolean isModel()
isModel in class AbstractMethodDeclarationpublic void setEscResults(Result[] results)
setEscResults in interface JmlAbstractMethodDeclaration
public void traverse(ASTVisitor visitor,
ClassScope classScope)
traverse in class MethodDeclarationpublic JmlMethodSpecification getSpecification()
getSpecification in interface JmlAbstractMethodDeclarationpublic void setSpecification(JmlMethodSpecification specification)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||