|
||||||||||
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(java.util.ArrayList visited)
|
void |
parseStatements(Parser parser,
CompilationUnitDeclaration unit)
Fill up the method body with statement |
java.lang.StringBuffer |
printBody(int indent,
java.lang.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, isModel, isNative, isPure, 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 |
---|
equals, 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 AbstractMethodDeclaration
AbstractMethodDeclaration.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 AbstractMethodDeclaration
classScope
- org.eclipse.jdt.internal.compiler.lookup.ClassScopeclassFile
- org.eclipse.jdt.internal.compiler.codegen.ClassFilepublic void generateSyntheticFieldInitializationsIfNecessary(MethodScope methodScope, CodeStream codeStream, ReferenceBinding declaringClass)
public boolean isConstructor()
isConstructor
in class AbstractMethodDeclaration
public boolean isDefaultConstructor()
isDefaultConstructor
in class AbstractMethodDeclaration
public boolean isInitializationMethod()
isInitializationMethod
in class AbstractMethodDeclaration
public boolean isRecursive(java.util.ArrayList visited)
public void parseStatements(Parser parser, CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements
in class AbstractMethodDeclaration
public java.lang.StringBuffer printBody(int indent, java.lang.StringBuffer output)
printBody
in class AbstractMethodDeclaration
public void resolveJavadoc()
resolveJavadoc
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 |