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

Add chain builder and adjust visitor factory #7

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

jpenilla
Copy link
Member

No description provided.

@jpenilla jpenilla merged commit 6253722 into more-bytecode-modification Feb 13, 2024
2 checks passed
@jpenilla jpenilla deleted the visitor-factory-changes branch February 13, 2024 17:35
jpenilla added a commit that referenced this pull request Feb 13, 2024
* Move logic from Paper

* add ConfiguredMethodRewriteRule

* renamed Configured to Guarded and mirror for fields

* rename Guarded to Filtered

* standardize rule factory methods with Class<?> and ClassDesc methods

* add visitor factory to fill contexts

* make RewriteRulesVisitorFactory abstract

* remove ShouldProcess

* Add chain builder and adjust visitor factory (#7)

* Add chain builder and adjust visitor factory

* abstract factory again

* make rule protected

* handle invokestatic for static rewrite

* Document ClassProcessingContext quirks

* Fix annotation

* Don't use sentinel for name

* Add Builder Consumer factory method

---------

Co-authored-by: Jason Penilla <[email protected]>
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