Return extends Operation { public final Variable getSource() { return this.source; } Return(final Variable source); final Variable getSource(); @Override final String toString();  }
@Test public void testGetSource() throws Exception { Variable<Integer> intVar = new Variable<Integer>(Type.INT, "i", null); Return ret = new Return(intVar); assertEquals(intVar, ret.getSource()); }