I\'m in process of upgrading a Java 8 Gradle module-based project to Java 11.This is the class structure where error is seen :
import java.io.File; import java.io