File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,22 @@ public class TestVarArgCalls {
2323   public void printComplex(String fmt, String[]... params) {
2424      System.out.println(String.format(fmt, (Object[])params));// 27
2525   }// 28
26+ 
27+    public class Parent {
28+       protected void test(TestVarArgCalls.Test... test) {
29+       }// 33
30+ 
31+       class Child extends TestVarArgCalls.Parent {
32+          public void vararg() {
33+             this.test(TestVarArgCalls.Test.A, TestVarArgCalls.Test.B);// 38
34+          }// 39
35+       }
36+    }
37+ 
38+    public static enum Test {
39+       A,
40+       B;
41+    }
2642}
2743
2844class 'pkg/TestVarArgCalls' {
@@ -160,6 +176,28 @@ class 'pkg/TestVarArgCalls' {
160176   }
161177}
162178
179+ class 'pkg/TestVarArgCalls$Parent' {
180+    method 'test ([Lpkg/TestVarArgCalls$Test;)V' {
181+       0      28
182+    }
183+ }
184+ 
185+ class 'pkg/TestVarArgCalls$Parent$Child' {
186+    method 'vararg ()V' {
187+       0      32
188+       7      32
189+       8      32
190+       9      32
191+       d      32
192+       e      32
193+       f      32
194+       11      32
195+       12      32
196+       13      32
197+       14      33
198+    }
199+ }
200+ 
163201Lines mapping:
1642025 <-> 5
1652036 <-> 6
@@ -178,3 +216,6 @@ Lines mapping:
17821624 <-> 21
17921727 <-> 24
18021828 <-> 25
219+ 33 <-> 29
220+ 38 <-> 33
221+ 39 <-> 34
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments