org.jetbrains.kotlin.resolve
Class QualifiedExpressionResolver

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.QualifiedExpressionResolver

public class QualifiedExpressionResolver
extends java.lang.Object


Nested Class Summary
static class QualifiedExpressionResolver.LookupMode
           
 
Constructor Summary
QualifiedExpressionResolver(SymbolUsageValidator symbolUsageValidator)
           
 
Method Summary
 java.util.Collection<DeclarationDescriptor> lookupDescriptorsForSimpleNameReference(JetSimpleNameExpression referenceExpression, JetScope outerScope, DeclarationDescriptor shouldBeVisibleFrom, BindingTrace trace, QualifiedExpressionResolver.LookupMode lookupMode, boolean packageLevel, boolean storeResult)
           
 java.util.Collection<DeclarationDescriptor> lookupDescriptorsForUserType(JetUserType userType, JetScope outerScope, BindingTrace trace, boolean onlyClassifiers)
           
 java.util.Collection<DeclarationDescriptor> lookupSelectorDescriptors(JetSimpleNameExpression selector, java.util.Collection<DeclarationDescriptor> declarationDescriptors, BindingTrace trace, DeclarationDescriptor shouldBeVisibleFrom, QualifiedExpressionResolver.LookupMode lookupMode, boolean storeResult)
           
 JetScope processImportReference(JetImportDirective importDirective, ModuleDescriptor moduleDescriptor, BindingTrace trace, QualifiedExpressionResolver.LookupMode lookupMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualifiedExpressionResolver

public QualifiedExpressionResolver(@NotNull
                                   SymbolUsageValidator symbolUsageValidator)
Method Detail

processImportReference

@NotNull
public JetScope processImportReference(@NotNull
                                               JetImportDirective importDirective,
                                               @NotNull
                                               ModuleDescriptor moduleDescriptor,
                                               @NotNull
                                               BindingTrace trace,
                                               @NotNull
                                               QualifiedExpressionResolver.LookupMode lookupMode)

lookupDescriptorsForUserType

@NotNull
public java.util.Collection<DeclarationDescriptor> lookupDescriptorsForUserType(@NotNull
                                                                                        JetUserType userType,
                                                                                        @NotNull
                                                                                        JetScope outerScope,
                                                                                        @NotNull
                                                                                        BindingTrace trace,
                                                                                        boolean onlyClassifiers)

lookupSelectorDescriptors

@NotNull
public java.util.Collection<DeclarationDescriptor> lookupSelectorDescriptors(@NotNull
                                                                                     JetSimpleNameExpression selector,
                                                                                     @NotNull
                                                                                     java.util.Collection<DeclarationDescriptor> declarationDescriptors,
                                                                                     @NotNull
                                                                                     BindingTrace trace,
                                                                                     @NotNull
                                                                                     DeclarationDescriptor shouldBeVisibleFrom,
                                                                                     @NotNull
                                                                                     QualifiedExpressionResolver.LookupMode lookupMode,
                                                                                     boolean storeResult)

lookupDescriptorsForSimpleNameReference

@NotNull
public java.util.Collection<DeclarationDescriptor> lookupDescriptorsForSimpleNameReference(@NotNull
                                                                                                   JetSimpleNameExpression referenceExpression,
                                                                                                   @NotNull
                                                                                                   JetScope outerScope,
                                                                                                   @NotNull
                                                                                                   DeclarationDescriptor shouldBeVisibleFrom,
                                                                                                   @NotNull
                                                                                                   BindingTrace trace,
                                                                                                   @NotNull
                                                                                                   QualifiedExpressionResolver.LookupMode lookupMode,
                                                                                                   boolean packageLevel,
                                                                                                   boolean storeResult)