org.jetbrains.jet.lang.resolve.lazy.descriptors
Class LazyClassMemberScope

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.lazy.descriptors.AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>
      extended by org.jetbrains.jet.lang.resolve.lazy.descriptors.LazyClassMemberScope
All Implemented Interfaces:
JetScope

public class LazyClassMemberScope
extends AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.resolve.lazy.descriptors.AbstractLazyMemberScope
declarationProvider, resolveSession, thisDescriptor
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope
EMPTY
 
Constructor Summary
LazyClassMemberScope(ResolveSession resolveSession, ClassMemberDeclarationProvider declarationProvider, LazyClassDescriptor thisClass)
           
 
Method Summary
protected  void addExtraDescriptors(java.util.Collection<DeclarationDescriptor> result)
           
 java.util.Set<ConstructorDescriptor> getConstructors()
           
 java.util.Set<FunctionDescriptor> getFunctions(Name name)
           
protected  ReceiverParameterDescriptor getImplicitReceiver()
           
 NamespaceDescriptor getNamespace(Name name)
           
protected  void getNonDeclaredFunctions(Name name, java.util.Set<FunctionDescriptor> result)
           
protected  void getNonDeclaredProperties(Name name, java.util.Set<VariableDescriptor> result)
           
 ConstructorDescriptor getPrimaryConstructor()
           
 java.util.Set<VariableDescriptor> getProperties(Name name)
           
protected  JetScope getScopeForMemberDeclarationResolution(JetDeclaration declaration)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.lazy.descriptors.AbstractLazyMemberScope
doGetProperties, getAllDescriptors, getClassifier, getContainingDeclaration, getDeclarationsByLabel, getImplicitReceiversHierarchy, getLocalVariable, getObjectDescriptor, getObjectDescriptors, getOwnDeclaredDescriptors, getPropertyByFieldReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyClassMemberScope

public LazyClassMemberScope(@NotNull
                            ResolveSession resolveSession,
                            @NotNull
                            ClassMemberDeclarationProvider declarationProvider,
                            @NotNull
                            LazyClassDescriptor thisClass)
Method Detail

getScopeForMemberDeclarationResolution

@NotNull
protected JetScope getScopeForMemberDeclarationResolution(JetDeclaration declaration)
Specified by:
getScopeForMemberDeclarationResolution in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

getFunctions

@NotNull
public java.util.Set<FunctionDescriptor> getFunctions(@NotNull
                                                              Name name)
Specified by:
getFunctions in interface JetScope
Overrides:
getFunctions in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

getNonDeclaredFunctions

protected void getNonDeclaredFunctions(@NotNull
                                       Name name,
                                       @NotNull
                                       java.util.Set<FunctionDescriptor> result)
Specified by:
getNonDeclaredFunctions in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

getProperties

@NotNull
public java.util.Set<VariableDescriptor> getProperties(@NotNull
                                                               Name name)
Specified by:
getProperties in interface JetScope
Overrides:
getProperties in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

getNonDeclaredProperties

protected void getNonDeclaredProperties(@NotNull
                                        Name name,
                                        @NotNull
                                        java.util.Set<VariableDescriptor> result)
Specified by:
getNonDeclaredProperties in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

addExtraDescriptors

protected void addExtraDescriptors(@NotNull
                                   java.util.Collection<DeclarationDescriptor> result)
Specified by:
addExtraDescriptors in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

getNamespace

public NamespaceDescriptor getNamespace(@NotNull
                                        Name name)

getImplicitReceiver

@NotNull
protected ReceiverParameterDescriptor getImplicitReceiver()
Specified by:
getImplicitReceiver in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>

getConstructors

@NotNull
public java.util.Set<ConstructorDescriptor> getConstructors()

getPrimaryConstructor

@Nullable
public ConstructorDescriptor getPrimaryConstructor()

toString

public java.lang.String toString()
Specified by:
toString in class AbstractLazyMemberScope<LazyClassDescriptor,ClassMemberDeclarationProvider>