Package org.powermock.core.bytebuddy
Class ConditionalStateStackManipulation
- java.lang.Object
-
- org.powermock.core.bytebuddy.ConditionalStateStackManipulation
-
- All Implemented Interfaces:
net.bytebuddy.implementation.bytecode.StackManipulation
public class ConditionalStateStackManipulation 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
-
-
Constructor Summary
Constructors Constructor Description ConditionalStateStackManipulation(net.bytebuddy.implementation.bytecode.StackManipulation condition, net.bytebuddy.implementation.bytecode.StackManipulation action, net.bytebuddy.implementation.bytecode.StackManipulation otherwise, Frame frame)
-
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()
-
-
-
Field Detail
-
condition
private final net.bytebuddy.implementation.bytecode.StackManipulation condition
-
action
private final net.bytebuddy.implementation.bytecode.StackManipulation action
-
otherwise
private final net.bytebuddy.implementation.bytecode.StackManipulation otherwise
-
frame
private final Frame frame
-
-
Constructor Detail
-
ConditionalStateStackManipulation
public ConditionalStateStackManipulation(net.bytebuddy.implementation.bytecode.StackManipulation condition, net.bytebuddy.implementation.bytecode.StackManipulation action, net.bytebuddy.implementation.bytecode.StackManipulation otherwise, Frame frame)
-
-
Method Detail
-
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
-
-