public void clear() {
super.clear();
if (filesToScan != null) {
filesToScan.clear();
filesToScan2.clear();
<BUG>helper = null;</BUG>
}
}
<BUG>protected void doAddSearchWordInCode(final String refname) {
final FileType fileType = context.getOptions().getFileType();
final Language language = fileType instanceof LanguageFileType ? ((LanguageFileType)fileType).getLanguage() : Language.ANY;</BUG>
final NamesValidator namesValidator = LanguageNamesValidation.INSTANCE.forLanguage(language);

public void clear() {
super.clear();
if (filesToScan != null) {
filesToScan.clear();
filesToScan2.clear();
}
}
protected void doAddSearchWordInCode(final String refname) {
final MatchOptions options = context.getOptions();
final FileType fileType = options.getFileType();
final Language language = fileType instanceof LanguageFileType ? ((LanguageFileType)fileType).getLanguage() : Language.ANY;
final NamesValidator namesValidator = LanguageNamesValidation.INSTANCE.forLanguage(language);
