2 * Created by IntelliJ IDEA.
6 * To change template for new class use
7 * Code Style | Class Templates options (Tools | IDE Options).
9 package com
.intellij
.codeInspection
.dataFlow
.instructions
;
11 import com
.intellij
.codeInspection
.dataFlow
.*;
14 public class EmptyInstruction
extends Instruction
{
15 public DfaInstructionState
[] apply(DataFlowRunner runner
, DfaMemoryState memState
) {
16 Instruction nextInstruction
= runner
.getInstruction(getIndex() + 1);
17 DfaMemoryState nextState
= memState
; //.createCopy();
18 return new DfaInstructionState
[] {new DfaInstructionState(nextInstruction
, nextState
)};
22 public DfaInstructionState
[] accept(DataFlowRunner runner
, DfaMemoryState stateBefore
, InstructionVisitor visitor
) {
23 return apply(runner
, stateBefore
);
26 public String
toString() {