Got the code from the apache git repo now.  
I saw that 

             if(isArrayType()) {
            return null;
        }

this has been left as it is. If you are ok with this then am fine.  Will start on #669