boolean (StructClass cl) { String canonicalConstructorDescriptor = cl.getRecordComponents().stream().map(StructField::getDescriptor).collect(Collectors.joining("", "(", ")V")); StructMethod init = cl.getMethod(CodeConstants.INIT_NAME, canonicalConstructorDescriptor); return init != null && init.hasModifier(CodeConstants.ACC_VARARGS); }