Class MockMethodAdvice.ConstructorShortcut

java.lang.Object
org.mockito.internal.creation.bytebuddy.MockMethodAdvice.ConstructorShortcut
All Implemented Interfaces:
net.bytebuddy.asm.AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
Enclosing class:
MockMethodAdvice

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

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static Object[]
    toFrames(Object self, 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 Details

    • identifier

      private final String identifier
  • Constructor Details

    • ConstructorShortcut

      ConstructorShortcut(String identifier)
  • Method Details

    • 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 Object[] toFrames(Object self, List<net.bytebuddy.description.type.TypeDescription> types)