AssistMode () { ViewsGeneralSettings settings = ViewsGeneralSettings.getInstance(); if (settings.USE_DFA_ASSIST && settings.USE_DFA_ASSIST_GRAY_OUT) { return BOTH; } if (settings.USE_DFA_ASSIST) { return INLAYS; } if (settings.USE_DFA_ASSIST_GRAY_OUT) { return GRAY_OUT; } return NONE; }