|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsf.qof.codegen.EmitUtils
public class EmitUtils
Internal - Contains utility functions for code emitters.
| Method Summary | |
|---|---|
static void |
boxUsingValueOf(net.sf.cglib.core.CodeEmitter co,
org.objectweb.asm.Type primitiveType)
Emits code to call the static valueOf method of the
boxed types of primitives. |
static void |
createAndStoreNewResultObject(net.sf.cglib.core.CodeEmitter co,
Mapper mapper,
net.sf.cglib.core.Local localResultSet,
net.sf.cglib.core.Local localStoreResult)
|
static void |
emitClose(net.sf.cglib.core.CodeEmitter co,
net.sf.cglib.core.Local local,
boolean addIfNotNull)
Emits code to call close() on the local variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void boxUsingValueOf(net.sf.cglib.core.CodeEmitter co,
org.objectweb.asm.Type primitiveType)
valueOf method of the
boxed types of primitives.
co - the code emitterprimitiveType - primitive type
public static void emitClose(net.sf.cglib.core.CodeEmitter co,
net.sf.cglib.core.Local local,
boolean addIfNotNull)
close() on the local variable.
co - the code emitterlocal - the localaddIfNotNull - add if not null check
public static void createAndStoreNewResultObject(net.sf.cglib.core.CodeEmitter co,
Mapper mapper,
net.sf.cglib.core.Local localResultSet,
net.sf.cglib.core.Local localStoreResult)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||