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.
51 lines
944 B
51 lines
944 B
8 years ago
|
package pkg;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Comparator;
|
||
|
|
||
|
public class TestAnonymousSignature {
|
||
|
public static void main(String[] var0) {
|
||
|
System.out.println(new ArrayList<String>() {// 25
|
||
|
public int size() {
|
||
|
return super.size();// 28
|
||
|
}
|
||
|
});
|
||
|
System.out.println(new Comparator<String>() {// 33
|
||
|
public int compare(String var1, String var2) {
|
||
|
return 0;// 36
|
||
|
}
|
||
|
});
|
||
|
}// 39
|
||
|
}
|
||
|
|
||
|
class 'pkg/TestAnonymousSignature$1' {
|
||
|
method 'size ()I' {
|
||
|
1 9
|
||
|
4 9
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class 'pkg/TestAnonymousSignature$2' {
|
||
|
method 'compare (Ljava/lang/String;Ljava/lang/String;)I' {
|
||
|
0 14
|
||
|
1 14
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class 'pkg/TestAnonymousSignature' {
|
||
|
method 'main ([Ljava/lang/String;)V' {
|
||
|
0 7
|
||
|
a 7
|
||
|
d 12
|
||
|
17 12
|
||
|
1a 17
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Lines mapping:
|
||
|
25 <-> 8
|
||
|
28 <-> 10
|
||
|
33 <-> 13
|
||
|
36 <-> 15
|
||
|
39 <-> 18
|