parseToMetadata
Parses the PrepareKey metadata from the given class. Uses reflection to analyze the class hierarchy and annotations to extract the metadata required for proxy creation.
Return
the parsed metadata
Parameters
TYPE
the class type to parse
M
the metadata type (should be PrepareKeyMetadata)
type
the Java class to parse