Class ExceptionHandler
java.lang.Object
com.strobel.assembler.ir.ExceptionHandler
- All Implemented Interfaces:
Comparable<ExceptionHandler>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeReferenceprivate final InstructionBlockprivate final ExceptionHandlerTypeprivate final InstructionBlock -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateExceptionHandler(InstructionBlock tryBlock, InstructionBlock handlerBlock, ExceptionHandlerType handlerType, TypeReference catchType) -
Method Summary
Modifier and TypeMethodDescriptionintstatic ExceptionHandlercreateCatch(InstructionBlock tryBlock, InstructionBlock handlerBlock, TypeReference catchType) static ExceptionHandlercreateFinally(InstructionBlock tryBlock, InstructionBlock handlerBlock) final TypeReferencefinal InstructionBlockfinal ExceptionHandlerTypefinal InstructionBlockfinal booleanisCatch()final booleanfinal StringtoString()
-
Field Details
-
_tryBlock
-
_handlerBlock
-
_handlerType
-
_catchType
-
-
Constructor Details
-
ExceptionHandler
private ExceptionHandler(InstructionBlock tryBlock, InstructionBlock handlerBlock, ExceptionHandlerType handlerType, TypeReference catchType)
-
-
Method Details
-
createCatch
public static ExceptionHandler createCatch(InstructionBlock tryBlock, InstructionBlock handlerBlock, TypeReference catchType) -
createFinally
public static ExceptionHandler createFinally(InstructionBlock tryBlock, InstructionBlock handlerBlock) -
isFinally
public final boolean isFinally() -
isCatch
public final boolean isCatch() -
getTryBlock
-
getHandlerBlock
-
getHandlerType
-
getCatchType
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ExceptionHandler>
-