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 LTExpr extends RelationalExpr implements Cloneable {
public void flushCache() {
super.flushCache();
}
public void flushCollectionCache() {
super.flushCollectionCache();
}
@SuppressWarnings({"unchecked", "cast"}) public LTExpr clone() throws CloneNotSupportedException {
LTExpr node = (LTExpr)super.clone();
node.in$Circle(false);
node.is$Final(false);
return node;
}
@SuppressWarnings({"unchecked", "cast"}) public LTExpr copy() {
try {
LTExpr node = (LTExpr)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 LTExpr fullCopy() {
LTExpr res = (LTExpr)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 BooleanExpressions.jrag at line 282
public soot.Value comparison(Body b, soot.Value left, soot.Value right) {
return b.newLtExpr(asImmediate(b, left), asImmediate(b, right), this);
}
// Declared in BooleanExpressions.jrag at line 304
public soot.Value comparisonInv(Body b, soot.Value left, soot.Value right) {
return b.newGeExpr(asImmediate(b, left), asImmediate(b, right), this);
}
// Declared in java.ast at line 3
// Declared in java.ast line 179
public LTExpr() {
super();
}
// Declared in java.ast at line 10
// Declared in java.ast line 179
public LTExpr(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 533
@SuppressWarnings({"unchecked", "cast"}) public Constant constant() {
ASTNode$State state = state();
Constant constant_value = constant_compute();
return constant_value;
}
private Constant constant_compute() { return Constant.create(binaryNumericPromotedType().ltIsTrue(left(), right())); }
// Declared in PrettyPrint.jadd at line 413
@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();
}
}