blob: 949a6410d82695b18f957bbc6b5ea992fa7aca01 [file] [log] [blame]
Søren Gjesse591455a2025-02-06 16:46:39 +01001/*
2 * Copyright 2025 The Android Open Source Project
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// ***********************************************************************************
18// MAINTAINED AND TESTED IN THE R8 REPO. PLEASE MAKE CHANGES THERE AND REPLICATE.
19// ***********************************************************************************
20
Søren Gjesse43a16782025-02-24 09:19:24 +010021package androidx.annotation.keep
Søren Gjesse591455a2025-02-06 16:46:39 +010022
23/**
24 * Valid matches on member access flags and their negations.
25 *
26 * <p>The negated elements make it easier to express the inverse as we cannot use a "not/negation"
27 * operation syntactically.
28 */
Søren Gjessef1d79d52025-02-24 12:17:45 +010029public enum class MemberAccessFlags {
Søren Gjesse591455a2025-02-06 16:46:39 +010030 PUBLIC,
31 NON_PUBLIC,
32 PROTECTED,
33 NON_PROTECTED,
34 PACKAGE_PRIVATE,
35 NON_PACKAGE_PRIVATE,
36 PRIVATE,
37 NON_PRIVATE,
38 STATIC,
39 NON_STATIC,
40 FINAL,
41 NON_FINAL,
42 SYNTHETIC,
Søren Gjesse43a16782025-02-24 09:19:24 +010043 NON_SYNTHETIC,
Søren Gjesse591455a2025-02-06 16:46:39 +010044}