public abstract class JetScopeImpl extends java.lang.Object implements JetScope
| Constructor and Description |
|---|
JetScopeImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.Collection<FunctionDescriptor> |
getFunctions(Name name) |
java.util.List<ReceiverParameterDescriptor> |
getImplicitReceiversHierarchy()
Adds receivers to the list in order of locality, so that the closest (the most local) receiver goes first
|
VariableDescriptor |
getLocalVariable(Name name) |
NamespaceDescriptor |
getNamespace(Name name) |
ClassDescriptor |
getObjectDescriptor(Name name) |
java.util.Set<ClassDescriptor> |
getObjectDescriptors() |
java.util.Collection<DeclarationDescriptor> |
getOwnDeclaredDescriptors() |
java.util.Collection<VariableDescriptor> |
getProperties(Name name) |
PropertyDescriptor |
getPropertyByFieldReference(Name fieldName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContainingDeclarationpublic JetScopeImpl()
public ClassifierDescriptor getClassifier(@NotNull Name name)
JetScopegetClassifier in interface JetScopepublic ClassDescriptor getObjectDescriptor(@NotNull Name name)
getObjectDescriptor in interface JetScope@NotNull public java.util.Set<ClassDescriptor> getObjectDescriptors()
getObjectDescriptors in interface JetScope@NotNull public java.util.Collection<VariableDescriptor> getProperties(@NotNull Name name)
getProperties in interface JetScopepublic VariableDescriptor getLocalVariable(@NotNull Name name)
getLocalVariable in interface JetScopepublic NamespaceDescriptor getNamespace(@NotNull Name name)
getNamespace in interface JetScope@NotNull public java.util.Collection<FunctionDescriptor> getFunctions(@NotNull Name name)
getFunctions in interface JetScope@NotNull public java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName)
getDeclarationsByLabel in interface JetScopepublic PropertyDescriptor getPropertyByFieldReference(@NotNull Name fieldName)
getPropertyByFieldReference in interface JetScopefieldName - includes the "$"@NotNull public java.util.Collection<DeclarationDescriptor> getAllDescriptors()
JetScopegetAllDescriptors in interface JetScope@NotNull public java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
JetScopegetImplicitReceiversHierarchy in interface JetScope@NotNull public java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
getOwnDeclaredDescriptors in interface JetScope