// // we have to do this seemingly useless
// // thing, since the scene caches a pointer
// // to the method based on it's parameter types.
// theClass.removeMethod(newMethod);
// theClass.addMethod(newMethod);
Body newBody = newMethod.retrieveActiveBody();
// Analyze what object each local points to.
NamedObjAnalysis analysis = new NamedObjAnalysis(newMethod,
ModelTransformer.getObjectForClass(theClass));