Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleInitial version
borderStylesolid
class A {
  int x;
}
Code Block
titleNew version
borderStylesolid
class A' {
  int x;
  int doubleX;

  static void $staticTransformer() {
    System.out.println("Class A has a new version");
  }

  void $transformer() {
    doubleX = 2 * x;
  }
}

Future Work

  • Identify possible problems introduced by deleting a method or field (bytecode analysis on active methods).
  • Determine safety of type narrowing changes.
  • Automatic generation of mutator methods
  • Investigate ways to match method execution pointsNetBeans support for advanced features such as transformer methods and method forwarding.