Re:Google open sources "Contracts for Java"
by tikkes on Saturday February 05, 2011 @07:17AM
(#2182949)
Eclipse does not do static analysis by default I believe. There are some patches however...
[ Parent
| on HN ]
Re:Google open sources "Contracts for Java"
by ShabbyDoo on Saturday February 05, 2011 @01:46PM
(#2183669)
The out-of-the-box Eclipse distro does include some static analysis stuff, but it's turned off by default. Preferences->Java->Compiler->Errors/Warnings. Under "Potential Programming Problems", you can alert on such things as guaranteed NPEs, etc.