模块 jdk.compiler

接口 SynchronizedTree

所有父级接口:
StatementTree , Tree

public interface SynchronizedTree extends StatementTree
synchronized 语句的树节点。例如:
  synchronized ( expression )
    block 
 
Java 语言规范:
14.19同步语句
自从:
1.6
  • 方法详情

    • getExpression

      ExpressionTree  getExpression()
      返回要同步的表达式。
      返回:
      表达方式
    • getBlock

      BlockTree  getBlock()
      返回 synchronized 语句的块。
      返回:
      街区