
MethodReferencesSearch.search(new MethodReferencesSearch.SearchParameters(method, options.searchScope, true, options.fastTrack)).forEach(new PsiReferenceProcessorAdapter(new PsiReferenceProcessor() {
@Override</BUG>
public boolean execute(PsiReference reference) {
<BUG>addResultFromReference(reference, methodClass, manager, aClass, results, options);
</BUG>
return true;
}
<BUG>}));
}</BUG>
}

for(int j = 0; j < i; j++){
if (methodSignature.equals(methods[j].getSignature(PsiSubstitutor.EMPTY))) continue MethodsLoop;
}
final PsiClass methodClass = method.getContainingClass();
if (methodClass != null && manager.areElementsEquivalent(methodClass, aClass)){
if (!addElementUsages(methods[i], processor, options)) return false;
}
else {
boolean success = MethodReferencesSearch.search(new MethodReferencesSearch.SearchParameters(method, options.searchScope, true, options.fastTrack))
.forEach(new PsiReferenceProcessorAdapter(new PsiReferenceProcessor() {
@Override
public boolean execute(PsiReference reference) {
addResultFromReference(reference, methodClass, manager, aClass, processor, options);
return true;
