类 AccessUtil

java.lang.Object
proguard.classfile.util.AccessUtil

public class AccessUtil extends Object
Utility methods for working with access flags. For convenience, this class defines access levels, in ascending order: PRIVATE, PACKAGE_VISIBLE, PROTECTED, and PUBLIC.
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static boolean
    accepted(int accessFlags, int requiredSetAccessFlags, int requiredUnsetAccessFlags)
    Returns whether the given access flags match the required set and unset access flags.
    static int
    accessFlags(int accessLevel)
    Returns the corresponding access flags of the given access level.
    static int
    accessLevel(int accessFlags)
    Returns the corresponding access level of the given access flags.
    static int
    replaceAccessFlags(int accessFlags, int newAccessFlags)
    Replaces the access part of the given access flags.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait