*/
public static String[] getJavaMethodParametersAsStringArray(final JavaMethod method) {
JavaParameter[] javaParameters = method.getParameters();
String[] parameters = new String[javaParameters.length];
for (int i = 0; i < javaParameters.length; i++) {
Type type = javaParameters[i].getType();
int dimensions = type.getDimensions();
StringBuffer parameter = new StringBuffer(type.getValue());
for (int j = 0; j < dimensions; j++) {
parameter.append("[]");
}
parameters[i] = parameter.toString();
}