public class Codifier extends Object
Constructor and Description |
---|
Codifier()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPendingCode(javassist.CtMethod method,
String body)
Register the body of
method as a pending code. |
void |
codifyPending()
Deploys pending code.
|
public void addPendingCode(javassist.CtMethod method, String body)
method
as a pending code.method
- the method whose body will be coded
in a later moment.body
- the future body of method
.public void codifyPending() throws javassist.CannotCompileException
addPendingCode
method.javassist.CannotCompileException
- thrown if javassist cannot compile a pending code,
registered through addPendingCode
method.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.