Skip to content

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

Closed

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.

Activity

  1. added this to the 7.0.x milestone on Apr 8, 2026
  2. self-assigned this
    on Apr 8, 2026
  3. added
    in: coreIssues in core modules (aop, beans, core, context, expression)
    on Apr 8, 2026
  4. modified the milestones: 7.0.x, 7.1.0-M1 on Apr 8, 2026
  5. added a commit that references this issue on Apr 8, 2026
    62c6d67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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