@Override
    public @Nullable FileSetDescriptor createDescriptor(@NotNull State state) {
      if (NAMED_SCOPE_TYPE.equals(state.type) && state.name != null) {
        NamedScopeDescriptor descriptor = new NamedScopeDescriptor(state.name);
        if (state.pattern != null) {
          descriptor.setPattern(state.pattern);
        }
        return descriptor;
      }
      return null;
    }
@Override
    public @Nullable FileSetDescriptor createDescriptor(@NotNull State state)