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

refactor(ReferenceBuilder): Extract parameterized type reference creation into helpers #3966

Merged

Conversation

slarse
Copy link
Collaborator

@slarse slarse commented May 28, 2021

#3965

First PR in refactoring ReferenceBuilder.getTypeReference().

This PR extracts the creation of parameterized type references into a set of three smaller helper methods. This will make it easier for me to later handle #3964

@slarse slarse changed the title refactor: Extract creation of parameterized type reference into helper methods wip: refactor: Extract creation of parameterized type reference into helper methods May 28, 2021
@slarse slarse changed the title wip: refactor: Extract creation of parameterized type reference into helper methods review: refactor: Extract creation of parameterized type reference into helper methods May 28, 2021
@slarse slarse changed the title review: refactor: Extract creation of parameterized type reference into helper methods review: refactor: Extract parameterized type reference creation into helpers May 28, 2021
@slarse slarse changed the title review: refactor: Extract parameterized type reference creation into helpers review: refactor(ReferenceBuilder): Extract parameterized type reference creation into helpers May 28, 2021
@monperrus monperrus changed the title review: refactor(ReferenceBuilder): Extract parameterized type reference creation into helpers refactor(ReferenceBuilder): Extract parameterized type reference creation into helpers May 31, 2021
@monperrus monperrus merged commit b2235e8 into INRIA:master May 31, 2021
@monperrus
Copy link
Collaborator

have you read "Clean code"? if not, you'll like it @slarse :)

@slarse
Copy link
Collaborator Author

slarse commented May 31, 2021

@monperrus I read most of it during my first year in CS (so, that's almost 6 years ago now). It's safe to say it influenced my programming style quite a bit. I've planned to revisit it for quite some time but... time flies.

@slarse slarse deleted the issue/3965-extract-getParameterizedTypeReference branch May 31, 2021 09:11
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
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.

2 participants
  NODES
COMMUNITY 2
Project 3
USERS 1