public GenericField [ ] getFields ( ) { Collection < GenericField > values = fieldMap . values ( ) ; if ( values == null || values . isEmpty ( ) ) return null ; GenericField [ ] fieldMirrors = new GenericField [ values . size ( ) ] ; values . toArray ( fieldMirrors ) ; return fieldMirrors ; }
List all fields