Revert "jdr: properly fetch supertype member names"
This reverts commit 9b13a308f8.
This commit is contained in:
@@ -88,9 +88,6 @@ public interface JetScope {
|
||||
|
||||
Collection<DeclarationDescriptor> getAllDescriptors();
|
||||
|
||||
@NotNull
|
||||
Collection<Name> getAllDescriptorNames();
|
||||
|
||||
/**
|
||||
* @return EFFECTIVE implicit receiver at this point (may be corresponding to an outer scope)
|
||||
*/
|
||||
|
||||
@@ -16,13 +16,9 @@
|
||||
|
||||
package org.jetbrains.jet.lang.resolve.scopes;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.lang.descriptors.DeclarationDescriptor;
|
||||
import org.jetbrains.jet.lang.resolve.name.Name;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
@@ -34,14 +30,4 @@ public abstract class JetScopeBase implements JetScope {
|
||||
return getAllDescriptors(DescriptorPredicate.all());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Collection<Name> getAllDescriptorNames() {
|
||||
// dummy implementation
|
||||
Set<Name> r = Sets.newHashSet();
|
||||
for (DeclarationDescriptor descriptor : getAllDescriptors()) {
|
||||
r.add(descriptor.getName());
|
||||
}
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user