src/main/java/org/jboss/util/collection/WeakTypeCache.java
protected T getClass(Class<?> clazz)
   {
      // First check if we already have it
      T result = peek(clazz);
      if (result != null)
         return result;

      // Instantiate
      result = instantiate(clazz);

      // Put the preliminary result into the cache
      put(clazz, result);

      // Generate the details
      generate(clazz, result);
      
      return result;
   }
protected T getClass(Class<?> clazz)
   {
      // First check if we already have it
      T result = peek(clazz);
      if (result != null)
         return result;

      // Instantiate
      result = instantiate(clazz);

      // Put the preliminary result into the cache
      put(clazz, result);

      // Generate the details
      generate(clazz, result);
      
      return result;
   }
protected T getClass ( Class < ? > clazz ) { // First check if we already have it T result = peek ( clazz ) ; if ( result != null ) return result ; // Instantiate result = instantiate ( clazz ) ; // Put the preliminary result into the cache put ( clazz , result ) ; // Generate the details generate ( clazz , result ) ; return result ; }
Get the information for a class

@param clazz the class
@return the info
Get the information for a class