public class BmTest { public static void main(String[] args) { new BmTest().run(); } public void run() { int i = 1; i = 2; // line 8 } } RULE example CLASS BmTest METHOD run() AT LINE 8 IF TRUE DO System.out.println($i) ENDRULE public class BmTest { public static void main(String[] args) { new BmTest().run(); } public static void run() { int i = 1; i = 2; // line 8 } } public class BmTest { public static void main(String[] args) { new BmTest().foo(); } public static void run() { int i = 1; i = 2; // line 8 } public void foo() { run(); } } public class BmTest { public static void main(String[] args) { new BmTest().foo().run() } public static void run() { int i = 1; i = 2; // line 8 } public BmTest foo() { return this; } }