@Override
  public TextMateWeigh weigh(@NotNull final CharSequence scopeSelector, final @NotNull TextMateScope scope) {
    return myCache.get(new CacheKey(scopeSelector, scope), this::weigh);
  }
@Override
  public TextMateWeigh weigh(@NotNull final CharSequence scopeSelector, final @NotNull TextMateScope scope)