Weirdness with build.gradle, Inject, and IntelliJ

We’re seeing an odd issue in our build.gradle file after one of the developers (who doesn’t use IJ) added the following:

import javax.inject.Inject
...
  @Inject
  BaseBuild(Object webDir, Object destinationPath, Object archiveName, List<Object> dependsOn) {
...

It works fine, but IJ thinks there’s an issue. Note the screenshot.

Gradle 5.6
IntelliJ 2019.3

Anyone have any idea what’s going on with this?

Screen Shot 2020-02-05 at 9.02.49 AM