|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.rwth.dfa.jvm.samples.SSAbstraction.SSFunction
This class models the functions of this abstraction.
Inner classes inherited from class de.rwth.domains.Function |
Function.Tools |
Field Summary | |
protected int |
consume
The number of operand stack elements consumed by this function. |
protected int |
produce
The number of operand stack elements produced by this function. |
Constructor Summary | |
SSAbstraction.SSFunction(de.fub.bytecode.generic.InstructionHandle ih)
Creates a new SSFunction instance. |
Method Summary | |
java.lang.Object |
apply(java.lang.Object o)
Models the effect of the instruction of this function on the operand stack size. |
Set |
getDomain()
Returns this abstractions instance of SSLattice. |
Set |
getRange()
Returns this abstractions instance of SSLattice. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int produce
protected int consume
Constructor Detail |
public SSAbstraction.SSFunction(de.fub.bytecode.generic.InstructionHandle ih)
SSFunction
instance.ih
- an InstructionHandle
valueMethod Detail |
public java.lang.Object apply(java.lang.Object o) throws FunctionException
apply
in interface Function
o
- an Object
value: Must be an element of SSLatticeObject
value: Must be an element of SSLatticeFunctionException
- if an error occurspublic Set getDomain()
getDomain
in interface Function
Set
valuepublic Set getRange()
getRange
in interface Function
Set
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |