Package com.offbynull.coroutines.user
Class SerializedState.FrameUpdatePoint
- java.lang.Object
-
- com.offbynull.coroutines.user.SerializedState.FrameUpdatePoint
-
- Enclosing class:
- SerializedState
public static final class SerializedState.FrameUpdatePoint extends java.lang.ObjectFrame update point.What's the difference between
SerializedState.FrameUpdatePointandSerializedState.FrameInterceptPoint?SerializedState.FrameUpdatePointrequires that the modifier change at least one of the following properties of the frame: class name, method id, or continuation point id.SerializedState.FrameInterceptPointon the other hand requires that these properties remain the same.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringclassNameprivate intcontinuationPointIdprivate SerializedState.FrameModifierframeModifierprivate intmethodId
-
Constructor Summary
Constructors Constructor Description FrameUpdatePoint(java.lang.String className, int methodId, int continuationPointId, SerializedState.FrameModifier frameModifier)Constructs aSerializedState.FrameUpdatePointobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) SerializationUtils.FrameUpdatePointKeytoKey()java.lang.StringtoString()(package private) SerializationUtils.FrameUpdatePointValuetoValue()
-
-
-
Field Detail
-
className
private final java.lang.String className
-
methodId
private final int methodId
-
continuationPointId
private final int continuationPointId
-
frameModifier
private final SerializedState.FrameModifier frameModifier
-
-
Constructor Detail
-
FrameUpdatePoint
public FrameUpdatePoint(java.lang.String className, int methodId, int continuationPointId, SerializedState.FrameModifier frameModifier)Constructs aSerializedState.FrameUpdatePointobject.- Parameters:
className- class name for the continuation pointmethodId- method id (used to identify method)continuationPointId- continuation point IDframeModifier- logic to modify the frame's contents to the new version- Throws:
java.lang.NullPointerException- if any argument isnulljava.lang.IllegalArgumentException- ifcontinuationPointId < 0, or ifoldMethodId == @code newMethodId
-
-
Method Detail
-
toKey
SerializationUtils.FrameUpdatePointKey toKey()
-
toValue
SerializationUtils.FrameUpdatePointValue toValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-