decompiler: fixed incorrect method references from single letter classes

This commit is contained in:
Egor.Ushakov
2016-03-02 20:44:56 +03:00
parent 1b23240c84
commit 876740dd0e
6 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
import java.util.function.Consumer;
public class TestMethodReferenceLetterClass {
void boo() {
Consumer var1 = R::foo;// 21
}// 22
}
class 'TestMethodReferenceLetterClass' {
method 'boo ()V' {
5 4
6 5
}
}
Lines mapping:
21 <-> 5
22 <-> 6