Class ForwardTargetDispatched
java.lang.Object
org.ek9lang.compiler.common.ForwardTargetDispatched
Test if a (generic base function) symbol is forward-target dispatched: the closed set of extern
abstract function types a built-in invokes through the erased base
_call(Any...) path with
the argument held RAW — MutexKey (via MutexLock.enter) and Comparator (via
PriorityQueue.withComparator/Ek9Sort).
THE single predicate every front-end (Scenario-2 wrapper generation) and back-end (JVM
Ek9Callable1/2 interface wiring, native _call re-wrap shim + delegate _init)
site asks, instead of hard-coding the two type names. The FORWARD_TARGET squirrelled flag it
reads is stamped at bootstrap on the base generic function symbol from the
org.ek9.lang.Ek9ForwardTargetDispatched marker interface — exactly mirroring how
ExternallyImplemented reads EXTERN. Apply it to the GENERIC BASE type
(pgs.getGenericType()), not the parameterised wrapper.
-
Constructor Details
-
ForwardTargetDispatched
public ForwardTargetDispatched()
-
-
Method Details
-
test
-