org.jetbrains.jet.lang.resolve.scopes
Class JetScopeImpl
java.lang.Object
org.jetbrains.jet.lang.resolve.scopes.JetScopeImpl
- All Implemented Interfaces:
- JetScope
- Direct Known Subclasses:
- SubpackagesScope
public abstract class JetScopeImpl
- extends java.lang.Object
- implements JetScope
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope |
EMPTY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JetScopeImpl
public JetScopeImpl()
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
getProperties
@NotNull
public java.util.Collection<VariableDescriptor> getProperties(@NotNull
Name name)
- Specified by:
getProperties
in interface JetScope
getLocalVariable
public VariableDescriptor getLocalVariable(@NotNull
Name name)
- Specified by:
getLocalVariable
in interface JetScope
getPackage
@Nullable
public PackageViewDescriptor getPackage(@NotNull
Name name)
- Specified by:
getPackage
in interface JetScope
getFunctions
@NotNull
public java.util.Collection<FunctionDescriptor> getFunctions(@NotNull
Name name)
- Specified by:
getFunctions
in interface JetScope
getDeclarationsByLabel
@NotNull
public java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull
LabelName labelName)
- Specified by:
getDeclarationsByLabel
in interface JetScope
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
- 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
getOwnDeclaredDescriptors
@NotNull
public java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
- Specified by:
getOwnDeclaredDescriptors
in interface JetScope
printScopeStructure
@TestOnly
public abstract void printScopeStructure(@NotNull
Printer p)
- Specified by:
printScopeStructure
in interface JetScope