|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction | +--de.rwth.dfa.jvm.samples.CPAbstraction.AllocationFunction
Pushes a CFPComponentLattice.NONNULLCOMPONENT
onto the stack.
Inner classes inherited from class de.rwth.domains.Function |
Function.Tools |
Fields inherited from class de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction |
consume, produce |
Constructor Summary | |
CPAbstraction.AllocationFunction(int consume,
int produce)
Creates a new AllocationFunction instance. |
Method Summary | |
protected void |
apply(java.lang.Object[] locals,
java.util.Stack stack)
Removes as many elements from the stack as necessary, pushes as many CFPComponentLattice.UNKNOWNCOMPONENT as necessary, and pushed a CFPComponentLattice.NONNULLCOMPONENT . |
java.lang.String |
toString()
|
Methods inherited from class de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction |
apply, getDomain, getRange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CPAbstraction.AllocationFunction(int consume, int produce)
AllocationFunction
instance.consume
- an int
valueproduce
- an int
valueMethod Detail |
protected void apply(java.lang.Object[] locals, java.util.Stack stack) throws FunctionException
CFPComponentLattice.UNKNOWNCOMPONENT
as necessary, and pushed a CFPComponentLattice.NONNULLCOMPONENT
.apply
in class CPAbstraction.CPFunction
locals
- an Object[]
valuestack
- a Stack
valueFunctionException
- if an error occurspublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |