Files
openide/java/java-tests/testData/refactoring/renameLocal/MethodNameUsedInMethodRefs.java
Anna Kozlova da987548c0 [java] [rename] correctly handle method reference rename (IDEA-283662)
GitOrigin-RevId: c869ac621c25373fa08e742439f6022fa6052efc
2021-12-03 20:25:34 +00:00

16 lines
303 B
Java

public class FooBar {
static void f<caret>oo() {}
public static void main(String[] args) throws Exception {
Runnable runnable = FooBar::foo;
}
}
class FooBarBaz {
public static void main(String[] args) throws Exception {
Runnable runnable = FooBar::foo;
}
}