public class org.finos.legend.engine.ide.helpers.response.ExceptionTranslation extends java.lang.Object
{
public static final org.finos.legend.pure.m.coreinstance.SourceInformation DUMMY_SOURCE_INFORMATION;
public void <init>()
{
org.finos.legend.engine.ide.helpers.response.ExceptionTranslation v;
v := @this: org.finos.legend.engine.ide.helpers.response.ExceptionTranslation;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public static org.finos.legend.engine.ide.helpers.response.IDEResponse buildExceptionMessage(org.finos.legend.engine.ide.session.PureSession, java.lang.Throwable, java.io.ByteArrayOutputStream)
{
java.io.PrintWriter v;
java.lang.Throwable v;
java.io.ByteArrayOutputStream v;
java.io.StringWriter v;
java.lang.Exception v;
org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse v;
org.finos.legend.engine.ide.helpers.response.IDEResponse v;
org.finos.legend.engine.ide.session.PureSession v;
org.finos.legend.pure.m.exception.PureException v;
java.lang.String v, v, v;
v := @parameter: org.finos.legend.engine.ide.session.PureSession;
v := @parameter: java.lang.Throwable;
v := @parameter: java.io.ByteArrayOutputStream;
label:
v = staticinvoke <org.finos.legend.pure.m.exception.PureException: org.finos.legend.pure.m.exception.PureException findPureException(java.lang.Throwable)>(v);
if v == null goto label;
v = staticinvoke <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation: org.finos.legend.engine.ide.helpers.response.IDEResponse pureExceptionToJson(org.finos.legend.engine.ide.session.PureSession,org.finos.legend.pure.m.exception.PureException,java.io.ByteArrayOutputStream)>(v, v, v);
label:
return v;
label:
v := @caughtexception;
label:
v = new org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void <init>()>();
if v == null goto label;
v = virtualinvoke v.<java.io.ByteArrayOutputStream: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\n");
virtualinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void appendText(java.lang.String)>(v);
label:
v = new java.io.StringWriter;
specialinvoke v.<java.io.StringWriter: void <init>()>();
v = new java.io.PrintWriter;
specialinvoke v.<java.io.PrintWriter: void <init>(java.io.Writer)>(v);
virtualinvoke v.<java.lang.Throwable: void printStackTrace(java.io.PrintWriter)>(v);
v = virtualinvoke v.<java.io.StringWriter: java.lang.String toString()>();
virtualinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void appendText(java.lang.String)>(v);
return v;
catch java.lang.Exception from label to label with label;
}
public static org.finos.legend.engine.ide.helpers.response.IDEResponse pureExceptionToJson(org.finos.legend.engine.ide.session.PureSession, org.finos.legend.pure.m.exception.PureException, java.io.ByteArrayOutputStream)
{
java.lang.Integer v, v, v, v, v, v;
org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse v, v, v, v;
org.eclipse.collections.api.RichIterable v, v, v, v;
org.finos.legend.engine.ide.session.PureSession v;
org.finos.legend.pure.m.serialization.runtime.PureRuntime v, v;
org.eclipse.collections.api.block.procedure.Procedure v;
org.eclipse.collections.api.list.ListIterable v, v, v, v;
java.io.ByteArrayOutputStream v;
org.eclipse.collections.api.map.MutableMap v;
java.lang.String v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.finos.legend.pure.m.coreinstance.SourceInformation v, v, v, v;
java.lang.RuntimeException v;
org.finos.legend.pure.m.coreinstance.CoreInstance v, v, v;
org.finos.legend.pure.m.exception.PureException v, v;
org.finos.legend.pure.m.serialization.filesystem.usercodestorage.MutableRepositoryCodeStorage v, v;
org.finos.legend.pure.m.serialization.runtime.Source v;
org.eclipse.collections.api.list.MutableList v, v, v, v, v, v;
org.eclipse.collections.api.set.MutableSet v, v;
boolean v, v, v, v, v, v, v, v, v;
java.io.UnsupportedEncodingException v;
org.finos.legend.engine.ide.helpers.response.IDEParserOrCompilerException v;
org.eclipse.collections.api.factory.list.MutableListFactory v, v, v;
org.eclipse.collections.api.factory.map.MutableMapFactory v;
java.nio.charset.Charset v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Boolean v;
org.eclipse.collections.api.tuple.Pair v;
org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse v;
org.eclipse.collections.api.factory.set.MutableSetFactory v, v;
java.util.Iterator v, v;
org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse v;
org.finos.legend.engine.ide.helpers.response.Candidate v;
java.lang.Object v, v, v, v, v, v;
v := @parameter: org.finos.legend.engine.ide.session.PureSession;
v := @parameter: org.finos.legend.pure.m.exception.PureException;
v := @parameter: java.io.ByteArrayOutputStream;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: org.finos.legend.pure.m.exception.PureException getOriginatingPureException()>();
if v != null goto label;
v = null;
goto label;
label:
v = virtualinvoke v.<org.finos.legend.engine.ide.session.PureSession: org.finos.legend.pure.m.serialization.runtime.PureRuntime getPureRuntime()>();
label:
v = v;
v = v instanceof org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException;
if v == 0 goto label;
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object)>(v);
v = v.<org.finos.legend.engine.ide.session.PureSession: org.finos.legend.pure.m.serialization.filesystem.usercodestorage.MutableRepositoryCodeStorage codeStorage>;
v = interfaceinvoke v.<org.finos.legend.pure.m.serialization.filesystem.usercodestorage.MutableRepositoryCodeStorage: org.eclipse.collections.api.RichIterable getAllRepositories()>();
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException: org.eclipse.collections.api.RichIterable getImportCandidates(org.eclipse.collections.api.RichIterable)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.RichIterable: boolean isEmpty()>();
if v == 0 goto label;
v = new org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void <init>()>();
v = v;
goto label;
label:
v = v.<org.finos.legend.engine.ide.session.PureSession: org.finos.legend.pure.m.serialization.filesystem.usercodestorage.MutableRepositoryCodeStorage codeStorage>;
v = interfaceinvoke v.<org.finos.legend.pure.m.serialization.filesystem.usercodestorage.MutableRepositoryCodeStorage: org.eclipse.collections.api.RichIterable getAllRepositories()>();
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException: org.eclipse.collections.api.RichIterable getImportCandidates(org.eclipse.collections.api.RichIterable)>(v);
v = <org.eclipse.collections.api.factory.Maps: org.eclipse.collections.api.factory.map.MutableMapFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.RichIterable: int size()>();
v = interfaceinvoke v.<org.eclipse.collections.api.factory.map.MutableMapFactory: org.eclipse.collections.api.map.MutableMap ofInitialCapacity(int)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.RichIterable: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<org.finos.legend.pure.m.coreinstance.CoreInstance: org.finos.legend.pure.m.coreinstance.SourceInformation getSourceInformation()>();
if v == null goto label;
if v == null goto label;
v = staticinvoke <org.finos.legend.pure.m.navigation.PackageableElement.PackageableElement: java.lang.String getUserPathForPackageableElement(org.finos.legend.pure.m.coreinstance.CoreInstance)>(v);
v = interfaceinvoke v.<org.finos.legend.pure.m.coreinstance.CoreInstance: org.finos.legend.pure.m.coreinstance.CoreInstance getClassifier()>();
v = interfaceinvoke v.<org.finos.legend.pure.m.coreinstance.CoreInstance: java.lang.String getName()>();
v = staticinvoke <org.eclipse.collections.impl.tuple.Tuples: org.eclipse.collections.api.tuple.Pair pair(java.lang.Object,java.lang.Object)>(v, v);
interfaceinvoke v.<org.eclipse.collections.api.map.MutableMap: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException: org.finos.legend.pure.m.coreinstance.CoreInstance getImportGroup()>();
v = interfaceinvoke v.<org.finos.legend.pure.m.coreinstance.CoreInstance: org.finos.legend.pure.m.coreinstance.SourceInformation getSourceInformation()>();
if v != null goto label;
v = <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation: org.finos.legend.pure.m.coreinstance.SourceInformation DUMMY_SOURCE_INFORMATION>;
label:
v = <org.eclipse.collections.api.factory.Sets: org.eclipse.collections.api.factory.set.MutableSetFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.set.MutableSetFactory: org.eclipse.collections.api.set.MutableSet empty()>();
v = <org.eclipse.collections.api.factory.Sets: org.eclipse.collections.api.factory.set.MutableSetFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.set.MutableSetFactory: org.eclipse.collections.api.set.MutableSet empty()>();
v = staticinvoke <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation$lambda_pureExceptionToJson_955d197e_1__1: org.eclipse.collections.api.block.procedure.Procedure bootstrap$(org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException,org.eclipse.collections.api.set.MutableSet,org.eclipse.collections.api.set.MutableSet)>(v, v, v);
interfaceinvoke v.<org.eclipse.collections.api.map.MutableMap: void forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure)>(v);
v = new org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse: void <init>()>();
v = v;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException: java.lang.String getIdOrPath()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse: java.lang.String candidateName> = v;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList of()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse: org.eclipse.collections.api.list.ListIterable candidates> = v;
v = interfaceinvoke v.<org.eclipse.collections.api.set.MutableSet: org.eclipse.collections.api.list.MutableList toSortedList()>();
v = interfaceinvoke v.<org.eclipse.collections.api.set.MutableSet: org.eclipse.collections.api.list.MutableList toSortedList()>();
v = interfaceinvoke v.<org.eclipse.collections.api.list.MutableList: org.eclipse.collections.api.list.MutableList withAll(java.lang.Iterable)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.list.MutableList: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<org.eclipse.collections.api.map.MutableMap: java.lang.Object get(java.lang.Object)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.tuple.Pair: java.lang.Object getOne()>();
v = interfaceinvoke v.<org.eclipse.collections.api.tuple.Pair: java.lang.Object getTwo()>();
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException: java.lang.String getIdOrPath()>();
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>("::");
v = (int) -1;
if v == v goto label;
v = v + 2;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int)>(v);
label:
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>(v);
v = (int) -1;
if v != v goto label;
v = new java.lang.RuntimeException;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnresolvedIdentifierException: java.lang.String getIdOrPath()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Unable to find identifier: \u0001");
specialinvoke v.<java.lang.RuntimeException: void <init>(java.lang.String)>(v);
throw v;
label:
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("import \u0001*;");
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: int getStartLine()>();
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: int getStartColumn()>();
if v != 0 goto label;
v = v + 1;
label:
v = new org.finos.legend.engine.ide.helpers.response.Candidate;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.Candidate: void <init>()>();
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: java.lang.String getSourceId()>();
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.String sourceID> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: int getLine()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.Integer line> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: int getColumn()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.Integer column> = v;
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.String foundName> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: java.lang.String getSourceId()>();
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.String fileToBeModified> = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.Integer lineToBeModified> = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.Integer columnToBeModified> = v;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(1);
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.Boolean add> = v;
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.String messageToBeModified> = v;
v.<org.finos.legend.engine.ide.helpers.response.Candidate: java.lang.String type> = v;
interfaceinvoke v.<org.eclipse.collections.api.list.MutableList: boolean add(java.lang.Object)>(v);
goto label;
label:
v = v instanceof org.finos.legend.pure.m.exception.PureUnmatchedFunctionException;
if v == 0 goto label;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnmatchedFunctionException: org.eclipse.collections.api.list.ListIterable getImportCandidatesWithPackageNotImported()>();
v = interfaceinvoke v.<org.eclipse.collections.api.list.ListIterable: int size()>();
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnmatchedFunctionException: org.eclipse.collections.api.list.ListIterable getImportCandidatesWithPackageImported()>();
v = interfaceinvoke v.<org.eclipse.collections.api.list.ListIterable: int size()>();
v = v + v;
if 0 != v goto label;
v = new org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void <init>()>();
v = v;
goto label;
label:
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnmatchedFunctionException: org.finos.legend.pure.m.coreinstance.CoreInstance getImportGroup()>();
v = interfaceinvoke v.<org.finos.legend.pure.m.coreinstance.CoreInstance: org.finos.legend.pure.m.coreinstance.SourceInformation getSourceInformation()>();
if v != null goto label;
v = <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation: org.finos.legend.pure.m.coreinstance.SourceInformation DUMMY_SOURCE_INFORMATION>;
label:
v = new org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse: void <init>()>();
v = v;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnmatchedFunctionException: java.lang.String getFunctionName()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse: java.lang.String candidateName> = v;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList of()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse: org.eclipse.collections.api.list.ListIterable candidates> = v;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList of()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse: org.eclipse.collections.api.list.ListIterable candidatesWithPackageImported> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnmatchedFunctionException: org.eclipse.collections.api.list.ListIterable getImportCandidatesWithPackageNotImported()>();
staticinvoke <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation: void getCandidatesOutput(org.finos.legend.engine.ide.session.PureSession,org.finos.legend.pure.m.serialization.runtime.PureRuntime,org.finos.legend.pure.m.exception.PureUnmatchedFunctionException,org.finos.legend.pure.m.coreinstance.SourceInformation,org.eclipse.collections.api.list.MutableList,org.eclipse.collections.api.list.ListIterable)>(v, v, v, v, v, v);
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureUnmatchedFunctionException: org.eclipse.collections.api.list.ListIterable getImportCandidatesWithPackageImported()>();
staticinvoke <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation: void getCandidatesOutput(org.finos.legend.engine.ide.session.PureSession,org.finos.legend.pure.m.serialization.runtime.PureRuntime,org.finos.legend.pure.m.exception.PureUnmatchedFunctionException,org.finos.legend.pure.m.coreinstance.SourceInformation,org.eclipse.collections.api.list.MutableList,org.eclipse.collections.api.list.ListIterable)>(v, v, v, v, v, v);
goto label;
label:
v = v instanceof org.finos.legend.pure.m.serialization.grammar.antlr.PureParserException;
if v != 0 goto label;
v = v instanceof org.finos.legend.pure.m.exception.PureCompilationException;
if v == 0 goto label;
label:
v = new org.finos.legend.engine.ide.helpers.response.IDEParserOrCompilerException;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEParserOrCompilerException: void <init>()>();
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: java.lang.String getExceptionName()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEParserOrCompilerException: java.lang.String exceptionType> = v;
v = v;
goto label;
label:
v = new org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse;
specialinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void <init>()>();
v = v;
label:
if v == null goto label;
label:
v = <java.nio.charset.StandardCharsets: java.nio.charset.Charset UTF_8>;
v = virtualinvoke v.<java.nio.charset.Charset: java.lang.String name()>();
v = virtualinvoke v.<java.io.ByteArrayOutputStream: java.lang.String toString(java.lang.String)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\n");
label:
goto label;
label:
v := @caughtexception;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.io.ByteArrayOutputStream)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\n");
label:
virtualinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void appendText(java.lang.String)>(v);
label:
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: boolean hasPureStackTrace()>();
if v == 0 goto label;
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: java.lang.String getMessage()>();
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: java.lang.String getPureStackTrace(java.lang.String)>("    ");
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\n\u0001");
virtualinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void appendText(java.lang.String)>(v);
goto label;
label:
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: java.lang.String getMessage()>();
virtualinvoke v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: void appendText(java.lang.String)>(v);
label:
v = virtualinvoke v.<org.finos.legend.pure.m.exception.PureException: org.finos.legend.pure.m.coreinstance.SourceInformation getSourceInformation()>();
if v == null goto label;
if v == null goto label;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: java.lang.String getSourceId()>();
v = virtualinvoke v.<org.finos.legend.pure.m.serialization.runtime.PureRuntime: org.finos.legend.pure.m.serialization.runtime.Source getSourceById(java.lang.String)>(v);
if v == null goto label;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: java.lang.String getSourceId()>();
v = virtualinvoke v.<org.finos.legend.pure.m.serialization.runtime.PureRuntime: boolean isSourceImmutable(java.lang.String)>(v);
v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: boolean RO> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: java.lang.String getSourceId()>();
v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: java.lang.String source> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: int getLine()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: java.lang.Integer line> = v;
v = virtualinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: int getColumn()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse: java.lang.Integer column> = v;
label:
return v;
catch java.io.UnsupportedEncodingException from label to label with label;
}
private static void getCandidatesOutput(org.finos.legend.engine.ide.session.PureSession, org.finos.legend.pure.m.serialization.runtime.PureRuntime, org.finos.legend.pure.m.exception.PureUnmatchedFunctionException, org.finos.legend.pure.m.coreinstance.SourceInformation, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.list.ListIterable)
{
org.eclipse.collections.api.block.procedure.Procedure v;
org.eclipse.collections.api.factory.map.MutableMapFactory v;
org.eclipse.collections.api.list.MutableList v, v, v, v;
org.finos.legend.pure.m.exception.PureUnmatchedFunctionException v;
org.finos.legend.pure.m.navigation.ProcessorSupport v;
org.eclipse.collections.api.set.MutableSet v, v;
org.eclipse.collections.api.map.MutableMap v;
org.finos.legend.engine.ide.session.PureSession v;
int v;
java.lang.String v;
boolean v;
org.eclipse.collections.api.factory.set.MutableSetFactory v, v;
java.util.Iterator v;
org.finos.legend.pure.m.serialization.runtime.PureRuntime v;
org.finos.legend.pure.m.coreinstance.SourceInformation v, v;
java.lang.Exception v;
org.eclipse.collections.api.block.procedure.Procedure v;
org.eclipse.collections.api.list.ListIterable v;
java.lang.Object v;
java.lang.StringBuilder v;
v := @parameter: org.finos.legend.engine.ide.session.PureSession;
v := @parameter: org.finos.legend.pure.m.serialization.runtime.PureRuntime;
v := @parameter: org.finos.legend.pure.m.exception.PureUnmatchedFunctionException;
v := @parameter: org.finos.legend.pure.m.coreinstance.SourceInformation;
v := @parameter: org.eclipse.collections.api.list.MutableList;
v := @parameter: org.eclipse.collections.api.list.ListIterable;
v = <org.eclipse.collections.api.factory.Maps: org.eclipse.collections.api.factory.map.MutableMapFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.list.ListIterable: int size()>();
v = interfaceinvoke v.<org.eclipse.collections.api.factory.map.MutableMapFactory: org.eclipse.collections.api.map.MutableMap ofInitialCapacity(int)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.list.ListIterable: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<org.finos.legend.pure.m.coreinstance.CoreInstance: org.finos.legend.pure.m.coreinstance.SourceInformation getSourceInformation()>();
if v == null goto label;
if v == null goto label;
v = new java.lang.StringBuilder;
specialinvoke v.<java.lang.StringBuilder: void <init>()>();
label:
v = virtualinvoke v.<org.finos.legend.pure.m.serialization.runtime.PureRuntime: org.finos.legend.pure.m.navigation.ProcessorSupport getProcessorSupport()>();
staticinvoke <org.finos.legend.pure.m.navigation.function.Function: java.lang.Appendable print(java.lang.Appendable,org.finos.legend.pure.m.coreinstance.CoreInstance,org.finos.legend.pure.m.navigation.ProcessorSupport)>(v, v, v);
label:
goto label;
label:
v := @caughtexception;
goto label;
label:
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.String toString()>();
interfaceinvoke v.<org.eclipse.collections.api.map.MutableMap: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
v = <org.eclipse.collections.api.factory.Sets: org.eclipse.collections.api.factory.set.MutableSetFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.set.MutableSetFactory: org.eclipse.collections.api.set.MutableSet empty()>();
v = <org.eclipse.collections.api.factory.Sets: org.eclipse.collections.api.factory.set.MutableSetFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.set.MutableSetFactory: org.eclipse.collections.api.set.MutableSet empty()>();
v = staticinvoke <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation$lambda_getCandidatesOutput_a55c428d_1__2: org.eclipse.collections.api.block.procedure.Procedure bootstrap$(org.finos.legend.pure.m.exception.PureUnmatchedFunctionException,org.eclipse.collections.api.set.MutableSet,org.eclipse.collections.api.set.MutableSet)>(v, v, v);
interfaceinvoke v.<org.eclipse.collections.api.map.MutableMap: void forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure)>(v);
v = interfaceinvoke v.<org.eclipse.collections.api.set.MutableSet: org.eclipse.collections.api.list.MutableList toSortedList()>();
v = interfaceinvoke v.<org.eclipse.collections.api.set.MutableSet: org.eclipse.collections.api.list.MutableList toSortedList()>();
v = interfaceinvoke v.<org.eclipse.collections.api.list.MutableList: org.eclipse.collections.api.list.MutableList withAll(java.lang.Iterable)>(v);
v = staticinvoke <org.finos.legend.engine.ide.helpers.response.ExceptionTranslation$lambda_getCandidatesOutput_4198c7c2_1__3: org.eclipse.collections.api.block.procedure.Procedure bootstrap$(org.eclipse.collections.api.map.MutableMap,org.finos.legend.pure.m.exception.PureUnmatchedFunctionException,org.finos.legend.pure.m.coreinstance.SourceInformation,org.eclipse.collections.api.list.MutableList)>(v, v, v, v);
interfaceinvoke v.<org.eclipse.collections.api.list.MutableList: void forEach(org.eclipse.collections.api.block.procedure.Procedure)>(v);
return;
catch java.lang.Exception from label to label with label;
}
static void <clinit>()
{
org.finos.legend.pure.m.coreinstance.SourceInformation v;
int v, v, v, v;
v = new org.finos.legend.pure.m.coreinstance.SourceInformation;
v = (int) -1;
v = (int) -1;
v = (int) -1;
v = (int) -1;
specialinvoke v.<org.finos.legend.pure.m.coreinstance.SourceInformation: void <init>(java.lang.String,int,int,int,int)>("TOFILL", v, v, v, v);
<org.finos.legend.engine.ide.helpers.response.ExceptionTranslation: org.finos.legend.pure.m.coreinstance.SourceInformation DUMMY_SOURCE_INFORMATION> = v;
return;
}
}