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
请先登录再写评论。
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!"
Aha. In that case: is it possible to request the project class path, so I can construct my own classloader?