Files
openide/java/java-tests/testData/refactoring/introduceParameter/beforeMethodAccess.java
Dmitry Jemerov a5f846b4d4 test++
2009-09-10 21:30:46 +04:00

18 lines
276 B
Java

class Test {
int method(int a, int b) {
return <selection>anotherMethod(a + b)</selection>;
}
int i;
int anotherMethod(int x) {
return x;
}
}
class XTest {
int n() {
Test t;
return t.method(1, 2);
}
}