private void fields(Class type){
  Field[] list=type.getDeclaredFields();
  for (  Field field : list) {
    FieldDetail detail=new FieldDetail(field);
    fields.add(detail);
  }
}

private void fields ( Class type ) { Field [ ] list = type . getDeclaredFields ( ) ; for ( Field field : list ) { FieldDetail detail = new FieldDetail ( field ) ; fields . add ( detail ) ; } }
this is used to scan the type for its declared fields . scanning of the fields in this way allows the detail to prepare a cache that can be used to acquire the fields and the associated annotations . this improves performance on some platforms .
