|
||||||||||
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
public class MethodDeclaration
Field Summary | |
---|---|
TypeReference |
returnType
|
TypeParameter[] |
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 | |
---|---|
MethodDeclaration(CompilationResult compilationResult)
MethodDeclaration constructor comment. |
Method Summary | |
---|---|
void |
analyseCode(ClassScope classScope,
InitializationFlowContext initializationContext,
FlowInfo flowInfo)
|
boolean |
isMethod()
|
void |
parseStatements(Parser parser,
CompilationUnitDeclaration unit)
Fill up the method body with statement |
java.lang.StringBuffer |
printReturnType(int indent,
java.lang.StringBuffer output)
|
void |
resolveStatements()
|
void |
traverse(ASTVisitor visitor,
ClassScope classScope)
|
TypeParameter[] |
typeParameters()
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
---|
abort, bindArguments, bindThrownExceptions, compilationResult, generateCode, generateCode, hasErrors, isAbstract, isAnnotationMethod, isClinit, isConstructor, isDefaultConstructor, isInitializationMethod, isModel, isNative, isPure, isStatic, print, printBody, resolve, 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 TypeReference returnType
public TypeParameter[] typeParameters
Constructor Detail |
---|
public MethodDeclaration(CompilationResult compilationResult)
Method Detail |
---|
public void analyseCode(ClassScope classScope, InitializationFlowContext initializationContext, FlowInfo flowInfo)
analyseCode
in class AbstractMethodDeclaration
public boolean isMethod()
isMethod
in class AbstractMethodDeclaration
public void parseStatements(Parser parser, CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements
in class AbstractMethodDeclaration
public java.lang.StringBuffer printReturnType(int indent, java.lang.StringBuffer output)
printReturnType
in class AbstractMethodDeclaration
public void resolveStatements()
resolveStatements
in class AbstractMethodDeclaration
public void traverse(ASTVisitor visitor, ClassScope classScope)
traverse
in class AbstractMethodDeclaration
public TypeParameter[] typeParameters()
typeParameters
in class AbstractMethodDeclaration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |