|
| 1 | +/* |
| 2 | + * Copyright 2024 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.firebase.dataconnect |
| 18 | + |
| 19 | +/** |
| 20 | + * Marks declarations in the Firebase Data Connect SDK that are **experimental**. |
| 21 | + * |
| 22 | + * A declaration annotated with [FirebaseDataConnectExperimental] is "experimental": its signature |
| 23 | + * and/or semantics may change in backwards-incompatible ways at any time without notice, up to and |
| 24 | + * including complete removal. If you have a use case that relies on such a declaration please open |
| 25 | + * a "feature request" issue at https://github.com/firebase/firebase-android-sdk requesting the |
| 26 | + * declaration's promotion from "experimental" to "fully-supported". |
| 27 | + */ |
| 28 | +@MustBeDocumented |
| 29 | +@Retention(value = AnnotationRetention.BINARY) |
| 30 | +@RequiresOptIn( |
| 31 | + level = RequiresOptIn.Level.WARNING, |
| 32 | + message = |
| 33 | + "This declaration is \"experimental\": its signature and/or semantics " + |
| 34 | + "may change in backwards-incompatible ways at any time without notice, " + |
| 35 | + "up to and including complete removal. " + |
| 36 | + "If you have a use case that relies on this declaration please open a " + |
| 37 | + "\"feature request\" issue at https://github.com/firebase/firebase-android-sdk " + |
| 38 | + "requesting this declaration's promotion from \"experimental\" to \"fully-supported\"." |
| 39 | +) |
| 40 | +public annotation class FirebaseDataConnectExperimental |
0 commit comments