1 19 20 25 26 27 28 29 30 package soot.baf.internal; 31 32 import soot.*; 33 import soot.baf.*; 34 import soot.baf.*; 35 import soot.util.*; 36 import java.util.*; 37 38 public class BArrayReadInst extends AbstractOpTypeInst implements ArrayReadInst 39 { 40 public BArrayReadInst(Type opType) 41 { 42 super(opType); 43 } 44 45 46 public int getInCount() 47 { 48 return 2; 49 } 50 51 52 public Object clone() 53 { 54 return new BArrayReadInst(getOpType()); 55 } 56 57 public int getInMachineCount() 58 { 59 return 2; 60 } 61 62 public int getOutCount() 63 { 64 return 1; 65 } 66 67 68 69 final public String getName() { return "arrayread"; } 70 71 72 public void apply(Switch sw) 73 { 74 ((InstSwitch) sw).caseArrayReadInst(this); 75 } 76 public boolean containsArrayRef() { return true; } 77 } 78 | Popular Tags |