org.kit.furia.fragment.soot.representation.internal
Class FPhiExpr

java.lang.Object
  extended by org.kit.furia.fragment.soot.representation.internal.FPhiExpr
All Implemented Interfaces:
java.io.Serializable, Qable, soot.EquivTo, soot.jimple.Expr, soot.shimple.PhiExpr, soot.shimple.ShimpleExpr, soot.UnitBoxOwner, soot.util.Switchable, soot.Value

public class FPhiExpr
extends java.lang.Object
implements soot.shimple.PhiExpr, Qable

Author:
Arnoldo Jose Muller Molina
See Also:
Serialized Form

Field Summary
protected  soot.Type type
           
 
Constructor Summary
FPhiExpr()
           
FPhiExpr(java.util.List args)
           
FPhiExpr(java.util.List args, java.util.List preds)
           
 
Method Summary
 void add(soot.ValueBox vb)
           
 boolean addArg(soot.Value arg, soot.toolkits.graph.Block pred)
           
 boolean addArg(soot.Value v, soot.Unit u)
           
 void apply(soot.util.Switch sw)
           
 void clearUnitBoxes()
           
 java.lang.Object clone()
           
 int equivHashCode()
           
 boolean equivTo(java.lang.Object o)
           
 soot.toolkits.scalar.ValueUnitPair getArgBox(soot.toolkits.graph.Block arg0)
           
 soot.toolkits.scalar.ValueUnitPair getArgBox(int arg0)
           
 soot.toolkits.scalar.ValueUnitPair getArgBox(soot.Unit arg0)
           
 int getArgCount()
           
 int getArgIndex(soot.toolkits.graph.Block arg0)
           
 int getArgIndex(soot.Unit arg0)
           
 java.util.List getArgs()
           
 soot.ValueBox getArgValueBox(int i)
           
 int getBlockId()
           
 soot.Unit getPred(int arg0)
           
 java.util.List getPreds()
           
 soot.Type getType()
           
 java.util.List getUnitBoxes()
           
 java.util.List getUseBoxes()
           
 soot.Value getValue(soot.toolkits.graph.Block arg0)
           
 soot.Value getValue(int arg0)
           
 soot.Value getValue(soot.Unit arg0)
           
 java.util.List getValues()
           
 boolean removeArg(soot.toolkits.graph.Block arg0)
           
 boolean removeArg(int arg0)
           
 boolean removeArg(soot.Unit arg0)
           
 boolean removeArg(soot.toolkits.scalar.ValueUnitPair arg0)
           
 boolean setArg(int arg0, soot.Value arg1, soot.toolkits.graph.Block arg2)
           
 boolean setArg(int arg0, soot.Value arg1, soot.Unit arg2)
           
 void setBlockId(int blockId)
           
 boolean setPred(int arg0, soot.toolkits.graph.Block arg1)
           
 boolean setPred(int arg0, soot.Unit arg1)
           
 boolean setValue(soot.toolkits.graph.Block arg0, soot.Value arg1)
           
 boolean setValue(int arg0, soot.Value arg1)
           
 boolean setValue(soot.Unit arg0, soot.Value arg1)
           
 java.lang.String toQ()
           
 java.lang.String toString()
           
 void toString(soot.UnitPrinter up)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected soot.Type type
Constructor Detail

FPhiExpr

public FPhiExpr(java.util.List args,
                java.util.List preds)

FPhiExpr

public FPhiExpr()

FPhiExpr

public FPhiExpr(java.util.List args)
Method Detail

add

public void add(soot.ValueBox vb)

getArgs

public java.util.List getArgs()
Specified by:
getArgs in interface soot.shimple.PhiExpr

toString

public void toString(soot.UnitPrinter up)
Specified by:
toString in interface soot.Value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toQ

public java.lang.String toQ()
                     throws java.lang.Exception
Specified by:
toQ in interface Qable
Throws:
java.lang.Exception

getUseBoxes

public java.util.List getUseBoxes()
Specified by:
getUseBoxes in interface soot.Value

clone

public java.lang.Object clone()
Specified by:
clone in interface soot.Value
Overrides:
clone in class java.lang.Object

getArgCount

public int getArgCount()
Specified by:
getArgCount in interface soot.shimple.PhiExpr

equivTo

public boolean equivTo(java.lang.Object o)
Specified by:
equivTo in interface soot.EquivTo

getArgValueBox

public soot.ValueBox getArgValueBox(int i)

addArg

public boolean addArg(soot.Value arg,
                      soot.toolkits.graph.Block pred)
Specified by:
addArg in interface soot.shimple.PhiExpr

equivHashCode

public int equivHashCode()
Specified by:
equivHashCode in interface soot.EquivTo

apply

public void apply(soot.util.Switch sw)
Specified by:
apply in interface soot.shimple.PhiExpr
Specified by:
apply in interface soot.util.Switchable

getType

public soot.Type getType()
Specified by:
getType in interface soot.shimple.PhiExpr
Specified by:
getType in interface soot.Value

getBlockId

public int getBlockId()
Specified by:
getBlockId in interface soot.shimple.PhiExpr

setBlockId

public void setBlockId(int blockId)
Specified by:
setBlockId in interface soot.shimple.PhiExpr

addArg

public boolean addArg(soot.Value v,
                      soot.Unit u)
Specified by:
addArg in interface soot.shimple.PhiExpr

getArgBox

public soot.toolkits.scalar.ValueUnitPair getArgBox(soot.toolkits.graph.Block arg0)
Specified by:
getArgBox in interface soot.shimple.PhiExpr

getArgBox

public soot.toolkits.scalar.ValueUnitPair getArgBox(int arg0)
Specified by:
getArgBox in interface soot.shimple.PhiExpr

getArgBox

public soot.toolkits.scalar.ValueUnitPair getArgBox(soot.Unit arg0)
Specified by:
getArgBox in interface soot.shimple.PhiExpr

getArgIndex

public int getArgIndex(soot.toolkits.graph.Block arg0)
Specified by:
getArgIndex in interface soot.shimple.PhiExpr

getArgIndex

public int getArgIndex(soot.Unit arg0)
Specified by:
getArgIndex in interface soot.shimple.PhiExpr

getPred

public soot.Unit getPred(int arg0)
Specified by:
getPred in interface soot.shimple.PhiExpr

getPreds

public java.util.List getPreds()
Specified by:
getPreds in interface soot.shimple.PhiExpr

getValue

public soot.Value getValue(soot.toolkits.graph.Block arg0)
Specified by:
getValue in interface soot.shimple.PhiExpr

getValue

public soot.Value getValue(int arg0)
Specified by:
getValue in interface soot.shimple.PhiExpr

getValue

public soot.Value getValue(soot.Unit arg0)
Specified by:
getValue in interface soot.shimple.PhiExpr

getValues

public java.util.List getValues()
Specified by:
getValues in interface soot.shimple.PhiExpr

removeArg

public boolean removeArg(soot.toolkits.graph.Block arg0)
Specified by:
removeArg in interface soot.shimple.PhiExpr

removeArg

public boolean removeArg(int arg0)
Specified by:
removeArg in interface soot.shimple.PhiExpr

removeArg

public boolean removeArg(soot.Unit arg0)
Specified by:
removeArg in interface soot.shimple.PhiExpr

removeArg

public boolean removeArg(soot.toolkits.scalar.ValueUnitPair arg0)
Specified by:
removeArg in interface soot.shimple.PhiExpr

setArg

public boolean setArg(int arg0,
                      soot.Value arg1,
                      soot.toolkits.graph.Block arg2)
Specified by:
setArg in interface soot.shimple.PhiExpr

setArg

public boolean setArg(int arg0,
                      soot.Value arg1,
                      soot.Unit arg2)
Specified by:
setArg in interface soot.shimple.PhiExpr

setPred

public boolean setPred(int arg0,
                       soot.toolkits.graph.Block arg1)
Specified by:
setPred in interface soot.shimple.PhiExpr

setPred

public boolean setPred(int arg0,
                       soot.Unit arg1)
Specified by:
setPred in interface soot.shimple.PhiExpr

setValue

public boolean setValue(soot.toolkits.graph.Block arg0,
                        soot.Value arg1)
Specified by:
setValue in interface soot.shimple.PhiExpr

setValue

public boolean setValue(int arg0,
                        soot.Value arg1)
Specified by:
setValue in interface soot.shimple.PhiExpr

setValue

public boolean setValue(soot.Unit arg0,
                        soot.Value arg1)
Specified by:
setValue in interface soot.shimple.PhiExpr

clearUnitBoxes

public void clearUnitBoxes()
Specified by:
clearUnitBoxes in interface soot.UnitBoxOwner

getUnitBoxes

public java.util.List getUnitBoxes()
Specified by:
getUnitBoxes in interface soot.UnitBoxOwner


Copyright © 2008 Arnoldo Jose Muller Molina. All Rights Reserved.