public abstract class MarshalUnmarshalBuilder extends ContextMethodBuilder
EXCEPTION_CONSTRUCTOR_SIGNATURE1, EXCEPTION_CONSTRUCTOR_SIGNATURE2, FRAMEWORK_EXCEPTION_CLASS, m_exceptions, m_generator, m_hashCode, m_instructionBuilder, m_item, m_method, m_targetBranches, m_valueMap, s_argNameLists, SYNTHETIC_ACCESS_FLAG| Modifier | Constructor and Description |
|---|---|
protected |
MarshalUnmarshalBuilder(String name,
org.apache.bcel.generic.Type ret,
org.apache.bcel.generic.Type[] args,
ClassFile mf,
int access,
int obj,
String type,
int ctx,
String ctype)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.bcel.generic.InstructionHandle |
genExceptionHandler()
Add exception handler code.
|
protected void |
handleExceptions()
Process accumulated exceptions.
|
getFullName, isStaticMethod, loadContext, loadContext, loadObject, loadObject, setObjectSlot, storeObjectdefineSlot, freeSlot, getSlotaddException, addLocal, addMethod, addMethodExceptions, appendAASTORE, appendACONST_NULL, appendALOAD, appendARRAYLENGTH, appendASTORE, appendCall, appendCallInit, appendCallInterface, appendCallStatic, appendCallVirtual, appendCreateArray, appendCreateCast, appendCreateCast, appendCreateNew, appendDCMPG, appendDUP_X1, appendDUP, appendDUP2, appendFCMPG, appendGet, appendGetField, appendGetStatic, appendIASTORE, appendICONST_0, appendICONST_1, appendIF_ICMPNE, appendIFEQ, appendIFGE, appendIFLT, appendIFNE, appendIFNONNULL, appendIFNULL, appendIncrementLocal, appendInstanceOf, appendISUB, appendIXOR, appendLCMP, appendLoadConstant, appendLoadConstant, appendLoadConstant, appendLoadLocal, appendPOP, appendPOP2, appendPut, appendPutField, appendPutStatic, appendReturn, appendReturn, appendReturn, appendStoreLocal, appendSWAP, appendSWAP1For2, appendTargetACONST_NULL, appendTargetCreateNew, appendTargetLoadConstant, appendTargetLoadConstant, appendTargetNOP, appendThrow, appendUnconditionalBranch, codeComplete, createLocal, getAccessFlags, getFirstInstruction, getItem, getKeyValue, getLastInstruction, getMethod, getName, getSignature, hashCode, initStackState, initStackState, initStackState, internalAppendCreateNew, isStackTopLong, setAccessFlags, setKeyValue, setTarget, targetNext, targetNextcomputeMethodHash, equals, getClassFile, makeAccessibleprotected MarshalUnmarshalBuilder(String name, org.apache.bcel.generic.Type ret, org.apache.bcel.generic.Type[] args, ClassFile mf, int access, int obj, String type, int ctx, String ctype)
name - method name to be builtret - method return typeargs - types of argumentsmf - method generation class file informationaccess - flags for method accessobj - variable slot for current objecttype - marshalled or unmarshalled class namectx - variable slot for marshalling/unmarshalling contextctype - context type as defined in methodpublic abstract org.apache.bcel.generic.InstructionHandle genExceptionHandler()
protected void handleExceptions()
genExceptionHandler() method to build the
handler body.handleExceptions in class ExceptionMethodBuilderCopyright © 2005–2016 jibx.org. All rights reserved.