Project classloader (needed for jetstyle plugin).

Hi all,

For the jetstyle plugin the project classloader is needed.

This is when an @throws javadoc tag is defined with a RuntimeException as parameter. Checkstyle needs to check whether this exception is a RuntimeException and then allows the javadoc tag without a throws in the method signature.

Does anyone know how to get the project classloader? (i.e. the classloader that contains my projects own classes).


Comment actions Permalink

We do not load user (project) classes into IDEA's jvm even in separate classloader.
Instead, there's own PSI (program structure interface) API do analyze code.


Maxim Shafirov
"Develop with pleasure!"

Comment actions Permalink

Aha. In that case: is it possible to request the project class path, so I can construct my own classloader?


Please sign in to leave a comment.