Skip to content

Add new InternalUtils methods for better Name handling#1796

Merged
wmdietl merged 5 commits into
masterfrom
utf2chars
Jun 13, 2026
Merged

Add new InternalUtils methods for better Name handling#1796
wmdietl merged 5 commits into
masterfrom
utf2chars

Conversation

@wmdietl

@wmdietl wmdietl commented Jun 12, 2026

Copy link
Copy Markdown
Member

No description provided.

*/
public static boolean isString(TypeElement element) {
return element.getQualifiedName().contentEquals("java.lang.String");
return InternalUtils.sameName(element.getQualifiedName(), "java.lang.String");

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should have a isStringName, but let's not block this.

@wmdietl wmdietl merged commit 4d6f5f4 into master Jun 13, 2026
50 checks passed
@wmdietl wmdietl deleted the utf2chars branch June 13, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant