@Nullable and @NotNull

Just wondering if anyone has ported @Nullable and @NotNull to eclipse? It'd like to start using them but unless my eclipse team mates also get similar inspections it is not nearly as useful.

0
8 comments

Our company has chosen not to use the annotations because our Eclipse users
resent the intellij package name.

Glen Stampoultzis wrote:

Just wondering if anyone has ported @Nullable and @NotNull to eclipse? It'd like to start using them but unless my eclipse team mates also get similar inspections it is not nearly as useful.

0

An excellent reason, that's how I choose all my tools. FindBugs seems to have the similar checking for the similar annotations @Null and @NonNull, perhaps that is worth using?

Our company has chosen not to use the annotations
because our Eclipse users
resent the intellij package name.

Glen Stampoultzis wrote:

Just wondering if anyone has ported @Nullable and

@NotNull to eclipse? It'd like to start using them
but unless my eclipse team mates also get similar
inspections it is not nearly as useful.


0

Yes, I think it's silly as well. We're waiting for JB to allow you to provide
your own annotations which IDEA understands as nullable and notnull, so we can
integrate our own custom nullness testing, findbugs, and IDEA.

Bas Leijdekkers wrote:

An excellent reason, that's how I choose all my tools. FindBugs seems to have the similar checking for the similar annotations @Null and @NonNull, perhaps that is worth using?

>>Our company has chosen not to use the annotations
>>because our Eclipse users
>>resent the intellij package name.
>>
>>Glen Stampoultzis wrote:
>>
>>>Just wondering if anyone has ported @Nullable and
>>
>>@NotNull to eclipse? It'd like to start using them
>>but unless my eclipse team mates also get similar
>>inspections it is not nearly as useful.


0

Our company has chosen not to use the annotations
because our Eclipse users
resent the intellij package name.


Disappointing but not surprising.

It would be nice if all the IDE vendors could get together, have a big group hug and come up with a standard for this. I'm not holding my breath however.

One thing I worry about with all the collaboration features in Idea 6 is how well that all works when you're sharing your environment with lots of people who don't use Idea.

0

There was talk about a JCP for these annotations. Don't know if anything became of it.

--Dave Griffith

0

Dave Griffith wrote on 28/11/05 11:59:

There was talk about a JCP for these annotations. Don't know if anything became of it.


As much as I hate to suggest it - Apache's commons-annotations maybe?

0
Avatar
Alexander Demidovich

How do you use them in Idea? Is theere any descriptions for that? I didn't find nothing either on jetbrains sites nor the help..

I think I do not undestand smth, but I see only override, supresswarning annotations and that's all.

P.s.: Idea 5.0.2

0

We are currently working on the documents on this topic. We think that the
separate HowTo will be published at our site in several days.


0

Please sign in to leave a comment.