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 (
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.:


Please sign in to leave a comment.