|
||||||||||
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.LocalDeclaration
public class LocalDeclaration
Field Summary | |
---|---|
LocalVariableBinding |
binding
|
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 | |
---|---|
LocalDeclaration(char[] name,
int sourceStart,
int sourceEnd)
|
Method Summary | |
---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
checkModifiers()
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream)
Code generation for a local declaration: i.e. normal assignment to a local variable + unused variable handling |
int |
getKind()
Returns the constant kind of this variable declaration |
void |
resolve(BlockScope scope)
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration |
---|
genericTypeArguments, isSuperAccess, isTypeAccess, printAsExpression, printStatement, 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 |
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 LocalVariableBinding binding
Constructor Detail |
---|
public LocalDeclaration(char[] name, int sourceStart, int sourceEnd)
Method Detail |
---|
public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo)
analyseCode
in class AbstractVariableDeclaration
public void checkModifiers()
public void generateCode(BlockScope currentScope, CodeStream codeStream)
generateCode
in class Statement
public int getKind()
AbstractVariableDeclaration
getKind
in class AbstractVariableDeclaration
AbstractVariableDeclaration.getKind()
public void resolve(BlockScope scope)
resolve
in class AbstractVariableDeclaration
public void traverse(ASTVisitor visitor, BlockScope scope)
traverse
in class ASTNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |