|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement
org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration
org.aspectj.org.eclipse.jdt.internal.compiler.ast.LocalDeclaration
public class LocalDeclaration
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite |
|---|
InvocationSite.EmptyWithAstNode |
| Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeConstants |
|---|
TypeConstants.CloseMethodRecord |
| Field Summary | |
|---|---|
LocalVariableBinding |
binding
|
| Fields inherited from class org.aspectj.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.aspectj.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 |
void |
getAllAnnotationContexts(int targetType,
int parameterIndex,
java.util.List allAnnotationContexts)
|
void |
getAllAnnotationContexts(int targetType,
LocalVariableBinding localVariable,
java.util.List allAnnotationContexts)
|
int |
getKind()
Returns the constant kind of this variable declaration |
boolean |
isArgument()
|
boolean |
isReceiver()
|
void |
resolve(BlockScope scope)
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
|
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration |
|---|
freshInferenceContext, genericTypeArguments, isSuperAccess, isTypeAccess, printAsExpression, printStatement, setActualReceiverType, setDepth, setFieldIndex |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
analyseArguments, branchChainTo, checkAgainstNullTypeAnnotation, complainIfUnreachable, expectedType, findConstructorBinding, generateArguments, getExpressionContext, invocationTargetType, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, print, recordExceptionsForEnclosingLambda, resolveCase |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode |
|---|
checkInvocationArguments, concreteStatement, copySE8AnnotationsToType, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, isUnqualifiedSuper, printAnnotations, printIndent, printModifiers, receiverIsImplicitThis, resolveAnnotations, resolveAnnotations, resolveAnnotations, resolveDeprecatedAnnotations, resolvePolyExpressionArguments, resolvePolyExpressionArguments, 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.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite |
|---|
getExpressionContext, invocationTargetType, receiverIsImplicitThis, 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 getAllAnnotationContexts(int targetType,
LocalVariableBinding localVariable,
java.util.List allAnnotationContexts)
public void getAllAnnotationContexts(int targetType,
int parameterIndex,
java.util.List allAnnotationContexts)
public boolean isArgument()
public boolean isReceiver()
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 | ||||||||