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 findClassByRelativePath(MemberScope packageScope, 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(KtNamedDeclaration declaration)
           
static Name safeNameForLazyResolve(KtNamedDeclaration 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)

findClassByRelativePath

@Nullable
public static ClassDescriptor findClassByRelativePath(@NotNull
                                                               MemberScope packageScope,
                                                               @NotNull
                                                               FqName path)

safeNameForLazyResolve

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

safeNameForLazyResolve

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

safeFqNameForLazyResolve

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