public synchronized boolean clearHighlighting(final int level) {
    if (m_highlighting.isEmpty()) {
      return false;
    }

    for (final CHighlighting highlighting : new ArrayList<CHighlighting>(m_highlighting)) {
      if (highlighting.getLevel() == level) {
        m_highlighting.remove(highlighting);
        return true;
      }
    }

    return false;
  }
Removes all highlighting information of the given level.

@param level The highlighting level to clear.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/realizers/ZyLineContent.java