Top Fields Constructors Methods
javassist.convert

public Class TransformBefore

extends TransformCall
Class Inheritance
Known Direct Subclasses
javassist.convert.TransformAfter
Imports
javassist.CtClass, .CtMethod, .NotFoundException, javassist.bytecode.BadBytecode, .Bytecode, .CodeAttribute, .CodeIterator, .ConstPool, .Descriptor

Field Summary

Modifier and TypeField and Description
protected byte[]
protected int
protected int
protected CtClass[]
protected byte[]
Inherited from javassist.convert.TransformCall:
classnameconstPoolmethodDescriptormethodnamenewClassnamenewIndexnewMethodIsPrivatenewMethodname

Constructor Summary

AccessConstructor and Description
public
TransformBefore(Transformer next, CtMethod origMethod, CtMethod beforeMethod)

Method Summary

Modifier and TypeMethod and Description
public int
public void
protected void
makeCode(CtClass[] paramTypes, ConstPool cp)

private void
makeCode2(Bytecode save, Bytecode load, int i, int n, CtClass[] paramTypes, int var)

protected int
match(int c, int pos, CodeIterator iterator, int typedesc, ConstPool cp)

Overrides javassist.convert.TransformCall.match.

protected int
match2(int pos, CodeIterator iterator)

Inherited from javassist.convert.TransformCall:
transform

Field Detail

loadCodeback to summary
protected byte[] loadCode
localsback to summary
protected int locals
maxLocalsback to summary
protected int maxLocals
parameterTypesback to summary
protected CtClass[] parameterTypes
saveCodeback to summary
protected byte[] saveCode

Constructor Detail

TransformBeforeback to summary
public TransformBefore(Transformer next, CtMethod origMethod, CtMethod beforeMethod) throws NotFoundException

Method Detail

extraLocalsback to summary
public int extraLocals()

Overrides javassist.convert.Transformer.extraLocals.

Annotations
@Override
initializeback to summary
public void initialize(ConstPool cp, CodeAttribute attr)

Overrides javassist.convert.TransformCall.initialize.

Annotations
@Override
makeCodeback to summary
protected void makeCode(CtClass[] paramTypes, ConstPool cp)
makeCode2back to summary
private void makeCode2(Bytecode save, Bytecode load, int i, int n, CtClass[] paramTypes, int var)
matchback to summary
protected int match(int c, int pos, CodeIterator iterator, int typedesc, ConstPool cp) throws BadBytecode

Overrides javassist.convert.TransformCall.match.

Annotations
@Override
match2back to summary
protected int match2(int pos, CodeIterator iterator) throws BadBytecode