org.jetbrains.kotlin.descriptors.impl
Class PackageViewDescriptorImpl

java.lang.Object
  extended by org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
          extended by org.jetbrains.kotlin.descriptors.impl.PackageViewDescriptorImpl
All Implemented Interfaces:
Annotated, DeclarationDescriptor, Named, PackageViewDescriptor

public class PackageViewDescriptorImpl
extends DeclarationDescriptorImpl
implements PackageViewDescriptor


Constructor Summary
PackageViewDescriptorImpl(ModuleDescriptor module, FqName fqName, java.util.List<PackageFragmentDescriptor> fragments)
           
 
Method Summary
<R,D> R
accept(DeclarationDescriptorVisitor<R,D> visitor, D data)
           
 boolean equals(java.lang.Object o)
           
 PackageViewDescriptor getContainingDeclaration()
           
 FqName getFqName()
           
 JetScope getMemberScope()
           
 ModuleDescriptor getModule()
           
 int hashCode()
           
 DeclarationDescriptor substitute(TypeSubstitutor substitutor)
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, getOriginal, toString
 
Methods inherited from class org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
getAnnotations
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
acceptVoid, getOriginal
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Constructor Detail

PackageViewDescriptorImpl

public PackageViewDescriptorImpl(@NotNull
                                 ModuleDescriptor module,
                                 @NotNull
                                 FqName fqName,
                                 @NotNull
                                 java.util.List<PackageFragmentDescriptor> fragments)
Method Detail

getContainingDeclaration

@Nullable
public PackageViewDescriptor getContainingDeclaration()
Specified by:
getContainingDeclaration in interface DeclarationDescriptor
Specified by:
getContainingDeclaration in interface PackageViewDescriptor

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 PackageViewDescriptor

getMemberScope

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

getModule

@NotNull
public ModuleDescriptor getModule()
Specified by:
getModule in interface PackageViewDescriptor

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object