Class JvmSignatures
java.lang.Object
org.ek9lang.compiler.backend.jvm.support.JvmSignatures
Shared construction of JVM method/constructor descriptors from already-JVM-internal type names.
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).
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringreferenceConstructorDescriptor(String firstParamJvm, List<String> moreParamsJvm) A void-returning constructor descriptor over reference-type parameters, given their JVM internal names:(LfirstParam;LrestParam0;...)V.
-
Method Details
-
referenceConstructorDescriptor
public static String referenceConstructorDescriptor(String firstParamJvm, List<String> moreParamsJvm) A void-returning constructor descriptor over reference-type parameters, given their JVM internal names:(LfirstParam;LrestParam0;...)V.- Parameters:
firstParamJvm- the first parameter's JVM internal name (e.g.org/ek9/lang/String)moreParamsJvm- the remaining parameters' JVM internal names
-