org.jetbrains.jet.lang.resolve.scopes
Interface WritableScope
- All Superinterfaces:
- JetScope
- All Known Implementing Classes:
- WritableScopeImpl, WritableScopeWithImports, WriteThroughScope
public interface WritableScope
- extends JetScope
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope |
EMPTY |
Methods inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope |
getAllDescriptors, getClassifier, getContainingDeclaration, getDeclarationsByLabel, getFunctions, getImplicitReceiversHierarchy, getLocalVariable, getNamespace, getObjectDescriptor, getObjectDescriptors, getOwnDeclaredDescriptors, getProperties, getPropertyByFieldReference |
changeLockLevel
WritableScope changeLockLevel(WritableScope.LockLevel lockLevel)
addLabeledDeclaration
void addLabeledDeclaration(@NotNull
DeclarationDescriptor descriptor)
addVariableDescriptor
void addVariableDescriptor(@NotNull
VariableDescriptor variableDescriptor)
addPropertyDescriptor
void addPropertyDescriptor(@NotNull
VariableDescriptor propertyDescriptor)
addFunctionDescriptor
void addFunctionDescriptor(@NotNull
FunctionDescriptor functionDescriptor)
addTypeParameterDescriptor
void addTypeParameterDescriptor(@NotNull
TypeParameterDescriptor typeParameterDescriptor)
addClassifierDescriptor
void addClassifierDescriptor(@NotNull
ClassifierDescriptor classDescriptor)
addObjectDescriptor
void addObjectDescriptor(@NotNull
ClassDescriptor objectDescriptor)
addClassifierAlias
void addClassifierAlias(@NotNull
Name name,
@NotNull
ClassifierDescriptor classifierDescriptor)
addNamespaceAlias
void addNamespaceAlias(@NotNull
Name name,
@NotNull
NamespaceDescriptor namespaceDescriptor)
addFunctionAlias
void addFunctionAlias(@NotNull
Name name,
@NotNull
FunctionDescriptor functionDescriptor)
addVariableAlias
void addVariableAlias(@NotNull
Name name,
@NotNull
VariableDescriptor variableDescriptor)
addNamespace
void addNamespace(@NotNull
NamespaceDescriptor namespaceDescriptor)
getDeclaredNamespace
@Nullable
NamespaceDescriptor getDeclaredNamespace(@NotNull
Name name)
getDeclaredDescriptorsAccessibleBySimpleName
@NotNull
com.google.common.collect.Multimap<Name,DeclarationDescriptor> getDeclaredDescriptorsAccessibleBySimpleName()
importScope
void importScope(@NotNull
JetScope imported)
setImplicitReceiver
void setImplicitReceiver(@NotNull
ReceiverParameterDescriptor implicitReceiver)
importClassifierAlias
void importClassifierAlias(@NotNull
Name importedClassifierName,
@NotNull
ClassifierDescriptor classifierDescriptor)
importNamespaceAlias
void importNamespaceAlias(@NotNull
Name aliasName,
@NotNull
NamespaceDescriptor namespaceDescriptor)
importFunctionAlias
void importFunctionAlias(@NotNull
Name aliasName,
@NotNull
FunctionDescriptor functionDescriptor)
importVariableAlias
void importVariableAlias(@NotNull
Name aliasName,
@NotNull
VariableDescriptor variableDescriptor)
clearImports
void clearImports()