Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

doclet for @Override that eclipse will honor?

I use GWT and one of the few downside of GWT is that on the client side it won't allow you to use annotations.

So, as a result I get a bunch of warning messages when I have methods that override superclass methods. I want to use the @Override annotation and am not going to turn off the warning for everything.

I tried adding:
/**
  @Override
*/
in front of the methods, but eclipse doesn't seem to honor that.

Is it possible to use a doclet in place of the @Override annotation?
0
HappyEngineer
Asked:
HappyEngineer
1 Solution
 
Ajay-SinghCommented:
you should configure eclipse to use java 5 compiler
0
 
HappyEngineerAuthor Commented:
I am using the java 5 compiler. This is a GWT problem. At runtime it complains if the annotation is there.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now