Issue warning on use of a class

Is there a way to configure the code analyzer to issue a warning/error if I've used a specific class somewhere?

I'm trying to migrate away from some old frameworks, so I can't just mark the classes as @Deprecated.

1 comment
Comment actions Permalink

You can use Structural Search inspection for this or similar cases (http://www.jetbrains.com/idea/webhelp/structural-search-and-replace.html) http://www.jetbrains.com/idea/webhelp/structural-search-and-replace.html
Another possibility is to create custom scope for this class and use custom colors which can be applied in editor for highlighting, so it will stand out from the rest of your code.: http://blog.jetbrains.com/idea/2009/05/using-scope-based-code-highlighting/

0

Please sign in to leave a comment.