CodeQL library for Java/Kotlin
codeql/java-all 4.1.1-dev (changelog, source)
Search

Class RequiresDirective

A requires directive in a module declaration.

Import path

import java

Direct supertypes

Indirect supertypes

Predicates

getTargetModule

Gets the module on which this module depends.

isStatic

Holds if this requires directive is static, that is, the dependence specified by this requires directive is only mandatory at compile time but optional at run time.

isTransitive

Holds if this requires directive is transitive, that is, any module that depends on this module has an implicitly declared dependency on the module specified in this requires directive.

toString

Gets a textual representation of this directive.

Charpred