// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class Test {
    public static void sub1() {
        System.out.println("In " + Locator.current() + " called from " + Locator.previous());
    }
    public static void sub2() {
        sub3();
    }
    public static void sub3() {
        System.out.println("In " + Locator.current() + " called from " + Locator.previous());
    }
    public static void main(String[] args) {
        sub1();
        sub2();
    }
}
