CommandRouteMetadataParser
Parses the provided type into a Metadata object specifically for command routes.
This object extends CacheableMetadataParser and thus benefits from caching mechanisms, which can improve performance when parsing the same type multiple times.
Return
A Metadata object representing the command route information of the provided type.
Example usage:
val myCommandType = MyCommand::class.java
val metadata: Metadata = CommandRouteMetadataParser.parse(myCommandType)
println(metadata) // Outputs the metadata, assuming it has a toString implementation
Content copied to clipboard
Parameters
type
The class type to be parsed into metadata.