public static enum Advice.StackMapFrameHandler.NoOp extends Enum<Advice.StackMapFrameHandler.NoOp> implements Advice.StackMapFrameHandler.ForInstrumentedMethod, Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.Default, Advice.StackMapFrameHandler.ForAdvice, Advice.StackMapFrameHandler.ForInstrumentedMethod, Advice.StackMapFrameHandler.NoOp| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Advice.StackMapFrameHandler.ForAdvice | bindEntry(MethodDescription.InDefinedShape adviceMethod)Binds this meta data handler for the entry advice. | 
| Advice.StackMapFrameHandler.ForAdvice | bindExit(MethodDescription.InDefinedShape adviceMethod)Binds this meta data handler for the exit advice. | 
| int | getReaderHint()Returns a hint to supply to a  ClassReaderwhen parsing an advice method. | 
| void | injectCompletionFrame(MethodVisitor methodVisitor,
                     boolean secondary)Injects a frame indicating the completion of the currently handled method, i.e. all yielded types were added. | 
| void | injectExceptionFrame(MethodVisitor methodVisitor)Injects a frame indicating the beginning of an exception handler for the currently handled method. | 
| void | injectReturnFrame(MethodVisitor methodVisitor)Injects a frame indicating the beginning of a return value handler for the currently handled method. | 
| String | toString() | 
| void | translateFrame(MethodVisitor methodVisitor,
              int frameType,
              int localVariableLength,
              Object[] localVariable,
              int stackSize,
              Object[] stack)Translates a frame. | 
| static Advice.StackMapFrameHandler.NoOp | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Advice.StackMapFrameHandler.NoOp[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Advice.StackMapFrameHandler.NoOp INSTANCE
public static Advice.StackMapFrameHandler.NoOp[] values()
for (Advice.StackMapFrameHandler.NoOp c : Advice.StackMapFrameHandler.NoOp.values()) System.out.println(c);
public static Advice.StackMapFrameHandler.NoOp valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Advice.StackMapFrameHandler.ForAdvice bindEntry(MethodDescription.InDefinedShape adviceMethod)
Advice.StackMapFrameHandler.ForInstrumentedMethodbindEntry in interface Advice.StackMapFrameHandler.ForInstrumentedMethodadviceMethod - The entry advice method.public Advice.StackMapFrameHandler.ForAdvice bindExit(MethodDescription.InDefinedShape adviceMethod)
Advice.StackMapFrameHandler.ForInstrumentedMethodbindExit in interface Advice.StackMapFrameHandler.ForInstrumentedMethodadviceMethod - The exit advice method.public int getReaderHint()
Advice.StackMapFrameHandler.ForInstrumentedMethodClassReader when parsing an advice method.getReaderHint in interface Advice.StackMapFrameHandler.ForInstrumentedMethodpublic void translateFrame(MethodVisitor methodVisitor, int frameType, int localVariableLength, Object[] localVariable, int stackSize, Object[] stack)
Advice.StackMapFrameHandlertranslateFrame in interface Advice.StackMapFrameHandlermethodVisitor - The method visitor to write the frame to.frameType - The frame's type.localVariableLength - The local variable length.localVariable - An array containing the types of the current local variables.stackSize - The size of the operand stack.stack - An array containing the types of the current operand stack.public void injectReturnFrame(MethodVisitor methodVisitor)
Advice.StackMapFrameHandlerinjectReturnFrame in interface Advice.StackMapFrameHandlermethodVisitor - The method visitor onto which to apply the stack map frame.public void injectExceptionFrame(MethodVisitor methodVisitor)
Advice.StackMapFrameHandlerinjectExceptionFrame in interface Advice.StackMapFrameHandlermethodVisitor - The method visitor onto which to apply the stack map frame.public void injectCompletionFrame(MethodVisitor methodVisitor, boolean secondary)
Advice.StackMapFrameHandlerinjectCompletionFrame in interface Advice.StackMapFrameHandlermethodVisitor - The method visitor onto which to apply the stack map frame.secondary - true if another completion frame for this method was written previously.public String toString()
toString in class Enum<Advice.StackMapFrameHandler.NoOp>Copyright © 2014–2016. All rights reserved.