Package rocket.json.rebind.setcomplex

Examples of rocket.json.rebind.setcomplex.SetComplexTemplatedFile


        body.add(template);
        continue;
      }

      final SetComplexTemplatedFile template = new SetComplexTemplatedFile();
      template.setFieldSetter(setter);
      template.setJavascriptPropertyName(this.getJavascriptPropertyName(field));
      template.setFieldType(fieldType);

      final Type serializer = this.getSerializer(field);
      template.setSerializer(serializer);

      final String readMethodName = this.selectReadMethod(fieldType);
      final Method readMethod = serializer.getMostDerivedMethod(readMethodName, Collections.nCopies(1, this.getJsonValue()));
      template.setReadMethod(readMethod);

      body.add(template);
    }

    context.unbranch();
View Full Code Here

TOP

Related Classes of rocket.json.rebind.setcomplex.SetComplexTemplatedFile

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.