org.jetbrains.jet.lang.descriptors
Interface ClassDescriptor
- All Superinterfaces:
- Annotated, ClassifierDescriptor, ClassOrNamespaceDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, MemberDescriptor, Named
- All Known Implementing Classes:
- ClassDescriptorBase, ClassDescriptorFromJvmBytecode, ClassDescriptorImpl, LazyClassDescriptor, LazySubstitutingClassDescriptor, MutableClassDescriptor, MutableClassDescriptorLite
public interface ClassDescriptor
- extends ClassifierDescriptor, MemberDescriptor, ClassOrNamespaceDescriptor
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named |
getName |
getMemberScope
@NotNull
JetScope getMemberScope(java.util.List<TypeProjection> typeArguments)
getUnsubstitutedInnerClassesScope
@NotNull
JetScope getUnsubstitutedInnerClassesScope()
getConstructors
@NotNull
java.util.Collection<ConstructorDescriptor> getConstructors()
getContainingDeclaration
@NotNull
DeclarationDescriptor getContainingDeclaration()
- Specified by:
getContainingDeclaration
in interface DeclarationDescriptor
- Specified by:
getContainingDeclaration
in interface DeclarationDescriptorNonRoot
getDefaultType
@NotNull
JetType getDefaultType()
- Specified by:
getDefaultType
in interface ClassifierDescriptor
- Returns:
- type A<T> for the class A<T>
substitute
@NotNull
ClassDescriptor substitute(@NotNull
TypeSubstitutor substitutor)
- Specified by:
substitute
in interface DeclarationDescriptor
getClassObjectType
@Nullable
JetType getClassObjectType()
- Specified by:
getClassObjectType
in interface ClassifierDescriptor
getClassObjectDescriptor
@Nullable
ClassDescriptor getClassObjectDescriptor()
getKind
@NotNull
ClassKind getKind()
getModality
@NotNull
Modality getModality()
- Specified by:
getModality
in interface MemberDescriptor
getVisibility
@NotNull
Visibility getVisibility()
- Specified by:
getVisibility
in interface DeclarationDescriptorWithVisibility
- Specified by:
getVisibility
in interface MemberDescriptor
isInner
boolean isInner()
- Returns:
true
if this class contains a reference to its outer class (as opposed to static nested class)
getThisAsReceiverParameter
@NotNull
ReceiverParameterDescriptor getThisAsReceiverParameter()
getUnsubstitutedPrimaryConstructor
@Nullable
ConstructorDescriptor getUnsubstitutedPrimaryConstructor()