Class SpecialMethodInfo

    • Field Detail

      • classNode

        protected final org.objectweb.asm.tree.ClassNode classNode
        Target class node
    • Constructor Detail

      • SpecialMethodInfo

        public SpecialMethodInfo​(MixinTargetContext mixin,
                                 org.objectweb.asm.tree.MethodNode method,
                                 org.objectweb.asm.tree.AnnotationNode annotation)
    • Method Detail

      • getClassNode

        @Deprecated
        public final org.objectweb.asm.tree.ClassNode getClassNode()
        Deprecated.
        use getTargetClassNode instead
        Get the class node for this injection
        Returns:
        the class containing the injector and the target
      • getTargetClassNode

        public final org.objectweb.asm.tree.ClassNode getTargetClassNode()
        Get the target class node for this injection
        Returns:
        the class containing the injector and the target
      • getTargetClassInfo

        public final ClassInfo getTargetClassInfo()
        Get the class metadata for the target class
      • getClassInfo

        public final ClassInfo getClassInfo()
        Get the class metadata for the mixin
      • getMethodName

        public java.lang.String getMethodName()
        Get the original name of the method, if available
        Overrides:
        getMethodName in class AnnotatedMethodInfo