Index: base/android/java/src/org/chromium/base/annotations/SuppressFBWarnings.java |
diff --git a/base/android/java/src/org/chromium/base/annotations/SuppressFBWarnings.java b/base/android/java/src/org/chromium/base/annotations/SuppressFBWarnings.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..89068ac9418bfb0743e472ab04bd3d0921c2aece |
--- /dev/null |
+++ b/base/android/java/src/org/chromium/base/annotations/SuppressFBWarnings.java |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.base.annotations; |
+ |
+import java.lang.annotation.Retention; |
+import java.lang.annotation.RetentionPolicy; |
+ |
+/** |
+ * @SuppressFBWarnings is used to suppress FindBugs warnings. |
+ * |
+ * The long name of FindBugs warnings can be found at |
+ * http://findbugs.sourceforge.net/bugDescriptions.html |
+ */ |
+@Retention(RetentionPolicy.CLASS) |
+public @interface SuppressFBWarnings { |
+ String[] value() default {}; |
+ String justification() default ""; |
+} |