Interface Scope

All Superinterfaces:
ObjectValue, Value

public interface Scope extends ObjectValue
Represents a scope, which is just a virtual object that contains bindings (properties) to values.
Since:
3.0.0
  • Method Details

    • create

      @NotNull static @NotNull Scope create()
    • builder

      @NotNull static @NotNull Scope.Builder builder()
    • copy

      @NotNull @NotNull Scope copy()
      Creates a shallow copy of this scope. The copy will contain the same bindings as this scope, but it will be a different object, and changes (only) to the copy properties will not affect this scope.
      Returns:
      The shallow copy of this scope.
      Since:
      3.0.0
    • readOnly

      void readOnly(boolean readOnly)
    • readOnly

      boolean readOnly()