Commit 3ae4dc21 authored by andrei's avatar andrei

Better printing of method handle

parent f034e61a
......@@ -182,6 +182,15 @@ public class CommentedClassVisitor extends Textifier implements ICommentedClassV
case INTERNAL_NAME :
buf1.append(eatPackageNames(desc, '/'));
break;
case HANDLE_DESCRIPTOR :
Type[] types = Type.getArgumentTypes(desc);
for (int i = 0; i < types.length; ++i) {
if (i > 0) {
buf1.append(',');
}
buf1.append(getSimpleName(types[i]));
}
break;
case FIELD_DESCRIPTOR :
if ("T".equals(desc)) {
buf1.append("top");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment