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


Field Summary
static com.google.common.base.Predicate<ClassDescriptor> NON_SINGLETON_FILTER
           
static com.google.common.base.Predicate<ClassDescriptor> SINGLETON_FILTER
           
 
Method Summary
static ClassDescriptor findByQualifiedName(JetScope packageScope, FqName path)
           
static java.util.Collection<ClassDescriptor> getClassDescriptorsByFqName(ModuleDescriptor moduleDescriptor, FqName fqName)
           
static java.util.Collection<ClassDescriptor> getClassOrObjectDescriptorsByFqName(ModuleDescriptor moduleDescriptor, 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
 

Field Detail

NON_SINGLETON_FILTER

public static final com.google.common.base.Predicate<ClassDescriptor> NON_SINGLETON_FILTER

SINGLETON_FILTER

public static final com.google.common.base.Predicate<ClassDescriptor> SINGLETON_FILTER
Method Detail

getClassDescriptorsByFqName

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

getClassOrObjectDescriptorsByFqName

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

findByQualifiedName

@Nullable
public static ClassDescriptor findByQualifiedName(@NotNull
                                                           JetScope packageScope,
                                                           @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)