I've created a pojo object in runtime using javassist. I want to write it to a java file. I don't want to write a lot of code for this job. Is there any utility for doing this?
for example the output should be something like this :
@Annotations
public class MyClass{
@Id
private String id;
@Column
public String getId(){
return id;
}
public void setId(String id){
this.id=id;
}
}