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