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