Solved

doclet for @Override that eclipse will honor?

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Maven Project: Hibernate Dependencies Conflict 10 52
servlet example 11 59
IBM TS2900 (3572) Tape Autoloader Java? 12 61
Java array 21 86
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

733 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