package pkg; public abstract class TestDeprecations { /** @deprecated */ public int byComment; /** @deprecated */ @Deprecated public int byAnno; /** @deprecated */ public void byComment() { boolean var1 = true;// 27 } /** @deprecated */ public abstract void byCommentAbstract(); /** @deprecated */ @Deprecated public void byAnno() { boolean var1 = true;// 35 } /** @deprecated */ @Deprecated public abstract void byAnnoAbstract(); /** @deprecated */ @Deprecated public static class ByAnno { int a = 5; void foo() { boolean var1 = true;// 55 } } /** @deprecated */ public static class ByComment { int a = 5; void foo() { boolean var1 = true;// 46 } } } class 'pkg/TestDeprecations' { method 'byComment ()V' { 0 11 1 11 } method 'byAnno ()V' { 0 20 1 20 } } class 'pkg/TestDeprecations$ByAnno' { method 'foo ()V' { 0 33 1 33 } } class 'pkg/TestDeprecations$ByComment' { method 'foo ()V' { 0 42 1 42 } } Lines mapping: 27 <-> 12 35 <-> 21 46 <-> 43 55 <-> 34