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