@interface Tezt {
}
public static void main(String[] args) {
JavaClass javaClass = new JavaClass("MyClass", new JavaPackage("mypackage"));
JavaField javaField = new JavaField(int.class, "count");
javaField.setValue(0);
javaField.getModifiers().add(JavaModifier.PRIVATE);
javaClass.addField(javaField);