* private FetchGroup _persistence_fetchGroup;
* private boolean _persistence_shouldRefreshFetchGroup;
* private Session _persistence_session;
*/
public void addFetchGroupVariables() {
RuntimeVisibleAnnotations attrs = null;
// Only add javax.persistence.Transient annotation if attribute access is being used
if (classDetails.usesAttributeAccess()){
attrs = getTransientAnnotation();
} else if (isJAXBOnPath()) {
try {
attrs = new RuntimeVisibleAnnotations();
attrs.annotations.add(new Annotation(Type.getDescriptor(Class.forName("javax.xml.bind.annotation.XmlTransient"))));
} catch (Exception exception) {}
}
cv.visitField(ACC_PROTECTED, EntityManagerImpl.PERSITENCE_FETCH_GROUP_WEAVED_FIELD_NAME, FETCHGROUP_SIGNATURE, null, attrs);