code: private <I, D extends Descriptor> boolean satisfies(ScannerPlugin<I, D> selectedPlugin, D descriptor) {
          return !(selectedPlugin.getClass().isAnnotationPresent(Requires.class) && descriptor == null);
      }
docs: Verifies if the selected plugin requires a descriptor.
  
  @param selectedPlugin
  The selected plugin.
  @param descriptor
  The descriptor.
  @param <I>
  The item type of the plugin.
  @param <D>
  The descriptor type of the plugin.
  @return <code>true</code> if the selected plugin can be used.