de.rwth.dfa.jvm.samples
Class CPAbstraction.ExceptionHeaderFunction
java.lang.Object
|
+--de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction
|
+--de.rwth.dfa.jvm.samples.CPAbstraction.ExceptionHeaderFunction
- All Implemented Interfaces:
- Function
- Enclosing class:
- CPAbstraction
- protected class CPAbstraction.ExceptionHeaderFunction
- extends CPAbstraction.CPFunction
Creates a new stack with only a CFPComponentLattice.NONNULLCOMPONENT
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CPAbstraction.ExceptionHeaderFunction
public CPAbstraction.ExceptionHeaderFunction()
- Creates a new
ExceptionHeaderFunction
instance.
apply
public java.lang.Object apply(java.lang.Object x)
throws FunctionException
- Creates a new stack with only a
CFPComponentLattice.NONNULLCOMPONENT
.
- Overrides:
apply
in class CPAbstraction.CPFunction
- Parameters:
x
- an Object
value- Returns:
- an
Object
value - Throws:
FunctionException
- if an error occurs
apply
protected void apply(java.lang.Object[] locals,
java.util.Stack stack)
throws FunctionException
- Always throws an IllegalArgumentException.
- Overrides:
apply
in class CPAbstraction.CPFunction
- Parameters:
locals
- an Object[]
valuestack
- a Stack
value- Throws:
FunctionException
- if an error occurs
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object