How to get all .class files produced by the javac compiler for the specific .java file?

Hello!

 

I am looking for the way to resolve the source .java file into the set of compiled .class files from within plugin for Idea. Where source java file is an item in Project View inside Intellij Idea. And .class files are result of this source compiled.

So far I was able to find this page: External Builder API and Plugins  and find some usages of SourceToOutputMapping on github.

It feels like I have to implement some kind of  external builder to use this API although.

Is it possible to take advantage of work that has been done by javac already?

And just get the source java ant resulting class files as a after-compile-hook or simliar to that?

 

Thanks a lot,

Alex.

0

Please sign in to leave a comment.