diff --git a/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassDescriptor.java b/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassDescriptor.java index d2d2c979f5e..e86657161d1 100644 --- a/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassDescriptor.java +++ b/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassDescriptor.java @@ -28,7 +28,7 @@ import org.jetbrains.kotlin.types.TypeSubstitutor; import java.util.Collection; import java.util.List; -public interface ClassDescriptor extends ClassifierDescriptorWithTypeParameters, MemberDescriptor, ClassOrPackageFragmentDescriptor { +public interface ClassDescriptor extends ClassifierDescriptorWithTypeParameters, ClassOrPackageFragmentDescriptor { @NotNull MemberScope getMemberScope(@NotNull List typeArguments); diff --git a/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassifierDescriptorWithTypeParameters.java b/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassifierDescriptorWithTypeParameters.java index 527be7b3762..e9fa045e3a1 100644 --- a/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassifierDescriptorWithTypeParameters.java +++ b/core/descriptors/src/org/jetbrains/kotlin/descriptors/ClassifierDescriptorWithTypeParameters.java @@ -21,7 +21,8 @@ import org.jetbrains.annotations.ReadOnly; import java.util.List; -public interface ClassifierDescriptorWithTypeParameters extends ClassifierDescriptor, DeclarationDescriptorWithVisibility { +public interface ClassifierDescriptorWithTypeParameters + extends ClassifierDescriptor, DeclarationDescriptorWithVisibility, MemberDescriptor { /** * @return true if this class contains a reference to its outer class (as opposed to static nested class) */ diff --git a/core/descriptors/src/org/jetbrains/kotlin/descriptors/TypeAliasDescriptor.kt b/core/descriptors/src/org/jetbrains/kotlin/descriptors/TypeAliasDescriptor.kt index 241b16e6530..6f5254fb363 100644 --- a/core/descriptors/src/org/jetbrains/kotlin/descriptors/TypeAliasDescriptor.kt +++ b/core/descriptors/src/org/jetbrains/kotlin/descriptors/TypeAliasDescriptor.kt @@ -19,7 +19,7 @@ package org.jetbrains.kotlin.descriptors import org.jetbrains.kotlin.types.SimpleType import org.jetbrains.kotlin.types.TypeSubstitutor -interface TypeAliasDescriptor : ClassifierDescriptorWithTypeParameters, MemberDescriptor { +interface TypeAliasDescriptor : ClassifierDescriptorWithTypeParameters { /// Right-hand side of the type alias definition. /// May contain type aliases. val underlyingType: SimpleType