@Override
    public @Nullable T createTarget(@NotNull String targetId) {
      JpsArtifact artifact = myArtifacts.get(targetId);
      return artifact != null ? createArtifactBasedTarget(artifact) : null;
    }
@Override
    public @Nullable T createTarget(@NotNull String targetId)