org.jetbrains.jet.lang.resolve.lazy.descriptors
Class LazyPackageDescriptor

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl
          extended by org.jetbrains.jet.lang.resolve.lazy.descriptors.LazyPackageDescriptor
All Implemented Interfaces:
Annotated, ClassOrPackageFragmentDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, Named, PackageFragmentDescriptor, LazyEntity

public class LazyPackageDescriptor
extends DeclarationDescriptorImpl
implements LazyEntity, PackageFragmentDescriptor


Constructor Summary
LazyPackageDescriptor(ModuleDescriptor module, FqName fqName, ResolveSession resolveSession, PackageMemberDeclarationProvider declarationProvider)
           
 
Method Summary
<R,D> R
accept(DeclarationDescriptorVisitor<R,D> visitor, D data)
           
 void forceResolveAllContents()
           
 ModuleDescriptor getContainingDeclaration()
           
 PackageMemberDeclarationProvider getDeclarationProvider()
           
 FqName getFqName()
           
 JetScope getMemberScope()
           
 DeclarationDescriptor substitute(TypeSubstitutor substitutor)
           
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, getOriginal, toString
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
getAnnotations
 
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.DeclarationDescriptor
acceptVoid, getOriginal
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named
getName
 

Constructor Detail

LazyPackageDescriptor

public LazyPackageDescriptor(@NotNull
                             ModuleDescriptor module,
                             @NotNull
                             FqName fqName,
                             @NotNull
                             ResolveSession resolveSession,
                             @NotNull
                             PackageMemberDeclarationProvider declarationProvider)
Method Detail

getMemberScope

@NotNull
public JetScope getMemberScope()
Specified by:
getMemberScope in interface PackageFragmentDescriptor

getContainingDeclaration

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

substitute

@Nullable
public DeclarationDescriptor substitute(@NotNull
                                                 TypeSubstitutor substitutor)
Specified by:
substitute in interface DeclarationDescriptor

accept

public <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface DeclarationDescriptor

getFqName

@NotNull
public FqName getFqName()
Specified by:
getFqName in interface PackageFragmentDescriptor

forceResolveAllContents

public void forceResolveAllContents()
Specified by:
forceResolveAllContents in interface LazyEntity

getDeclarationProvider

@NotNull
public PackageMemberDeclarationProvider getDeclarationProvider()