public abstract class AbstractLazyMemberScope<D extends DeclarationDescriptor,DP extends DeclarationProvider> extends java.lang.Object implements JetScope
| Modifier and Type | Field and Description |
|---|---|
protected DP |
declarationProvider |
protected ResolveSession |
resolveSession |
protected D |
thisDescriptor |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLazyMemberScope(ResolveSession resolveSession,
DP declarationProvider,
D thisDescriptor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamespaceprotected final ResolveSession resolveSession
protected final DP extends DeclarationProvider declarationProvider
protected final D extends DeclarationDescriptor thisDescriptor
protected AbstractLazyMemberScope(@NotNull ResolveSession resolveSession, @NotNull DP declarationProvider, @NotNull D thisDescriptor)
public ClassifierDescriptor getClassifier(@NotNull Name name)
JetScopegetClassifier in interface JetScopepublic ClassDescriptor getObjectDescriptor(@NotNull Name name)
getObjectDescriptor in interface JetScope@NotNull public java.util.Set<FunctionDescriptor> getFunctions(@NotNull Name name)
getFunctions in interface JetScope@NotNull protected abstract JetScope getScopeForMemberDeclarationResolution(JetDeclaration declaration)
protected abstract void getNonDeclaredFunctions(@NotNull Name name, @NotNull java.util.Set<FunctionDescriptor> result)
@NotNull public java.util.Set<VariableDescriptor> getProperties(@NotNull Name name)
getProperties in interface JetScope@NotNull public java.util.Set<VariableDescriptor> doGetProperties(@NotNull Name name)
protected abstract void getNonDeclaredProperties(@NotNull Name name, @NotNull java.util.Set<VariableDescriptor> result)
@NotNull public java.util.Collection<ClassDescriptor> getObjectDescriptors()
getObjectDescriptors in interface JetScopepublic VariableDescriptor getLocalVariable(@NotNull Name name)
getLocalVariable in interface JetScope@NotNull public DeclarationDescriptor getContainingDeclaration()
getContainingDeclaration in interface JetScope@NotNull public java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull 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 JetScopeprotected abstract void addExtraDescriptors(@NotNull java.util.Collection<DeclarationDescriptor> result)
@NotNull public java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
JetScopegetImplicitReceiversHierarchy in interface JetScope@Nullable protected abstract ReceiverParameterDescriptor getImplicitReceiver()
public abstract java.lang.String toString()
toString in class java.lang.Object@NotNull public java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
getOwnDeclaredDescriptors in interface JetScope