3 Replies Latest reply on Sep 6, 2004 10:04 AM by Shigeru Chiba

    Creating interfaces

    Leandro Saad Newbie

      Hi all. Actually I have two questions :
      1) How do I create interfaces ?
      I can call pool.makeInterface("SomeInterface");
      but I can't add method on it. Javassist seems to required a method body.

      2) How do I make Javassist use a defined class loader to create my class/interface when I call CtClass.toClass() ??