Package sootup.spark
Record Class MethodPAGStmtVisitor.OtfContext
java.lang.Object
java.lang.Record
sootup.spark.MethodPAGStmtVisitor.OtfContext
- Enclosing class:
- MethodPAGStmtVisitor
public static record MethodPAGStmtVisitor.OtfContext(IncrementalPointsToAnalysis propagator, Deque<MethodSignature> worklist, List<MethodPAGStmtVisitor.PendingVirtualCall> otfPendingVirtualCalls)
extends Record
Bag of OTF-only collaborators; null in CHA mode.
-
Constructor Summary
ConstructorsConstructorDescriptionOtfContext(IncrementalPointsToAnalysis propagator, Deque<MethodSignature> worklist, List<MethodPAGStmtVisitor.PendingVirtualCall> otfPendingVirtualCalls) Creates an instance of aOtfContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theotfPendingVirtualCallsrecord component.Returns the value of thepropagatorrecord component.final StringtoString()Returns a string representation of this record class.worklist()Returns the value of theworklistrecord component.
-
Constructor Details
-
OtfContext
public OtfContext(IncrementalPointsToAnalysis propagator, Deque<MethodSignature> worklist, List<MethodPAGStmtVisitor.PendingVirtualCall> otfPendingVirtualCalls) Creates an instance of aOtfContextrecord class.- Parameters:
propagator- the value for thepropagatorrecord componentworklist- the value for theworklistrecord componentotfPendingVirtualCalls- the value for theotfPendingVirtualCallsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
propagator
Returns the value of thepropagatorrecord component.- Returns:
- the value of the
propagatorrecord component
-
worklist
Returns the value of theworklistrecord component.- Returns:
- the value of the
worklistrecord component
-
otfPendingVirtualCalls
Returns the value of theotfPendingVirtualCallsrecord component.- Returns:
- the value of the
otfPendingVirtualCallsrecord component
-