org.jetbrains.jet.lang.resolve
Class MutablePackageFragmentProvider

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.MutablePackageFragmentProvider
All Implemented Interfaces:
PackageFragmentProvider

public class MutablePackageFragmentProvider
extends java.lang.Object
implements PackageFragmentProvider


Constructor Summary
MutablePackageFragmentProvider(ModuleDescriptor module)
           
 
Method Summary
 java.util.Collection<MutablePackageFragmentDescriptor> getAllFragments()
           
 ModuleDescriptor getModule()
           
 MutablePackageFragmentDescriptor getOrCreateFragment(FqName fqName)
           
 java.util.List<PackageFragmentDescriptor> getPackageFragments(FqName fqName)
           
 java.util.Collection<FqName> getSubPackagesOf(FqName fqName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutablePackageFragmentProvider

public MutablePackageFragmentProvider(@NotNull
                                      ModuleDescriptor module)
Method Detail

getPackageFragments

@NotNull
public java.util.List<PackageFragmentDescriptor> getPackageFragments(@NotNull
                                                                             FqName fqName)
Specified by:
getPackageFragments in interface PackageFragmentProvider

getSubPackagesOf

@NotNull
public java.util.Collection<FqName> getSubPackagesOf(@NotNull
                                                             FqName fqName)
Specified by:
getSubPackagesOf in interface PackageFragmentProvider
Returns:
declared subpackages of fqName

getOrCreateFragment

@NotNull
public MutablePackageFragmentDescriptor getOrCreateFragment(@NotNull
                                                                    FqName fqName)

getModule

@NotNull
public ModuleDescriptor getModule()

getAllFragments

@NotNull
public java.util.Collection<MutablePackageFragmentDescriptor> getAllFragments()