org.jetbrains.jet.descriptors.serialization.descriptors
Class DeserializedPackageMemberScope

java.lang.Object
  extended by org.jetbrains.jet.descriptors.serialization.descriptors.DeserializedMemberScope
      extended by org.jetbrains.jet.descriptors.serialization.descriptors.DeserializedPackageMemberScope
All Implemented Interfaces:
JetScope

public class DeserializedPackageMemberScope
extends DeserializedMemberScope


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope
EMPTY
 
Constructor Summary
DeserializedPackageMemberScope(StorageManager storageManager, NamespaceDescriptor packageDescriptor, AnnotationDeserializer annotationDeserializer, DescriptorFinder descriptorFinder, PackageData packageData)
           
DeserializedPackageMemberScope(StorageManager storageManager, NamespaceDescriptor packageDescriptor, AnnotationDeserializer annotationDeserializer, DescriptorFinder descriptorFinder, ProtoBuf.Package proto, NameResolver nameResolver)
           
 
Method Summary
protected  void addAllClassDescriptors(java.util.Collection<DeclarationDescriptor> result)
           
protected  void addNonDeclaredDescriptors(java.util.Collection<DeclarationDescriptor> result)
           
protected  java.util.Collection<ClassDescriptor> computeAllObjectDescriptors()
           
protected  ClassifierDescriptor getClassDescriptor(Name name)
           
protected  ReceiverParameterDescriptor getImplicitReceiver()
           
 NamespaceDescriptor getNamespace(Name name)
           
 ClassDescriptor getObjectDescriptor(Name name)
           
 
Methods inherited from class org.jetbrains.jet.descriptors.serialization.descriptors.DeserializedMemberScope
computeNonDeclaredFunctions, computeNonDeclaredProperties, getAllDescriptors, getClassifier, getContainingDeclaration, getDeclarationsByLabel, getFunctions, getImplicitReceiversHierarchy, getLocalVariable, getObjectDescriptors, getOwnDeclaredDescriptors, getProperties, printScopeStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeserializedPackageMemberScope

public DeserializedPackageMemberScope(@NotNull
                                      StorageManager storageManager,
                                      @NotNull
                                      NamespaceDescriptor packageDescriptor,
                                      @NotNull
                                      AnnotationDeserializer annotationDeserializer,
                                      @NotNull
                                      DescriptorFinder descriptorFinder,
                                      @NotNull
                                      ProtoBuf.Package proto,
                                      @NotNull
                                      NameResolver nameResolver)

DeserializedPackageMemberScope

public DeserializedPackageMemberScope(@NotNull
                                      StorageManager storageManager,
                                      @NotNull
                                      NamespaceDescriptor packageDescriptor,
                                      @NotNull
                                      AnnotationDeserializer annotationDeserializer,
                                      @NotNull
                                      DescriptorFinder descriptorFinder,
                                      @NotNull
                                      PackageData packageData)
Method Detail

getClassDescriptor

@Nullable
protected ClassifierDescriptor getClassDescriptor(@NotNull
                                                           Name name)
Specified by:
getClassDescriptor in class DeserializedMemberScope

getObjectDescriptor

@Nullable
public ClassDescriptor getObjectDescriptor(@NotNull
                                                    Name name)
Specified by:
getObjectDescriptor in interface JetScope
Specified by:
getObjectDescriptor in class DeserializedMemberScope

addAllClassDescriptors

protected void addAllClassDescriptors(@NotNull
                                      java.util.Collection<DeclarationDescriptor> result)
Specified by:
addAllClassDescriptors in class DeserializedMemberScope

computeAllObjectDescriptors

@NotNull
protected java.util.Collection<ClassDescriptor> computeAllObjectDescriptors()
Specified by:
computeAllObjectDescriptors in class DeserializedMemberScope

addNonDeclaredDescriptors

protected void addNonDeclaredDescriptors(@NotNull
                                         java.util.Collection<DeclarationDescriptor> result)
Specified by:
addNonDeclaredDescriptors in class DeserializedMemberScope

getNamespace

@Nullable
public NamespaceDescriptor getNamespace(@NotNull
                                                 Name name)
Specified by:
getNamespace in interface JetScope
Overrides:
getNamespace in class DeserializedMemberScope

getImplicitReceiver

@Nullable
protected ReceiverParameterDescriptor getImplicitReceiver()
Specified by:
getImplicitReceiver in class DeserializedMemberScope