public interface ObjectLoader
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleObject(Object obj,
boolean staticInit)
Returns true if this object loader can handle the given object
|
io.quarkus.gizmo.ResultHandle |
load(io.quarkus.gizmo.BytecodeCreator body,
Object obj,
boolean staticInit)
Load the given object if possible.
|
io.quarkus.gizmo.ResultHandle load(io.quarkus.gizmo.BytecodeCreator body,
Object obj,
boolean staticInit)
body - the body to use for bytecode generation (not null)obj - the object to substitute (not null)staticInit - true if this loader is for a static init method, false otherwisenull if this loader cannot load the given objectboolean canHandleObject(Object obj, boolean staticInit)
obj - The objectstaticInit - If this is static init phaseCopyright © 2021 JBoss by Red Hat. All rights reserved.