code: @SuppressWarnings("unchecked")
     public List<Failure> validate(Validate vo, ResourceBundle rb)
     {
        if (vo != null &&
            Key.RESOURCE_ADAPTER == vo.getKey() &&
            vo.getClazz() != null &&
            ResourceAdapter.class.isAssignableFrom(vo.getClazz()))
        {
           boolean error = true;
           Class<?> clz = vo.getClazz();
  
           while (error && !clz.equals(Object.class))
           {
              try
              {
                 SecurityActions.getDeclaredMethod(clz, "equals", new Class[] {Object.class});
                 error = false;
              }
              catch (Throwable t)
              {
                 clz = clz.getSuperclass();
              }
           }
  
           if (error)
           {
              List<Failure> failures = new ArrayList<Failure>(1);
  
              Failure failure = new Failure(Severity.ERROR,
                                            SECTION,
                                            rb.getString("ra.RAEquals"),
                                            vo.getClazz().getName());
              failures.add(failure);
  
              return failures;
           }
        }
  
        return null;
     }
docs: Validate
  @param vo The validate object
  @param rb The resource bundle
  @return The list of failures found; <code>null</code> if none