I suggest a method Type.getBytecodeName(), which will yield the name of the bytecode type. E.g., for a member type B in class A { class B {}} the bytecode name would be A$B Anonymous classes would get names like A$1 etc.
Log in to post a comment.