org.jetbrains.kotlin.resolve.lazy
Class ResolveSessionUtils

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.lazy.ResolveSessionUtils

public class ResolveSessionUtils
extends java.lang.Object


Method Summary
static ClassDescriptor findByQualifiedName(JetScope outerScope, FqName path)
           
static java.util.Collection<ClassDescriptor> getClassDescriptorsByFqName(ModuleDescriptor module, FqName fqName)
           
static java.util.Collection<ClassDescriptor> getClassOrObjectDescriptorsByFqName(ModuleDescriptor module, FqName fqName, com.google.common.base.Predicate<ClassDescriptor> filter)
           
static FqName safeFqNameForLazyResolve(JetNamedDeclaration declaration)
           
static Name safeNameForLazyResolve(JetNamedDeclaration declaration)
           
static Name safeNameForLazyResolve(Name name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClassDescriptorsByFqName

@NotNull
public static java.util.Collection<ClassDescriptor> getClassDescriptorsByFqName(@NotNull
                                                                                        ModuleDescriptor module,
                                                                                        @NotNull
                                                                                        FqName fqName)

getClassOrObjectDescriptorsByFqName

@NotNull
public static java.util.Collection<ClassDescriptor> getClassOrObjectDescriptorsByFqName(@NotNull
                                                                                                ModuleDescriptor module,
                                                                                                @NotNull
                                                                                                FqName fqName,
                                                                                                @NotNull
                                                                                                com.google.common.base.Predicate<ClassDescriptor> filter)

findByQualifiedName

@Nullable
public static ClassDescriptor findByQualifiedName(@NotNull
                                                           JetScope outerScope,
                                                           @NotNull
                                                           FqName path)

safeNameForLazyResolve

@NotNull
public static Name safeNameForLazyResolve(@NotNull
                                                  JetNamedDeclaration declaration)

safeNameForLazyResolve

@NotNull
public static Name safeNameForLazyResolve(@Nullable
                                                  Name name)

safeFqNameForLazyResolve

@Nullable
public static FqName safeFqNameForLazyResolve(@NotNull
                                                       JetNamedDeclaration declaration)