void (Object component, String key, int x, int y, int width, int height) { <error descr="Cannot resolve symbol 'Rectangle'">Rectangle</error> rectangle = getRectangle(component, key); if (rectangle != null) { rectangle.<error descr="Cannot resolve symbol 'x'">x</error> = x; rectangle.<error descr="Cannot resolve symbol 'y'">y</error> = y; rectangle.<error descr="Cannot resolve symbol 'width'">width</error> = width; rectangle.<error descr="Cannot resolve symbol 'height'">height</error> = height; } else { set(component, key, new <error descr="Cannot resolve symbol 'Rectangle'">Rectangle</error>(x, y, width, height)); //java //midp set(component, key, new int[] { width, height, x, y }); } }