Package org.candle.decompiler.intermediate.code

Source Code of org.candle.decompiler.intermediate.code.GoToIntermediate

package org.candle.decompiler.intermediate.code;

import org.apache.bcel.generic.Instruction;
import org.apache.bcel.generic.InstructionHandle;
import org.candle.decompiler.intermediate.visitor.IntermediateVisitor;

public class GoToIntermediate extends AbstractIntermediate {

  public GoToIntermediate(InstructionHandle instruction) {
    super(instruction);
  }

  @Override
  public void accept(IntermediateVisitor visitor) {
    visitor.visitAbstractIntermediate(this);
    visitor.visitGoToIntermediate(this);
  }

  @Override
  public String toString() {
    String t = null;
   
    Instruction i = ((InstructionHandle)getInstruction()).getInstruction();
    return "Goto ["+this.getInstruction().getPosition() + " -> " + t+"]";
  }
}
TOP

Related Classes of org.candle.decompiler.intermediate.code.GoToIntermediate

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.