blob: a2873652be72fbe7d14a3190c7d159c4a8b1f8a8 [file] [log] [blame]
// Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.keepanno.annotations;
/**
* Valid matches on method access flags and their negations.
*
* <p>The negated elements make it easier to express the inverse as we cannot use a "not/negation"
* operation syntactically.
*/
public enum MethodAccessFlags {
// General member flags.
PUBLIC,
NON_PUBLIC,
PRIVATE,
NON_PRIVATE,
PROTECTED,
NON_PROTECTED,
PACKAGE_PRIVATE,
NON_PACKAGE_PRIVATE,
STATIC,
NON_STATIC,
FINAL,
NON_FINAL,
SYNTHETIC,
NON_SYNTHETIC,
// Method specific flags.
SYNCHRONIZED,
NON_SYNCHRONIZED,
BRIDGE,
NON_BRIDGE,
// VARARGS - No PG parser support
NATIVE,
NON_NATIVE,
ABSTRACT,
NON_ABSTRACT,
STRICT_FP,
NON_STRICT_FP
}