fr.umlv.corosol.component.instruction
Interface JInstructionFactory

All Superinterfaces:
JObject, JVMComponent
All Known Implementing Classes:
DefaultJInstructionFactory

public interface JInstructionFactory
extends JVMComponent

This interface represents a factory of JInstruction objects.

Author:
Christophe Deleray

Method Summary
 JInstruction createInstruction(int opcode)
          Creates the JInstruction object corresponding to the specified opcode.
 
Methods inherited from interface fr.umlv.corosol.component.JVMComponent
configure, getComponentClass, replace
 

Method Detail

createInstruction

JInstruction createInstruction(int opcode)
Creates the JInstruction object corresponding to the specified opcode.

Parameters:
opcode - an instruction opcode
Returns:
a JInstruction object corresponding to the specified opcode