Solved

doclet for @Override that eclipse will honor?

Posted on 2006-11-18
2
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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 will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

623 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