Changed return value regex in Java for supporting arrays

For example:
int[] a() {}
or
float[][][] b() {}