Solved

doclet for @Override that eclipse will honor?

Posted on 2006-11-18
2
260 Views
Last Modified: 2010-03-31
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
Comment
Question by:HappyEngineer
2 Comments
 
LVL 23

Accepted Solution

by:
Ajay-Singh earned 500 total points
ID: 17973953
you should configure eclipse to use java 5 compiler
0
 

Author Comment

by:HappyEngineer
ID: 17976645
I am using the java 5 compiler. This is a GWT problem. At runtime it complains if the annotation is there.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 115
ForLoop Example 3 49
spring jars download 1 28
How to execute a Python program and gather return output in Java 2 31
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question