edu.umd.cs.findbugs.annotations
Annotation Type DesireWarning


@Retention(value=CLASS)
public @interface DesireWarning

Annotation indicating that a FindBugs warning is desired. See http://code.google.com/p/findbugs/wiki/FindbugsTestCases

Author:
David Hovemeyer

Required Element Summary
 String value
          The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the desired warning
 
Optional Element Summary
 Confidence confidence
          Want a warning at this priority or higher
 int rank
          Expect a warning at least this scary
 

Element Detail

value

public abstract String value
The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the desired warning

confidence

public abstract Confidence confidence
Want a warning at this priority or higher

Default:
edu.umd.cs.findbugs.annotations.Confidence.LOW

rank

public abstract int rank
Expect a warning at least this scary

Default:
20


Copyright © 2012 Ness Computing, Inc.. All Rights Reserved.