mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
540 B
HTML
17 lines
540 B
HTML
<html>
|
|
<body>
|
|
Reports methods that are declared in the same class, have the same name, and the same number of parameters.
|
|
Such overloads cam be very confusing because it can be unclear which overload gets called.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
class Main {
|
|
public static void execute(Runnable r) {}
|
|
public static <T> void execute(RunnableFuture<T> c) {}
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
Use the option to ignore overloaded methods whose parameter types are definitely incompatible.
|
|
</p>
|
|
</body>
|
|
</html> |