code: public boolean supported(Object element) {
        for (Class c : getSupportedClasses()) {
           if (c.isAssignableFrom(element.getClass())) {
              if (log.isLoggable(Level.FINE)) {
                 log.fine(element.getClass().getName() + " will be styled, it is assignable from " + c.getName());
              }
              return true;
           }
        }
        return false;
     }
docs: return true when element is assignable from one of the classes in {@link #getSupportedClasses() }.
  
  @param element
  @return