org.jetbrains.jet.lang.resolve.java.resolver
Class JavaNamespaceResolver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.resolver.JavaNamespaceResolver

public final class JavaNamespaceResolver
extends java.lang.Object


Field Summary
static ModuleDescriptor FAKE_ROOT_MODULE
           
 
Constructor Summary
JavaNamespaceResolver()
           
 
Method Summary
 java.util.Collection<Name> getClassNamesInPackage(FqName packageName)
           
 JetScope getJavaPackageScopeForExistingNamespaceDescriptor(NamespaceDescriptor namespaceDescriptor)
           
 NamespaceDescriptor resolveNamespace(FqName qualifiedName, DescriptorSearchRule searchRule)
           
 void setDeserializedDescriptorResolver(DeserializedDescriptorResolver deserializedDescriptorResolver)
           
 void setJavaDescriptorResolver(JavaDescriptorResolver javaDescriptorResolver)
           
 void setPsiClassFinder(PsiClassFinder psiClassFinder)
           
 void setTrace(BindingTrace trace)
           
 void setVirtualFileFinder(VirtualFileFinder virtualFileFinder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAKE_ROOT_MODULE

@NotNull
public static final ModuleDescriptor FAKE_ROOT_MODULE
Constructor Detail

JavaNamespaceResolver

public JavaNamespaceResolver()
Method Detail

setVirtualFileFinder

@Inject
public void setVirtualFileFinder(VirtualFileFinder virtualFileFinder)

setPsiClassFinder

@Inject
public void setPsiClassFinder(PsiClassFinder psiClassFinder)

setTrace

@Inject
public void setTrace(BindingTrace trace)

setJavaDescriptorResolver

@Inject
public void setJavaDescriptorResolver(@NotNull
                                             JavaDescriptorResolver javaDescriptorResolver)

setDeserializedDescriptorResolver

@Inject
public void setDeserializedDescriptorResolver(DeserializedDescriptorResolver deserializedDescriptorResolver)

resolveNamespace

@Nullable
public NamespaceDescriptor resolveNamespace(@NotNull
                                                     FqName qualifiedName,
                                                     @NotNull
                                                     DescriptorSearchRule searchRule)

getJavaPackageScopeForExistingNamespaceDescriptor

@Nullable
public JetScope getJavaPackageScopeForExistingNamespaceDescriptor(@NotNull
                                                                           NamespaceDescriptor namespaceDescriptor)

getClassNamesInPackage

@NotNull
public java.util.Collection<Name> getClassNamesInPackage(@NotNull
                                                                 FqName packageName)