ASTNode (int role) { LOG.assertTrue(ChildRole.isUnique(role)); switch(role){ default: return null; case ChildRole.THROW_KEYWORD: return findChildByType(THROW_KEYWORD); case ChildRole.EXCEPTION: return findChildByType(EXPRESSION_BIT_SET); case ChildRole.CLOSING_SEMICOLON: return TreeUtil.findChildBackward(this, SEMICOLON); } }