public class org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo extends java.lang.Object
{
public java.lang.String topElement;
public java.lang.String packageableElementJSONType;
public java.util.List model;
public void <init>(java.lang.String, java.lang.String, org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel)
{
org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel v;
org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo v;
java.lang.String v, v;
org.eclipse.collections.api.list.MutableList v;
v := @this: org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo: java.lang.String topElement> = v;
v = specialinvoke v.<org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo: org.eclipse.collections.api.list.MutableList buildModelFromElement(java.lang.String,org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel,java.lang.String)>(v, v, "vX_X_X");
v.<org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo: java.util.List model> = v;
v.<org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo: java.lang.String packageableElementJSONType> = v;
return;
}
public void <init>()
{
org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo v;
v := @this: org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
private org.eclipse.collections.api.list.MutableList buildModelFromElement(java.lang.String, org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel, java.lang.String)
{
org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel v;
org.eclipse.collections.api.block.function.Function v;
org.eclipse.collections.api.list.MutableList v;
org.eclipse.collections.api.RichIterable v, v;
org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport v;
org.finos.legend.pure.m.coreinstance.meta.pure.metamodel.PackageableElement v;
org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo v;
java.lang.String v, v;
v := @this: org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo;
v := @parameter: java.lang.String;
v := @parameter: org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel;
v := @parameter: java.lang.String;
v = virtualinvoke v.<org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel: org.finos.legend.pure.m.coreinstance.meta.pure.metamodel.PackageableElement getPackageableElement(java.lang.String)>(v);
v = virtualinvoke v.<org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel: org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport getExecutionSupport()>();
v = staticinvoke <org.finos.legend.pure.generated.core_pure_protocol_generation_serialization_scan: org.eclipse.collections.api.RichIterable Root_meta_protocols_generation_scan_scanClass_Class_1__Class_MANY_(org.finos.legend.pure.m.coreinstance.meta.pure.metamodel.type.Class,org.finos.legend.pure.m.execution.ExecutionSupport)>(v, v);
v = staticinvoke <org.finos.legend.engine.functionActivator.api.output.ConfigurationInfo$lambda_buildModelFromElement_387811d0_1__2: org.eclipse.collections.api.block.function.Function bootstrap$(org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.RichIterable: org.eclipse.collections.api.RichIterable collect(org.eclipse.collections.api.block.function.Function)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.RichIterable: org.eclipse.collections.api.list.MutableList toList()>();
return v;
}
private static java.lang.String serializeToJSON(java.lang.Object, org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel)
{
org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel v;
java.lang.Object[] v;
org.eclipse.collections.api.factory.list.MutableListFactory v;
org.eclipse.collections.api.list.MutableList v;
org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport v, v;
java.lang.Long v;
java.lang.Object v;
org.finos.legend.pure.generated.Root_meta_json_Config v;
java.lang.String v;
v := @parameter: java.lang.Object;
v := @parameter: org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = newarray (java.lang.Object)[1];
v[0] = v;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList 'with'(java.lang.Object[])>(v);
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(1000L);
v = virtualinvoke v.<org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel: org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport getExecutionSupport()>();
v = staticinvoke <org.finos.legend.pure.generated.core_external_format_json_toJSON: org.finos.legend.pure.generated.Root_meta_json_Config Root_meta_json_config_Boolean_1__Boolean_1__Boolean_1__Boolean_1__Config_1_(boolean,boolean,boolean,boolean,org.finos.legend.pure.m.execution.ExecutionSupport)>(0, 0, 1, 1, v);
v = virtualinvoke v.<org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel: org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport getExecutionSupport()>();
v = staticinvoke <org.finos.legend.pure.generated.core_external_format_json_toJSON: java.lang.String Root_meta_json_toJSON_Any_MANY__Integer_$0_1$__Config_1__String_1_(org.eclipse.collections.api.RichIterable,java.lang.Long,org.finos.legend.pure.generated.Root_meta_json_Config,org.finos.legend.pure.m.execution.ExecutionSupport)>(v, v, v, v);
return v;
}
}