org.jetbrains.jet.lang.resolve.lazy
Interface KotlinCodeAnalyzer

All Known Implementing Classes:
ResolveSession

public interface KotlinCodeAnalyzer


Method Summary
 void forceResolveAll()
          Forces all descriptors to be resolved.
 BindingContext getBindingContext()
           
 ClassDescriptor getClassDescriptor(JetClassOrObject classOrObject)
           
 ModuleDescriptor getModuleDescriptor()
           
 LazyPackageDescriptor getPackageFragment(FqName fqName)
           
 ScopeProvider getScopeProvider()
           
 ScriptDescriptor getScriptDescriptor(JetScript script)
           
 java.util.Collection<ClassDescriptor> getTopLevelClassDescriptors(FqName fqName)
           
 DeclarationDescriptor resolveToDescriptor(JetDeclaration declaration)
           
 

Method Detail

getPackageFragment

@Nullable
LazyPackageDescriptor getPackageFragment(@NotNull
                                                  FqName fqName)

getModuleDescriptor

@NotNull
ModuleDescriptor getModuleDescriptor()

getTopLevelClassDescriptors

@NotNull
@ReadOnly
java.util.Collection<ClassDescriptor> getTopLevelClassDescriptors(@NotNull
                                                                                   FqName fqName)

getClassDescriptor

@NotNull
ClassDescriptor getClassDescriptor(@NotNull
                                           JetClassOrObject classOrObject)

getScriptDescriptor

@NotNull
ScriptDescriptor getScriptDescriptor(@NotNull
                                             JetScript script)

getBindingContext

@NotNull
BindingContext getBindingContext()

resolveToDescriptor

@NotNull
DeclarationDescriptor resolveToDescriptor(JetDeclaration declaration)

getScopeProvider

@NotNull
ScopeProvider getScopeProvider()

forceResolveAll

void forceResolveAll()
Forces all descriptors to be resolved. Use this method when laziness plays against you, e.g. when lazy descriptors may be accessed in a multi-threaded setting