xref: /aosp_15_r20/external/exoplayer/annotation-stubs/annotation_template.java (revision 30877f796caf59d855b10b687a5d6b3918d765cb)
1*30877f79SAndroid Build Coastguard Worker /*
2*30877f79SAndroid Build Coastguard Worker  * Copyright (C) 2019 The Android Open Source Project
3*30877f79SAndroid Build Coastguard Worker  *
4*30877f79SAndroid Build Coastguard Worker  * Licensed under the Apache License, Version 2.0 (the "License");
5*30877f79SAndroid Build Coastguard Worker  * you may not use this file except in compliance with the License.
6*30877f79SAndroid Build Coastguard Worker  * You may obtain a copy of the License at
7*30877f79SAndroid Build Coastguard Worker  *
8*30877f79SAndroid Build Coastguard Worker  * http://www.apache.org/licenses/LICENSE-2.0
9*30877f79SAndroid Build Coastguard Worker  *
10*30877f79SAndroid Build Coastguard Worker  * Unless required by applicable law or agreed to in writing, software
11*30877f79SAndroid Build Coastguard Worker  * distributed under the License is distributed on an "AS IS" BASIS,
12*30877f79SAndroid Build Coastguard Worker  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*30877f79SAndroid Build Coastguard Worker  * See the License for the specific language governing permissions and
14*30877f79SAndroid Build Coastguard Worker  * limitations under the License.
15*30877f79SAndroid Build Coastguard Worker  */
16*30877f79SAndroid Build Coastguard Worker 
17*30877f79SAndroid Build Coastguard Worker package __PACKAGE__;
18*30877f79SAndroid Build Coastguard Worker 
19*30877f79SAndroid Build Coastguard Worker import java.lang.annotation.ElementType;
20*30877f79SAndroid Build Coastguard Worker import java.lang.annotation.Retention;
21*30877f79SAndroid Build Coastguard Worker import java.lang.annotation.RetentionPolicy;
22*30877f79SAndroid Build Coastguard Worker import java.lang.annotation.Target;
23*30877f79SAndroid Build Coastguard Worker import kotlin.annotations.jvm.MigrationStatus;
24*30877f79SAndroid Build Coastguard Worker 
25*30877f79SAndroid Build Coastguard Worker // __AUTOGENERATED_NOTICE__
26*30877f79SAndroid Build Coastguard Worker 
27*30877f79SAndroid Build Coastguard Worker // This is an annotation stub to avoid dependencies on annotations that aren't
28*30877f79SAndroid Build Coastguard Worker // in the Android platform source tree.
29*30877f79SAndroid Build Coastguard Worker 
30*30877f79SAndroid Build Coastguard Worker @Target({
31*30877f79SAndroid Build Coastguard Worker     ElementType.ANNOTATION_TYPE,
32*30877f79SAndroid Build Coastguard Worker     ElementType.CONSTRUCTOR,
33*30877f79SAndroid Build Coastguard Worker     ElementType.FIELD,
34*30877f79SAndroid Build Coastguard Worker     ElementType.LOCAL_VARIABLE,
35*30877f79SAndroid Build Coastguard Worker     ElementType.METHOD,
36*30877f79SAndroid Build Coastguard Worker     ElementType.PACKAGE,
37*30877f79SAndroid Build Coastguard Worker     ElementType.PARAMETER,
38*30877f79SAndroid Build Coastguard Worker     ElementType.TYPE,
39*30877f79SAndroid Build Coastguard Worker     ElementType.TYPE_PARAMETER,
40*30877f79SAndroid Build Coastguard Worker     ElementType.TYPE_USE})
41*30877f79SAndroid Build Coastguard Worker @Retention(RetentionPolicy.SOURCE)
42*30877f79SAndroid Build Coastguard Worker public @interface __CLASS__ {
43*30877f79SAndroid Build Coastguard Worker 
44*30877f79SAndroid Build Coastguard Worker   // These fields maintain API compatibility with annotations that expect arguments.
45*30877f79SAndroid Build Coastguard Worker 
value()46*30877f79SAndroid Build Coastguard Worker   __VALUE_TYPE__ value() default {};
47*30877f79SAndroid Build Coastguard Worker 
result()48*30877f79SAndroid Build Coastguard Worker   boolean result() default false;
49*30877f79SAndroid Build Coastguard Worker 
expression()50*30877f79SAndroid Build Coastguard Worker   String[] expression() default {};
51*30877f79SAndroid Build Coastguard Worker 
status()52*30877f79SAndroid Build Coastguard Worker   MigrationStatus status() default MigrationStatus.IGNORE;
53*30877f79SAndroid Build Coastguard Worker 
54*30877f79SAndroid Build Coastguard Worker }
55