| 1 | /*
|
|---|
| 2 | * Copyright 2002-2011 Andreas Ziermann
|
|---|
| 3 | *
|
|---|
| 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
|---|
| 5 | * you may not use this file except in compliance with the License.
|
|---|
| 6 | * You may obtain a copy of the License at
|
|---|
| 7 | *
|
|---|
| 8 | * http://www.apache.org/licenses/LICENSE-2.0
|
|---|
| 9 | *
|
|---|
| 10 | * Unless required by applicable law or agreed to in writing, software
|
|---|
| 11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
|---|
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|---|
| 13 | * See the License for the specific language governing permissions and
|
|---|
| 14 | * limitations under the License.
|
|---|
| 15 | *
|
|---|
| 16 | * More information about this project is available at:
|
|---|
| 17 | *
|
|---|
| 18 | * http://drewnoakes.com/code/exif/
|
|---|
| 19 | * http://code.google.com/p/metadata-extractor/
|
|---|
| 20 | */
|
|---|
| 21 |
|
|---|
| 22 | package com.drew.lang.annotations;
|
|---|
| 23 |
|
|---|
| 24 | /**
|
|---|
| 25 | * Used to suppress specific code analysis warnings produced by the Findbugs tool.
|
|---|
| 26 | *
|
|---|
| 27 | * @author Andreas Ziermann
|
|---|
| 28 | */
|
|---|
| 29 | public @interface SuppressWarnings
|
|---|
| 30 | {
|
|---|
| 31 | /**
|
|---|
| 32 | * The name of the warning to be suppressed.
|
|---|
| 33 | * @return The name of the warning to be suppressed.
|
|---|
| 34 | */
|
|---|
| 35 | @NotNull String value();
|
|---|
| 36 |
|
|---|
| 37 | /**
|
|---|
| 38 | * An explanation of why it is valid to suppress the warning in a particular situation/context.
|
|---|
| 39 | * @return An explanation of why it is valid to suppress the warning in a particular situation/context.
|
|---|
| 40 | */
|
|---|
| 41 | @NotNull String justification();
|
|---|
| 42 | }
|
|---|