public class NodeRepairInsertSubtree extends NodeRepair
Constructor and Description |
---|
NodeRepairInsertSubtree(InstructionAddLeaf nodeInstruction)
Creates a new instance of an insert subtree node repair.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Instruction> |
getInstructionsList()
Returns the sequence of repairing instructions.
|
Intent.Type |
getIntentType()
Returns the type of the node repair represented by the intent type.
|
int |
getRepairCost()
Returns the node repair cost.
|
generateNodeFix
public NodeRepairInsertSubtree(InstructionAddLeaf nodeInstruction)
nodeInstruction
- Reference to the prepared defining instruction.public java.util.List<Instruction> getInstructionsList()
NodeRepair
getInstructionsList
in class NodeRepair
public int getRepairCost()
NodeRepair
getRepairCost
in class NodeRepair
public Intent.Type getIntentType()
NodeRepair
getIntentType
in class NodeRepair