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

Module Import

Provides classes and predicates for working with Java imports.

Import path

import semmle.code.java.Import

Imports

CompilationUnit

Provides classes and predicates for working with Java compilation units.

Location

Provides classes and predicates for working with locations.

Classes

Import

A common super-class for all kinds of Java import declarations.

ImportOnDemandFromPackage

A type-import-on-demand declaration that allows all accessible types of a named package to be imported as needed.

ImportOnDemandFromType

A type-import-on-demand declaration that allows all accessible nested types of a named type to be imported as needed.

ImportStaticOnDemand

A static-import-on-demand declaration, which allows all accessible static members of a named type to be imported as needed.

ImportStaticTypeMember

A single-static-import declaration, which imports all accessible static members with a given simple name from a type.

ImportType

A single-type-import declaration.