ReflectionObject fields initialised to length 0 is there are no fields.
Bean classes can have fields AND functions.
Getters do not have parameters. Initialise to 0 length array.