public Node writeDescriptor(Node parent, String nodeName, ConcurrentMethodDescriptor desc) {
Node concurrentNode = super.writeDescriptor(parent, nodeName, descriptor);
MethodNode methodNode = new MethodNode();
methodNode.writeJavaMethodDescriptor(concurrentNode, EjbTagNames.METHOD,
desc.getConcurrentMethod());
if( desc.hasLockMetadata() ) {
String lockType = desc.isWriteLocked() ? "Write" : "Read";
appendTextChild(concurrentNode, EjbTagNames.CONCURRENT_LOCK, lockType);