org.jetbrains.jet.descriptors.serialization.descriptors
Class DeserializedClassDescriptor

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
      extended by org.jetbrains.jet.descriptors.serialization.descriptors.DeserializedClassDescriptor
All Implemented Interfaces:
Annotated, ClassDescriptor, ClassifierDescriptor, ClassOrPackageFragmentDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, MemberDescriptor, Named

public class DeserializedClassDescriptor
extends AbstractClassDescriptor
implements ClassDescriptor


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
defaultType
 
Constructor Summary
DeserializedClassDescriptor(StorageManager storageManager, Deserializers deserializers, DescriptorFinder descriptorFinder, PackageFragmentProvider packageFragmentProvider, NameResolver nameResolver, ProtoBuf.Class classProto)
           
 
Method Summary
 Annotations getAnnotations()
           
 ClassDescriptor getClassObjectDescriptor()
           
 java.util.Collection<ConstructorDescriptor> getConstructors()
           
 DeclarationDescriptor getContainingDeclaration()
           
 ClassKind getKind()
           
 Modality getModality()
           
protected  JetScope getScopeForMemberLookup()
           
 TypeConstructor getTypeConstructor()
           
 ConstructorDescriptor getUnsubstitutedPrimaryConstructor()
           
 Visibility getVisibility()
           
 boolean isInner()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
accept, acceptVoid, getClassObjectType, getDefaultType, getMemberScope, getName, getOriginal, getThisAsReceiverParameter, getUnsubstitutedInnerClassesScope, substitute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.ClassDescriptor
getClassObjectType, getDefaultType, getMemberScope, getThisAsReceiverParameter, getUnsubstitutedInnerClassesScope, substitute
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptor
accept, acceptVoid, getOriginal
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named
getName
 

Constructor Detail

DeserializedClassDescriptor

public DeserializedClassDescriptor(@NotNull
                                   StorageManager storageManager,
                                   @NotNull
                                   Deserializers deserializers,
                                   @NotNull
                                   DescriptorFinder descriptorFinder,
                                   @NotNull
                                   PackageFragmentProvider packageFragmentProvider,
                                   @NotNull
                                   NameResolver nameResolver,
                                   @NotNull
                                   ProtoBuf.Class classProto)
Method Detail

getContainingDeclaration

@NotNull
public DeclarationDescriptor getContainingDeclaration()
Specified by:
getContainingDeclaration in interface ClassDescriptor
Specified by:
getContainingDeclaration in interface DeclarationDescriptor
Specified by:
getContainingDeclaration in interface DeclarationDescriptorNonRoot

getTypeConstructor

@NotNull
public TypeConstructor getTypeConstructor()
Specified by:
getTypeConstructor in interface ClassifierDescriptor

getKind

@NotNull
public ClassKind getKind()
Specified by:
getKind in interface ClassDescriptor

getModality

@NotNull
public Modality getModality()
Specified by:
getModality in interface ClassDescriptor
Specified by:
getModality in interface MemberDescriptor

getVisibility

@NotNull
public Visibility getVisibility()
Specified by:
getVisibility in interface ClassDescriptor
Specified by:
getVisibility in interface DeclarationDescriptorWithVisibility
Specified by:
getVisibility in interface MemberDescriptor

isInner

public boolean isInner()
Specified by:
isInner in interface ClassDescriptor
Returns:
true if this class contains a reference to its outer class (as opposed to static nested class)

getAnnotations

@NotNull
public Annotations getAnnotations()
Specified by:
getAnnotations in interface Annotated

getScopeForMemberLookup

@NotNull
protected JetScope getScopeForMemberLookup()
Specified by:
getScopeForMemberLookup in class AbstractClassDescriptor

getUnsubstitutedPrimaryConstructor

@Nullable
public ConstructorDescriptor getUnsubstitutedPrimaryConstructor()
Specified by:
getUnsubstitutedPrimaryConstructor in interface ClassDescriptor

getConstructors

@NotNull
public java.util.Collection<ConstructorDescriptor> getConstructors()
Specified by:
getConstructors in interface ClassDescriptor

getClassObjectDescriptor

@Nullable
public ClassDescriptor getClassObjectDescriptor()
Specified by:
getClassObjectDescriptor in interface ClassDescriptor

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object