Providing new quick fixes for an existing error

There are a few, standard compile errors (let's say: assigning a Integer
to a String or vice-versa) for which our current project uses specific
fixes. For example, our project uses a utility class that converts Strings
to Integers using some specific rules.

My life would be a lot easier if everytime such an error was spotted
(incorrectly assignemnt from String to Integer) I could just press
Ctrl+Enter and select a quick fix that would use our utility class to
perform the conversion. Is there any easy way to do this? That is, besides
writing an inspection that loks for these errors and offers this quickfix.

--
Marcus Brito <pazu@animegaiden.com.br>


Please sign in to leave a comment.