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

Restructure the bean method code generator #65

Merged

Conversation

shochdoerfer
Copy link
Member

The code is split into 2 main parts: Generating the logic for lazy beans and generating the logic for non-lazy beans. Both do share a bit of code but have edge-cases that needed to be handled differently.

The code is split into 2 main parts: Generating the logic for lazy beans and
generating the logic for non-lazy beans. Both do share a bit of code but
have edge-cases that needed to be handled differently.
@shochdoerfer
Copy link
Member Author

During the restructuring a fix got applied to make lazy beans truly lazy - the instantiation of the concrete bean instance will happen on the first method call.

@shochdoerfer shochdoerfer added this to the 0.6.0 milestone Nov 5, 2016
@shochdoerfer shochdoerfer self-assigned this Nov 5, 2016
@shochdoerfer shochdoerfer merged commit 7e4d957 into bitExpert:master Nov 5, 2016
@shochdoerfer shochdoerfer deleted the feature/code_gen_optimizations branch November 5, 2016 19:54
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