枚举 LocationType

java.lang.Object
java.lang.Enum<LocationType>
com.alibaba.bytekit.asm.location.LocationType
所有已实现的接口:
Serializable, Comparable<LocationType>, java.lang.constant.Constable

public enum LocationType extends Enum<LocationType>
  • 枚举常量详细资料

    • USER_DEFINE

      public static final LocationType USER_DEFINE
      user define.
    • ENTER

      public static final LocationType ENTER
      method enter.
    • LINE

      public static final LocationType LINE
      line number.
    • READ

      public static final LocationType READ
      field read operation.
    • READ_COMPLETED

      public static final LocationType READ_COMPLETED
      field read operation.
    • WRITE

      public static final LocationType WRITE
      field write operation.
    • WRITE_COMPLETED

      public static final LocationType WRITE_COMPLETED
      field write operation.
    • INVOKE

      public static final LocationType INVOKE
      method invoke operation
    • INVOKE_COMPLETED

      public static final LocationType INVOKE_COMPLETED
      method invoke operation
    • INVOKE_EXCEPTION_EXIT

      public static final LocationType INVOKE_EXCEPTION_EXIT
      method invoke exception
    • SYNC_ENTER

      public static final LocationType SYNC_ENTER
      synchronize operation
    • SYNC_ENTER_COMPLETED

      public static final LocationType SYNC_ENTER_COMPLETED
      synchronize operation
    • SYNC_EXIT

      public static final LocationType SYNC_EXIT
      synchronize operation
    • SYNC_EXIT_COMPLETED

      public static final LocationType SYNC_EXIT_COMPLETED
      synchronize operation
    • THROW

      public static final LocationType THROW
      throw
    • EXIT

      public static final LocationType EXIT
      return
    • EXCEPTION_EXIT

      public static final LocationType EXCEPTION_EXIT
      add try/catch
  • 方法详细资料

    • values

      public static LocationType[] values()
      返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类型的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static LocationType valueOf(String name)
      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
      NullPointerException - 如果参数为空值