IDEA-166363 Support LocalVariableTypeTable attribute

This commit is contained in:
Egor.Ushakov
2017-01-10 17:09:09 +03:00
parent 1d331ddd6d
commit cb133af01e
9 changed files with 168 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
package pkg;
import java.util.ArrayList;
import java.util.List;
public class TestLocalsSignature {
public static void main(String[] args) {
List<String> s = new ArrayList();// 24
s.add("xxx");// 25
}// 26
}
class 'pkg/TestLocalsSignature' {
method 'main ([Ljava/lang/String;)V' {
7 7
9 8
b 8
11 9
}
}
Lines mapping:
24 <-> 8
25 <-> 9
26 <-> 10