|
||||||||||
| 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.ConstructorDeclaration
public class ConstructorDeclaration
| Field Summary | |
|---|---|
ExplicitConstructorCall |
constructorCall
|
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 | |
|---|---|
ConstructorDeclaration(CompilationResult compilationResult)
|
|
| Method Summary | |
|---|---|
void |
analyseCode(ClassScope classScope,
InitializationFlowContext initializerFlowContext,
FlowInfo flowInfo)
Deprecated. use instead analyseCode(ClassScope, InitializationFlowContext, FlowInfo, int) |
void |
analyseCode(ClassScope classScope,
InitializationFlowContext initializerFlowContext,
FlowInfo flowInfo,
int initialReachMode)
The flowInfo corresponds to non-static field initialization infos. |
void |
generateCode(ClassScope classScope,
ClassFile classFile)
Bytecode generation for a constructor |
void |
generateSyntheticFieldInitializationsIfNecessary(MethodScope methodScope,
CodeStream codeStream,
ReferenceBinding declaringClass)
|
boolean |
isConstructor()
|
boolean |
isDefaultConstructor()
|
boolean |
isInitializationMethod()
|
boolean |
isRecursive(ArrayList visited)
|
void |
parseStatements(Parser parser,
CompilationUnitDeclaration unit)
Fill up the method body with statement |
StringBuffer |
printBody(int indent,
StringBuffer output)
|
void |
resolveJavadoc()
|
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, hasErrors, isAbstract, isAnnotationMethod, isClinit, isMethod, isNative, isStatic, print, printReturnType, resolve, 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public ExplicitConstructorCall constructorCall
public TypeParameter[] typeParameters
| Constructor Detail |
|---|
public ConstructorDeclaration(CompilationResult compilationResult)
| Method Detail |
|---|
public void analyseCode(ClassScope classScope,
InitializationFlowContext initializerFlowContext,
FlowInfo flowInfo)
analyseCode(ClassScope, InitializationFlowContext, FlowInfo, int)
analyseCode in class AbstractMethodDeclarationAbstractMethodDeclaration.analyseCode(org.eclipse.jdt.internal.compiler.lookup.ClassScope, org.eclipse.jdt.internal.compiler.flow.InitializationFlowContext, org.eclipse.jdt.internal.compiler.flow.FlowInfo)
public void analyseCode(ClassScope classScope,
InitializationFlowContext initializerFlowContext,
FlowInfo flowInfo,
int initialReachMode)
public void generateCode(ClassScope classScope,
ClassFile classFile)
generateCode in class AbstractMethodDeclarationclassScope - org.eclipse.jdt.internal.compiler.lookup.ClassScopeclassFile - org.eclipse.jdt.internal.compiler.codegen.ClassFile
public void generateSyntheticFieldInitializationsIfNecessary(MethodScope methodScope,
CodeStream codeStream,
ReferenceBinding declaringClass)
public boolean isConstructor()
isConstructor in class AbstractMethodDeclarationpublic boolean isDefaultConstructor()
isDefaultConstructor in class AbstractMethodDeclarationpublic boolean isInitializationMethod()
isInitializationMethod in class AbstractMethodDeclarationpublic boolean isRecursive(ArrayList visited)
public void parseStatements(Parser parser,
CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements in class AbstractMethodDeclaration
public StringBuffer printBody(int indent,
StringBuffer output)
printBody in class AbstractMethodDeclarationpublic void resolveJavadoc()
resolveJavadoc in class AbstractMethodDeclarationpublic void resolveStatements()
resolveStatements in class AbstractMethodDeclaration
public void traverse(ASTVisitor visitor,
ClassScope classScope)
traverse in class AbstractMethodDeclarationpublic TypeParameter[] typeParameters()
typeParameters in class AbstractMethodDeclaration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||