|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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
| 字段摘要 | |
|---|---|
Block |
block
|
Expression |
expression
|
BlockScope |
scope
|
LocalVariableBinding |
synchroVariable
|
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的字段 |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 构造方法摘要 | |
|---|---|
SynchronizedStatement(Expression expression,
Block statement,
int s,
int e)
|
|
| 方法摘要 | |
|---|---|
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. jsr finally) in current context. |
boolean |
isSubRoutineEscaping()
|
StringBuffer |
printStatement(int indent,
StringBuffer output)
|
void |
resolve(BlockScope upperScope)
|
void |
traverse(ASTVisitor visitor,
BlockScope blockScope)
|
| 从类 org.eclipse.jdt.internal.compiler.ast.SubRoutineStatement 继承的方法 |
|---|
enterAnyExceptionHandler, enterDeclaredExceptionHandlers, exitAnyExceptionHandler, exitDeclaredExceptionHandlers, placeAllAnyExceptionHandler, reenterAllExceptionHandlers |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的方法 |
|---|
branchChainTo, checkAgainstNullAnnotation, complainIfUnreachable, expectedType, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, print, resolveCase |
| 从类 org.eclipse.jdt.internal.compiler.ast.ASTNode 继承的方法 |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public Expression expression
public Block block
public BlockScope scope
public LocalVariableBinding synchroVariable
| 构造方法详细信息 |
|---|
public SynchronizedStatement(Expression expression,
Block statement,
int s,
int e)
| 方法详细信息 |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
Statement 中的 analyseCodepublic boolean isSubRoutineEscaping()
SubRoutineStatement 中的 isSubRoutineEscaping
public void generateCode(BlockScope currentScope,
CodeStream codeStream)
Statement 中的 generateCodecurrentScope - 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 复制的描述
SubRoutineStatement 中的 generateSubRoutineInvocationtrue if the generated code will abrupt completionSubRoutineStatement.generateSubRoutineInvocation(BlockScope, CodeStream, Object, int, LocalVariableBinding)public void resolve(BlockScope upperScope)
Statement 中的 resolve
public StringBuffer printStatement(int indent,
StringBuffer output)
Statement 中的 printStatement
public void traverse(ASTVisitor visitor,
BlockScope blockScope)
ASTNode 中的 traverse
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||