Package proguard.classfile.attribute
Class ExceptionInfo
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.ExceptionInfo
- All Implemented Interfaces:
Serializable,Processable
Representation of an exception table entry.
- See Also:
-
Field Summary
FieldsFields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized ExceptionInfo.ExceptionInfo(int u2startPC, int u2endPC, int u2handlerPC, int u2catchType) Creates an ExceptionInfo with the given properties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisApplicable(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, setProcessingInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.util.Processable
accept
-
Field Details
-
u2startPC
public int u2startPC -
u2endPC
public int u2endPC -
u2handlerPC
public int u2handlerPC -
u2catchType
public int u2catchType
-
-
Constructor Details
-
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.
-
-
Method Details
-
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.
-