IG question about annotations

Is there a jar containing the annotations that can be redistributed. We
have a few developers who do not use IJ and they are having trouble
compiling the classes with the IG annotations.

5 comments

Norris Shelton wrote:

Is there a jar containing the annotations that can be redistributed. We
have a few developers who do not use IJ and they are having trouble
compiling the classes with the IG annotations.


@Nullable and @NotNull are in redist/annotations.jar.

0

And for precision, I note that these annotations are for built-in annotations, rather than IG inspections. I suppose the distinction is getting more and more academic, though.

--Dave Griffith

0

I am looking for annotations like
@SuppressWarnings({"ClassWithoutToString"}).


Dave Griffith wrote:

>And for precision, I note that these annotations are for built-in annotations, rather than IG inspections. I suppose the distinction is getting more and more academic, though.
>
>--Dave Griffith

>

0

SupressWarnings is actually part of java.lang, specified as a general warning suppression mechanism for any tooling, not InspectionGadgets in particular. If you're asking where the keys are documented, I'm afraid they are not. Putting the supression keys into the inspection description files is probably a worthwhile extension, if that's what you're interested in. File a JIRA request if it is.

--Dave Griffith

0

Ah, ha. Thanks bunches. I bet his editor did not support annotations.

Dave Griffith wrote:

>SupressWarnings is actually part of java.lang, specified as a general warning suppression mechanism for any tooling, not InspectionGadgets in particular. If you're asking where the keys are documented, I'm afraid they are not. Putting the supression keys into the inspection description files is probably a worthwhile extension, if that's what you're interested in. File a JIRA request if it is.
>
>--Dave Griffith

>

0

Please sign in to leave a comment.