'FindBugs in Intellij - Possible to reuse .fbpref file?

Originally Eclipse was dominating, so settings made in the Eclipse IDE are now being transferred to IntelliJ.

I am in the process of installing a Findbugs plugin for IntelliJ. I came across FindBugs-IDEA and QAPlug-Findbugs.

I checked both and they require a .xml file as possible "ruleset". I only have the .fbpref file from eclipse though, which looks like that:

...
detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
detectorAtomicityProblem=AtomicityProblem|true
detectorBadAppletConstructor=BadAppletConstructor|false
detectorBadResultSetAccess=BadResultSetAccess|true
detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
...

Is it possible to convert this to a .xml-file that is accepted by one of the plugins i mentioned? Is there any documentation on how a .xml file for these plugins should look like? I have tried googling it but I had no luck.

It seems that using a configuration file to configure the behavior of the FindBugs-plugin is somewhat unusual practice?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source