Skip to content

Commit

Permalink
Change: Allow @Coerce on @WrapMethod params.
Browse files Browse the repository at this point in the history
  • Loading branch information
LlamaLad7 committed Jan 17, 2025
1 parent c8730e2 commit 3f47845
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ import org.objectweb.asm.tree.ClassNode
import org.objectweb.asm.tree.MethodNode

class WrapMethodHandler : InjectorAnnotationHandler() {
override val allowCoerce get() = true

override fun expectedMethodSignature(
annotation: PsiAnnotation,
targetClass: ClassNode,
Expand Down

0 comments on commit 3f47845

Please sign in to comment.