1 package org.netbeans.test.cleanup;2 3 /**4 * @author leon5 */6 public class RemoveChainedElements {7 8 private String a;9 10 private void methodA() {11 this.a = "lili";12 System.out.println(a);13 }14 15 private void methodB() {16 methodA();17 this.a = "kuku";18 }19 20 public RemoveChainedElements() {21 }22 23 }24