|
||||||||||
| 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 |
| Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 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, 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 |
| 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 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 AbstractVariableDeclarationpublic void checkModifiers()
public void generateCode(BlockScope currentScope,
CodeStream codeStream)
generateCode in class Statementpublic int getKind()
AbstractVariableDeclaration
getKind in class AbstractVariableDeclarationAbstractVariableDeclaration.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 | |||||||||