org.jetbrains.jet.lang.resolve.scopes
Class ClassObjectMixinScope

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.scopes.AbstractScopeAdapter
      extended by org.jetbrains.jet.lang.resolve.scopes.ClassObjectMixinScope
All Implemented Interfaces:
JetScope

public class ClassObjectMixinScope
extends AbstractScopeAdapter

Members of the class object are accessible from the class. Scope lazily delegates requests to class object scope.


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope
EMPTY
 
Constructor Summary
ClassObjectMixinScope(ClassDescriptor classObjectDescriptor)
           
 
Method Summary
 java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
          Adds receivers to the list in order of locality, so that the closest (the most local) receiver goes first
protected  JetScope getWorkerScope()
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.scopes.AbstractScopeAdapter
getAllDescriptors, getClassifier, getContainingDeclaration, getDeclarationsByLabel, getFunctions, getLocalVariable, getNamespace, getObjectDescriptor, getObjectDescriptors, getOwnDeclaredDescriptors, getProperties, getPropertyByFieldReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassObjectMixinScope

public ClassObjectMixinScope(ClassDescriptor classObjectDescriptor)
Method Detail

getWorkerScope

@NotNull
protected JetScope getWorkerScope()
Specified by:
getWorkerScope in class AbstractScopeAdapter

getImplicitReceiversHierarchy

@NotNull
public java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
Description copied from interface: JetScope
Adds receivers to the list in order of locality, so that the closest (the most local) receiver goes first

Specified by:
getImplicitReceiversHierarchy in interface JetScope
Overrides:
getImplicitReceiversHierarchy in class AbstractScopeAdapter