|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.SSAInstruction
com.ibm.wala.cast.ir.ssa.AstAssertInstruction
public class AstAssertInstruction
An assert statement, as found in a variety of languages. It has a use which is the value being asserted to be true. Additionally, there is flag which denotes whether the assertion is from a specification (the usual case) or is an assertion introduced by "compilation" of whatever sort (e.g. to add assertions regarding loop conditions needed by bounded model checking).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction |
|---|
SSAInstruction.IVisitor, SSAInstruction.Visitor |
| Constructor Summary | |
|---|---|
AstAssertInstruction(int value,
boolean fromSpecification)
|
|
| Method Summary | |
|---|---|
SSAInstruction |
copyForSSA(int[] defs,
int[] uses)
This method is meant to be used during SSA conversion for an IR that is not in SSA form. |
java.util.Collection<TypeReference> |
getExceptionTypes()
|
int |
getNumberOfUses()
Method getNumberOfUses. |
int |
getUse(int i)
Method getUse. |
int |
hashCode()
|
boolean |
isFallThrough()
|
boolean |
isFromSpecification()
|
java.lang.String |
toString(SymbolTable symbolTable,
ValueDecorator d)
Method toString. |
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction. |
| Methods inherited from class com.ibm.wala.ssa.SSAInstruction |
|---|
equals, getDef, getDef, getNumberOfDefs, getValueString, hasDef, isPEI, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AstAssertInstruction(int value,
boolean fromSpecification)
| Method Detail |
|---|
public int getNumberOfUses()
SSAInstruction
getNumberOfUses in class SSAInstructionpublic int getUse(int i)
SSAInstruction
getUse in class SSAInstruction
public SSAInstruction copyForSSA(int[] defs,
int[] uses)
SSAInstruction
copyForSSA in class SSAInstructionSSAConversion
public java.lang.String toString(SymbolTable symbolTable,
ValueDecorator d)
SSAInstruction
toString in class SSAInstructionpublic void visit(SSAInstruction.IVisitor v)
SSAInstruction
visit in class SSAInstructionpublic int hashCode()
hashCode in class SSAInstructionpublic java.util.Collection<TypeReference> getExceptionTypes()
getExceptionTypes in class SSAInstructionpublic boolean isFallThrough()
isFallThrough in class SSAInstructionpublic boolean isFromSpecification()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||