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