mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup: De Morgan's law & common code in branches
GitOrigin-RevId: 23861059ded4bb6be60d09923b8cbb7b2bdb1f8f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0d19abdfb9
commit
a68fba8a8a
@@ -448,13 +448,10 @@ public class PyClassTypeImpl extends UserDataHolderBase implements PyClassType {
|
||||
final PyResolveProcessor processor = new PyResolveProcessor(name);
|
||||
final Map<PsiElement, PyImportedNameDefiner> results;
|
||||
|
||||
if (!isDefinition && !cls.processInstanceLevelDeclarations(processor, location)) {
|
||||
results = processor.getResults();
|
||||
}
|
||||
else {
|
||||
if (isDefinition || cls.processInstanceLevelDeclarations(processor, location)) {
|
||||
cls.processClassLevelDeclarations(processor);
|
||||
results = processor.getResults();
|
||||
}
|
||||
results = processor.getResults();
|
||||
|
||||
return EntryStream
|
||||
.of(results)
|
||||
|
||||
Reference in New Issue
Block a user