if (infoStudentTestQuestion.getOptionShuffle() == null && !infoStudentTestQuestion.getDistributedTest().getTestType().equals(new TestType(3))) { infoStudentTestQuestion.setOptionShuffle(shuffleOptions());
if (infoStudentTestQuestion.getOptionShuffle() == null) { boolean shuffle = true; if (infoStudentTestQuestion.getDistributedTest().getTestType().equals(new TestType(3))) { shuffle = false; } infoStudentTestQuestion.setOptionShuffle(shuffleOptions(shuffle));
    public InfoStudentTestQuestion parseStudentTestQuestion(InfoStudentTestQuestion infoStudentTestQuestion, String path) throws Exception,            ParseQuestionException {        parseFile(infoStudentTestQuestion.getQuestion().getXmlFile(), path);        infoStudentTestQuestion.setQuestion(list2Question(infoStudentTestQuestion.getQuestion()));        if (infoStudentTestQuestion.getQuestion().getQuestionType().getType().intValue() == QuestionType.LID) {            if (infoStudentTestQuestion.getOptionShuffle() == null                    && !infoStudentTestQuestion.getDistributedTest().getTestType().equals(new TestType(3))) {                infoStudentTestQuestion.setOptionShuffle(shuffleOptions());            }            infoStudentTestQuestion.getQuestion()                    .setOptions(                            shuffleStudentTestQuestionOptions(infoStudentTestQuestion.getOptionShuffle(), infoStudentTestQuestion.getQuestion()                                    .getOptions()));            infoStudentTestQuestion.getQuestion().setResponseProcessingInstructions(                    newResponseList(infoStudentTestQuestion.getQuestion().getResponseProcessingInstructions(), infoStudentTestQuestion.getQuestion()                            .getOptions()));            if (infoStudentTestQuestion.getResponse() == null) {                infoStudentTestQuestion.setResponse(new ResponseLID());            }        } else if (infoStudentTestQuestion.getQuestion().getQuestionType().getType().intValue() == QuestionType.NUM                && infoStudentTestQuestion.getResponse() == null) {            infoStudentTestQuestion.setResponse(new ResponseNUM());        } else if (infoStudentTestQuestion.getResponse() == null) {            infoStudentTestQuestion.setResponse(new ResponseSTR());        }        return infoStudentTestQuestion;    }