I read and understood the comment as to the reasoning, but the problem is the 
shared code nature of FieldOrMethod.  When dealing with a method you know a 
priori that the object cannot be an array.  Now to get the ClassName of an 
InvokeInstruction operand you must say 
invoke.getReferenceType(cp).getClassName().  This seems pretty awkward.  One 
solution might be to provide an override version of getClassName in 
InvokeInstruction.

Thanks,
Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to