@Nullable
  public static Range<Location> getLocalVariableBorders(@NotNull LocalVariable variable) {
    if (!(variable instanceof LocalVariableImpl variableImpl)) return null;
    return new Range<>(variableImpl.getScopeStart(), variableImpl.getScopeEnd());
  }
@Nullable
  public static Range<Location> getLocalVariableBorders(@NotNull LocalVariable variable)