Class MockMethodAdvice.ConstructorShortcut

  • All Implemented Interfaces:
    net.bytebuddy.asm.AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
    Enclosing class:
    MockMethodAdvice

    static class MockMethodAdvice.ConstructorShortcut
    extends java.lang.Object
    implements net.bytebuddy.asm.AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String identifier  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstructorShortcut​(java.lang.String identifier)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.Object[] toFrames​(java.lang.Object self, java.util.List<net.bytebuddy.description.type.TypeDescription> types)  
      org.objectweb.asm.MethodVisitor wrap​(net.bytebuddy.description.type.TypeDescription instrumentedType, net.bytebuddy.description.method.MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, net.bytebuddy.implementation.Implementation.Context implementationContext, net.bytebuddy.pool.TypePool typePool, int writerFlags, int readerFlags)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • identifier

        private final java.lang.String identifier
    • Constructor Detail

      • ConstructorShortcut

        ConstructorShortcut​(java.lang.String identifier)
    • Method Detail

      • wrap

        public org.objectweb.asm.MethodVisitor wrap​(net.bytebuddy.description.type.TypeDescription instrumentedType,
                                                    net.bytebuddy.description.method.MethodDescription instrumentedMethod,
                                                    org.objectweb.asm.MethodVisitor methodVisitor,
                                                    net.bytebuddy.implementation.Implementation.Context implementationContext,
                                                    net.bytebuddy.pool.TypePool typePool,
                                                    int writerFlags,
                                                    int readerFlags)
        Specified by:
        wrap in interface net.bytebuddy.asm.AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
      • toFrames

        private static java.lang.Object[] toFrames​(java.lang.Object self,
                                                   java.util.List<net.bytebuddy.description.type.TypeDescription> types)