We can introduce an inspection to verify [`asInterfaceInstance`](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/invoke/MethodHandleProxies.html#asInterfaceInstance(java.lang.Class,java.lang.invoke.MethodHandle)) method calls to some extent: - The first parameter must represent a functional interface - The method type must be compatible with the method of the functional interface
We can introduce an inspection to verify
asInterfaceInstancemethod calls to some extent: