}
MethodFactory methodFactory = new MethodFactory();
for (IMethod method : rt.visibleMethods()) {
AccessFlags flags = new AccessFlags(method.modifiers());
net.sf.rej.java.Method methodToAdd = methodFactory.createMethod(cf, flags, cp.optionalAddUtf8(method.name()), cp.optionalAddUtf8(method.signature()), cp.optionalAddUtf8("Code"), 0, 0, cp.optionalAddUtf8("Exceptions"), new ArrayList<ExceptionDescriptor>());
cf.add(methodToAdd);
}
SystemFacade.getInstance().setStatus("Class definition pulled from VM: " + sf.location().declaringType().name());
Event event = new Event(EventType.CLASS_OPEN);