diff options
Diffstat (limited to 'org.eclipse.osbp.utils/xtend-gen/org/eclipse/osbp/utils/common/EntityUtils.java')
-rw-r--r-- | org.eclipse.osbp.utils/xtend-gen/org/eclipse/osbp/utils/common/EntityUtils.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.osbp.utils/xtend-gen/org/eclipse/osbp/utils/common/EntityUtils.java b/org.eclipse.osbp.utils/xtend-gen/org/eclipse/osbp/utils/common/EntityUtils.java index af90b25..575e633 100644 --- a/org.eclipse.osbp.utils/xtend-gen/org/eclipse/osbp/utils/common/EntityUtils.java +++ b/org.eclipse.osbp.utils/xtend-gen/org/eclipse/osbp/utils/common/EntityUtils.java @@ -2,10 +2,10 @@ * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 + * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 * * Contributors: @@ -37,6 +37,9 @@ import org.eclipse.xtext.xbase.lib.Exceptions; @SuppressWarnings("all") public class EntityUtils { public static String getQualifiedDtoNameForEntity(final JvmType type) { + if ((type == null)) { + return null; + } try { String qualifiedEntityName = type.getQualifiedName(); ResourceSet resourceSet = type.eResource().getResourceSet(); |