Where is org.jetbrains.annotations.NotNull?

Just trying to get back into plugin development and I downloaded the javascript language plugin example. I can't for the life of me find any where in the plugin development kit the annotations classes - e.g. org.jetbrains.annotations.NotNull.

Can someone point me to the instructions, which certainly must exist somewhere, as to how to set up my environment with the correct libraries so I can compile this example?

Thanks.

5 comments
Comment actions Permalink

]]>/redist/annotations.jar . If you create a plugin JDK (which you should), it should have this already.

--Dave Griffith

Message was edited by:
Dave Griffith

0
Comment actions Permalink

Hello Hal,

Just trying to get back into plugin development and I downloaded the
javascript language plugin example. I can't for the life of me find
any where in the plugin development kit the annotations classes - e.g.
org.jetbrains.annotations.NotNull.


They're in annotations.jar, which is automatically added to the classpath
if you've configured an IntelliJ IDEA JDK for the project (which is what
you should do when developing plugins).

Can someone point me to the instructions, which certainly must exist
somewhere, as to how to set up my environment with the correct
libraries so I can compile this example?


We don't have any existing instructions for compiling the bundled plugins,
but you can find instructions for setting up a new plugin development environment
at:
http://www.jetbrains.com/idea/plugins/plugin_developers.html

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks! This wasn't clear to me.

0
Comment actions Permalink

It should be in annotations.jar

This library should be added my default when you create a new IDEA SDK.
(Although you might want to add "idea.jar" to the IDEA SDK)


0
Comment actions Permalink

Many thanks for the pointers.

0

Please sign in to leave a comment.