|
|||||||||
| 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.Block
public class Block
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeConstants |
|---|
TypeConstants.CloseMethodRecord |
| Field Summary | |
|---|---|
int |
explicitDeclarations
|
boolean |
lambdaBody
|
BlockScope |
scope
|
Statement[] |
statements
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| Constructor Summary | |
|---|---|
Block(int explicitDeclarations)
|
|
Block(int explicitDeclarations,
boolean lambdaBody)
|
|
| Method Summary | |
|---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
branchChainTo(BranchLabel label)
Dispatch the call on its last statement. |
void |
generateCode(BlockScope currentScope,
CodeStream codeStream)
Code generation for a block |
boolean |
isEmptyBlock()
|
java.lang.StringBuffer |
printBody(int indent,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printStatement(int indent,
java.lang.StringBuffer output)
|
void |
resolve(BlockScope upperScope)
|
void |
resolveUsing(BlockScope givenScope)
|
void |
traverse(ASTVisitor visitor,
BlockScope blockScope)
|
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
analyseArguments, checkAgainstNullTypeAnnotation, complainIfUnreachable, expectedType, findConstructorBinding, generateArguments, getExpressionContext, invocationTargetType, isBoxingCompatible, 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 |
| Field Detail |
|---|
public Statement[] statements
public int explicitDeclarations
public BlockScope scope
public boolean lambdaBody
| Constructor Detail |
|---|
public Block(int explicitDeclarations,
boolean lambdaBody)
public Block(int explicitDeclarations)
| Method Detail |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
analyseCode in class Statement
public void generateCode(BlockScope currentScope,
CodeStream codeStream)
generateCode in class Statementpublic boolean isEmptyBlock()
isEmptyBlock in class Statement
public java.lang.StringBuffer printBody(int indent,
java.lang.StringBuffer output)
public java.lang.StringBuffer printStatement(int indent,
java.lang.StringBuffer output)
printStatement in class Statementpublic void resolve(BlockScope upperScope)
resolve in class Statementpublic void resolveUsing(BlockScope givenScope)
public void traverse(ASTVisitor visitor,
BlockScope blockScope)
traverse in class ASTNodepublic void branchChainTo(BranchLabel label)
branchChainTo in class Statement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||