public void beginProxy(Type proxy, Type baseType, Type interfaceType) {
logger.info("Creating ActionScript proxy {}", proxy.getName());
ASCompilationUnit eventUnit = project.newClass(proxy.getName() + "Events");
proxyUnit = project.newClass(proxy.getName());
eventType = (ASClassType) eventUnit.getType();
proxyType = (ASClassType) proxyUnit.getType();
proxyType.addImplementedInterface(interfaceType.getName());
proxyImports = new TreeSet<String>();