org.jetbrains.jet.lang.descriptors.impl
Class MutablePackageFragmentDescriptor

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.descriptors.impl.MutablePackageFragmentDescriptor
All Implemented Interfaces:
Annotated, ClassOrPackageFragmentDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, Named, PackageFragmentDescriptor

public class MutablePackageFragmentDescriptor
extends DeclarationDescriptorImpl
implements PackageFragmentDescriptor


Constructor Summary
MutablePackageFragmentDescriptor(ModuleDescriptor module, FqName fqName)
           
 
Method Summary
<R,D> R
accept(DeclarationDescriptorVisitor<R,D> visitor, D data)
           
 PackageLikeBuilder getBuilder()
           
 ModuleDescriptor getContainingDeclaration()
           
 FqName getFqName()
           
 WritableScope 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

MutablePackageFragmentDescriptor

public MutablePackageFragmentDescriptor(@NotNull
                                        ModuleDescriptor module,
                                        @NotNull
                                        FqName fqName)
Method Detail

getContainingDeclaration

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

getFqName

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

getMemberScope

@NotNull
public WritableScope getMemberScope()
Specified by:
getMemberScope 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

getBuilder

@NotNull
public PackageLikeBuilder getBuilder()