Beispiel #1
0
 private void buildInstanceOf(InstanceOfTree instanceOfTree) {
   currentBlock.elements.add(instanceOfTree);
   build(instanceOfTree.expression());
 }
 private boolean isLeftOperandAnException(InstanceOfTree tree) {
   return tree.expression().is(Tree.Kind.IDENTIFIER)
       && caughtVariables.contains(((IdentifierTree) tree.expression()).name());
 }