I guess that the activity diagram would be the most pertinent.
Sequence diagram is dedicated to model set of method call, you can not model a simple thing as a = b+c for exemple
State diagram focuses on the state of your object. For me it is out of your scope.
Activity diagram allows you to model method call and treatment on variable as read a value...
Of course you can combine them for example you can use sequence and activity.