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).

cheers,
Hilbert

2 comments
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
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

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

0

Please sign in to leave a comment.