question: private void fields ( Class type ) { Field [ ] list = type . getDeclaredFields ( ) ; for ( Field field : list ) { FieldDetail detail = new FieldDetail ( field ) ; fields . add ( detail ) ; } }
target:  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.