Generate main $ file from @IncludeInMain annotated static methods