code: private void processSetColorOps(String methodName) throws ClassNotFoundException {
          if ("setBackground".equals(methodName) || "setForeground".equals(methodName)) {
              int argCount = SignatureUtils.getNumParameters(getSigConstantOperand());
              if (stack.getStackDepth() > argCount) {
                  OpcodeStack.Item item = stack.getStackItem(0);
                  if (S508UserValue.FROM_UIMANAGER != item.getUserValue()) {
                      item = stack.getStackItem(argCount);
                      JavaClass cls = item.getJavaClass();
                      if (((jcomponentClass != null) && cls.instanceOf(jcomponentClass)) || ((componentClass != null) && cls.instanceOf(componentClass))) {
                          bugReporter.reportBug(
                                  new BugInstance(this, BugType.S508C_SET_COMP_COLOR.name(), NORMAL_PRIORITY).addClass(this).addMethod(this).addSourceLine(this));
                      }
                  }
              }
          }
      }
docs: looks for calls to set the color of components where the color isn't from UIManager
  
  @param methodName
  the method that is called
  
  @throws ClassNotFoundException
  if the gui component class can't be found