Class SetWrapperParametersTableSwitchGenerator
- java.lang.Object
-
- es.bsc.dataclay.logic.classmgr.bytecode.java.switches.DataClaySwitchByImplementationID
-
- es.bsc.dataclay.logic.classmgr.bytecode.java.wrappers.SetWrapperParametersAndReturnSwitchGenerator
-
- es.bsc.dataclay.logic.classmgr.bytecode.java.wrappers.SetWrapperParametersTableSwitchGenerator
-
public final class SetWrapperParametersTableSwitchGenerator extends SetWrapperParametersAndReturnSwitchGenerator
Run table switch for wrapping parameters.
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.logic.classmgr.bytecode.java.switches.DataClaySwitchByImplementationID
gn, ia, isExecClass, metaClass, stubInfo
-
-
Constructor Summary
Constructors Constructor Description SetWrapperParametersTableSwitchGenerator(MetaClass themetaClass, StubInfo thestubInfo, boolean theisExecClass, org.objectweb.asm.commons.GeneratorAdapter thegn, org.objectweb.asm.commons.InstructionAdapter theia)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkIfNothingToSerialize(Operation operation)
Check if nothing to serializevoid
generateCallToParentCase()
Generate code for calling to parent for each case.protected Collection<Type>
getTypesToWrap(Operation operation)
Get types to wrap-
Methods inherited from class es.bsc.dataclay.logic.classmgr.bytecode.java.wrappers.SetWrapperParametersAndReturnSwitchGenerator
generateCase
-
Methods inherited from class es.bsc.dataclay.logic.classmgr.bytecode.java.switches.DataClaySwitchByImplementationID
generateCode
-
-
-
-
Constructor Detail
-
SetWrapperParametersTableSwitchGenerator
public SetWrapperParametersTableSwitchGenerator(MetaClass themetaClass, StubInfo thestubInfo, boolean theisExecClass, org.objectweb.asm.commons.GeneratorAdapter thegn, org.objectweb.asm.commons.InstructionAdapter theia)
Constructor- Parameters:
themetaClass
- Information of class.thestubInfo
- Stub infotheisExecClass
- isExec classthegn
- Method generator.theia
- Instruction adapter
-
-
Method Detail
-
getTypesToWrap
protected Collection<Type> getTypesToWrap(Operation operation)
Description copied from class:SetWrapperParametersAndReturnSwitchGenerator
Get types to wrap- Specified by:
getTypesToWrap
in classSetWrapperParametersAndReturnSwitchGenerator
- Parameters:
operation
- Operation- Returns:
- Types to wrap
-
generateCallToParentCase
public void generateCallToParentCase()
Description copied from class:DataClaySwitchByImplementationID
Generate code for calling to parent for each case.- Specified by:
generateCallToParentCase
in classDataClaySwitchByImplementationID
-
checkIfNothingToSerialize
protected boolean checkIfNothingToSerialize(Operation operation)
Description copied from class:SetWrapperParametersAndReturnSwitchGenerator
Check if nothing to serialize- Specified by:
checkIfNothingToSerialize
in classSetWrapperParametersAndReturnSwitchGenerator
- Parameters:
operation
- Op. to check.- Returns:
- TRUE if nothing to serialize.
-
-