Class MockGetawayCall.ConstructorMockGetawayCall

java.lang.Object
org.powermock.core.bytebuddy.MockGetawayCall.ConstructorMockGetawayCall
All Implemented Interfaces:
net.bytebuddy.implementation.bytecode.StackManipulation
Enclosing class:
MockGetawayCall

private static class MockGetawayCall.ConstructorMockGetawayCall extends Object implements net.bytebuddy.implementation.bytecode.StackManipulation
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation

    net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase, net.bytebuddy.implementation.bytecode.StackManipulation.Compound, net.bytebuddy.implementation.bytecode.StackManipulation.Illegal, net.bytebuddy.implementation.bytecode.StackManipulation.Simple, net.bytebuddy.implementation.bytecode.StackManipulation.Size, net.bytebuddy.implementation.bytecode.StackManipulation.Trivial
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final List<Variable>
     
    private final Method
     
    private final net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape>
     
    private final net.bytebuddy.description.type.TypeDescription
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    ConstructorMockGetawayCall(Method getawayMethod, net.bytebuddy.description.type.TypeDescription targetType, List<Variable> arguments, net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape> targetParameters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.bytebuddy.implementation.bytecode.StackManipulation.Size
    apply(org.objectweb.asm.MethodVisitor mv, net.bytebuddy.implementation.Implementation.Context implementationContext)
     
    boolean
     
    private List<net.bytebuddy.implementation.bytecode.StackManipulation>
     
    private List<net.bytebuddy.implementation.bytecode.StackManipulation>
     

    Methods inherited from class java.lang.Object

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

    • getawayMethod

      private final Method getawayMethod
    • targetType

      private final net.bytebuddy.description.type.TypeDescription targetType
    • arguments

      private final List<Variable> arguments
    • targetParameters

      private final net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape> targetParameters
  • Constructor Details

    • ConstructorMockGetawayCall

      private ConstructorMockGetawayCall(Method getawayMethod, net.bytebuddy.description.type.TypeDescription targetType, List<Variable> arguments, net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape> targetParameters)
  • Method Details

    • loadSignatureParametersClasess

      private List<net.bytebuddy.implementation.bytecode.StackManipulation> loadSignatureParametersClasess()
    • loadArgumentsFromVariable

      private List<net.bytebuddy.implementation.bytecode.StackManipulation> loadArgumentsFromVariable()
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface net.bytebuddy.implementation.bytecode.StackManipulation
    • apply

      public net.bytebuddy.implementation.bytecode.StackManipulation.Size apply(org.objectweb.asm.MethodVisitor mv, net.bytebuddy.implementation.Implementation.Context implementationContext)
      Specified by:
      apply in interface net.bytebuddy.implementation.bytecode.StackManipulation