sb.append(Modifier.toString(m.getModifiers()));
sb.append(" ");
if(methodName.equals("<init>")) {
sb.append(ERXStringUtilities.lastPropertyKeyInKeyPath(ci.getName()));
} else {
Type param = Type.tType(TypeSignature.getReturnType(typeInfo));
sb.append(ERXStringUtilities.lastPropertyKeyInKeyPath(param.toString()));
sb.append(" ");
sb.append(methodName);
}
sb.append("(");
for(int j = 0; j < params.length; j++) {
Type param = Type.tType(params[j]);
sb.append(ERXStringUtilities.lastPropertyKeyInKeyPath(param.toString()));
if(j < params.length - 1)
sb.append(", ");
}
sb.append(")");
// log.debug(sb.toString());