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 booleancheckIfNothingToSerialize(Operation operation)Check if nothing to serializevoidgenerateCallToParentCase()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:SetWrapperParametersAndReturnSwitchGeneratorGet types to wrap- Specified by:
getTypesToWrapin classSetWrapperParametersAndReturnSwitchGenerator- Parameters:
operation- Operation- Returns:
- Types to wrap
-
generateCallToParentCase
public void generateCallToParentCase()
Description copied from class:DataClaySwitchByImplementationIDGenerate code for calling to parent for each case.- Specified by:
generateCallToParentCasein classDataClaySwitchByImplementationID
-
checkIfNothingToSerialize
protected boolean checkIfNothingToSerialize(Operation operation)
Description copied from class:SetWrapperParametersAndReturnSwitchGeneratorCheck if nothing to serialize- Specified by:
checkIfNothingToSerializein classSetWrapperParametersAndReturnSwitchGenerator- Parameters:
operation- Op. to check.- Returns:
- TRUE if nothing to serialize.
-
-