From 6b443d531052ec39389913b0a2b339cc29c53c48 Mon Sep 17 00:00:00 2001 From: Mauricio Uyaguari Date: Tue, 19 Mar 2024 17:25:35 -0400 Subject: [PATCH] move PureModelContextDataGenerator to compiler (#2709) --- .../pom.xml | 1 - .../PureModelContextDataGenerator.java | 2 +- .../pom.xml | 4 --- .../api/analytics/BindingAnalytics.java | 2 +- .../pom.xml | 2 +- .../pom.xml | 4 --- .../engine/api/analytics/ClassAnalytics.java | 2 +- .../legend-engine-xts-analytics-class/pom.xml | 2 +- .../pom.xml | 4 --- .../api/analytics/FunctionAnalytics.java | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 4 --- .../api/analytics/MappingAnalytics.java | 2 +- .../pom.xml | 2 +- .../pom.xml | 4 --- .../analytics/DataSpaceAnalyticsHelper.java | 2 +- .../legend-engine-xt-diagram-api/pom.xml | 4 --- .../api/analytics/DiagramAnalytics.java | 4 +-- .../legend-engine-external-shared/pom.xml | 12 --------- .../format/imports/FileImportContent.java | 22 ---------------- .../PureModelContextGenerationInput.java | 26 ------------------- 22 files changed, 12 insertions(+), 99 deletions(-) rename {legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports => legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/fromPureGraph}/PureModelContextDataGenerator.java (99%) delete mode 100644 legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/FileImportContent.java delete mode 100644 legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextGenerationInput.java diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/pom.xml b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/pom.xml index 0b8dcda63ba..39c10be84cc 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/pom.xml +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/pom.xml @@ -179,7 +179,6 @@ com.fasterxml.jackson.core jackson-databind - runtime diff --git a/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextDataGenerator.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/fromPureGraph/PureModelContextDataGenerator.java similarity index 99% rename from legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextDataGenerator.java rename to legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/fromPureGraph/PureModelContextDataGenerator.java index a3cdc8051e2..85c81f4f6b9 100644 --- a/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextDataGenerator.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/fromPureGraph/PureModelContextDataGenerator.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.finos.legend.engine.external.shared.format.imports; +package org.finos.legend.engine.language.pure.compiler.fromPureGraph; import com.fasterxml.jackson.databind.ObjectMapper; import org.eclipse.collections.api.RichIterable; diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/pom.xml index 462598270ad..0fc4712ead0 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/pom.xml @@ -29,10 +29,6 @@ - - org.finos.legend.engine - legend-engine-external-shared - org.finos.legend.engine legend-engine-language-pure-modelManager diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/src/main/java/org/finos/legend/engine/api/analytics/BindingAnalytics.java b/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/src/main/java/org/finos/legend/engine/api/analytics/BindingAnalytics.java index 56bcc213d2e..6d052fb19ac 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/src/main/java/org/finos/legend/engine/api/analytics/BindingAnalytics.java +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/legend-engine-xt-analytics-binding-api/src/main/java/org/finos/legend/engine/api/analytics/BindingAnalytics.java @@ -24,7 +24,7 @@ import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.api.analytics.model.BindingModelCoverageAnalysisInput; -import org.finos.legend.engine.external.shared.format.imports.PureModelContextDataGenerator; +import org.finos.legend.engine.language.pure.compiler.fromPureGraph.PureModelContextDataGenerator; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.modelManager.ModelManager; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/pom.xml index c670485ff1c..2ed2e0a29d7 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-binding/pom.xml @@ -24,7 +24,7 @@ legend-engine-xts-analytics-binding pom - Legend Engine - XTS - Analytics + Legend Engine - XTS - Analytics - Binding legend-engine-xt-analytics-binding-pure diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/pom.xml index 25756e9e1a4..a0d90a56802 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/pom.xml @@ -36,10 +36,6 @@ - - org.finos.legend.engine - legend-engine-external-shared - org.finos.legend.engine legend-engine-language-pure-modelManager diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/src/main/java/org/finos/legend/engine/api/analytics/ClassAnalytics.java b/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/src/main/java/org/finos/legend/engine/api/analytics/ClassAnalytics.java index 910c6a234f9..dbdc3695edb 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/src/main/java/org/finos/legend/engine/api/analytics/ClassAnalytics.java +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-class/legend-engine-xt-analytics-class-api/src/main/java/org/finos/legend/engine/api/analytics/ClassAnalytics.java @@ -24,7 +24,7 @@ import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.api.analytics.model.ClassModelCoverageAnalysisInput; -import org.finos.legend.engine.external.shared.format.imports.PureModelContextDataGenerator; +import org.finos.legend.engine.language.pure.compiler.fromPureGraph.PureModelContextDataGenerator; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.modelManager.ModelManager; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-class/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-class/pom.xml index 5bc4cd99705..9e894adcba0 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-class/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-class/pom.xml @@ -24,7 +24,7 @@ legend-engine-xts-analytics-class pom - Legend Engine - XTS - Analytics + Legend Engine - XTS - Analytics - Class legend-engine-xt-analytics-class-pure diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/pom.xml index f87a02d897a..f491a6a1ff8 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/pom.xml @@ -36,10 +36,6 @@ - - org.finos.legend.engine - legend-engine-external-shared - org.finos.legend.engine legend-engine-language-pure-modelManager diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/src/main/java/org/finos/legend/engine/api/analytics/FunctionAnalytics.java b/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/src/main/java/org/finos/legend/engine/api/analytics/FunctionAnalytics.java index 1c9d591ef6c..d580b349ad3 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/src/main/java/org/finos/legend/engine/api/analytics/FunctionAnalytics.java +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-function/legend-engine-xt-analytics-function-api/src/main/java/org/finos/legend/engine/api/analytics/FunctionAnalytics.java @@ -23,7 +23,7 @@ import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.api.analytics.model.FunctionModelCoverageAnalysisInput; -import org.finos.legend.engine.external.shared.format.imports.PureModelContextDataGenerator; +import org.finos.legend.engine.language.pure.compiler.fromPureGraph.PureModelContextDataGenerator; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.modelManager.ModelManager; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-function/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-function/pom.xml index ad52a45de79..fc68ed7f860 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-function/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-function/pom.xml @@ -24,7 +24,7 @@ legend-engine-xts-analytics-function pom - Legend Engine - XTS - Analytics + Legend Engine - XTS - Analytics - Function legend-engine-xt-analytics-function-pure diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-lineage/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-lineage/pom.xml index bfa77586815..c56d84a0a2e 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-lineage/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-lineage/pom.xml @@ -24,7 +24,7 @@ legend-engine-xts-analytics-lineage pom - Legend Engine - XTS - Analytics + Legend Engine - XTS - Analytics - Lineage legend-engine-xt-analytics-lineage-api diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/pom.xml index d5ff9035a33..e4affa096cf 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/pom.xml @@ -50,10 +50,6 @@ org.finos.legend.engine legend-engine-xt-analytics-mapping-pure - - org.finos.legend.engine - legend-engine-external-shared - org.finos.legend.engine legend-engine-language-pure-grammar diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/src/main/java/org/finos/legend/engine/api/analytics/MappingAnalytics.java b/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/src/main/java/org/finos/legend/engine/api/analytics/MappingAnalytics.java index ded297fce5b..605fb759737 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/src/main/java/org/finos/legend/engine/api/analytics/MappingAnalytics.java +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/legend-engine-xt-analytics-mapping-api/src/main/java/org/finos/legend/engine/api/analytics/MappingAnalytics.java @@ -26,7 +26,7 @@ import org.finos.legend.engine.api.analytics.model.MappingModelCoverageAnalysisInput; import org.finos.legend.engine.api.analytics.model.MappingRuntimeCompatibilityAnalysisInput; import org.finos.legend.engine.api.analytics.model.MappingRuntimeCompatibilityAnalysisResult; -import org.finos.legend.engine.external.shared.format.imports.PureModelContextDataGenerator; +import org.finos.legend.engine.language.pure.compiler.fromPureGraph.PureModelContextDataGenerator; import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperModelBuilder; import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperRuntimeBuilder; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/pom.xml b/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/pom.xml index 78655c57c8f..21f2eeeb217 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/pom.xml +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-mapping/pom.xml @@ -24,7 +24,7 @@ legend-engine-xts-analytics-mapping pom - Legend Engine - XTS - Analytics + Legend Engine - XTS - Analytics - Mapping legend-engine-xt-analytics-mapping-api diff --git a/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/pom.xml b/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/pom.xml index 820bf986e04..da0f901be97 100644 --- a/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/pom.xml +++ b/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/pom.xml @@ -99,10 +99,6 @@ org.finos.legend.engine legend-engine-language-pure-dsl-generation - - org.finos.legend.engine - legend-engine-external-shared - org.finos.legend.engine legend-engine-xt-analytics-mapping-protocol diff --git a/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/src/main/java/org/finos/legend/engine/generation/analytics/DataSpaceAnalyticsHelper.java b/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/src/main/java/org/finos/legend/engine/generation/analytics/DataSpaceAnalyticsHelper.java index 65fb8b79f08..8a2c1b53b4e 100644 --- a/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/src/main/java/org/finos/legend/engine/generation/analytics/DataSpaceAnalyticsHelper.java +++ b/legend-engine-xts-data-space/legend-engine-xt-data-space-generation/src/main/java/org/finos/legend/engine/generation/analytics/DataSpaceAnalyticsHelper.java @@ -23,7 +23,7 @@ import org.finos.legend.engine.entitlement.services.EntitlementModelObjectMapperFactory; import org.finos.legend.engine.entitlement.services.EntitlementServiceExtension; import org.finos.legend.engine.entitlement.services.EntitlementServiceExtensionLoader; -import org.finos.legend.engine.external.shared.format.imports.PureModelContextDataGenerator; +import org.finos.legend.engine.language.pure.compiler.fromPureGraph.PureModelContextDataGenerator; import org.finos.legend.engine.generation.analytics.model.*; import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperModelBuilder; import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperValueSpecificationBuilder; diff --git a/legend-engine-xts-diagram/legend-engine-xt-diagram-api/pom.xml b/legend-engine-xts-diagram/legend-engine-xt-diagram-api/pom.xml index c9b3d5e6747..b0ba2a6be12 100644 --- a/legend-engine-xts-diagram/legend-engine-xt-diagram-api/pom.xml +++ b/legend-engine-xts-diagram/legend-engine-xt-diagram-api/pom.xml @@ -56,10 +56,6 @@ org.finos.legend.engine legend-engine-language-pure-modelManager - - org.finos.legend.engine - legend-engine-external-shared - org.finos.legend.engine legend-engine-xt-diagram-compiler diff --git a/legend-engine-xts-diagram/legend-engine-xt-diagram-api/src/main/java/org/finos/legend/engine/api/analytics/DiagramAnalytics.java b/legend-engine-xts-diagram/legend-engine-xt-diagram-api/src/main/java/org/finos/legend/engine/api/analytics/DiagramAnalytics.java index c7466b2a38b..54004d6abbf 100644 --- a/legend-engine-xts-diagram/legend-engine-xt-diagram-api/src/main/java/org/finos/legend/engine/api/analytics/DiagramAnalytics.java +++ b/legend-engine-xts-diagram/legend-engine-xt-diagram-api/src/main/java/org/finos/legend/engine/api/analytics/DiagramAnalytics.java @@ -23,13 +23,11 @@ import org.eclipse.collections.api.RichIterable; import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.impl.factory.Lists; -import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.api.analytics.model.DiagramModelCoverageAnalysisInput; -import org.finos.legend.engine.external.shared.format.imports.PureModelContextDataGenerator; +import org.finos.legend.engine.language.pure.compiler.fromPureGraph.PureModelContextDataGenerator; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.modelManager.ModelManager; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.Enumeration; import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.engine.shared.core.api.result.ManageConstantResult; import org.finos.legend.engine.shared.core.identity.Identity; diff --git a/legend-engine-xts-generation/legend-engine-external-shared/pom.xml b/legend-engine-xts-generation/legend-engine-external-shared/pom.xml index d9e477c588f..c340ae6f89f 100644 --- a/legend-engine-xts-generation/legend-engine-external-shared/pom.xml +++ b/legend-engine-xts-generation/legend-engine-external-shared/pom.xml @@ -49,10 +49,6 @@ legend-engine-language-pure-dsl-generation-pure - - org.finos.legend.engine - legend-engine-pure-code-compiled-core - org.finos.legend.engine legend-engine-protocol-pure @@ -83,10 +79,6 @@ - - com.fasterxml.jackson.core - jackson-databind - com.fasterxml.jackson.core jackson-annotations @@ -98,10 +90,6 @@ org.eclipse.collections eclipse-collections-api - - org.eclipse.collections - eclipse-collections - \ No newline at end of file diff --git a/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/FileImportContent.java b/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/FileImportContent.java deleted file mode 100644 index 230ae1aae79..00000000000 --- a/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/FileImportContent.java +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2020 Goldman Sachs -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package org.finos.legend.engine.external.shared.format.imports; - -public class FileImportContent -{ - public String fileName; - public String content; -} - diff --git a/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextGenerationInput.java b/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextGenerationInput.java deleted file mode 100644 index 53eeabfeeaa..00000000000 --- a/legend-engine-xts-generation/legend-engine-external-shared/src/main/java/org/finos/legend/engine/external/shared/format/imports/PureModelContextGenerationInput.java +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2020 Goldman Sachs -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package org.finos.legend.engine.external.shared.format.imports; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.util.List; - -public class PureModelContextGenerationInput -{ - @JsonProperty("package") - public String _package; - public List imports; -}