private void finalization ( ) { Map < String , Object > dataModel = newHashMap ( ) ; dataModel . put ( "cppFormatter" , new SourceFormatter ( ) ) ; Set < ClassModel > dependencies = newHashSet ( ) ; for ( Java4CppType type : context . getClassesAlreadyDone ( ) ) { Class < ? > clazz = type . getRawClass ( ) ; if ( isValid ( clazz ) ) { dependencies . add ( context . getClassModel ( clazz ) ) ; } } dataModel . put ( "classes" , dependencies ) ; dataModel . put ( "symbols" , context . getFileManager ( ) . getSymbols ( ) . getSymbols ( ) ) ; context . getTemplateManager ( ) . processGlobalTemplates ( dataModel ) ; context . getTemplateManager ( ) . copyFiles ( ) ; }
Execute global templates and copy runtime files