Files
kotlin-fork/nj2k/testData/newJ2k/staticMembers/StaticMemmberAccessedViaInstance.java
T
Ilya Kirillov 704b3bd2e6 New J2K: always print real fqNames for static calls
As fqNames of some symbols may change during conversion
E.g, when moving Java static method to Kotlin companion object

#KT-19607 fixed
#KT-32903 fixed
#KT-33743 fixed
#KT-33556 fixed
2019-09-24 17:13:12 +03:00

12 lines
244 B
Java
Vendored

public class Rectangle {
public static int x = 0;
public int y;
}
public class Main {
public static void main(String[] args) {
Rectangle rectangle = new Rectangle();
rectangle.x = 1;
rectangle.y = 2;
}
}