Minor: drop deprecated JetScope::getProperties which no longer have usages

This commit is contained in:
Zalim Bashorov
2015-08-18 21:58:10 +03:00
parent 024c2761c8
commit a395b8b4dd
2 changed files with 1 additions and 9 deletions
@@ -50,9 +50,7 @@ public interface JetScope {
// Temporary overloads which will be dropped when all usages will be processed
@deprecated("Provide `location` explicitly", replaceWith = ReplaceWith("getClassifier(name, NoLookupLocation.UNSORTED)"))
public final fun getClassifier(name: Name): ClassifierDescriptor? = getClassifier(name, NoLookupLocation.UNSORTED)
@deprecated("Provide `location` explicitly", replaceWith = ReplaceWith("getClassifier(name, NoLookupLocation.UNSORTED)"))
public final fun getProperties(name: Name): Collection<VariableDescriptor> = getProperties(name, NoLookupLocation.UNSORTED)
@deprecated("Provide `location` explicitly", replaceWith = ReplaceWith("getClassifier(name, NoLookupLocation.UNSORTED)"))
@deprecated("Provide `location` explicitly", replaceWith = ReplaceWith("getFunctions(name, NoLookupLocation.UNSORTED)"))
public final fun getFunctions(name: Name): Collection<FunctionDescriptor> = getFunctions(name, NoLookupLocation.UNSORTED)
/**
@@ -81,12 +81,6 @@ public class ErrorUtils {
return getClassifier(name, NoLookupLocation.UNSORTED);
}
@NotNull
@Override
public Collection<VariableDescriptor> getProperties(@NotNull Name name) {
return getProperties(name, NoLookupLocation.UNSORTED);
}
@NotNull
@Override
public Collection<FunctionDescriptor> getFunctions(@NotNull Name name) {