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

#17: added support for varargs with methods for array type members #18

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Conversation

MattTYXM
Copy link
Collaborator

@MattTYXM MattTYXM commented Aug 8, 2018

No description provided.

@@ -116,6 +117,14 @@ private void generateWithSetters(final PsiClass builderClass, final List<PsiFiel
}
}

private PsiType getSanitizedType(final PsiType psiType) {
if (psiType instanceof PsiArrayType) {
return new PsiEllipsisType(psiType.getDeepComponentType());
Copy link
Owner

Choose a reason for hiding this comment

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

WTH is a deep component type? The JetBrains API sucks.

Copy link
Owner

Choose a reason for hiding this comment

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

@DavidBurkett DavidBurkett merged commit f68fe61 into DavidBurkett:master Aug 8, 2018
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.

None yet

2 participants