package soot.JastAddJ; import java.util.HashSet;import java.util.LinkedHashSet;import java.io.File;import java.util.*;import beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;import java.io.FileNotFoundException;import java.util.Collection;import soot.*;import soot.util.*;import soot.jimple.*;import soot.coffi.ClassFile;import soot.coffi.method_info;import soot.coffi.CONSTANT_Utf8_info;import soot.tagkit.SourceFileTag;import soot.coffi.CoffiMethodSource; public class URShiftExpr extends ShiftExpr implements Cloneable { public void flushCache() { super.flushCache(); } public void flushCollectionCache() { super.flushCollectionCache(); } @SuppressWarnings({"unchecked", "cast"}) public URShiftExpr clone() throws CloneNotSupportedException { URShiftExpr node = (URShiftExpr)super.clone(); node.in$Circle(false); node.is$Final(false); return node; } @SuppressWarnings({"unchecked", "cast"}) public URShiftExpr copy() { try { URShiftExpr node = (URShiftExpr)clone(); if(children != null) node.children = (ASTNode[])children.clone(); return node; } catch (CloneNotSupportedException e) { } System.err.println("Error: Could not clone node of type " + getClass().getName() + "!"); return null; } @SuppressWarnings({"unchecked", "cast"}) public URShiftExpr fullCopy() { URShiftExpr res = (URShiftExpr)copy(); for(int i = 0; i < getNumChildNoTransform(); i++) { ASTNode node = getChildNoTransform(i); if(node != null) node = node.fullCopy(); res.setChild(node, i); } return res; } // Declared in Expressions.jrag at line 800 public soot.Value eval(Body b) { return emitShiftExpr(b); } // Declared in Expressions.jrag at line 826 public soot.Value emitOperation(Body b, soot.Value left, soot.Value right) { return asLocal(b, b.newUshrExpr(asImmediate(b, left), asImmediate(b, right), this)); } // Declared in java.ast at line 3 // Declared in java.ast line 167 public URShiftExpr() { super(); } // Declared in java.ast at line 10 // Declared in java.ast line 167 public URShiftExpr(Expr p0, Expr p1) { setChild(p0, 0); setChild(p1, 1); } // Declared in java.ast at line 15 protected int numChildren() { return 2; } // Declared in java.ast at line 18 public boolean mayHaveRewrite() { return false; } // Declared in java.ast at line 2 // Declared in java.ast line 153 public void setLeftOperand(Expr node) { setChild(node, 0); } // Declared in java.ast at line 5 public Expr getLeftOperand() { return (Expr)getChild(0); } // Declared in java.ast at line 9 public Expr getLeftOperandNoTransform() { return (Expr)getChildNoTransform(0); } // Declared in java.ast at line 2 // Declared in java.ast line 153 public void setRightOperand(Expr node) { setChild(node, 1); } // Declared in java.ast at line 5 public Expr getRightOperand() { return (Expr)getChild(1); } // Declared in java.ast at line 9 public Expr getRightOperandNoTransform() { return (Expr)getChildNoTransform(1); } // Declared in ConstantExpression.jrag at line 126 @SuppressWarnings({"unchecked", "cast"}) public Constant constant() { ASTNode$State state = state(); Constant constant_value = constant_compute(); return constant_value; } private Constant constant_compute() { return type().urshift(getLeftOperand().constant(), getRightOperand().constant()); } // Declared in PrettyPrint.jadd at line 407 @SuppressWarnings({"unchecked", "cast"}) public String printOp() { ASTNode$State state = state(); String printOp_value = printOp_compute(); return printOp_value; } private String printOp_compute() { return " >>> "; } public ASTNode rewriteTo() { return super.rewriteTo(); } }