package main;

public class Main {
  public static void main(String[] args) {
    pkg.sub.Test obj = new pkg.sub.Test();
    obj.m1();
    obj.<error descr="Cannot resolve method 'm2' in 'Test'">m2</error>();

    pkg.sub.Test.s1();
    pkg.sub.Test.<error descr="Cannot resolve method 's2' in 'Test'">s2</error>();
  }
}

@@ -118,22 +118,8 @@
 ();%0A
-    obj.m1();%0A
     
@@ -160,17 +160,17 @@
 ethod 'm
-2
+1
 ' in 'Te
@@ -175,17 +175,17 @@
 Test'%22%3Em
-2
+1
 %3C/error%3E
@@ -192,32 +192,23 @@
 ();%0A
-%0A
     
-pkg.sub.Test.s1
+obj.m2
 ();%0A
+%0A
     
@@ -258,17 +258,17 @@
 ethod 's
-2
+1
 ' in 'Te
@@ -273,17 +273,17 @@
 Test'%22%3Es
-2
+1
 %3C/error%3E
@@ -286,14 +286,37 @@
 ror%3E();%0A
+    pkg.sub.Test.s2();%0A
   %7D%0A%7D%0A

fix testdata