[cfe-dev] Java bindings for clang/libclang?

Konstantin Tokarev annulen at yandex.ru
Tue Nov 29 23:50:57 PST 2011



30.11.2011, 01:51, "Nathan Ridge" <zeratul976 at hotmail.com>:
> Hello,
>
> I am wondering whether there exist Java bindings for libclang, or some other
> way to access the clang API from Java code (other than using JNI directly - I'm
> thinking of something like a Java wrapper library, possibly implemented using
> JNI)?
>
> My motivation for asking this is that I'd like to use clang in a plugin for a
> Java-based IDE and the plugin must be written in Java.
>

You can also try to write core part of your plugin in C or C++ and then bind it to
Java interface.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list