Check for ClassKind in getClassifier() and getObjectDescriptor() implementations in java scopes

# KT-3124 fixed
This commit is contained in:
Pavel V. Talanov
2012-12-05 20:53:02 +04:00
parent 0fea6822c3
commit ad848f2ebc
7 changed files with 57 additions and 20 deletions
@@ -39,6 +39,9 @@ public interface JetScope {
}
};
/**
* Should not return object (class object or enum entry) class descriptors.
*/
@Nullable
ClassifierDescriptor getClassifier(@NotNull Name name);