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

Module SpringComponentScan

Import path

import semmle.code.java.frameworks.spring.SpringComponentScan

Imports

SpringAutowire

Provides classes and predicates for identifying methods and constructors called by Spring injection.

SpringProfile
SpringXMLElement
WebXML
java

Provides all default Java QL imports.

Classes

SpringBasePackage

A string describing a Java package that should be considered a base package for the Spring component scanning process.

SpringComponent

A Spring component class, identified by the presence of a particular annotation.

SpringComponentAnnotation

An annotation type that identifies Spring components.

SpringComponentScan

An annotation of a class that configures which packages are considered to be “base” packages when performing the Spring component scan.

SpringXmlComponentScan

An element in a Spring configuration file that configures which packages are considered to be “base” packages when performing the Spring component scan.