| <html> | |
| <body> | |
| Reports method references or lambda expressions which point to a method of their own functional interface type and hence can be replaced with their qualifiers, like | |
| <br/> | |
| <ul> | |
| <li><code>SwingUtilities.invokeLater(r::run);</code></li> | |
| <li><code>SwingUtilities.invokeAndWait(() -> r.run());</code> </li> | |
| </ul> | |
| can be replaced with | |
| <ul> | |
| <li><code>SwingUtilities.invokeLater(r);</code></li> | |
| <li><code>SwingUtilities.invokeAndWait(r);</code></li> | |
| </ul> | |
| <!-- tooltip end --> | |
| <p>This inspection only reports if the language level of the project or module is 8 or higher</p> | |
| </body> | |
| </html> |