Class DeclaringConstructOf

java.lang.Object
org.ek9lang.compiler.support.DeclaringConstructOf
All Implemented Interfaces:
Function<String,String>, UnaryOperator<String>

public final class DeclaringConstructOf extends Object implements UnaryOperator<String>
THE inverse of CallableIdentity: the declaring construct of a call-graph identity. module::Aggregate.member yields module::Aggregate; a module-level function or program module::name yields itself; null yields null. Use this to lift a callable-granular call-graph answer to construct granularity; do NOT hand-roll the split.

It lives beside the code that mints the format, on purpose. Two byte-identical private copies had already appeared in compiler-services extractors, and a parser sitting in a different module from the minter is precisely the drifting shortcut that breaks silently the day the format changes - nothing would fail to compile, the split would just quietly return the wrong construct. Was CallableIdentity.declaringConstructOf (no-statics lane S3, 2026-10-29).

  • Constructor Details

    • DeclaringConstructOf

      public DeclaringConstructOf()
  • Method Details