mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
ChangeToMethod ChangeToOperator ClashingGetters ClashingTraitMethods DelegatesTo GrAnnotationReferencingUnknownIdentifiers GitOrigin-RevId: fd1d8b8e6e6615f1ecc930b85eb77b5f20a7f28a
17 lines
343 B
HTML
17 lines
343 B
HTML
<html>
|
|
<body>
|
|
Reports boolean methods which can be accessed via the same property name.
|
|
<p>The result of accessing such property might be unexpected.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
class X {
|
|
boolean isFoo() { true }
|
|
boolean getFoo() { false }
|
|
}
|
|
|
|
// getFoo() will be called
|
|
new X().foo
|
|
</code></pre>
|
|
</body>
|
|
</html>
|