Files
Alexandr Suhinin dff4a758f6 IDEA-259107 extract method: don't rely on text offsets to link generated elements
GitOrigin-RevId: 382b49a3927e84a463350abf9ed0d36ad76ab633
2021-03-03 11:38:41 +00:00

13 lines
180 B
Java

class Test {
static class B {
int getX(){
return 42;
}
}
void test(){
<selection>int x = new Test.B().getX();</selection>
System.out.println(x);
}
}