/** * Returns the whether there is a boundary of an exception block between * the given offsets (including both). */ private boolean exceptionBoundary(CodeAttribute codeAttribute, int offset1, int offset2) { // Swap the offsets if the second one is smaller than the first one. if (offset2 < offset1) { int offset = offset1; offset1 = offset2; offset2 = offset; } // Check if there is a boundary of an exception block. for (int offset = offset1; offset <= offset2; offset++) { if (branchTargetFinder.isExceptionStart(offset) || branchTargetFinder.isExceptionEnd(offset)) { return true; } } return false; } }
/** * Returns the whether there is a boundary of an exception block between * the given offsets (including both). */ private boolean exceptionBoundary(CodeAttribute codeAttribute, int offset1, int offset2) { // Swap the offsets if the second one is smaller than the first one. if (offset2 < offset1) { int offset = offset1; offset1 = offset2; offset2 = offset; } // Check if there is a boundary of an exception block. for (int offset = offset1; offset <= offset2; offset++) { if (branchTargetFinder.isExceptionStart(offset) || branchTargetFinder.isExceptionEnd(offset)) { return true; } } return false; } }
/** * Returns the whether there is a boundary of an exception block between * the given offsets (including both). */ private boolean exceptionBoundary(CodeAttribute codeAttribute, int offset1, int offset2) { // Swap the offsets if the second one is smaller than the first one. if (offset2 < offset1) { int offset = offset1; offset1 = offset2; offset2 = offset; } // Check if there is a boundary of an exception block. for (int offset = offset1; offset <= offset2; offset++) { if (branchTargetFinder.isExceptionStart(offset) || branchTargetFinder.isExceptionEnd(offset)) { return true; } } return false; } }
/** * Returns the whether there is a boundary of an exception block between * the given offsets (including both). */ private boolean exceptionBoundary(CodeAttribute codeAttribute, int offset1, int offset2) { // Swap the offsets if the second one is smaller than the first one. if (offset2 < offset1) { int offset = offset1; offset1 = offset2; offset2 = offset; } // Check if there is a boundary of an exception block. for (int offset = offset1; offset <= offset2; offset++) { if (branchTargetFinder.isExceptionStart(offset) || branchTargetFinder.isExceptionEnd(offset)) { return true; } } return false; } }
branchTargetFinder.isBranchTarget(newOffset1) || branchTargetFinder.isExceptionStart(newOffset1) || branchTargetFinder.isExceptionEnd(newOffset1) || branchTargetFinder.isInitializer(newOffset1) || branchTargetFinder.isExceptionStart(newOffset2) || branchTargetFinder.isExceptionEnd(newOffset2) || isPop(code[newOffset1]))
branchTargetFinder.isBranchTarget(newOffset1) || branchTargetFinder.isExceptionStart(newOffset1) || branchTargetFinder.isExceptionEnd(newOffset1) || branchTargetFinder.isInitializer(newOffset1) || branchTargetFinder.isExceptionStart(newOffset2) || branchTargetFinder.isExceptionEnd(newOffset2) || isPop(code[newOffset1]))
branchTargetFinder.isBranchTarget(newOffset1) || branchTargetFinder.isExceptionStart(newOffset1) || branchTargetFinder.isExceptionEnd(newOffset1) || branchTargetFinder.isInitializer(newOffset1) || branchTargetFinder.isExceptionStart(newOffset2) || branchTargetFinder.isExceptionEnd(newOffset2) || isPop(code[newOffset1]))
branchTargetFinder.isBranchTarget(newOffset1) || branchTargetFinder.isExceptionStart(newOffset1) || branchTargetFinder.isExceptionEnd(newOffset1) || branchTargetFinder.isInitializer(newOffset1) || branchTargetFinder.isExceptionStart(newOffset2) || branchTargetFinder.isExceptionEnd(newOffset2) || isPop(code[newOffset1]))