Package sootup.spark
Record Class MethodPAGStmtVisitor.PendingVirtualCall
java.lang.Object
java.lang.Record
sootup.spark.MethodPAGStmtVisitor.PendingVirtualCall
- Enclosing class:
- MethodPAGStmtVisitor
public static record MethodPAGStmtVisitor.PendingVirtualCall(MethodSignature srcSig, AbstractInvokeExpr expr, Optional<Value> lhs, InvokableStmt stmt)
extends Record
Captured invoke site whose targets are decided by the OTF builder via points-to.
-
Constructor Summary
ConstructorsConstructorDescriptionPendingVirtualCall(MethodSignature srcSig, AbstractInvokeExpr expr, Optional<Value> lhs, InvokableStmt stmt) Creates an instance of aPendingVirtualCallrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.expr()Returns the value of theexprrecord component.final inthashCode()Returns a hash code value for this object.lhs()Returns the value of thelhsrecord component.srcSig()Returns the value of thesrcSigrecord component.stmt()Returns the value of thestmtrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PendingVirtualCall
public PendingVirtualCall(MethodSignature srcSig, AbstractInvokeExpr expr, Optional<Value> lhs, InvokableStmt stmt) Creates an instance of aPendingVirtualCallrecord class.- Parameters:
srcSig- the value for thesrcSigrecord componentexpr- the value for theexprrecord componentlhs- the value for thelhsrecord componentstmt- the value for thestmtrecord 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). -
srcSig
Returns the value of thesrcSigrecord component.- Returns:
- the value of the
srcSigrecord component
-
expr
Returns the value of theexprrecord component.- Returns:
- the value of the
exprrecord component
-
lhs
Returns the value of thelhsrecord component.- Returns:
- the value of the
lhsrecord component
-
stmt
Returns the value of thestmtrecord component.- Returns:
- the value of the
stmtrecord component
-