@ Override public void accept ( ClassWriterOutputVisitor visitor ) throws IOException { proxyBeanDefinitionWriter . accept ( visitor ) ; try ( OutputStream out = visitor . visitClass ( proxyFullName ) ) { out . write ( classWriter . toByteArray ( ) ) ; for ( ExecutableMethodWriter method : proxiedMethods ) { method . accept ( visitor ) ; } } }
Write the class to output via a visitor that manages output destination .