I would like to create a custom inspection in IntelliJ.
I found this official documentation from JetBrains:
- https://www.jetbrains.com/help/idea/creating-custom-inspections.html
- https://www.jetbrains.com/help/idea/search-templates.html
However, I do not found it explicit enough in order to know how to implement a custom inspection.
Also, is it possible to check the implementation of an already existing inspection (e.g. Java | Probable bugs | Optional.get() is called without isPresent() check)? I would like to implement a similar inspection, and it would be helpful to inspire from this existing one.