print For
This method checks the provided warning should be printed for this state
Return
- ON is always True
- OFF is always false
- DEFAULT is false if and only if annotation is not null and specifies false for value, true otherwise.
Parameters
warning
The warning annotation added to deprecated item