soot.jimple.internal
Class AbstractLengthExpr

java.lang.Object
  |
  +--soot.jimple.internal.AbstractUnopExpr
        |
        +--soot.jimple.internal.AbstractLengthExpr
All Implemented Interfaces:
EquivTo, Expr, LengthExpr, Switchable, ToBriefString, UnopExpr, Value
Direct Known Subclasses:
GLengthExpr, JLengthExpr

public abstract class AbstractLengthExpr
extends AbstractUnopExpr
implements LengthExpr


Constructor Summary
protected AbstractLengthExpr(ValueBox opBox)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
abstract  java.lang.Object clone()
          Returns a clone of this Value.
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(java.lang.Object o)
          Returns true if this object is equivalent to o.
 Type getType()
          Returns the Soot type of this Value.
 java.lang.String toBriefString()
          Returns a brief description of this object.
 java.lang.String toString()
           
 
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(java.lang.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 java.lang.Object clone()
Description copied from interface: Value
Returns a clone of this Value.
Specified by:
clone in interface Value
Overrides:
clone in class AbstractUnopExpr

toString

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

toBriefString

public java.lang.String toBriefString()
Description copied from interface: ToBriefString
Returns a brief description of this object.
Specified by:
toBriefString in interface ToBriefString
Overrides:
toBriefString in class AbstractUnopExpr

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