code: private void addSuperClass(Object object, Class<?> type)
      {
          for (final Class<?> types : type.getInterfaces())
          {
              addType(types, object);
          }
          final Class<?> parent = type.getSuperclass();
          if (parent != null)
          {
              addSuperClass(object, parent);
          }
      }
docs: Add object parent super type.
  
  @param object The current object to check.
  @param type The current class level to check.