if (proxyMethod != null) {
String event = eventType.getName() + '.' + firstToUpper(proxyMethod.getName());
StringBuilder args = new StringBuilder();
for (Object o : proxyMethod.getArgs()) {
ASArg arg = (ASArg) o;
args.append(", ").append(arg.getName());
}
if (Type.VOID.getQualifiedTypeName().equals(proxyMethod.getType())) {
proxyMethod.addStmt(MessageFormat.format("{0}({1}{2});", Constants.METHOD_CALL, event, args));
} else {