public abstract class AbstractScopeAdapter extends java.lang.Object implements JetScope
Constructor and Description |
---|
AbstractScopeAdapter() |
public AbstractScopeAdapter()
@NotNull protected abstract JetScope getWorkerScope()
@NotNull public java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
JetScope
getImplicitReceiversHierarchy
in interface JetScope
@NotNull public java.util.Collection<FunctionDescriptor> getFunctions(@NotNull Name name)
getFunctions
in interface JetScope
public NamespaceDescriptor getNamespace(@NotNull Name name)
getNamespace
in interface JetScope
public ClassifierDescriptor getClassifier(@NotNull Name name)
JetScope
getClassifier
in interface JetScope
public 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<VariableDescriptor> getProperties(@NotNull Name name)
getProperties
in interface JetScope
public VariableDescriptor getLocalVariable(@NotNull Name name)
getLocalVariable
in interface JetScope
@NotNull public DeclarationDescriptor getContainingDeclaration()
getContainingDeclaration
in interface JetScope
@NotNull public java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName)
getDeclarationsByLabel
in interface JetScope
public PropertyDescriptor getPropertyByFieldReference(@NotNull Name fieldName)
getPropertyByFieldReference
in interface JetScope
fieldName
- includes the "$"@NotNull public java.util.Collection<DeclarationDescriptor> getAllDescriptors()
JetScope
getAllDescriptors
in interface JetScope
@NotNull public java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
getOwnDeclaredDescriptors
in interface JetScope