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 void
generateCallToParentCase()
Generate code for calling to parent for each case.void
generateCase(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:DataClaySwitchByImplementationID
Generate code for each case.- Specified by:
generateCase
in classDataClaySwitchByImplementationID
- Parameters:
impl
- Implementation of case
-
generateCallToParentCase
protected void generateCallToParentCase()
Description copied from class:DataClaySwitchByImplementationID
Generate code for calling to parent for each case.- Specified by:
generateCallToParentCase
in classDataClaySwitchByImplementationID
-
-