public interface ClassDescriptor extends ClassifierDescriptor, MemberDescriptor, ClassOrNamespaceDescriptor
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
getClassObjectDescriptor() |
JetType |
getClassObjectType() |
java.util.Collection<ConstructorDescriptor> |
getConstructors() |
DeclarationDescriptor |
getContainingDeclaration() |
JetType |
getDefaultType() |
ClassKind |
getKind() |
JetScope |
getMemberScope(java.util.List<TypeProjection> typeArguments) |
Modality |
getModality() |
ReceiverParameterDescriptor |
getThisAsReceiverParameter() |
JetScope |
getUnsubstitutedInnerClassesScope() |
ConstructorDescriptor |
getUnsubstitutedPrimaryConstructor() |
Visibility |
getVisibility() |
boolean |
isInner() |
ClassDescriptor |
substitute(TypeSubstitutor substitutor) |
getTypeConstructor, isClassObjectAValue
accept, acceptVoid, getOriginal
getAnnotations
@NotNull JetScope getMemberScope(java.util.List<TypeProjection> typeArguments)
@NotNull JetScope getUnsubstitutedInnerClassesScope()
@NotNull java.util.Collection<ConstructorDescriptor> getConstructors()
@NotNull DeclarationDescriptor getContainingDeclaration()
getContainingDeclaration
in interface DeclarationDescriptor
getContainingDeclaration
in interface DeclarationDescriptorNonRoot
@NotNull JetType getDefaultType()
getDefaultType
in interface ClassifierDescriptor
@NotNull ClassDescriptor substitute(@NotNull TypeSubstitutor substitutor)
substitute
in interface DeclarationDescriptor
@Nullable JetType getClassObjectType()
getClassObjectType
in interface ClassifierDescriptor
@Nullable ClassDescriptor getClassObjectDescriptor()
@NotNull Modality getModality()
getModality
in interface MemberDescriptor
@NotNull Visibility getVisibility()
getVisibility
in interface DeclarationDescriptorWithVisibility
getVisibility
in interface MemberDescriptor
boolean isInner()
true
if this class contains a reference to its outer class (as opposed to static nested class)@NotNull ReceiverParameterDescriptor getThisAsReceiverParameter()
@Nullable ConstructorDescriptor getUnsubstitutedPrimaryConstructor()