类 ExceptionInfo

java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.ExceptionInfo
所有已实现的接口:
Serializable, Processable

public class ExceptionInfo extends SimpleProcessable
Representation of an exception table entry.
另请参阅:
  • 字段详细资料

    • u2startPC

      public int u2startPC
    • u2endPC

      public int u2endPC
    • u2handlerPC

      public int u2handlerPC
    • u2catchType

      public int u2catchType
  • 构造器详细资料

    • ExceptionInfo

      public ExceptionInfo()
      Creates an uninitialized ExceptionInfo.
    • ExceptionInfo

      public ExceptionInfo(int u2startPC, int u2endPC, int u2handlerPC, int u2catchType)
      Creates an ExceptionInfo with the given properties.
  • 方法详细资料

    • isApplicable

      public boolean isApplicable(int instructionOffset)
      Returns whether the exception's try block contains the instruction at the given offset.
    • isApplicable

      public boolean isApplicable(int startOffset, int endOffset)
      Returns whether the exception's try block overlaps with the specified block of instructions.