force warning in java

Posted by Dustin Getz on Stack Overflow See other posts from Stack Overflow or by Dustin Getz
Published on 2010-05-19T18:45:53Z Indexed on 2010/05/19 18:50 UTC
Read the original article Hit count: 177

Filed under:
|
|

I'd like a mechanism to throw a compile-time warning manually. I'm using it to flag unfinished code so I can't possibly forget about it later. @Deprecated is close but warns at caller site, not at creation site. I'm using eclipse. Something like #Warning in C#.

© Stack Overflow or respective owner

Related posts about java

Related posts about compiler