You might try looking in the constant pool for instances of
ConstantMethodref and ConstantInterfaceMethodref.

-----Original Message-----
From: James CE Johnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:57 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to