soot.baf.internal
Class BPrimitiveCastInst

java.lang.Object
  |
  +--soot.tagkit.AbstractHost
        |
        +--soot.AbstractUnit
              |
              +--soot.baf.internal.AbstractInst
                    |
                    +--soot.baf.internal.BPrimitiveCastInst

public class BPrimitiveCastInst
extends AbstractInst
implements PrimitiveCastInst


Field Summary
protected  Type toType
           
 
Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
BPrimitiveCastInst(Type fromType, Type toType)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 java.lang.Object clone()
          Returns a deep clone of this object.
 Type getFromType()
           
 int getInCount()
           
 int getInMachineCount()
           
 java.lang.String getName()
           
 int getOutCount()
           
 int getOutMachineCount()
           
 Type getToType()
           
 void setFromType(Type t)
           
 void setToType(Type t)
           
protected  java.lang.String toString(boolean isBrief, java.util.Map unitToName, java.lang.String indentation)
          Returns a textual representation of this object, with the given briefness, Map and indentation.
 
Methods inherited from class soot.baf.internal.AbstractInst
branches, fallsThrough, getNetCount, getNetMachineCount
 
Methods inherited from class soot.AbstractUnit
getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString
 
Methods inherited from class soot.tagkit.AbstractHost
addTag, getTag, getTags, hasTag, removeTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

toType

protected Type toType
Constructor Detail

BPrimitiveCastInst

public BPrimitiveCastInst(Type fromType,
                          Type toType)
Method Detail

getInCount

public int getInCount()
Overrides:
getInCount in class AbstractInst

getInMachineCount

public int getInMachineCount()
Overrides:
getInMachineCount in class AbstractInst

getOutCount

public int getOutCount()
Overrides:
getOutCount in class AbstractInst

getOutMachineCount

public int getOutMachineCount()
Overrides:
getOutMachineCount in class AbstractInst

clone

public java.lang.Object clone()
Description copied from class: AbstractUnit
Returns a deep clone of this object.
Overrides:
clone in class AbstractInst

getFromType

public Type getFromType()
Specified by:
getFromType in interface PrimitiveCastInst

setFromType

public void setFromType(Type t)
Specified by:
setFromType in interface PrimitiveCastInst

getToType

public Type getToType()
Specified by:
getToType in interface PrimitiveCastInst

setToType

public void setToType(Type t)
Specified by:
setToType in interface PrimitiveCastInst

getName

public final java.lang.String getName()
Overrides:
getName in class AbstractInst

toString

protected java.lang.String toString(boolean isBrief,
                                    java.util.Map unitToName,
                                    java.lang.String indentation)
Description copied from class: AbstractUnit
Returns a textual representation of this object, with the given briefness, Map and indentation.
Overrides:
toString in class AbstractInst

apply

public void apply(Switch sw)
Description copied from interface: Switchable
Called when this object is visited.
Overrides:
apply in class AbstractUnit