Tag

Custom Detector

1 views collected around this technical thread.

360 Quality & Efficiency
360 Quality & Efficiency
Jul 8, 2016 · Fundamentals

Creating a Custom FindBugs Rule to Detect System.out/System.err Usage

This guide explains how to prepare the FindBugs environment, define a custom rule that flags System.out and System.err calls, write the detector using BCEL/ASM, integrate it into FindBugs configuration files, repackage the tool, and verify the rule works on compiled Java bytecode.

Custom DetectorFindBugsLogging
0 likes · 8 min read
Creating a Custom FindBugs Rule to Detect System.out/System.err Usage