Fork of the Fernflower decompiler
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package pkg;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class TestClassCast {
|
|
|
|
public void test(List var1) {
|
|
|
|
Object var2 = var1;// 22
|
|
|
|
if (var1 != null) {// 23
|
|
|
|
((List)(var2 = new ArrayList(var1))).add("23");// 24
|
|
|
|
}
|
|
|
|
|
|
|
|
System.out.println(((List)var2).size());// 26
|
|
|
|
}// 27
|
|
|
|
}
|
|
|
|
|
|
|
|
class 'pkg/TestClassCast' {
|
|
|
|
method 'test (Ljava/util/List;)V' {
|
|
|
|
1 7
|
|
|
|
3 8
|
|
|
|
f 9
|
|
|
|
10 9
|
|
|
|
12 9
|
|
|
|
18 12
|
|
|
|
1c 12
|
|
|
|
21 12
|
|
|
|
24 13
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Lines mapping:
|
|
|
|
22 <-> 8
|
|
|
|
23 <-> 9
|
|
|
|
24 <-> 10
|
|
|
|
26 <-> 13
|
|
|
|
27 <-> 14
|