Record Class PlaceholderToken
- Record Components:
paramFqn- fully-qualified name of the parameter symbol — uniquely identifies "parameter N of function F" across the program even if multiple functions share the same parameter name.
MutexLock parameter whose underlying object
is unknown until resolved at a specific call site.
Used by LockIdentityValue as one of its two identity-token variants
(the other being an opaque Object reference for allocation tokens).
Equality is structural on paramFqn — two placeholders for the
same parameter, minted at different times or in different inference instances,
must compare equal so the mayEnter fixpoint sees consistent identities across
call-graph propagation passes.
Resolution happens during inter-procedural propagation
(InterproceduralLockAnalyzer):
when a record carrying a placeholder identity is composed into a caller's
mayEnter, the propagator looks up the call-edge's argument binding
for the placeholder's paramFqn and substitutes whatever caller-side
identity the argument resolved to. The placeholder is the static-analysis
analogue of "fill this slot when you push the next stack frame."
-
Constructor Summary
ConstructorsConstructorDescriptionPlaceholderToken(String paramFqn) Creates an instance of aPlaceholderTokenrecord 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.paramFqn()Returns the value of theparamFqnrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlaceholderToken
-
-
Method Details
-
toString
-
hashCode
-
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). -
paramFqn
-