6 Replies Latest reply on Sep 10, 2004 10:04 AM by chiba

    Possible to refer to classes that will be generated later on

    bug-c

      Hi,

      First of all I really have to say *wow* JavaAssist is a real powerful library.
      I am still experimenting with the API and have a small question. I am trying to create my class hierarchy that is currently stored as instances of metaclasses. I am wondering if there is a possibility to refer to classes that will be generated later on during the class generation process. If this would be possible I could simply iterate over all classes and create them. But currently I see no way to do it, because JavaAssist seems to check directly if this class is available or not. Is there a way to change this behaviour and have this check after I created all classes and call sth like "ClassPool.saveAllClasses"

      Any help appreciated :)
      Best regards,
      Stefan