org.apache.openjpa.enhance
Class AsmAdaptor
java.lang.Object
org.apache.openjpa.enhance.AsmAdaptor
public final class AsmAdaptor
- extends Object
Use ASM to add required StackMapTable attribute to the byte code generated by
Serp.
Method Summary |
static byte[] |
toByteArray(serp.bytecode.BCClass bc,
byte[] returnBytes)
|
static void |
write(serp.bytecode.BCClass bc)
|
static void |
write(serp.bytecode.BCClass bc,
File outFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsmAdaptor
public AsmAdaptor()
write
public static void write(serp.bytecode.BCClass bc)
throws IOException
- Throws:
IOException
write
public static void write(serp.bytecode.BCClass bc,
File outFile)
throws IOException
- Throws:
IOException
toByteArray
public static byte[] toByteArray(serp.bytecode.BCClass bc,
byte[] returnBytes)
throws IOException
- Throws:
IOException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.