Class ReferenceConstructorDescriptor

java.lang.Object
org.ek9lang.compiler.backend.jvm.support.ReferenceConstructorDescriptor
All Implemented Interfaces:
BiFunction<String, List<String>, String>

public final class ReferenceConstructorDescriptor extends Object implements BiFunction<String, List<String>, String>
THE void-returning constructor descriptor over reference-type parameters, given their JVM internal names: (LfirstParam;LrestParam0;...)V. Single-sources descriptor assembly that was otherwise hand-rolled (and, for the aspect-proxy constructor, duplicated byte-for-byte across two generators that must agree). Hold one.
  • Constructor Details

    • ReferenceConstructorDescriptor

      public ReferenceConstructorDescriptor()
  • Method Details

    • apply

      public String apply(String firstParamJvm, List<String> moreParamsJvm)
      The descriptor.
      Specified by:
      apply in interface BiFunction<String, List<String>, String>
      Parameters:
      firstParamJvm - the first parameter's JVM internal name (e.g. org/ek9/lang/String)
      moreParamsJvm - the remaining parameters' JVM internal names