commons-user mailing list archives

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

http://www.mail-archive.com/bcel-user@jakarta.apache.org/msg00851.html

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
Phone:
SMS me via email:
Google Chat: <sarnobat.hotmail@gmail.com>
http://www.facebook.com/sridhar.sarnobat

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