545556575859606162636465
Object model = null; Integer i = new Integer(1); if (obj[0].getClass().isInstance(i)){ Integer modelId = (Integer) obj[0]; IhManager manager = (IhManager) targetManager; model = (Object) manager.get(modelId); } else { model = (Object) obj[0]; }