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

Improve no-op delegations and drop NoOpTransformer #1274

Closed
wants to merge 5 commits into from

Conversation

Goooler
Copy link
Member

@Goooler Goooler commented Feb 21, 2025

Refs #1233.

@Goooler Goooler enabled auto-merge (squash) February 21, 2025 10:35

internal inline fun <reified T : Any> noOpDelegate(): T {
val javaClass = T::class.java
return Proxy.newProxyInstance(javaClass.classLoader, arrayOf(javaClass), noOpHandler) as T
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Goooler Goooler closed this Feb 23, 2025
auto-merge was automatically disabled February 23, 2025 06:19

Pull request was closed

@Goooler Goooler deleted the g/20250221/replace-custom-trans-in-test branch February 23, 2025 06:20
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