From Kevin Looney:
I've come across a case where I think it makes sense to consider additional parsing to ConstantClassInfo (in Constants.java)
The problem is this:
ConstantRefs in the constant pool contain an encoded string, we refer to as the name. ConstantRefs in the VM spec describe two flavors:
A class name (encoded in typical VM format, ie L/com/sun/Foo;)
An array of classes (encoded in VM format, ie [L/com/sun/Foo;)
The problem is for dependency analysis, we need to know if the Ref is an array, and strip out all of the array delimiters.
[[Kevin proposes to add]] a few simple methods to ConstantClassInfo:
which do this.