1

I'm trying to figure out how could I implement a detector using findbugs.

Also I don't want to create a plugin since findbugs already has this functionality.

I need my detector to check if all the calls to ClassName.getConnection() are matched by ClassName.freeConnection().

Lucian
  • 794
  • 1
  • 9
  • 21

1 Answers1

1

I think I have your answer in this link:

https://vasileirimia.wordpress.com/2015/07/14/addind-custom-constraints-called-obligations-to-findbugs/

Good luck !

Vasile
  • 134
  • 2