Skip to content

Align StandardMethodMetadata with ASM/ClassFile support for getReturnTypeName() #36619

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions