public class Test {
    public int anObject;
    public void method() {
    }
}

public class Test1 extends Test {
    public void method() {
        System.out.println(<selection>1 + 2</selection>);
        System.out.println(anObject);
    }
}