MemberDescriptor ancestor extracted to ClassifierDescriptorWithTypeParameters
This commit is contained in:
@@ -28,7 +28,7 @@ import org.jetbrains.kotlin.types.TypeSubstitutor;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface ClassDescriptor extends ClassifierDescriptorWithTypeParameters, MemberDescriptor, ClassOrPackageFragmentDescriptor {
|
public interface ClassDescriptor extends ClassifierDescriptorWithTypeParameters, ClassOrPackageFragmentDescriptor {
|
||||||
@NotNull
|
@NotNull
|
||||||
MemberScope getMemberScope(@NotNull List<? extends TypeProjection> typeArguments);
|
MemberScope getMemberScope(@NotNull List<? extends TypeProjection> typeArguments);
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -21,7 +21,8 @@ import org.jetbrains.annotations.ReadOnly;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface ClassifierDescriptorWithTypeParameters extends ClassifierDescriptor, DeclarationDescriptorWithVisibility {
|
public interface ClassifierDescriptorWithTypeParameters
|
||||||
|
extends ClassifierDescriptor, DeclarationDescriptorWithVisibility, MemberDescriptor {
|
||||||
/**
|
/**
|
||||||
* @return <code>true</code> if this class contains a reference to its outer class (as opposed to static nested class)
|
* @return <code>true</code> if this class contains a reference to its outer class (as opposed to static nested class)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ package org.jetbrains.kotlin.descriptors
|
|||||||
import org.jetbrains.kotlin.types.SimpleType
|
import org.jetbrains.kotlin.types.SimpleType
|
||||||
import org.jetbrains.kotlin.types.TypeSubstitutor
|
import org.jetbrains.kotlin.types.TypeSubstitutor
|
||||||
|
|
||||||
interface TypeAliasDescriptor : ClassifierDescriptorWithTypeParameters, MemberDescriptor {
|
interface TypeAliasDescriptor : ClassifierDescriptorWithTypeParameters {
|
||||||
/// Right-hand side of the type alias definition.
|
/// Right-hand side of the type alias definition.
|
||||||
/// May contain type aliases.
|
/// May contain type aliases.
|
||||||
val underlyingType: SimpleType
|
val underlyingType: SimpleType
|
||||||
|
|||||||
Reference in New Issue
Block a user