Analizar objeto a int java

int i = (Integer) object;
Wrong Wasp