if (!handler.isCatch()) {
continue;
}
final ExceptionBlock tryBlock = handler.getTryBlock();
final ExceptionBlock handlerBlock = handler.getHandlerBlock();
for (int j = i + 1; j < copy.size(); j++) {
final ExceptionHandler other = copy.get(j);
if (!other.isCatch()) {
continue;
}
final ExceptionBlock otherTry = other.getTryBlock();
final ExceptionBlock otherHandler = other.getHandlerBlock();
if (otherTry.getFirstInstruction().getOffset() == tryBlock.getFirstInstruction().getOffset() &&
otherTry.getLastInstruction().getOffset() == tryBlock.getLastInstruction().getOffset() &&
otherHandler.getFirstInstruction().getOffset() == handlerBlock.getFirstInstruction().getOffset() &&
otherHandler.getLastInstruction().getOffset() == handlerBlock.getLastInstruction().getOffset()) {
copy.set(
i,
ExceptionHandler.createCatch(
tryBlock,