Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: TypeName#className does not properly work for arrays #9712

Open
Verdent opened this issue Jan 29, 2025 · 0 comments
Open

4.x: TypeName#className does not properly work for arrays #9712

Verdent opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
4.x Version 4.x bug Something isn't working codegen

Comments

@Verdent
Copy link
Member

Verdent commented Jan 29, 2025

/**
* Functions the same as {@link Class#getSimpleName()}.
*
* @return the simple class name
*/
@Option.Required
String className();

This method does not return the proper class name for arrays.

int[].class.getSimpleName() returns int[]

However this method returns only int.

@Verdent Verdent added 4.x Version 4.x bug Something isn't working codegen labels Jan 29, 2025
@Verdent Verdent self-assigned this Jan 29, 2025
@Verdent Verdent added this to Backlog Jan 29, 2025
@github-project-automation github-project-automation bot moved this to Triage in Backlog Jan 29, 2025
@Verdent Verdent moved this from Triage to Sprint Scope in Backlog Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working codegen
Projects
Status: Sprint Scope
Development

No branches or pull requests

1 participant