|
||||||||||
| 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 |
| Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 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)
|
StringBuffer |
printStatement(int indent,
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, checkAgainstNullAnnotation, complainIfUnreachable, expectedType, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jdt.internal.compiler.lookup.InvocationSite |
|---|
expectedType, 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 FieldDeclarationcurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreampublic int getKind()
AbstractVariableDeclaration
getKind in class FieldDeclarationAbstractVariableDeclaration.getKind()public boolean isStatic()
isStatic in class FieldDeclaration
public void parseStatements(Parser parser,
TypeDeclaration typeDeclaration,
CompilationUnitDeclaration unit)
public StringBuffer printStatement(int indent,
StringBuffer output)
printStatement in class FieldDeclarationpublic 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 | |||||||||