I've got some open source code using the {@Code annotation that Eclipse is complaining about. Since I don't care I turned off Javadoc in the compiler options, but it's still complaining and will not compile compile.
Error is: "Javadoc: Missing closing brace for inline tag"
Actually the closing brace IS present. In some cases it's just a few lines down, but in others it's even on the same line!
Even stranger: The same code in a smaller project in a different workspace works OK. I've compared the 2 projects' settings a couple times and they appear to be the same. In many cases options are set to not allow project specific settings.
I also did other things like doing a project clean, and trying Java 1.5 vs. 1.7 compiler options, etc.
Other details:
- Java 7 on Mac
- Eclipse Kepler
- Code is Guice 2.0 (I know that's old, and normally should use jar, long story)
- one example is Key.java line 107, see below
Example from Guice code (though I normally wouldn't care since it's just comments)
/**
...
* <p>{@code new Key<Foo>() {}}.