Package org.powermock.core.bytebuddy
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 java.lang.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 java.util.List<Variable>
arguments
private java.lang.reflect.Method
getawayMethod
private net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape>
targetParameters
private net.bytebuddy.description.type.TypeDescription
targetType
-
Constructor Summary
Constructors Modifier Constructor Description private
ConstructorMockGetawayCall(java.lang.reflect.Method getawayMethod, net.bytebuddy.description.type.TypeDescription targetType, java.util.List<Variable> arguments, net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape> targetParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.bytebuddy.implementation.bytecode.StackManipulation.Size
apply(org.objectweb.asm.MethodVisitor mv, net.bytebuddy.implementation.Implementation.Context implementationContext)
boolean
isValid()
private java.util.List<net.bytebuddy.implementation.bytecode.StackManipulation>
loadArgumentsFromVariable()
private java.util.List<net.bytebuddy.implementation.bytecode.StackManipulation>
loadSignatureParametersClasess()
-
-
-
Field Detail
-
getawayMethod
private final java.lang.reflect.Method getawayMethod
-
targetType
private final net.bytebuddy.description.type.TypeDescription targetType
-
arguments
private final java.util.List<Variable> arguments
-
targetParameters
private final net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape> targetParameters
-
-
Constructor Detail
-
ConstructorMockGetawayCall
private ConstructorMockGetawayCall(java.lang.reflect.Method getawayMethod, net.bytebuddy.description.type.TypeDescription targetType, java.util.List<Variable> arguments, net.bytebuddy.description.method.ParameterList<net.bytebuddy.description.method.ParameterDescription.InDefinedShape> targetParameters)
-
-
Method Detail
-
loadSignatureParametersClasess
private java.util.List<net.bytebuddy.implementation.bytecode.StackManipulation> loadSignatureParametersClasess()
-
loadArgumentsFromVariable
private java.util.List<net.bytebuddy.implementation.bytecode.StackManipulation> loadArgumentsFromVariable()
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfacenet.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 interfacenet.bytebuddy.implementation.bytecode.StackManipulation
-
-