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

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

public class InnerClassesScopeWrapper
extends AbstractScopeAdapter


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope
EMPTY
 
Constructor Summary
InnerClassesScopeWrapper(JetScope actualScope)
           
 
Method Summary
 java.util.Collection<DeclarationDescriptor> getAllDescriptors()
          All visible descriptors from current scope.
 ClassifierDescriptor getClassifier(Name name)
          Should not return object (class object or enum entry) class descriptors.
 java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName)
           
 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()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.scopes.AbstractScopeAdapter
getContainingDeclaration, getFunctions, getLocalVariable, getOwnDeclaredDescriptors, getPackage, getProperties, printScopeStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InnerClassesScopeWrapper

public InnerClassesScopeWrapper(@NotNull
                                JetScope actualScope)
Method Detail

getWorkerScope

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

getClassifier

public ClassifierDescriptor getClassifier(@NotNull
                                          Name name)
Description copied from interface: JetScope
Should not return object (class object or enum entry) class descriptors.

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

getDeclarationsByLabel

@NotNull
public java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull
                                                                                  LabelName labelName)
Specified by:
getDeclarationsByLabel in interface JetScope
Overrides:
getDeclarationsByLabel in class AbstractScopeAdapter

getAllDescriptors

@NotNull
public java.util.Collection<DeclarationDescriptor> getAllDescriptors()
Description copied from interface: JetScope
All visible descriptors from current scope.

Specified by:
getAllDescriptors in interface JetScope
Overrides:
getAllDescriptors in class AbstractScopeAdapter
Returns:
All visible descriptors from current scope.

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object