Retrieving target directory where a class's code is generated

I’m writing a plugin for SDE. For a particular class in the model (IClass), I need to know where the code would be generated if I were to use Instant Generator. Alternatively, is there a way to get the base directory of my java project?

Thanks

Hi twilger,

Sorry for my belated reply. About the path for Instant Generator, do you mean the default one? I ask because it is possible for you to select a folder other than the default one.

Best regards,
Jick