Fix JavaTreeMaker for array Designator after method name syntax.

This fix works only for return type of methods.