Files
openide/java/java-tests/testData/refactoring/inlineObject/InlinePointToString.java.after
Tagir Valeev c57a3e9f2a IDEA-225778 Inline object with the subsequent call
GitOrigin-RevId: 122e10e69f93c31e289a024381c7315f1a62203b
2019-11-07 02:40:58 +00:00

19 lines
249 B
Plaintext

class Main {
void test() {
System.out.println("[" + 1 + ", " + 2 + "]");
}
}
class Point {
private int x, y;
public Point(int _x, int _y) {
x = _x;
y = _y;
}
public String toString() {
return "["+x+", "+y+"]";
}
}