richie
7 years ago
41 changed files with 61 additions and 39 deletions
@ -0,0 +1,19 @@ |
|||||||
|
package com.fr.third.research.annotations; |
||||||
|
|
||||||
|
import java.lang.annotation.Retention; |
||||||
|
import java.lang.annotation.RetentionPolicy; |
||||||
|
|
||||||
|
@Retention(RetentionPolicy.CLASS) |
||||||
|
public @interface SuppressFBWarnings { |
||||||
|
/** |
||||||
|
* The set of FindBugs warnings that are to be suppressed in |
||||||
|
* annotated element. The value can be a bug category, kind or pattern. |
||||||
|
* |
||||||
|
*/ |
||||||
|
String[] value() default {}; |
||||||
|
|
||||||
|
/** |
||||||
|
* Optional documentation of the reason why the warning is suppressed |
||||||
|
*/ |
||||||
|
String justification() default ""; |
||||||
|
} |
Loading…
Reference in new issue