Search in sources :

Example 1 with DLengthExpr

use of soot.dava.internal.javaRep.DLengthExpr in project soot by Sable.

the class DavaBody method javafy_unop_expr.

private void javafy_unop_expr(ValueBox vb) {
    UnopExpr uoe = (UnopExpr) vb.getValue();
    javafy(uoe.getOpBox());
    if (uoe instanceof LengthExpr)
        vb.setValue(new DLengthExpr(((LengthExpr) uoe).getOp()));
    else if (uoe instanceof NegExpr)
        vb.setValue(new DNegExpr(((NegExpr) uoe).getOp()));
}
Also used : DLengthExpr(soot.dava.internal.javaRep.DLengthExpr) DLengthExpr(soot.dava.internal.javaRep.DLengthExpr) LengthExpr(soot.jimple.LengthExpr) UnopExpr(soot.jimple.UnopExpr) NegExpr(soot.jimple.NegExpr) DNegExpr(soot.dava.internal.javaRep.DNegExpr) DNegExpr(soot.dava.internal.javaRep.DNegExpr)

Aggregations

DLengthExpr (soot.dava.internal.javaRep.DLengthExpr)1 DNegExpr (soot.dava.internal.javaRep.DNegExpr)1 LengthExpr (soot.jimple.LengthExpr)1 NegExpr (soot.jimple.NegExpr)1 UnopExpr (soot.jimple.UnopExpr)1