Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`AsmAdaptor()`

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`

Constructor Detail

### AsmAdaptor

    public AsmAdaptor()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.