public Self inside(final @NotNull Class<? extends ParentType> pattern) {
    return inside(StandardPatterns.instanceOf(pattern));
  }
public Self inside(final @NotNull Class<? extends ParentType> pattern)