Class ParameterState
- All Implemented Interfaces:
IVariable<ParameterState>, INodeWithNumber
Encapsulates the state of all parameters of an invoked method
- Author:
- markus
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParameterState(NullPointerState state, int[] parameterNumbers) Constructor to make aParameteStateout of a regularNullPointerState. -
Method Summary
Modifier and TypeMethodDescriptionvoidSet this variable to have the same state as another onestatic ParameterStategetState(int varNum) Returns the state of an specified parameter.voidsetState(int varNum, NullPointerState.State state) toString()Methods inherited from class AbstractVariable
equals, getOrderNumber, hashCode, nextHash, setOrderNumberMethods inherited from class NodeWithNumber
getGraphNodeId, setGraphNodeIdMethods inherited from interface INodeWithNumber
getGraphNodeId, setGraphNodeId
-
Field Details
-
NO_THIS_PTR
public static final int NO_THIS_PTR- See Also:
-
-
Constructor Details
-
ParameterState
public ParameterState() -
ParameterState
Constructor to make aParameteStateout of a regularNullPointerState.- Parameters:
state- TheNullPointerStateto parse.parameterNumbers- The numbers of parameters instate
-
-
Method Details
-
createDefault
-
setState
-
getStates
-
getState
Returns the state of an specified parameter.- Parameters:
varNum- The SSA var num of the parameter- Returns:
- the state of the parameter defined with
varNum
-
copyState
Description copied from interface:IVariableSet this variable to have the same state as another one -
toString
-