void (Object component, String event) { <error descr="Cannot resolve symbol 'Method'">Method</error> method = (<error descr="Cannot resolve symbol 'Method'">Method</error>) get(component, event); if (method != null) { try { method.<error descr="Cannot resolve method 'invoke(Thinlet, null)'">invoke</error>(this, null); } catch (<error descr="Cannot resolve symbol 'InvocationTargetException'">InvocationTargetException</error> ite) { ite.<error descr="Cannot resolve method 'getTargetException()'">getTargetException</error>().printStackTrace(); } catch (Exception exc) { exc.printStackTrace(); } } }