@Override
    public @Nullable FileSetDescriptor createDescriptor(@NotNull State state) {
      if (TYPE.equals(state.type) && state.pattern != null) {
        return new GlobPatternDescriptor(state.pattern);
      }
      return null;
    }
@Override
    public @Nullable FileSetDescriptor createDescriptor(@NotNull State state)