Package my.home.dsl.deepClone

Examples of my.home.dsl.deepClone.ComplexField


      Assert.assertEquals("article", _fieldName_2);
      EList<ClassCloner> _cloners_6 = body.getCloners();
      ClassCloner _head_5 = IterableExtensions.<ClassCloner>head(_cloners_6);
      EList<FieldClonerType> _fields_4 = _head_5.getFields();
      FieldClonerType _get_3 = _fields_4.get(2);
      final ComplexField article = ((ComplexField) _get_3);
      EList<FieldClonerType> _fields_5 = article.getFields();
      FieldClonerType _get_4 = _fields_5.get(0);
      String _fieldName_3 = ((SimpleField) _get_4).getFieldName();
      Assert.assertEquals("name", _fieldName_3);
      EList<FieldClonerType> _fields_6 = article.getFields();
      FieldClonerType _get_5 = _fields_6.get(1);
      String _fieldName_4 = ((SimpleExcludedField) _get_5).getFieldName();
      Assert.assertEquals("author", _fieldName_4);
      EList<FieldClonerType> _fields_7 = article.getFields();
      FieldClonerType _get_6 = _fields_7.get(2);
      String _fieldName_5 = ((SimpleExcludedField) _get_6).getFieldName();
      Assert.assertEquals("pageNumber", _fieldName_5);
      EList<FieldClonerType> _fields_8 = article.getFields();
      FieldClonerType _get_7 = _fields_8.get(3);
      String _fieldName_6 = ((ComplexField) _get_7).getFieldName();
      Assert.assertEquals("section", _fieldName_6);
      EList<FieldClonerType> _fields_9 = article.getFields();
      FieldClonerType _get_8 = _fields_9.get(3);
      final ComplexField section = ((ComplexField) _get_8);
      EList<FieldClonerType> _fields_10 = section.getFields();
      FieldClonerType _get_9 = _fields_10.get(0);
      String _fieldName_7 = ((SimpleExcludedField) _get_9).getFieldName();
      Assert.assertEquals("name", _fieldName_7);
      EList<FieldClonerType> _fields_11 = section.getFields();
      FieldClonerType _get_10 = _fields_11.get(1);
      String _fieldName_8 = ((SimpleField) _get_10).getFieldName();
      Assert.assertEquals("description", _fieldName_8);
      EList<FieldClonerType> _fields_12 = section.getFields();
      FieldClonerType _get_11 = _fields_12.get(2);
      String _fieldName_9 = ((SimpleExcludedField) _get_11).getFieldName();
      Assert.assertEquals("paragraph", _fieldName_9);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
View Full Code Here


              _builder.append(_qualifiedName_2, "\t");
              _builder.append(" {");
              _builder.newLineIfNotEmpty();
              _builder.append("\t");
              _builder.append("\t");
              ComplexField _asComplex = this.asComplex(field);
              CharSequence _serializeCF = this.serializeCF(_asComplex);
              _builder.append(_serializeCF, "\t\t");
              _builder.newLineIfNotEmpty();
              _builder.append("\t");
              _builder.append("}");
View Full Code Here

              String _qualifiedName_1 = _typeOrCollectionTypeParameter_1.getQualifiedName();
              _builder.append(_qualifiedName_1, "");
              _builder.append(" {");
              _builder.newLineIfNotEmpty();
              _builder.append("\t");
              ComplexField _asComplex = this.asComplex(field);
              CharSequence _serializeCF = this.serializeCF(_asComplex);
              _builder.append(_serializeCF, "\t");
              _builder.newLineIfNotEmpty();
              _builder.append("}");
              _builder.newLine();
View Full Code Here

TOP

Related Classes of my.home.dsl.deepClone.ComplexField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.