-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Painless: Move Some Lookup Logic to PainlessLookup #32565
Merged
Merged
Changes from 35 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1419751
Parially added constructor.
jdconrad 6469598
Add method type to method.
jdconrad 54b8992
Merge branch 'master' into clean18
jdconrad 8581deb
Merge branch 'clean16' into clean19
jdconrad 641c383
Add PainlessConstructor.
jdconrad 5b449d8
Clean up method.
jdconrad 3c5db32
Merge branch 'master' into clean19
jdconrad c19b95d
Merge branch 'clean19' into clean20
jdconrad 266a92d
Fixes.
jdconrad 2875c48
Clean up fields.
jdconrad 3f17455
Merge branch 'master' into clean19
jdconrad b9299d6
Merge branch 'clean19' into clean20
jdconrad aa833d9
Merge branch 'clean20' into clean21
jdconrad 0c9c174
Reponse to PR comments.
jdconrad 683361a
Merge branch 'clean19' into clean20
jdconrad 6757987
Merge branch 'clean20' into clean21
jdconrad ccabb90
Merge branch 'master' into clean19
jdconrad 55004f1
Merge branch 'clean19' into clean20
jdconrad 9ca9381
Merge branch 'master' into clean20
jdconrad f379f2d
Merge branch 'clean20' into clean21
jdconrad 98995f2
Start to clean up PainlessLookup.
jdconrad 8bd9a28
Complete method lookup.
jdconrad 6eaca81
Add lookup constructor.
jdconrad aab122a
Add field lookup.
jdconrad 509e607
Merge branch 'master' into clean20
jdconrad aff5c3e
Reponse to PR comments.
jdconrad dbc3e27
Merge branch 'clean20' into clean21
jdconrad 43d5e49
Merge branch 'clean21' into clean22
jdconrad dfa6de1
Merge branch 'master' into clean20
jdconrad 36f41af
Merge branch 'clean20' into clean21
jdconrad 2265836
Merge branch 'clean21' into clean22
jdconrad bd2d854
Merge branch 'master' into clean21
jdconrad 7187e4f
Merge branch 'master' into clean21
jdconrad 69da907
Merge branch 'clean21' into clean22
jdconrad b3ed1b7
Merge branch 'master' into clean22
jdconrad 4255c3c
Merge branch 'master' into clean22
jdconrad 9d5f02f
Remove unnecessary sorted classes list.
jdconrad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not have the canonicalClassNamesToClasses above be a TreeMap? Then their iteration order is sorted by the keys. But since this seems to only be used by the doc generator, I would keep the sorting to only occur in the doc generator, rather than making PainlessLookup always incur that cost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Fixed.