示例#1
0
 /**
  * Accessor for all ClassMetaData referenced by this array.
  *
  * @param orderedCMDs List of ordered ClassMetaData objects (added to).
  * @param referencedCMDs Set of all ClassMetaData objects (added to).
  * @param clr the ClassLoaderResolver
  * @param mmgr MetaData manager
  */
 void getReferencedClassMetaData(
     final List orderedCMDs,
     final Set referencedCMDs,
     final ClassLoaderResolver clr,
     final MetaDataManager mmgr) {
   AbstractClassMetaData element_cmd = mmgr.getMetaDataForClass(element.type, clr);
   if (element_cmd != null) {
     element_cmd.getReferencedClassMetaData(orderedCMDs, referencedCMDs, clr, mmgr);
   }
 }
示例#2
0
  /**
   * Accessor for all ClassMetaData referenced by this array.
   *
   * @param orderedCMDs List of ordered ClassMetaData objects (added to).
   * @param referencedCMDs Set of all ClassMetaData objects (added to).
   * @param clr the ClassLoaderResolver
   * @param mmgr MetaData manager
   */
  void getReferencedClassMetaData(
      final List orderedCMDs,
      final Set referencedCMDs,
      final ClassLoaderResolver clr,
      final MetaDataManager mmgr) {
    AbstractClassMetaData key_cmd = mmgr.getMetaDataForClass(key.type, clr);
    if (key_cmd != null) {
      key_cmd.getReferencedClassMetaData(orderedCMDs, referencedCMDs, clr, mmgr);
    }

    AbstractClassMetaData value_cmd = mmgr.getMetaDataForClass(value.type, clr);
    if (value_cmd != null) {
      value_cmd.getReferencedClassMetaData(orderedCMDs, referencedCMDs, clr, mmgr);
    }
  }