|
java compiler warnings
I was wondering if anyone knew how to make a compiler warning. for instance every once in a while I need to hardcode something for testing that I plan to change later. I comment it so that I cans can through later for a specific type of comment, but I want to go further, I want to add my own compiler warnings when it comes across a s spot so that I will be double sure to go back later and fix it.
example:
while (counter < 100)
{
counter++;
---issue compiler warning saying: Fix me line # ___ you need to add stuff to the loop, incomplete.
}
oh btw, this is java.
|