java-decompiler: line numbers matching test
This commit is contained in:
22
testData/src/pkg/TestLineNumbersMatch.java
Normal file
22
testData/src/pkg/TestLineNumbersMatch.java
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Weird comment here.
|
||||
*/
|
||||
package pkg;
|
||||
|
||||
class TestLineNumbersMatch {
|
||||
void m1(boolean b) {
|
||||
if (b)
|
||||
System.out.println("a");
|
||||
else
|
||||
System.out.println("b");
|
||||
}
|
||||
|
||||
void m2() {
|
||||
new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println("run with me");
|
||||
}
|
||||
}.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user