prevent static field name clashes in local methods

This commit is contained in:
Alexandru-Constantin Bledea
2016-03-07 21:00:21 +02:00
parent 5795c1d9e0
commit 7cf7bec4b6
6 changed files with 108 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
package pkg;
public class TestStaticNameClash {
public static String property;
public static void setProperty(String property) {
TestStaticNameClash.property = property;// 12
}// 13
}
class 'pkg/TestStaticNameClash' {
method 'setProperty (Ljava/lang/String;)V' {
1 6
4 7
}
}
Lines mapping:
12 <-> 7
13 <-> 8