1   /*
2    * Copyright (c) 2006-07, The Trustees of Stanford University.  All
3    * rights reserved.
4    * Licensed under the terms of the GNU GPL; see COPYING for details.
5    */
6   package test;
7   
8   /**
9    * @author Mayur Naik (mhn@cs.stanford.edu)
10   */
11  public class B {
12      private A bf;
13      public B() {
14          A a = new A();
15          this.bf = a;
16      }
17      public int get() {
18          A a = this.bf;
19          return a.get();
20      }
21      public void set(int i) {
22          A a = this.bf;
23          a.set(i);
24      }
25  }
26