commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sridhar Sarnobat <>
Subject [bcel] InnerClass - get methods, fields etc?
Date Fri, 27 Jul 2012 22:22:42 GMT
Following on from what another user posted:

I understand how to get an InnerClass object, but how do I get a list of
its methods (or fields)? I was hoping that it would implement a similar
interface to JavaClass.

Am I misunderstanding how BCEL is expected to be used? Can I get the
methods from the enclosing class?

Ultimately I want to get the instructions from a method body in an
anonymous class (I'm creating a call graph app).

Sridhar Sarnobat
San Jose, CA 95128 | USA
SMS me via email:
Google Chat: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message