I am using reflection to get all methods parameters names.
The problem is when one of the parameters is of type: the.package.myobject [] (array)
String name = method.getParameterTypes()[0].getName()
I get: [the.package.myobject;] //letter L and symbol ;
how can I get pure type name? (without substringing)