We currently have three implementations of MethodMetadata:
StandardMethodMetadata (Java reflection)
SimpleMethodMetadata (ASM)
ClassFileMethodMetadata (ClassFile API) (since 7.0)
The ASM and ClassFile variants return a string equivalent to Class#getTypeName(); whereas, StandardMethodMetadata currently returns a binary name using Class#getName() (for example, [I instead of int[]).
We should therefore change StandardMethodMetadata to align with the ASM and ClassFile variants in order to provide consistent results for all MethodMetadata implementations.
We currently have three implementations of
MethodMetadata:StandardMethodMetadata(Java reflection)SimpleMethodMetadata(ASM)ClassFileMethodMetadata(ClassFile API) (since 7.0)The ASM and ClassFile variants return a string equivalent to
Class#getTypeName(); whereas,StandardMethodMetadatacurrently returns a binary name usingClass#getName()(for example,[Iinstead ofint[]).We should therefore change
StandardMethodMetadatato align with the ASM and ClassFile variants in order to provide consistent results for allMethodMetadataimplementations.