@Override
  @Nullable
  protected JpsElementCollection<? extends T> getCollection(@NotNull JpsCompositeElement parent) {
    return parent.getContainer().getChild(myCollectionRole);
  }
@Override
  @Nullable
  protected JpsElementCollection<? extends T> getCollection(@NotNull JpsCompositeElement parent)