// EntityBean and Cmp2Entity.
cw.visit(V1_5, ACC_PUBLIC + ACC_SUPER, implClassName, null, beanClassName, new String[]{"org/apache/openejb/core/cmp/cmp2/Cmp2Entity", "javax/ejb/EntityBean"});
// public static Object deploymentInfo;
{
final FieldVisitor fv = cw.visitField(ACC_PUBLIC + ACC_STATIC, "deploymentInfo", "Ljava/lang/Object;", null, null);
fv.visitEnd();
}
// private transient boolean deleted;
{
final FieldVisitor fv = cw.visitField(ACC_PRIVATE + ACC_TRANSIENT + ACC_VOLATILE, DELETED, "Z", null, null);
fv.visitEnd();
}
if (Object.class.equals(primKeyClass)) {
final FieldVisitor fv = cw.visitField(ACC_PRIVATE, UNKNOWN_PK_NAME, UNKNOWN_PK_TYPE.getDescriptor(), null, null);
fv.visitEnd();
}
// Generate the set of cmp fields as private attributes.
// private ${cmpField.type} ${cmpField.name};
for (final CmpField cmpField : cmpFields.values()) {