Package proguard.classfile.attribute
Class ExceptionInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.ExceptionInfo
-
- All Implemented Interfaces:
java.io.Serializable,Processable
public class ExceptionInfo extends SimpleProcessable
Representation of an exception table entry.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intu2catchTypeintu2endPCintu2handlerPCintu2startPC-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description ExceptionInfo()Creates an uninitialized ExceptionInfo.ExceptionInfo(int u2startPC, int u2endPC, int u2handlerPC, int u2catchType)Creates an ExceptionInfo with the given properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisApplicable(int instructionOffset)Returns whether the exception's try block contains the instruction at the given offset.booleanisApplicable(int startOffset, int endOffset)Returns whether the exception's try block overlaps with the specified block of instructions.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Method Detail
-
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.
-
-