Quote:
String[] returnValue={"String", "int", "double", "void", "char", "long", "float" };
this is wrong approach!

a method can return nothing if the method is declared void
and also it can return a class or even an ArrayList or Vector
not only the above you use.

Also you are looking for "(" but you can put it even for mathematics equations or for type casting and for many more reasons.