ArrayList methodDescs = checkpointMethodDescriptor.getConvertedMethodDescs();
if (!methodDescs.isEmpty()) {
MethodNode methodNode = new MethodNode();
for (Iterator<MethodDescriptor> it = methodDescs.iterator(); it.hasNext();) {
// do not write out ejb-name element for the method
methodNode.writeDescriptor(checkpointMethodNode,
RuntimeTagNames.METHOD, it.next(), null);
}
}
return checkpointMethodNode;
}