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:
@@ -197,18 +197,6 @@ public class QualifiedExpressionResolver {
|
|||||||
public PackageViewDescriptor getPackage(@NotNull Name name) {
|
public PackageViewDescriptor getPackage(@NotNull Name name) {
|
||||||
return null;
|
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");
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user