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