Unsatisfied dependency in SQ 7.6

I understood about API.

In my project, the warnings about deprecated classes are enabled, but in this case it didn’t work:

tasks.withType(JavaCompile) {
  options.compilerArgs << "-Xlint:deprecation"
}

In the message above I’ve cited the path to the class file, which is in the Gradle cache. The class there doesn’t contain tags @deprecated, though API is of the 7.6. version. I don’t understand, why it is so.