Solved

doclet for @Override that eclipse will honor?

Posted on 2006-11-18
2
255 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now