void (Object component, String key, <error descr="Cannot resolve symbol 'Image'">Image</error> icon) { Object[] definition = getDefinition(component, key, "icon"); if (set(component, (String) definition[1], <error descr="'set(java.lang.Object, java.lang.Object, java.lang.Object)' in 'Thinlet' cannot be applied to '(java.lang.Object, java.lang.String, Image)'">icon</error>)) { update(component, definition[2]); } }