Top "Code-generation" questions

Topics related to the generation of code as the output of an application, instead of directly writing code by a programmer.

Cannot resolve symbol with AutoValue and IntelliJ

I have been trying to find the correct settings for IntelliJ's annotation processing in order for it to co-exist with …

java intellij-idea code-generation auto-value gradle-apt-plugin
Creating a class for an interface at runtime, in C#

I'm looking at taking a set of objects, let's say there's 3 objects alive at the moment, which all implement a …

c# code-generation multicast reflection.emit
Looking for a standalone, command line, code generator script

I'm looking for a library or command line script that will allow me to create custom templates that I can …

code-generation template-engine
appfuse vs roo - what would you use

Appfuse vs. Roo, what would you use and why? What are the sweet spots of each.

java jakarta-ee code-generation spring-roo appfuse
Using types in a T4 template that exist in the same project as the template

I'm working on my first T4 code generation tool to add some Stored Procedure helper code to my project. I've …

c# .net vb.net code-generation t4
Maven add source directory in Eclipse

I get my code generated from the maven-jaxb2-plugin maven plugin. It puts the code into target/generated-sources. Now I …

eclipse maven jaxb code-generation buildpath
Petri net drawing and code generation

Is there any software for drawing a Petri net and generating any source code from there? The source code could …

automation code-generation metaprogramming petri-net
How to automatically generate function headers for .h file in Clion?

When writing a library in C, I usually end up implementing functions before defining them in the corresponding header file. …

c refactoring code-generation header-files clion
How to use RoboPOJOGenerator to automatically generate model class from Json in Android Studio

I will share a way to generate class from Json in Android. Generate Java and Kotlin POJO files from JSON: …

java android json code-generation
How to turn off code generation in Simulink? (function is not supported for standalone code generation)

I am creating a simulation which I will port to another language myself. So I don't need to use code …

matlab code-generation simulink matlab-coder