What to use other than GlobalInspectionContextImpl?
Answered
GlobalInspectionContextImpl has been annotated as ApiStatus.Internal, which in turn results in use during plugin development to show warnings indicating that the class and references to it and its methods as unstable.
What class should be used instead?
Looking into intellij-community, I don't see a way to inject my own implementation of GlobalInspectionContext, so that it would be used in lieu of GlobalInspectionContextImpl, since usages are hardcoded to the implementation, not the interface.
Please sign in to leave a comment.
Solved: For me, a combination of CodeInspectionAction and InspectListener worked
What is your use case of using custom implementation here?
Hi Yann Cebron, using the combination of CodeInspectionAction and InspectListener eliminated the need for a custom implementation of GlobalInspectionContext.