|
||||||||||
| 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.SubRoutineStatement
org.eclipse.jdt.internal.compiler.ast.SynchronizedStatement
public class SynchronizedStatement
| Field Summary | |
|---|---|
Block |
block
|
Expression |
expression
|
BlockScope |
scope
|
LocalVariableBinding |
synchroVariable
|
| Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| Constructor Summary | |
|---|---|
SynchronizedStatement(Expression expression,
Block statement,
int s,
int e)
|
|
| Method Summary | |
|---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream)
Synchronized statement code generation |
boolean |
generateSubRoutineInvocation(BlockScope currentScope,
CodeStream codeStream,
Object targetLocation,
int stateIndex,
LocalVariableBinding secretLocal)
Generate an invocation of a subroutine (e.g. |
boolean |
isSubRoutineEscaping()
|
StringBuffer |
printStatement(int indent,
StringBuffer output)
|
void |
resolve(BlockScope upperScope)
|
void |
traverse(ASTVisitor visitor,
BlockScope blockScope)
|
| Methods inherited from class org.eclipse.jdt.internal.compiler.ast.SubRoutineStatement |
|---|
enterAnyExceptionHandler, enterDeclaredExceptionHandlers, exitAnyExceptionHandler, exitDeclaredExceptionHandlers, placeAllAnyExceptionHandler, reenterAllExceptionHandlers |
| 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 |
| Field Detail |
|---|
public Expression expression
public Block block
public BlockScope scope
public LocalVariableBinding synchroVariable
| Constructor Detail |
|---|
public SynchronizedStatement(Expression expression,
Block statement,
int s,
int e)
| Method Detail |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
analyseCode in class Statementpublic boolean isSubRoutineEscaping()
isSubRoutineEscaping in class SubRoutineStatement
public void generateCode(BlockScope currentScope,
CodeStream codeStream)
generateCode in class StatementcurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStream
public boolean generateSubRoutineInvocation(BlockScope currentScope,
CodeStream codeStream,
Object targetLocation,
int stateIndex,
LocalVariableBinding secretLocal)
SubRoutineStatement
generateSubRoutineInvocation in class SubRoutineStatementtrue if the generated code will abrupt completionSubRoutineStatement.generateSubRoutineInvocation(BlockScope, CodeStream, Object, int, LocalVariableBinding)public void resolve(BlockScope upperScope)
resolve in class Statement
public StringBuffer printStatement(int indent,
StringBuffer output)
printStatement in class Statement
public void traverse(ASTVisitor visitor,
BlockScope blockScope)
traverse in class ASTNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||