Collection<JStatement> statements = new ArrayList<JStatement>();
for ( FieldWithInitializationInfo fieldInfo : descriptor.getFieldInfos() ) {
JInvocation getterInvocation = source.invoke( fieldInfo.getGetterDeclaration().getSimpleName() );
if ( fieldInfo.getSimpleName().equals( ID ) ) {
continue;
}
if ( isStub && !shallAddFieldCopyStatementToStub( fieldInfo ) ) {
continue;
}
JInvocation value;
if ( isProbablyOwnType( fieldInfo.getType() ) ) {
JClass fieldJaxbType = getJaxbType( fieldInfo, false );
JClass fieldStubType = getJaxbType( fieldInfo, true );
if ( isStub || TypeUtils.isCollectionType( fieldInfo.getType() ) ) {