CodeQL library for Java
codeql/java-all 0.3.3 (changelog, source)

Member predicate OpensDirective::isQualified

Holds if this opens directive is qualified, that is, it contains a to clause.

For qualified opens directives, opened types and members are accessible only to code in the specified modules. For unqualified opens directives, they are accessible to code in any module.

predicate isQualified()