Package-level declarations

Types

Link copied to clipboard

Default implementation of PrepareKeyProxyFactory that creates JDK dynamic proxies. This factory uses Java's Proxy class to create runtime proxy instances that delegate to actual PrepareKey implementations through an invocation handler.

Link copied to clipboard

Invocation handler for PrepareKey proxy instances. This handler delegates method calls to the underlying PrepareKey implementation, with special handling for default methods in interfaces.

Link copied to clipboard
data class PrepareKeyMetadata<P : Any>(val name: String, val proxyInterface: KClass<P>, val valueType: KClass<*>) : Named, Metadata

Metadata container for PrepareKey proxy configuration. Holds the necessary information to create and configure proxy instances of PrepareKey interfaces, including the key name, interface type, and value type.

Link copied to clipboard

Parser for extracting PrepareKey metadata from annotated interface classes. This parser analyzes PrepareKey interfaces annotated with @PreparableKey to extract the necessary metadata for proxy creation, including name, interface type, and value type.

Link copied to clipboard

Visitor class for extracting PrepareKey metadata during class reflection. This visitor analyzes the PrepareKey interface to determine the name (from annotation or class name), the interface type, and the generic value type parameter.

Link copied to clipboard

Factory interface for creating proxy instances of PrepareKey implementations. This factory enables dynamic proxy creation for PrepareKey interfaces, allowing for interception and decoration of prepare operations.

Functions

Link copied to clipboard

Inline function to parse PrepareKey metadata using reified generics. Allows for type-safe metadata parsing without explicitly specifying the class.

Link copied to clipboard

Extension function to parse PrepareKey metadata from a KClass. Provides convenient access to metadata parsing for any PrepareKey interface class.