public class SubstitutingScope extends java.lang.Object implements JetScope
| Constructor and Description |
|---|
SubstitutingScope(JetScope workerScope,
TypeSubstitutor substitutor) |
public SubstitutingScope(JetScope workerScope, @NotNull TypeSubstitutor substitutor)
@NotNull public java.util.Collection<VariableDescriptor> getProperties(@NotNull Name name)
getProperties in interface JetScopepublic VariableDescriptor getLocalVariable(@NotNull Name name)
getLocalVariable in interface JetScopepublic ClassifierDescriptor getClassifier(@NotNull Name name)
JetScopegetClassifier in interface JetScopepublic ClassDescriptor getObjectDescriptor(@NotNull Name name)
getObjectDescriptor in interface JetScope@NotNull public java.util.Collection<ClassDescriptor> getObjectDescriptors()
getObjectDescriptors in interface JetScope@NotNull public java.util.Collection<FunctionDescriptor> getFunctions(@NotNull Name name)
getFunctions in interface JetScopepublic NamespaceDescriptor getNamespace(@NotNull Name name)
getNamespace in interface JetScope@NotNull public java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
JetScopegetImplicitReceiversHierarchy 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 JetScope@NotNull public java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
getOwnDeclaredDescriptors in interface JetScope