This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Create blocks for injection and after injection#1585
Merged
yDelouis merged 2 commits intoandroidannotations:developfrom Nov 11, 2015
Merged
Create blocks for injection and after injection#1585yDelouis merged 2 commits intoandroidannotations:developfrom
yDelouis merged 2 commits intoandroidannotations:developfrom
Conversation
Member
Author
|
The problem can be seen in |
Member
|
i have a similar problem. jcodemodel sets the braces to required as soon as one calls |
Member
Author
|
Thanks! I just realized this myself. See phax/jcodemodel#32. |
Member
|
haha :) good to know. btw we can do some kind of workaround by calling |
That way we can make sure that after injection code will always happen after injection, regardless of the annotation handler calling order.
18f9ae2 to
cb7aaef
Compare
yDelouis
added a commit
that referenced
this pull request
Nov 11, 2015
[WIP] Create blocks for injection and after injection
Contributor
|
Great. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #1466.
This is incomplete. For some reasons, it generates the following:
Note the extra block with braces and indent. I could not figure out why is this happening. Any help is much appreciated.