AnnotationPropertyAccessorParser
Utility object for parsing Wow framework annotations and creating property accessors.
This object provides methods to scan properties and classes for specific Wow annotations and convert them into property getters that can be used for accessing aggregate metadata like IDs, names, versions, and tenant information.
The parser supports both property-level annotations (e.g., @AggregateId on a field) and class-level static annotations (e.g., @StaticAggregateId on a class).
See also
Functions
Creates a property getter for the static aggregate ID using reified generics.
Creates a property getter for the aggregate ID if the property is annotated with @AggregateId.
Creates a property getter for the aggregate name if the property is annotated with @AggregateName.
Creates a property getter for the aggregate version if the property is annotated with @AggregateVersion.
Converts a Kotlin property to an integer property getter.
Creates a property getter for the owner ID if the property is annotated with @OwnerId.
Creates a property getter for the static aggregate ID if the class is annotated with @StaticAggregateId.
Creates a property getter for the static tenant ID if the class is annotated with @StaticTenantId.
Converts a Kotlin property to a string property getter.
Creates a property getter for the tenant ID if the property is annotated with @TenantId.