String (@NotNull FindModel model) { String searchContext = FindBundle.message("find.context.anywhere.scope.label"); if (model.isInCommentsOnly()) searchContext = FindBundle.message("find.context.in.comments.scope.label"); else if (model.isInStringLiteralsOnly()) searchContext = FindBundle.message("find.context.in.literals.scope.label"); else if (model.isExceptStringLiterals()) searchContext = FindBundle.message("find.context.except.literals.scope.label"); else if (model.isExceptComments()) searchContext = FindBundle.message("find.context.except.comments.scope.label"); else if (model.isExceptCommentsAndStringLiterals()) searchContext = FindBundle.message("find.context.except.comments.and.literals.scope.label"); return searchContext; }