@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
    //todo obtain compatible root types by module
    List<AnAction> actions = new ArrayList<>();
    for (JpsModuleSourceRootType<?> type : Arrays.asList(JavaSourceRootType.SOURCE, JavaSourceRootType.TEST_SOURCE, 
                                                         JavaResourceRootType.RESOURCE, JavaResourceRootType.TEST_RESOURCE)) {
      actions.add(new MarkSourceRootAction(type));
    }
    return actions.toArray(AnAction.EMPTY_ARRAY);
  }
@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)