public Self withLastChild(final @NotNull ElementPattern<? extends ParentType> pattern) {
    return withChildren(StandardPatterns.<ParentType>collection().last(pattern));
  }
public Self withLastChild(final @NotNull ElementPattern<? extends ParentType> pattern)