code: protected ObjectCacheDescriptor searchInClassDescriptor(Class targetClass)
      {
          return targetClass != null ? broker.getClassDescriptor(targetClass).getObjectCacheDescriptor() : null;
      }
docs: Try to lookup {@link ObjectCacheDescriptor} in
  {@link org.apache.ojb.broker.metadata.ClassDescriptor}.
  
  @param targetClass
  @return Returns the found {@link ObjectCacheDescriptor} or <code>null</code>
  if none was found.