Wednesday, March 08, 2006
EclipseZone - Clean Up Warnings with the 'restriction' Suppression Flag
Eclipse 3.2 M5 brings the addition of a new supported SuppressWarnings annotation parameter: 'restriction'. This new annotation allows you to tell the Eclipse JDT compiler to stop nagging you about something naughty you are doing in your code, such as referencing an 'internal' package in your Eclipse plug-in, or perhaps your project has access rules defined, as I described previously here . These access rules and definitions exist for a reason; to warn you if you are breaking rules. That being said, sometimes breaking rules is neccessary; and in those cases it's nice to be able to tell Eclipse to keep it's mouth shut
Subscribe to:
Post Comments (Atom)
Popular Posts
- eBook making on the PSP
- AS400 Job Scheduler
- Contact Us
- About Me
- Installing Mambo on Linux
- WAS Application hangs with previous J2CA0086W warning messages STATE_TRAN_WRAPPER_INUSE
- About Us
- AS400 APIs
- mrc online lab for anyone who wants to try their hand at building Java servlet applications
- c-jump: Discover fundamentals of computer programming by playing a board game
No comments:
Post a Comment