org.jetbrains.jet.lang.resolve.lazy
Class ResolveSessionUtils

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

public class ResolveSessionUtils
extends java.lang.Object


Field Summary
static Name NO_NAME_FOR_LAZY_RESOLVE
           
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(KotlinCodeAnalyzer analyzer, FqName fqName)
           
static java.util.Collection<ClassDescriptor> getClassOrObjectDescriptorsByFqName(KotlinCodeAnalyzer analyzer, FqName fqName, com.google.common.base.Predicate<ClassDescriptor> filter)
           
static Name safeNameForLazyResolve(JetNamed named)
           
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

NO_NAME_FOR_LAZY_RESOLVE

public static final Name NO_NAME_FOR_LAZY_RESOLVE

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
                                                                                        KotlinCodeAnalyzer analyzer,
                                                                                        @NotNull
                                                                                        FqName fqName)

getClassOrObjectDescriptorsByFqName

@NotNull
public static java.util.Collection<ClassDescriptor> getClassOrObjectDescriptorsByFqName(@NotNull
                                                                                                KotlinCodeAnalyzer analyzer,
                                                                                                @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
                                                  JetNamed named)

safeNameForLazyResolve

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