jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Smith <steven.sm...@tonic.com>
Subject RE: New bcel user question
Date Tue, 05 Aug 2003 19:02:19 GMT
You might try looking in the constant pool for instances of
ConstantMethodref and ConstantInterfaceMethodref.

-----Original Message-----
From: James CE Johnson [mailto:jcej@tragus.org]
Sent: Tuesday, August 05, 2003 12:57 PM
To: bcel-user@jakarta.apache.org
Subject: New bcel user question


Hi,

I'm trying to use bcel to analyze a class to see what other classes it
references.

Let's say I have a class like this:

class Foo
{
  public void foo()
  {
    Class c = some.packaged.ClassFile;
    ...
  }
}

In my "analyzis" of Foo I need to know that it references
some.packaged.ClassFile. I can't quite figure out how to do that.

Suggestions?

Thanks,
James


---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org

Mime
View raw message