Incorrect assertions removed: these methods are used by completion

Completion correctly proposes packages in type position, as part of an incomplete fqName
This commit is contained in:
Andrey Breslav
2014-12-24 17:53:02 +03:00
parent d6881b78d2
commit 0b01667ad1
@@ -197,18 +197,6 @@ public class QualifiedExpressionResolver {
public PackageViewDescriptor getPackage(@NotNull Name name) {
return null;
}
@NotNull
@Override
public Collection<DeclarationDescriptor> getAllDescriptors() {
throw new UnsupportedOperationException("Should not be called, because it may be cached before filtering is applied");
}
@NotNull
@Override
public Collection<DeclarationDescriptor> getOwnDeclaredDescriptors() {
throw new UnsupportedOperationException("Should not be called, because it may be cached before filtering is applied");
}
};
}