void (int opcode) { switch (opcode) { case Opcodes.RETURN: case Opcodes.IRETURN: case Opcodes.FRETURN: case Opcodes.ARETURN: case Opcodes.LRETURN: case Opcodes.DRETURN: //case Opcodes.ATHROW: allLineLocations.stream() .filter(l -> l.lineNumber() == myLastLine) .findFirst().ifPresent(location -> { createLocationBreakpointRequest(requestor, location, debugProcess, false); }); } }