name suggestions: skip pluralization when component type is the same as original (IDEA-89143)

This commit is contained in:
anna
2012-07-31 16:51:28 +02:00
parent 1b5df35a54
commit ecb0f64aa1
4 changed files with 39 additions and 1 deletions
@@ -0,0 +1,9 @@
abstract class Path implements Iterable<Path>{}
class Paths {
public static Path get(String s) {return null;}
}
class Usage {
public static void main(String[] args) {
Path path = Paths.get("");
}
}
@@ -0,0 +1,9 @@
abstract class Path implements Iterable<Path>{}
class Paths {
public static Path get(String s) {return null;}
}
class Usage {
public static void main(String[] args) {
<selection>Paths.get("")</selection>
}
}