load

open fun load(annotation: Class<out Any>, classLoader: ClassLoader): ImportCandidates

Loads the names of import candidates from the classpath. The names of the import candidates are stored in files named META-INF/spring/full-qualified-annotation-name.imports on the classpath. Every line contains the full qualified name of the candidate class. Comments are supported using the # character.

Return

list of names of annotated classes

Parameters

annotation

annotation to load

classLoader

class loader to use for loading