protected void addProjectedField(String s){
  try {
    Field f=inClazz.getDeclaredField(s);
    TypeInfo t=new TypeInfo(f.getName(),ClassUtils.primitiveToWrapper(f.getType()));
    t.getter=PojoUtils.createGetter(inClazz,t.name,t.type);
    t.setter=PojoUtils.createSetter(projectedClazz,t.name,t.type);
    projectedFields.add(t);
  }
 catch (  NoSuchFieldException e) {
    throw new RuntimeException("Field " + s + " not found in class "+ inClazz,e);
  }
}

protected void addProjectedField ( String s ) { try { Field f = inClazz . getDeclaredField ( s ) ; TypeInfo t = new TypeInfo ( f . getName ( ) , ClassUtils . primitiveToWrapper ( f . getType ( ) ) ) ; t . getter = PojoUtils . createGetter ( inClazz , t . name , t . type ) ; t . setter = PojoUtils . createSetter ( projectedClazz , t . name , t . type ) ; projectedFields . add ( t ) ; } catch ( NoSuchFieldException e ) { throw new RuntimeException ( "Field " + s + " not found in class " + inClazz , e ) ; } }
addprojectedfield : add field details ( name , type , getter and setter ) for field with given name in projectedfields list
