Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Annotations??

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi,
I've never heard of these until Eclipse Automatically inserted a @SuppressWarnings annotation for me...

Now, that particular annotation I can understand -- it's just like #pragma warning(...) in Visual C++, but there's a lot more that I don't really understand what the benefits are. An example is @Override
Doesn't the Java compiler automatically know if a certain method is an override from a base class? Is this just for human documentation, or is there a programatic value to using it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top