GlideSymbolProcessor

class GlideSymbolProcessor(environment: SymbolProcessorEnvironment) : SymbolProcessor

Glide's KSP annotation processor.

This class recognizes and parses com.bumptech.glide.module.AppGlideModules and com.bumptech.glide.module.LibraryGlideModules that are annotated with com.bumptech.glide.annotation.GlideModule.

LibraryGlideModules are merged into indexes, or classes generated in Glide's package. When a AppGlideModule is found, we then generate Glide's configuration so that it calls the AppGlideModule and anay included LibraryGlideModules. Using indexes allows us to process LibraryGlideModules in multiple rounds and/or libraries.

TODO(b/239086146): Finish implementing the behavior described here.

Constructors

Link copied to clipboard
fun GlideSymbolProcessor(environment: SymbolProcessorEnvironment)

Functions

Link copied to clipboard
open fun finish()
Link copied to clipboard
open fun onError()
Link copied to clipboard
open override fun process(resolver: Resolver): List<KSAnnotated>

Properties

Link copied to clipboard
var isAppGlideModuleGenerated: Boolean = false