javassist.bytecode.stackmap
Class MapMaker
java.lang.Object
javassist.bytecode.stackmap.Tracer
javassist.bytecode.stackmap.MapMaker
- All Implemented Interfaces:
- TypeTag
public class MapMaker
- extends Tracer
Stack map maker.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapMaker
public MapMaker(ClassPool classes,
MethodInfo minfo,
CodeAttribute ca)
MapMaker
protected MapMaker(MapMaker old,
boolean copyStack)
make
public static StackMapTable make(ClassPool classes,
MethodInfo minfo)
throws BadBytecode
- Computes the stack map table of the given method and returns it.
It returns null if the given method does not have to have a
stack map table.
- Throws:
BadBytecode
make2
public static StackMap make2(ClassPool classes,
MethodInfo minfo)
throws BadBytecode
- Computes the stack map table for J2ME.
It returns null if the given method does not have to have a
stack map table.
- Throws:
BadBytecode
toStackMap
public StackMapTable toStackMap(TypedBlock[] blocks)
toStackMap2
public StackMap toStackMap2(ConstPool cp,
TypedBlock[] blocks)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.