public class FunctionGeneratorHelper extends Object
IABCVisitor
.Constructor and Description |
---|
FunctionGeneratorHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
generateFunction(IABCVisitor abcVisitor,
MethodInfo mi,
InstructionList functionBody)
Adds the specified
MethodInfo with the specified
InstructionList as its body to the specified IABCVisitor
After calling the method, the specified MethodInfo and
InstructionList must not be modified. |
public static void generateFunction(IABCVisitor abcVisitor, MethodInfo mi, InstructionList functionBody)
MethodInfo
with the specified
InstructionList
as its body to the specified IABCVisitor
After calling the method, the specified MethodInfo
and
InstructionList
must not be modified.
abcVisitor
- IABCVisitor
to write the function/method into.mi
- MethodInfo
for the function/methodfunctionBody
- InstructionList
for the body of the
function/method.Copyright © 2016 The Apache Software Foundation. All rights reserved.