Revert "add JetScope.getAllDescriptors for KDoc"
This reverts commit 5e2521046c.
This commit is contained in:
@@ -108,9 +108,4 @@ public abstract class AbstractScopeAdapter implements JetScope {
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors(@NotNull DescriptorPredicate predicate) {
|
||||
return getWorkerScope().getAllDescriptors(predicate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors() {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -231,11 +231,6 @@ public abstract class AbstractLazyMemberScope<D extends DeclarationDescriptor, D
|
||||
return DescriptorPredicateUtils.filter(allDescriptors, predicate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors() {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
|
||||
protected abstract void addExtraDescriptors();
|
||||
|
||||
@Override
|
||||
|
||||
@@ -166,9 +166,4 @@ public class ChainedScope implements JetScope {
|
||||
}
|
||||
return allDescriptors;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors() {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,8 +86,6 @@ public interface JetScope {
|
||||
@NotNull
|
||||
Collection<DeclarationDescriptor> getAllDescriptors(@NotNull DescriptorPredicate predicate);
|
||||
|
||||
Collection<DeclarationDescriptor> getAllDescriptors();
|
||||
|
||||
/**
|
||||
* @return EFFECTIVE implicit receiver at this point (may be corresponding to an outer scope)
|
||||
*/
|
||||
|
||||
@@ -92,11 +92,6 @@ public abstract class JetScopeImpl implements JetScope {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors() {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getImplicitReceiversHierarchy(@NotNull List<ReceiverDescriptor> result) {
|
||||
}
|
||||
|
||||
@@ -162,9 +162,4 @@ public class SubstitutingScope implements JetScope {
|
||||
}
|
||||
return allDescriptors;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors() {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,10 +117,6 @@ public class ErrorUtils {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<DeclarationDescriptor> getAllDescriptors() {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
}
|
||||
|
||||
private static final ClassDescriptorImpl ERROR_CLASS = new ClassDescriptorImpl(ERROR_MODULE, Collections.<AnnotationDescriptor>emptyList(), Name.special("<ERROR CLASS>")) {
|
||||
|
||||
Reference in New Issue
Block a user