if(!matchesExistingReadOrWriteLockMethod(annMethod, singletonDesc)) {
MethodDescriptor newMethodDesc = new MethodDescriptor(annMethod);
if( lockAnn.value() == LockType.WRITE) {
singletonDesc.addWriteLockMethod(newMethodDesc);
} else {
singletonDesc.addReadLockMethod(newMethodDesc);
}
}
}
}
}