xref: /aosp_15_r20/external/auto/android-annotation-stubs/tmpl.java (revision 1c2bbba85eccddce6de79cbbf1645fda32e723f0)
1*1c2bbba8SAndroid Build Coastguard Worker /*
2*1c2bbba8SAndroid Build Coastguard Worker  * Copyright (C) 2019 The Android Open Source Project
3*1c2bbba8SAndroid Build Coastguard Worker  *
4*1c2bbba8SAndroid Build Coastguard Worker  * Licensed under the Apache License, Version 2.0 (the "License");
5*1c2bbba8SAndroid Build Coastguard Worker  * you may not use this file except in compliance with the License.
6*1c2bbba8SAndroid Build Coastguard Worker  * You may obtain a copy of the License at
7*1c2bbba8SAndroid Build Coastguard Worker  *
8*1c2bbba8SAndroid Build Coastguard Worker  * http://www.apache.org/licenses/LICENSE-2.0
9*1c2bbba8SAndroid Build Coastguard Worker  *
10*1c2bbba8SAndroid Build Coastguard Worker  * Unless required by applicable law or agreed to in writing, software
11*1c2bbba8SAndroid Build Coastguard Worker  * distributed under the License is distributed on an "AS IS" BASIS,
12*1c2bbba8SAndroid Build Coastguard Worker  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*1c2bbba8SAndroid Build Coastguard Worker  * See the License for the specific language governing permissions and
14*1c2bbba8SAndroid Build Coastguard Worker  * limitations under the License.
15*1c2bbba8SAndroid Build Coastguard Worker  */
16*1c2bbba8SAndroid Build Coastguard Worker 
17*1c2bbba8SAndroid Build Coastguard Worker package __PACKAGE__;
18*1c2bbba8SAndroid Build Coastguard Worker 
19*1c2bbba8SAndroid Build Coastguard Worker import java.lang.annotation.ElementType;
20*1c2bbba8SAndroid Build Coastguard Worker import java.lang.annotation.Retention;
21*1c2bbba8SAndroid Build Coastguard Worker import java.lang.annotation.RetentionPolicy;
22*1c2bbba8SAndroid Build Coastguard Worker import java.lang.annotation.Target;
23*1c2bbba8SAndroid Build Coastguard Worker __IMPORT__
24*1c2bbba8SAndroid Build Coastguard Worker 
25*1c2bbba8SAndroid Build Coastguard Worker /* This is an annotation stub to avoid dependencies on annotations that aren't
26*1c2bbba8SAndroid Build Coastguard Worker  * in the Android platform source tree. */
27*1c2bbba8SAndroid Build Coastguard Worker 
28*1c2bbba8SAndroid Build Coastguard Worker @Target({
29*1c2bbba8SAndroid Build Coastguard Worker   ElementType.ANNOTATION_TYPE,
30*1c2bbba8SAndroid Build Coastguard Worker   ElementType.CONSTRUCTOR,
31*1c2bbba8SAndroid Build Coastguard Worker   ElementType.FIELD,
32*1c2bbba8SAndroid Build Coastguard Worker   ElementType.LOCAL_VARIABLE,
33*1c2bbba8SAndroid Build Coastguard Worker   ElementType.METHOD,
34*1c2bbba8SAndroid Build Coastguard Worker   ElementType.PACKAGE,
35*1c2bbba8SAndroid Build Coastguard Worker   ElementType.PARAMETER,
36*1c2bbba8SAndroid Build Coastguard Worker   ElementType.TYPE,
37*1c2bbba8SAndroid Build Coastguard Worker   ElementType.TYPE_PARAMETER,
38*1c2bbba8SAndroid Build Coastguard Worker   ElementType.TYPE_USE})
39*1c2bbba8SAndroid Build Coastguard Worker @Retention(RetentionPolicy.SOURCE)
40*1c2bbba8SAndroid Build Coastguard Worker public @interface __CLASS__ {
41*1c2bbba8SAndroid Build Coastguard Worker   __INNER__
42*1c2bbba8SAndroid Build Coastguard Worker   __PARAMETER__
43*1c2bbba8SAndroid Build Coastguard Worker }
44