|
||||||||||
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.Statement
org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration
org.eclipse.jdt.internal.compiler.ast.FieldDeclaration
org.eclipse.jdt.internal.compiler.ast.Initializer
public class Initializer
Field Summary | |
---|---|
Block |
block
|
int |
bodyEnd
|
int |
bodyStart
|
int |
lastVisibleFieldID
|
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.FieldDeclaration |
---|
binding, endPart1Position, endPart2Position, javadoc |
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration |
---|
annotations, declarationEnd, declarationSourceEnd, declarationSourceStart, ENUM_CONSTANT, FIELD, hiddenVariableDepth, initialization, INITIALIZER, LOCAL_VARIABLE, modifiers, modifiersSourceStart, name, PARAMETER, type, TYPE_PARAMETER |
Constructor Summary | |
---|---|
Initializer(Block block,
int modifiers)
|
Method Summary | |
---|---|
FlowInfo |
analyseCode(MethodScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream)
Code generation for a non-static initializer: standard block code gen |
int |
getKind()
Returns the constant kind of this variable declaration |
boolean |
isStatic()
|
void |
parseStatements(Parser parser,
TypeDeclaration typeDeclaration,
CompilationUnitDeclaration unit)
|
java.lang.StringBuffer |
printStatement(int indent,
java.lang.StringBuffer output)
|
void |
resolve(MethodScope scope)
|
void |
traverse(ASTVisitor visitor,
MethodScope scope)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration |
---|
analyseCode, genericTypeArguments, isSuperAccess, isTypeAccess, printAsExpression, resolve, setActualReceiverType, setDepth, setFieldIndex |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, isValidJavaStatement, print, resolveCase |
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 |
Methods inherited from interface org.eclipse.jdt.internal.compiler.lookup.InvocationSite |
---|
sourceEnd, sourceStart |
Field Detail |
---|
public Block block
public int lastVisibleFieldID
public int bodyStart
public int bodyEnd
Constructor Detail |
---|
public Initializer(Block block, int modifiers)
Method Detail |
---|
public FlowInfo analyseCode(MethodScope currentScope, FlowContext flowContext, FlowInfo flowInfo)
analyseCode
in class FieldDeclaration
public void generateCode(BlockScope currentScope, CodeStream codeStream)
generateCode
in class FieldDeclaration
currentScope
- org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream
- org.eclipse.jdt.internal.compiler.codegen.CodeStreampublic int getKind()
AbstractVariableDeclaration
getKind
in class FieldDeclaration
AbstractVariableDeclaration.getKind()
public boolean isStatic()
isStatic
in class FieldDeclaration
public void parseStatements(Parser parser, TypeDeclaration typeDeclaration, CompilationUnitDeclaration unit)
public java.lang.StringBuffer printStatement(int indent, java.lang.StringBuffer output)
printStatement
in class FieldDeclaration
public void resolve(MethodScope scope)
resolve
in class FieldDeclaration
public void traverse(ASTVisitor visitor, MethodScope scope)
traverse
in class FieldDeclaration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |