public interface StackManipulation
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
StackManipulation.Compound
An immutable stack manipulation that aggregates a sequence of other stack manipulations. 
 | 
static class  | 
StackManipulation.Illegal
Canonical representation of an illegal stack manipulation. 
 | 
static class  | 
StackManipulation.Size
A description of the size change that is imposed by some
  
StackManipulation. | 
static class  | 
StackManipulation.Trivial
Canonical representation of a legal stack manipulation which does not require any action. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StackManipulation.Size | 
apply(MethodVisitor methodVisitor,
     Implementation.Context implementationContext)
Applies the stack manipulation that is described by this instance. 
 | 
boolean | 
isValid()
Determines if this stack manipulation is valid. 
 | 
boolean isValid()
false, this manipulation cannot be applied and should throw an exception.StackManipulation.Size apply(MethodVisitor methodVisitor, Implementation.Context implementationContext)
methodVisitor - The method visitor used to write the method implementation to.implementationContext - The context of the current implementation.Copyright © 2014–2016. All rights reserved.