@Override
  public <T extends PsiMetaData> void registerMetaData(ElementFilter filter, Class<T> metadataDescriptorClass) {
    Supplier<? extends T> supplier = ()-> {
      try {
        return metadataDescriptorClass.newInstance();
      }
      catch (InstantiationException | IllegalAccessException e) {
        LOG.error(e);
      }
      return null;
    };
    ourBindings.add(0, new MyBinding(filter, supplier));
  }
@Override
  public <T extends PsiMetaData> void registerMetaData(ElementFilter filter, Class<T> metadataDescriptorClass)