1d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet/*
2d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * Copyright (C) 2012 The Android Open Source Project
3d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet *
4d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * Licensed under the Apache License, Version 2.0 (the "License");
5d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * you may not use this file except in compliance with the License.
6d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * You may obtain a copy of the License at
7d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet *
8d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet *      http://www.apache.org/licenses/LICENSE-2.0
9d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet *
10d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * Unless required by applicable law or agreed to in writing, software
11d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * distributed under the License is distributed on an "AS IS" BASIS,
12d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * See the License for the specific language governing permissions and
14d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet * limitations under the License.
15d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet */
16d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetpackage android.annotation;
17d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet
18d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport static java.lang.annotation.ElementType.CONSTRUCTOR;
19d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport static java.lang.annotation.ElementType.FIELD;
20d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport static java.lang.annotation.ElementType.METHOD;
22d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport static java.lang.annotation.ElementType.PARAMETER;
23d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport static java.lang.annotation.ElementType.TYPE;
24d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet
25d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport java.lang.annotation.Retention;
26d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport java.lang.annotation.RetentionPolicy;
27d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetimport java.lang.annotation.Target;
28d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet
29d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet/** Indicates that Lint should ignore the specified warnings for the annotated element. */
30d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet@Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
31d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet@Retention(RetentionPolicy.CLASS)
32d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohetpublic @interface SuppressLint {
33d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet    /**
34d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet     * The set of warnings (identified by the lint issue id) that should be
35d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet     * ignored by lint. It is not an error to specify an unrecognized name.
36d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet     */
37d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet    String[] value();
38d2726ba47ef49ff7de5cd955d702d0bb99432b4aXavier Ducrohet}
39