int (int index, int no) { if (offset == 0) { switch (no) { case 0: return getProcBegin() - 5; // call normal case 1: return getProcBegin() - 3; // call return case 2: return getProcBegin() - 1; // call throw default: LOG.assertTrue (false); return -1; } } if (no == 0) { return offset; // call normal } LOG.assertTrue(false); return -1; }