soot.jimple.internal
Class AbstractLengthExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractUnopExpr
      extended by soot.jimple.internal.AbstractLengthExpr
All Implemented Interfaces:
Serializable, EquivTo, Expr, LengthExpr, UnopExpr, Switchable, Value
Direct Known Subclasses:
DLengthExpr, GLengthExpr, JLengthExpr

public abstract class AbstractLengthExpr
extends AbstractUnopExpr
implements LengthExpr

See Also:
Serialized Form

Constructor Summary
protected AbstractLengthExpr(ValueBox opBox)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
abstract  Object clone()
          Returns a clone of this Value.
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(Object o)
          Returns true if this object is equivalent to o.
 Type getType()
          Returns the Soot type of this Value.
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.jimple.internal.AbstractUnopExpr
getOp, getOpBox, getUseBoxes, setOp
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface soot.jimple.UnopExpr
getOp, getOpBox, getUseBoxes, setOp
 

Constructor Detail

AbstractLengthExpr

protected AbstractLengthExpr(ValueBox opBox)
Method Detail

equivTo

public boolean equivTo(Object o)
Description copied from interface: EquivTo
Returns true if this object is equivalent to o.

Specified by:
equivTo in interface EquivTo

equivHashCode

public int equivHashCode()
Returns a hash code for this object, consistent with structural equality.

Specified by:
equivHashCode in interface EquivTo

clone

public abstract Object clone()
Description copied from interface: Value
Returns a clone of this Value.

Specified by:
clone in interface Value
Specified by:
clone in class AbstractUnopExpr

toString

public String toString()
Overrides:
toString in class Object

toString

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

getType

public Type getType()
Description copied from interface: Value
Returns the Soot type of this Value.

Specified by:
getType in interface Value

apply

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

Specified by:
apply in interface Switchable