Class RunTableSwitchGenerator
- java.lang.Object
-
- es.bsc.dataclay.logic.classmgr.bytecode.java.switches.DataClaySwitchByImplementationID
-
- es.bsc.dataclay.logic.classmgr.bytecode.java.run.RunTableSwitchGenerator
-
public final class RunTableSwitchGenerator extends DataClaySwitchByImplementationID
Run table switch generator.
-
-
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 RunTableSwitchGenerator(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 voidgenerateCallToParentCase()Generate code for calling to parent for each case.voidgenerateCase(Implementation impl)Generate code for each case.-
Methods inherited from class es.bsc.dataclay.logic.classmgr.bytecode.java.switches.DataClaySwitchByImplementationID
generateCode
-
-
-
-
Constructor Detail
-
RunTableSwitchGenerator
public RunTableSwitchGenerator(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
-
generateCase
public void generateCase(Implementation impl)
Description copied from class:DataClaySwitchByImplementationIDGenerate code for each case.- Specified by:
generateCasein classDataClaySwitchByImplementationID- Parameters:
impl- Implementation of case
-
generateCallToParentCase
protected void generateCallToParentCase()
Description copied from class:DataClaySwitchByImplementationIDGenerate code for calling to parent for each case.- Specified by:
generateCallToParentCasein classDataClaySwitchByImplementationID
-
-