コード例 #1
0
 @Override
 public void visitBlockStatement(GrBlockStatement blockStatement) {
   blockStatement.getBlock().accept(this);
 }
コード例 #2
0
 private static boolean blockStatementsAreEquivalent(
     @NotNull GrBlockStatement statement1, @NotNull GrBlockStatement statement2) {
   final GrOpenBlock block1 = statement1.getBlock();
   final GrOpenBlock block2 = statement2.getBlock();
   return openBlocksAreEquivalent(block1, block2);
 }