Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcdumoulin2012-04-07 19:56:30 +0000
committercdumoulin2012-04-07 19:56:30 +0000
commitf11498fc370d5dd2feab8946966f92ade86921e8 (patch)
treeb84784f8b9902bad1acf651e0b9cb1348cb8f29c /extraplugins/java
parent251c239f8dc2c0c883d3866ec36f962d408bbf9a (diff)
downloadorg.eclipse.papyrus-f11498fc370d5dd2feab8946966f92ade86921e8.tar.gz
org.eclipse.papyrus-f11498fc370d5dd2feab8946966f92ade86921e8.tar.xz
org.eclipse.papyrus-f11498fc370d5dd2feab8946966f92ade86921e8.zip
ASSIGNED - bug 375759: [Java Code Generator] Improve generator
https://bugs.eclipse.org/bugs/show_bug.cgi?id=375759 - Allow explicit imports, with uml 'elementImports' and with Java profile - Add taggedValues in java profile (for Class, Method and Property) - Generator take into account explicit imports for classes (method and property still to be done).
Diffstat (limited to 'extraplugins/java')
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.jdtsynchronizer/src/org/eclipse/papyrus/java/generator/jdtsynchronizer/impl/SynchJDTType.java55
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/plugin.properties2
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTMemberItemProvider.java47
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTTypeItemProvider.java30
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.ecore18
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.genmodel13
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.notation29
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.uml14
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTMember.java34
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTType.java2
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JdtmmPackage.java284
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTMemberImpl.java87
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTTypeImpl.java76
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JdtmmPackageImpl.java70
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/stereotypeUtil.qvto19
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/uml2jdt2.qvto41
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile.edit/plugin.properties4
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java47
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaMethodItemProvider.java24
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaPropertyItemProvider.java24
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/models/java.ecore8
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.genmodel5
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.notation43
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.uml1144
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaClass.java60
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaMethod.java18
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaPackage.java118
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaProperty.java18
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaClassImpl.java100
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaMethodImpl.java40
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPackageImpl.java44
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPropertyImpl.java40
32 files changed, 2408 insertions, 150 deletions
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.jdtsynchronizer/src/org/eclipse/papyrus/java/generator/jdtsynchronizer/impl/SynchJDTType.java b/extraplugins/java/org.eclipse.papyrus.java.generator.jdtsynchronizer/src/org/eclipse/papyrus/java/generator/jdtsynchronizer/impl/SynchJDTType.java
index 9c07f42c92f..07a74f1cc6b 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.jdtsynchronizer/src/org/eclipse/papyrus/java/generator/jdtsynchronizer/impl/SynchJDTType.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.jdtsynchronizer/src/org/eclipse/papyrus/java/generator/jdtsynchronizer/impl/SynchJDTType.java
@@ -241,6 +241,10 @@ public class SynchJDTType extends SynchJDTCommentable {
for(JDTType child : type.getTypes()) {
child.accept(vClass);
}
+
+ // Generate explicit imports
+ generateExplicitImports(type, it);
+
} catch (JavaModelException e) {
e.printStackTrace();
throw new JDTVisitorException(e.getMessage(), e.getCause());
@@ -253,6 +257,35 @@ public class SynchJDTType extends SynchJDTCommentable {
}
/**
+ * Generate imports that are explicitly declared in the type
+ * @param it The jdt type to be generated
+ * @throws JavaModelException
+ * @throws JDTVisitorException
+ */
+ private void generateExplicitImports(JDTType containerType, IType it) throws JDTVisitorException {
+
+
+ // Add explicit type
+ for( JDTType anImport : containerType.getExplicitRequiredImports()) {
+ try {
+ it.getCompilationUnit().createImport(anImport.getQualifiedName(), null, null);
+ } catch (Exception e) {
+ propagateException(it.getFullyQualifiedName() + "Can't add explicit import " + anImport.getQualifiedName(), e);
+ }
+ }
+
+ // Add explicit plain text types
+ for( String anImport : containerType.getExplicitPlainTextRequiredImports()) {
+ try {
+ it.getCompilationUnit().createImport(anImport, null, null);
+ } catch (JavaModelException e) {
+ propagateException(it.getFullyQualifiedName() + "Can't add explicit plain text import " + anImport, e);
+ }
+ }
+
+ }
+
+ /**
* get current type
*
* @return
@@ -344,6 +377,10 @@ public class SynchJDTType extends SynchJDTCommentable {
if(Flags.isAbstract(superClass.getFlags())) {
for(JDTMethod superClassAbstractMethod : superClass.getMethods()) {
+ // Skip if method is not abstract
+ if( ! superClassAbstractMethod.isAbstract() ) {
+ continue;
+ }
// Remove the abstract flag to not generate the method with the keyword "abstract"
superClassAbstractMethod.setAbstract(false);
superClassAbstractMethod.accept(vmethod);
@@ -356,4 +393,22 @@ public class SynchJDTType extends SynchJDTCommentable {
implementSuperClassAbstractMethods(it, superClassSuperClass);
}
}
+
+ /**
+ * Propagate a {@link JDTVisitorException} if the flag is not set
+ * @param msg
+ * @param e
+ * @throws JDTVisitorException
+ */
+ private void propagateException(String msg, Throwable e) throws JDTVisitorException {
+
+ if(preference.stopOnFirstError()) {
+ throw new JDTVisitorException(msg, e.getCause());
+ }
+ else {
+ // Show error
+ System.err.println(msg);
+ e.printStackTrace();
+ }
+ }
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/plugin.properties b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/plugin.properties
index 9d5bf038820..f53f6d98a65 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/plugin.properties
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/plugin.properties
@@ -144,3 +144,5 @@ _UI_JDTMethodBody_type = JDT Method Body
_UI_JDTOpaqueBody_type = JDT Opaque Body
_UI_JDTMethodBody_owner_feature = Owner
_UI_JDTOpaqueBody__body_feature = body
+_UI_JDTMember_explicitRequiredImports_feature = Explicit Required Imports
+_UI_JDTMember_explicitPlainTextRequiredImports_feature = Explicit Plain Text Required Imports
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTMemberItemProvider.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTMemberItemProvider.java
index fdc6ef0a02a..bb347e383df 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTMemberItemProvider.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTMemberItemProvider.java
@@ -81,6 +81,8 @@ public class JDTMemberItemProvider
super.getPropertyDescriptors(object);
addVisibilityPropertyDescriptor(object);
+ addExplicitRequiredImportsPropertyDescriptor(object);
+ addExplicitPlainTextRequiredImportsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -108,6 +110,50 @@ public class JDTMemberItemProvider
}
/**
+ * This adds a property descriptor for the Explicit Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JDTMember_explicitRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JDTMember_explicitRequiredImports_feature", "_UI_JDTMember_type"),
+ JdtmmPackage.Literals.JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Explicit Plain Text Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitPlainTextRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JDTMember_explicitPlainTextRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JDTMember_explicitPlainTextRequiredImports_feature", "_UI_JDTMember_type"),
+ JdtmmPackage.Literals.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
@@ -164,6 +210,7 @@ public class JDTMemberItemProvider
switch (notification.getFeatureID(JDTMember.class)) {
case JdtmmPackage.JDT_MEMBER__VISIBILITY:
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case JdtmmPackage.JDT_MEMBER__TYPE_PARAMETERS:
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTTypeItemProvider.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTTypeItemProvider.java
index 75b77294dcc..aeaba634f23 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTTypeItemProvider.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt.edit/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/provider/JDTTypeItemProvider.java
@@ -335,9 +335,9 @@ public class JDTTypeItemProvider
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
+ childrenFeatures.add(JdtmmPackage.Literals.JDT_TYPE__METHODS);
childrenFeatures.add(JdtmmPackage.Literals.JDT_TYPE__FIELDS);
childrenFeatures.add(JdtmmPackage.Literals.JDT_TYPE__TYPES);
- childrenFeatures.add(JdtmmPackage.Literals.JDT_TYPE__METHODS);
}
return childrenFeatures;
}
@@ -391,9 +391,9 @@ public class JDTTypeItemProvider
case JdtmmPackage.JDT_TYPE__SUPER_CLASS_NAME:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
+ case JdtmmPackage.JDT_TYPE__METHODS:
case JdtmmPackage.JDT_TYPE__FIELDS:
case JdtmmPackage.JDT_TYPE__TYPES:
- case JdtmmPackage.JDT_TYPE__METHODS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
@@ -413,6 +413,11 @@ public class JDTTypeItemProvider
newChildDescriptors.add
(createChildParameter
+ (JdtmmPackage.Literals.JDT_TYPE__METHODS,
+ JdtmmFactory.eINSTANCE.createJDTMethod()));
+
+ newChildDescriptors.add
+ (createChildParameter
(JdtmmPackage.Literals.JDT_TYPE__FIELDS,
JdtmmFactory.eINSTANCE.createJDTField()));
@@ -430,11 +435,6 @@ public class JDTTypeItemProvider
(createChildParameter
(JdtmmPackage.Literals.JDT_TYPE__TYPES,
JdtmmFactory.eINSTANCE.createJDTEnum()));
-
- newChildDescriptors.add
- (createChildParameter
- (JdtmmPackage.Literals.JDT_TYPE__METHODS,
- JdtmmFactory.eINSTANCE.createJDTMethod()));
}
/**
@@ -445,13 +445,13 @@ public class JDTTypeItemProvider
*/
@Override
protected Command createAddCommand(EditingDomain domain, EObject owner, EStructuralFeature feature, Collection<?> collection, int index) {
- if (feature == JdtmmPackage.Literals.JDT_TYPE__FIELDS) {
+ if (feature == JdtmmPackage.Literals.JDT_TYPE__METHODS) {
return new SubsetAddCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_PARENT__CHILDREN}, collection, index);
}
- if (feature == JdtmmPackage.Literals.JDT_TYPE__TYPES) {
+ if (feature == JdtmmPackage.Literals.JDT_TYPE__FIELDS) {
return new SubsetAddCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_PARENT__CHILDREN}, collection, index);
}
- if (feature == JdtmmPackage.Literals.JDT_TYPE__METHODS) {
+ if (feature == JdtmmPackage.Literals.JDT_TYPE__TYPES) {
return new SubsetAddCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_PARENT__CHILDREN}, collection, index);
}
return super.createAddCommand(domain, owner, feature, collection, index);
@@ -466,7 +466,7 @@ public class JDTTypeItemProvider
@Override
protected Command createRemoveCommand(EditingDomain domain, EObject owner, EStructuralFeature feature, Collection<?> collection) {
if (feature == JdtmmPackage.Literals.JDT_PARENT__CHILDREN) {
- return new SupersetRemoveCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_TYPE__FIELDS, JdtmmPackage.Literals.JDT_TYPE__TYPES, JdtmmPackage.Literals.JDT_TYPE__METHODS}, collection);
+ return new SupersetRemoveCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_TYPE__METHODS, JdtmmPackage.Literals.JDT_TYPE__FIELDS, JdtmmPackage.Literals.JDT_TYPE__TYPES}, collection);
}
return super.createRemoveCommand(domain, owner, feature, collection);
}
@@ -479,17 +479,17 @@ public class JDTTypeItemProvider
*/
@Override
protected Command createReplaceCommand(EditingDomain domain, EObject owner, EStructuralFeature feature, EObject value, Collection<?> collection) {
- if (feature == JdtmmPackage.Literals.JDT_TYPE__FIELDS) {
+ if (feature == JdtmmPackage.Literals.JDT_TYPE__METHODS) {
return new SubsetSupersetReplaceCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_PARENT__CHILDREN}, null, value, collection);
}
- if (feature == JdtmmPackage.Literals.JDT_TYPE__TYPES) {
+ if (feature == JdtmmPackage.Literals.JDT_TYPE__FIELDS) {
return new SubsetSupersetReplaceCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_PARENT__CHILDREN}, null, value, collection);
}
- if (feature == JdtmmPackage.Literals.JDT_TYPE__METHODS) {
+ if (feature == JdtmmPackage.Literals.JDT_TYPE__TYPES) {
return new SubsetSupersetReplaceCommand(domain, owner, feature, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_PARENT__CHILDREN}, null, value, collection);
}
if (feature == JdtmmPackage.Literals.JDT_PARENT__CHILDREN) {
- return new SubsetSupersetReplaceCommand(domain, owner, feature, null, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_TYPE__FIELDS, JdtmmPackage.Literals.JDT_TYPE__TYPES, JdtmmPackage.Literals.JDT_TYPE__METHODS}, value, collection);
+ return new SubsetSupersetReplaceCommand(domain, owner, feature, null, new EStructuralFeature[] {JdtmmPackage.Literals.JDT_TYPE__METHODS, JdtmmPackage.Literals.JDT_TYPE__FIELDS, JdtmmPackage.Literals.JDT_TYPE__TYPES}, value, collection);
}
return super.createReplaceCommand(domain, owner, feature, value, collection);
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.ecore b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.ecore
index d3a7390f505..8d8c40c7c1b 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.ecore
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.ecore
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="jdtmm" nsURI="http:///jdtmm.ecore" nsPrefix="jdtmm">
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="jdtmm"
+ nsURI="http:///jdtmm.ecore" nsPrefix="jdtmm">
<eClassifiers xsi:type="ecore:EClass" name="JDTMethodBody" abstract="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Can have different type of body: opaque, expr (not yet implemented, ...)"/>
@@ -43,6 +45,10 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" ordered="false"
unique="false" lowerBound="1" eType="#//VisibilityKind" volatile="true" transient="true"
defaultValueLiteral="public" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="explicitRequiredImports"
+ ordered="false" upperBound="-1" eType="#//JDTType"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="explicitPlainTextRequiredImports"
+ ordered="false" upperBound="-1" eType="#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="JDTParentJavaElement" abstract="true"
eSuperTypes="#//JDTJavaElement #//JDTParent"/>
@@ -94,6 +100,10 @@
<eLiterals name="private" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="JDTType" abstract="true" eSuperTypes="#//JDTMember">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="methods" ordered="false"
+ upperBound="-1" eType="#//JDTMethod" containment="true" eOpposite="#//JDTMethod/owner">
+ <eAnnotations source="subsets" references="#//JDTParent/children"/>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="fields" ordered="false"
upperBound="-1" eType="#//JDTField" containment="true" eOpposite="#//JDTField/owner">
<eAnnotations source="subsets" references="#//JDTParent/children"/>
@@ -135,10 +145,6 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="superClassName" ordered="false"
unique="false" lowerBound="1" eType="#//String" changeable="false" volatile="true"
transient="true" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="methods" ordered="false"
- upperBound="-1" eType="#//JDTMethod" containment="true" eOpposite="#//JDTMethod/owner">
- <eAnnotations source="subsets" references="#//JDTParent/children"/>
- </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="JDTField" eSuperTypes="#//JDTMember">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" ordered="false"
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.genmodel b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.genmodel
index 9fdda53fad9..5661529e011 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.genmodel
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.genmodel
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/uml2/2.2.0/GenModel"
- modelDirectory="/org.eclipse.papyrus.java.generator.metamodel.jdt/src"
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/uml2/2.2.0/GenModel" modelDirectory="/org.eclipse.papyrus.java.generator.metamodel.jdt/src"
modelPluginID="org.eclipse.papyrus.java.generator.metamodel.jdt" modelName="Jdtmm"
importerID="org.eclipse.uml2.uml.ecore.importer" complianceLevel="6.0" copyrightFields="false">
<genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/importer/org.eclipse.uml2.uml.ecore.importer">
@@ -66,6 +66,9 @@
<genFeatures xsi:type="genmodel:GenFeature" property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference jdtmm.ecore#//JDTMember/typeParameters"/>
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute jdtmm.ecore#//JDTMember/visibility"/>
+ <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false"
+ propertySortChoices="true" ecoreFeature="ecore:EReference jdtmm.ecore#//JDTMember/explicitRequiredImports"/>
+ <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute jdtmm.ecore#//JDTMember/explicitPlainTextRequiredImports"/>
</genClasses>
<genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="jdtmm.ecore#//JDTParentJavaElement"/>
<genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="jdtmm.ecore#//JDTParent">
@@ -99,6 +102,8 @@
</genClasses>
<genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="jdtmm.ecore#//JDTType">
<genFeatures xsi:type="genmodel:GenFeature" property="None" children="true"
+ createChild="true" ecoreFeature="ecore:EReference jdtmm.ecore#//JDTType/methods"/>
+ <genFeatures xsi:type="genmodel:GenFeature" property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference jdtmm.ecore#//JDTType/fields"/>
<genFeatures xsi:type="genmodel:GenFeature" property="None" notify="false" createChild="false"
ecoreFeature="ecore:EReference jdtmm.ecore#//JDTType/compilationUnit"/>
@@ -120,8 +125,6 @@
ecoreFeature="ecore:EAttribute jdtmm.ecore#//JDTType/superInterfaceNames"/>
<genFeatures xsi:type="genmodel:GenFeature" property="Readonly" createChild="false"
ecoreFeature="ecore:EAttribute jdtmm.ecore#//JDTType/superClassName"/>
- <genFeatures xsi:type="genmodel:GenFeature" property="None" children="true"
- createChild="true" ecoreFeature="ecore:EReference jdtmm.ecore#//JDTType/methods"/>
</genClasses>
<genClasses xsi:type="genmodel:GenClass" ecoreClass="jdtmm.ecore#//JDTField">
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute jdtmm.ecore#//JDTField/abstract"/>
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.notation b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.notation
index 3dc0e3adc94..a43c9740861 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.notation
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.notation
@@ -1607,6 +1607,10 @@
<element xmi:type="uml:Property" href="jdtmm.uml#_TMnrQGd5EeCm5tXW4raF-A"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_TNOIMWd5EeCm5tXW4raF-A"/>
</children>
+ <children xmi:type="notation:Shape" xmi:id="_7ysS4H_4EeGqdId9TXdXhQ" type="3012" fontName="Segoe UI" lineColor="0">
+ <element xmi:type="uml:Property" href="jdtmm.uml#_7x3zgH_4EeGqdId9TXdXhQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_7ysS4X_4EeGqdId9TXdXhQ"/>
+ </children>
<styles xmi:type="notation:SortingStyle" xmi:id="_6ejGumHgEeCX0Yi87Khu0A"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_6ejGu2HgEeCX0Yi87Khu0A"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ejGvGHgEeCX0Yi87Khu0A"/>
@@ -2126,6 +2130,31 @@
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YulpcGaREeCm5tXW4raF-A" id="(0.9831460674157303,0.8221574344023324)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YulpcWaREeCm5tXW4raF-A" id="(0.9887640449438202,0.9154518950437318)"/>
</edges>
+ <edges xmi:type="notation:Connector" xmi:id="_unA7wH_4EeGqdId9TXdXhQ" type="4001" source="_6ejGsGHgEeCX0Yi87Khu0A" target="_42iAAGHgEeCX0Yi87Khu0A" lineColor="0">
+ <children xmi:type="notation:DecorationNode" xmi:id="_unCw8H_4EeGqdId9TXdXhQ" type="6001">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_unCw8X_4EeGqdId9TXdXhQ" y="-20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_unCw8n_4EeGqdId9TXdXhQ" visible="false" type="6002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_unCw83_4EeGqdId9TXdXhQ" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_unCw9H_4EeGqdId9TXdXhQ" visible="false" type="6003">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_unDYAH_4EeGqdId9TXdXhQ" y="-20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_unDYAX_4EeGqdId9TXdXhQ" type="6005">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_unDYAn_4EeGqdId9TXdXhQ" x="-18" y="107"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_unDYA3_4EeGqdId9TXdXhQ" type="6033">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_unDYBH_4EeGqdId9TXdXhQ" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_unDYBX_4EeGqdId9TXdXhQ" type="6034">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_unDYBn_4EeGqdId9TXdXhQ" y="-20"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_unA7wX_4EeGqdId9TXdXhQ" fontName="Segoe UI"/>
+ <element xmi:type="uml:Association" href="jdtmm.uml#_ul4TUH_4EeGqdId9TXdXhQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_unA7wn_4EeGqdId9TXdXhQ" points="[-6, 13, 0, -60]$[-8, 69, -2, -4]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uqftkH_4EeGqdId9TXdXhQ" id="(0.0898876404494382,0.87)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uqftkX_4EeGqdId9TXdXhQ" id="(0.056179775280898875,0.011661807580174927)"/>
+ </edges>
</notation:Diagram>
<notation:Diagram xmi:id="_EKRgwGQ0EeCX0Yi87Khu0A" type="PapyrusUMLClassDiagram" name="Package Fragments" measurementUnit="Pixel">
<children xmi:type="notation:Shape" xmi:id="_FMcIYGQ0EeCX0Yi87Khu0A" type="2008" fontHeight="8" transparency="0" lineColor="0">
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.uml b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.uml
index 226e0b9d153..30b14aa8114 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.uml
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/model/jdtmm.uml
@@ -59,6 +59,14 @@
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Xm2a4Gd5EeCm5tXW4raF-A" value="1"/>
<defaultValue xmi:type="uml:LiteralString" xmi:id="_Xm2a4md5EeCm5tXW4raF-A" value="public"/>
</ownedAttribute>
+ <ownedAttribute xmi:id="_ul0B4H_4EeGqdId9TXdXhQ" name="explicitRequiredImports" type="_Ko2hMGHYEeCX0Yi87Khu0A" association="_ul4TUH_4EeGqdId9TXdXhQ">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ul0B4X_4EeGqdId9TXdXhQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ul0B4n_4EeGqdId9TXdXhQ"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_7x3zgH_4EeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" type="_8e3HsGHXEeCX0Yi87Khu0A">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_BWhu4H_5EeGqdId9TXdXhQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_BWf5sH_5EeGqdId9TXdXhQ"/>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="_IPXhUGHYEeCX0Yi87Khu0A" name="JDTField">
<generalization xmi:id="_Mi5MAGHYEeCX0Yi87Khu0A" general="_FVjbkGHYEeCX0Yi87Khu0A"/>
@@ -435,6 +443,12 @@ JDTParent and JDTJavaElement</body>
<ownedAttribute xmi:id="_U2HYkHmtEeGZ7KofW4oPeQ" name=" body" type="_8e3HsGHXEeCX0Yi87Khu0A"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="_dvx58HpHEeGZ7KofW4oPeQ" name="jDTMethod_methodBody_0" memberEnd="_dvx58XpHEeGZ7KofW4oPeQ _dvu2oHpHEeGZ7KofW4oPeQ"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="_ul4TUH_4EeGqdId9TXdXhQ" name="jDTMember_jDTType_0" memberEnd="_ul4TUX_4EeGqdId9TXdXhQ _ul0B4H_4EeGqdId9TXdXhQ">
+ <ownedEnd xmi:id="_ul4TUX_4EeGqdId9TXdXhQ" name="jDTMember" type="_FVjbkGHYEeCX0Yi87Khu0A" association="_ul4TUH_4EeGqdId9TXdXhQ">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ul4TUn_4EeGqdId9TXdXhQ" value="1"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ul4TU3_4EeGqdId9TXdXhQ" value="1"/>
+ </ownedEnd>
+ </packagedElement>
<profileApplication xmi:id="__8ly0GHXEeCX0Yi87Khu0A">
<eAnnotations xmi:id="__-hsgGHXEeCX0Yi87Khu0A" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/>
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTMember.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTMember.java
index ea5d95b1500..29f4ec915bd 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTMember.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTMember.java
@@ -35,6 +35,8 @@ import org.eclipse.emf.common.util.EList;
* <ul>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getTypeParameters <em>Type Parameters</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getVisibility <em>Visibility</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getExplicitRequiredImports <em>Explicit Required Imports</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -89,4 +91,36 @@ public interface JDTMember extends JDTParentJavaElement {
* @generated
*/
void setVisibility(VisibilityKind value);
+
+ /**
+ * Returns the value of the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Explicit Required Imports</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Explicit Required Imports</em>' reference list.
+ * @see org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JdtmmPackage#getJDTMember_ExplicitRequiredImports()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<JDTType> getExplicitRequiredImports();
+
+ /**
+ * Returns the value of the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Explicit Plain Text Required Imports</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Explicit Plain Text Required Imports</em>' attribute list.
+ * @see org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JdtmmPackage#getJDTMember_ExplicitPlainTextRequiredImports()
+ * @model dataType="org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.String" ordered="false"
+ * @generated
+ */
+ EList<String> getExplicitPlainTextRequiredImports();
} // JDTMember
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTType.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTType.java
index 14daba9ddf4..508f8593521 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTType.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JDTType.java
@@ -32,6 +32,7 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
+ * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getMethods <em>Methods</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getFields <em>Fields</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getCompilationUnit <em>Compilation Unit</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#isClass <em>Class</em>}</li>
@@ -46,7 +47,6 @@ import org.eclipse.emf.common.util.EList;
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getSuperClass <em>Super Class</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getSuperInterfaceNames <em>Super Interface Names</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getSuperClassName <em>Super Class Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType#getMethods <em>Methods</em>}</li>
* </ul>
* </p>
*
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JdtmmPackage.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JdtmmPackage.java
index c9b602edd48..3d345539bf2 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JdtmmPackage.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/JdtmmPackage.java
@@ -354,13 +354,31 @@ public interface JdtmmPackage extends EPackage {
int JDT_MEMBER__VISIBILITY = JDT_PARENT_JAVA_ELEMENT_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS = JDT_PARENT_JAVA_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_PARENT_JAVA_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
* The number of structural features of the '<em>JDT Member</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int JDT_MEMBER_FEATURE_COUNT = JDT_PARENT_JAVA_ELEMENT_FEATURE_COUNT + 2;
+ int JDT_MEMBER_FEATURE_COUNT = JDT_PARENT_JAVA_ELEMENT_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeParameterImpl <em>JDT Type Parameter</em>}' class.
@@ -484,6 +502,24 @@ public interface JdtmmPackage extends EPackage {
int JDT_METHOD__VISIBILITY = JDT_MEMBER__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_METHOD__EXPLICIT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -754,13 +790,40 @@ public interface JdtmmPackage extends EPackage {
int JDT_TYPE__VISIBILITY = JDT_MEMBER__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_TYPE__EXPLICIT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_TYPE__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Methods</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_TYPE__METHODS = JDT_MEMBER_FEATURE_COUNT + 0;
+
+ /**
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int JDT_TYPE__FIELDS = JDT_MEMBER_FEATURE_COUNT + 0;
+ int JDT_TYPE__FIELDS = JDT_MEMBER_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Compilation Unit</b></em>' container reference.
@@ -769,7 +832,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__COMPILATION_UNIT = JDT_MEMBER_FEATURE_COUNT + 1;
+ int JDT_TYPE__COMPILATION_UNIT = JDT_MEMBER_FEATURE_COUNT + 2;
/**
* The feature id for the '<em><b>Class</b></em>' attribute.
@@ -778,7 +841,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__CLASS = JDT_MEMBER_FEATURE_COUNT + 2;
+ int JDT_TYPE__CLASS = JDT_MEMBER_FEATURE_COUNT + 3;
/**
* The feature id for the '<em><b>Interface</b></em>' attribute.
@@ -787,7 +850,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__INTERFACE = JDT_MEMBER_FEATURE_COUNT + 3;
+ int JDT_TYPE__INTERFACE = JDT_MEMBER_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Enum</b></em>' attribute.
@@ -796,7 +859,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__ENUM = JDT_MEMBER_FEATURE_COUNT + 4;
+ int JDT_TYPE__ENUM = JDT_MEMBER_FEATURE_COUNT + 5;
/**
* The feature id for the '<em><b>Abstract</b></em>' attribute.
@@ -805,7 +868,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__ABSTRACT = JDT_MEMBER_FEATURE_COUNT + 5;
+ int JDT_TYPE__ABSTRACT = JDT_MEMBER_FEATURE_COUNT + 6;
/**
* The feature id for the '<em><b>Final</b></em>' attribute.
@@ -814,7 +877,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__FINAL = JDT_MEMBER_FEATURE_COUNT + 6;
+ int JDT_TYPE__FINAL = JDT_MEMBER_FEATURE_COUNT + 7;
/**
* The feature id for the '<em><b>Static</b></em>' attribute.
@@ -823,7 +886,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__STATIC = JDT_MEMBER_FEATURE_COUNT + 7;
+ int JDT_TYPE__STATIC = JDT_MEMBER_FEATURE_COUNT + 8;
/**
* The feature id for the '<em><b>Types</b></em>' containment reference list.
@@ -832,7 +895,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__TYPES = JDT_MEMBER_FEATURE_COUNT + 8;
+ int JDT_TYPE__TYPES = JDT_MEMBER_FEATURE_COUNT + 9;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -841,7 +904,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__OWNER = JDT_MEMBER_FEATURE_COUNT + 9;
+ int JDT_TYPE__OWNER = JDT_MEMBER_FEATURE_COUNT + 10;
/**
* The feature id for the '<em><b>Super Interfaces</b></em>' reference list.
@@ -850,7 +913,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__SUPER_INTERFACES = JDT_MEMBER_FEATURE_COUNT + 10;
+ int JDT_TYPE__SUPER_INTERFACES = JDT_MEMBER_FEATURE_COUNT + 11;
/**
* The feature id for the '<em><b>Super Class</b></em>' reference.
@@ -859,7 +922,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__SUPER_CLASS = JDT_MEMBER_FEATURE_COUNT + 11;
+ int JDT_TYPE__SUPER_CLASS = JDT_MEMBER_FEATURE_COUNT + 12;
/**
* The feature id for the '<em><b>Super Interface Names</b></em>' attribute list.
@@ -868,7 +931,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__SUPER_INTERFACE_NAMES = JDT_MEMBER_FEATURE_COUNT + 12;
+ int JDT_TYPE__SUPER_INTERFACE_NAMES = JDT_MEMBER_FEATURE_COUNT + 13;
/**
* The feature id for the '<em><b>Super Class Name</b></em>' attribute.
@@ -877,16 +940,7 @@ public interface JdtmmPackage extends EPackage {
* @generated
* @ordered
*/
- int JDT_TYPE__SUPER_CLASS_NAME = JDT_MEMBER_FEATURE_COUNT + 13;
-
- /**
- * The feature id for the '<em><b>Methods</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JDT_TYPE__METHODS = JDT_MEMBER_FEATURE_COUNT + 14;
+ int JDT_TYPE__SUPER_CLASS_NAME = JDT_MEMBER_FEATURE_COUNT + 14;
/**
* The number of structural features of the '<em>JDT Type</em>' class.
@@ -979,6 +1033,24 @@ public interface JdtmmPackage extends EPackage {
int JDT_FIELD__VISIBILITY = JDT_MEMBER__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_FIELD__EXPLICIT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_FIELD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
* The feature id for the '<em><b>Abstract</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1783,6 +1855,24 @@ public interface JdtmmPackage extends EPackage {
int JDT_PARAMETER__VISIBILITY = JDT_MEMBER__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_PARAMETER__EXPLICIT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_PARAMETER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
* The feature id for the '<em><b>Parameter Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1918,6 +2008,33 @@ public interface JdtmmPackage extends EPackage {
int JDT_CLASS__VISIBILITY = JDT_TYPE__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_CLASS__EXPLICIT_REQUIRED_IMPORTS = JDT_TYPE__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_TYPE__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Methods</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_CLASS__METHODS = JDT_TYPE__METHODS;
+
+ /**
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2044,15 +2161,6 @@ public interface JdtmmPackage extends EPackage {
int JDT_CLASS__SUPER_CLASS_NAME = JDT_TYPE__SUPER_CLASS_NAME;
/**
- * The feature id for the '<em><b>Methods</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JDT_CLASS__METHODS = JDT_TYPE__METHODS;
-
- /**
* The number of structural features of the '<em>JDT Class</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2143,6 +2251,33 @@ public interface JdtmmPackage extends EPackage {
int JDT_INTERFACE__VISIBILITY = JDT_TYPE__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_INTERFACE__EXPLICIT_REQUIRED_IMPORTS = JDT_TYPE__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_INTERFACE__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_TYPE__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Methods</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_INTERFACE__METHODS = JDT_TYPE__METHODS;
+
+ /**
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2269,15 +2404,6 @@ public interface JdtmmPackage extends EPackage {
int JDT_INTERFACE__SUPER_CLASS_NAME = JDT_TYPE__SUPER_CLASS_NAME;
/**
- * The feature id for the '<em><b>Methods</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JDT_INTERFACE__METHODS = JDT_TYPE__METHODS;
-
- /**
* The number of structural features of the '<em>JDT Interface</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2368,6 +2494,33 @@ public interface JdtmmPackage extends EPackage {
int JDT_ENUM__VISIBILITY = JDT_TYPE__VISIBILITY;
/**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_ENUM__EXPLICIT_REQUIRED_IMPORTS = JDT_TYPE__EXPLICIT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_ENUM__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JDT_TYPE__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS;
+
+ /**
+ * The feature id for the '<em><b>Methods</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JDT_ENUM__METHODS = JDT_TYPE__METHODS;
+
+ /**
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2494,15 +2647,6 @@ public interface JdtmmPackage extends EPackage {
int JDT_ENUM__SUPER_CLASS_NAME = JDT_TYPE__SUPER_CLASS_NAME;
/**
- * The feature id for the '<em><b>Methods</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JDT_ENUM__METHODS = JDT_TYPE__METHODS;
-
- /**
* The number of structural features of the '<em>JDT Enum</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2913,6 +3057,28 @@ public interface JdtmmPackage extends EPackage {
EAttribute getJDTMember_Visibility();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getExplicitRequiredImports <em>Explicit Required Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Explicit Required Imports</em>'.
+ * @see org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getExplicitRequiredImports()
+ * @see #getJDTMember()
+ * @generated
+ */
+ EReference getJDTMember_ExplicitRequiredImports();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Explicit Plain Text Required Imports</em>'.
+ * @see org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember#getExplicitPlainTextRequiredImports()
+ * @see #getJDTMember()
+ * @generated
+ */
+ EAttribute getJDTMember_ExplicitPlainTextRequiredImports();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTParentJavaElement <em>JDT Parent Java Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3869,6 +4035,22 @@ public interface JdtmmPackage extends EPackage {
EAttribute JDT_MEMBER__VISIBILITY = eINSTANCE.getJDTMember_Visibility();
/**
+ * The meta object literal for the '<em><b>Explicit Required Imports</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS = eINSTANCE.getJDTMember_ExplicitRequiredImports();
+
+ /**
+ * The meta object literal for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = eINSTANCE.getJDTMember_ExplicitPlainTextRequiredImports();
+
+ /**
* The meta object literal for the '{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTParentJavaElementImpl <em>JDT Parent Java Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTMemberImpl.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTMemberImpl.java
index e9f0fba1404..2f3ca2982b6 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTMemberImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTMemberImpl.java
@@ -29,10 +29,13 @@ import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jdt.core.Flags;
import org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTMember;
+import org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTType;
import org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JDTTypeParameter;
import org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.JdtmmPackage;
import org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.VisibilityKind;
@@ -46,6 +49,8 @@ import org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.VisibilityKind;
* <ul>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTMemberImpl#getTypeParameters <em>Type Parameters</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTMemberImpl#getVisibility <em>Visibility</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTMemberImpl#getExplicitRequiredImports <em>Explicit Required Imports</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTMemberImpl#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -74,6 +79,26 @@ public abstract class JDTMemberImpl extends JDTParentJavaElementImpl implements
protected static final VisibilityKind VISIBILITY_EDEFAULT = VisibilityKind.PUBLIC;
/**
+ * The cached value of the '{@link #getExplicitRequiredImports() <em>Explicit Required Imports</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExplicitRequiredImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<JDTType> explicitRequiredImports;
+
+ /**
+ * The cached value of the '{@link #getExplicitPlainTextRequiredImports() <em>Explicit Plain Text Required Imports</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExplicitPlainTextRequiredImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> explicitPlainTextRequiredImports;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -155,6 +180,30 @@ public abstract class JDTMemberImpl extends JDTParentJavaElementImpl implements
* <!-- end-user-doc -->
* @generated
*/
+ public EList<JDTType> getExplicitRequiredImports() {
+ if (explicitRequiredImports == null) {
+ explicitRequiredImports = new EObjectResolvingEList<JDTType>(JDTType.class, this, JdtmmPackage.JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS);
+ }
+ return explicitRequiredImports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getExplicitPlainTextRequiredImports() {
+ if (explicitPlainTextRequiredImports == null) {
+ explicitPlainTextRequiredImports = new EDataTypeUniqueEList<String>(String.class, this, JdtmmPackage.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
+ }
+ return explicitPlainTextRequiredImports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
@@ -191,6 +240,10 @@ public abstract class JDTMemberImpl extends JDTParentJavaElementImpl implements
return getTypeParameters();
case JdtmmPackage.JDT_MEMBER__VISIBILITY:
return getVisibility();
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS:
+ return getExplicitRequiredImports();
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return getExplicitPlainTextRequiredImports();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -211,6 +264,14 @@ public abstract class JDTMemberImpl extends JDTParentJavaElementImpl implements
case JdtmmPackage.JDT_MEMBER__VISIBILITY:
setVisibility((VisibilityKind)newValue);
return;
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS:
+ getExplicitRequiredImports().clear();
+ getExplicitRequiredImports().addAll((Collection<? extends JDTType>)newValue);
+ return;
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ getExplicitPlainTextRequiredImports().addAll((Collection<? extends String>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -229,6 +290,12 @@ public abstract class JDTMemberImpl extends JDTParentJavaElementImpl implements
case JdtmmPackage.JDT_MEMBER__VISIBILITY:
setVisibility(VISIBILITY_EDEFAULT);
return;
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS:
+ getExplicitRequiredImports().clear();
+ return;
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -245,9 +312,29 @@ public abstract class JDTMemberImpl extends JDTParentJavaElementImpl implements
return typeParameters != null && !typeParameters.isEmpty();
case JdtmmPackage.JDT_MEMBER__VISIBILITY:
return getVisibility() != VISIBILITY_EDEFAULT;
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS:
+ return explicitRequiredImports != null && !explicitRequiredImports.isEmpty();
+ case JdtmmPackage.JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return explicitPlainTextRequiredImports != null && !explicitPlainTextRequiredImports.isEmpty();
}
return super.eIsSet(featureID);
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (explicitPlainTextRequiredImports: ");
+ result.append(explicitPlainTextRequiredImports);
+ result.append(')');
+ return result.toString();
+ }
+
} //JDTMemberImpl
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTTypeImpl.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTTypeImpl.java
index 0848a785aba..21e5fae0ec1 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTTypeImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JDTTypeImpl.java
@@ -56,6 +56,7 @@ import org.eclipse.uml2.common.util.SubsetSupersetEObjectContainmentWithInverseE
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getChildren <em>Children</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getMethods <em>Methods</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getFields <em>Fields</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getCompilationUnit <em>Compilation Unit</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#isClass <em>Class</em>}</li>
@@ -70,7 +71,6 @@ import org.eclipse.uml2.common.util.SubsetSupersetEObjectContainmentWithInverseE
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getSuperClass <em>Super Class</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getSuperInterfaceNames <em>Super Interface Names</em>}</li>
* <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getSuperClassName <em>Super Class Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.impl.JDTTypeImpl#getMethods <em>Methods</em>}</li>
* </ul>
* </p>
*
@@ -79,6 +79,16 @@ import org.eclipse.uml2.common.util.SubsetSupersetEObjectContainmentWithInverseE
public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
/**
+ * The cached value of the '{@link #getMethods() <em>Methods</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMethods()
+ * @generated
+ * @ordered
+ */
+ protected EList<JDTMethod> methods;
+
+ /**
* The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -219,16 +229,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
protected static final String SUPER_CLASS_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMethods() <em>Methods</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMethods()
- * @generated
- * @ordered
- */
- protected EList<JDTMethod> methods;
-
- /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -265,7 +265,7 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
* @generated
* @ordered
*/
- protected static final int[] CHILDREN_ESUBSETS = new int[] {JdtmmPackage.JDT_TYPE__FIELDS, JdtmmPackage.JDT_TYPE__TYPES, JdtmmPackage.JDT_TYPE__METHODS};
+ protected static final int[] CHILDREN_ESUBSETS = new int[] {JdtmmPackage.JDT_TYPE__METHODS, JdtmmPackage.JDT_TYPE__FIELDS, JdtmmPackage.JDT_TYPE__TYPES};
/**
* <!-- begin-user-doc -->
@@ -638,34 +638,34 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
}
/**
- * The array of superset feature identifiers for the '{@link #getFields() <em>Fields</em>}' containment reference list.
+ * The array of superset feature identifiers for the '{@link #getMethods() <em>Methods</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getFields()
+ * @see #getMethods()
* @generated
* @ordered
*/
- protected static final int[] FIELDS_ESUPERSETS = new int[] {JdtmmPackage.JDT_TYPE__CHILDREN};
+ protected static final int[] METHODS_ESUPERSETS = new int[] {JdtmmPackage.JDT_TYPE__CHILDREN};
/**
- * The array of superset feature identifiers for the '{@link #getTypes() <em>Types</em>}' containment reference list.
+ * The array of superset feature identifiers for the '{@link #getFields() <em>Fields</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getTypes()
+ * @see #getFields()
* @generated
* @ordered
*/
- protected static final int[] TYPES_ESUPERSETS = new int[] {JdtmmPackage.JDT_TYPE__CHILDREN};
+ protected static final int[] FIELDS_ESUPERSETS = new int[] {JdtmmPackage.JDT_TYPE__CHILDREN};
/**
- * The array of superset feature identifiers for the '{@link #getMethods() <em>Methods</em>}' containment reference list.
+ * The array of superset feature identifiers for the '{@link #getTypes() <em>Types</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getMethods()
+ * @see #getTypes()
* @generated
* @ordered
*/
- protected static final int[] METHODS_ESUPERSETS = new int[] {JdtmmPackage.JDT_TYPE__CHILDREN};
+ protected static final int[] TYPES_ESUPERSETS = new int[] {JdtmmPackage.JDT_TYPE__CHILDREN};
/**
* <!-- begin-user-doc -->
@@ -676,6 +676,8 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
+ case JdtmmPackage.JDT_TYPE__METHODS:
+ return ((InternalEList<InternalEObject>)(InternalEList<?>)getMethods()).basicAdd(otherEnd, msgs);
case JdtmmPackage.JDT_TYPE__FIELDS:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getFields()).basicAdd(otherEnd, msgs);
case JdtmmPackage.JDT_TYPE__COMPILATION_UNIT:
@@ -688,8 +690,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
return basicSetOwner((JDTType)otherEnd, msgs);
- case JdtmmPackage.JDT_TYPE__METHODS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getMethods()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -702,6 +702,8 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
+ case JdtmmPackage.JDT_TYPE__METHODS:
+ return ((InternalEList<?>)getMethods()).basicRemove(otherEnd, msgs);
case JdtmmPackage.JDT_TYPE__FIELDS:
return ((InternalEList<?>)getFields()).basicRemove(otherEnd, msgs);
case JdtmmPackage.JDT_TYPE__COMPILATION_UNIT:
@@ -710,8 +712,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
return ((InternalEList<?>)getTypes()).basicRemove(otherEnd, msgs);
case JdtmmPackage.JDT_TYPE__OWNER:
return basicSetOwner(null, msgs);
- case JdtmmPackage.JDT_TYPE__METHODS:
- return ((InternalEList<?>)getMethods()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -740,6 +740,8 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
+ case JdtmmPackage.JDT_TYPE__METHODS:
+ return getMethods();
case JdtmmPackage.JDT_TYPE__FIELDS:
return getFields();
case JdtmmPackage.JDT_TYPE__COMPILATION_UNIT:
@@ -769,8 +771,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
return getSuperInterfaceNames();
case JdtmmPackage.JDT_TYPE__SUPER_CLASS_NAME:
return getSuperClassName();
- case JdtmmPackage.JDT_TYPE__METHODS:
- return getMethods();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -784,6 +784,10 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
+ case JdtmmPackage.JDT_TYPE__METHODS:
+ getMethods().clear();
+ getMethods().addAll((Collection<? extends JDTMethod>)newValue);
+ return;
case JdtmmPackage.JDT_TYPE__FIELDS:
getFields().clear();
getFields().addAll((Collection<? extends JDTField>)newValue);
@@ -823,10 +827,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
case JdtmmPackage.JDT_TYPE__SUPER_CLASS:
setSuperClass((JDTType)newValue);
return;
- case JdtmmPackage.JDT_TYPE__METHODS:
- getMethods().clear();
- getMethods().addAll((Collection<? extends JDTMethod>)newValue);
- return;
}
super.eSet(featureID, newValue);
}
@@ -839,6 +839,9 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public void eUnset(int featureID) {
switch (featureID) {
+ case JdtmmPackage.JDT_TYPE__METHODS:
+ getMethods().clear();
+ return;
case JdtmmPackage.JDT_TYPE__FIELDS:
getFields().clear();
return;
@@ -875,9 +878,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
case JdtmmPackage.JDT_TYPE__SUPER_CLASS:
setSuperClass((JDTType)null);
return;
- case JdtmmPackage.JDT_TYPE__METHODS:
- getMethods().clear();
- return;
}
super.eUnset(featureID);
}
@@ -890,6 +890,8 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case JdtmmPackage.JDT_TYPE__METHODS:
+ return methods != null && !methods.isEmpty();
case JdtmmPackage.JDT_TYPE__FIELDS:
return fields != null && !fields.isEmpty();
case JdtmmPackage.JDT_TYPE__COMPILATION_UNIT:
@@ -918,8 +920,6 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
return !getSuperInterfaceNames().isEmpty();
case JdtmmPackage.JDT_TYPE__SUPER_CLASS_NAME:
return SUPER_CLASS_NAME_EDEFAULT == null ? getSuperClassName() != null : !SUPER_CLASS_NAME_EDEFAULT.equals(getSuperClassName());
- case JdtmmPackage.JDT_TYPE__METHODS:
- return methods != null && !methods.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -952,9 +952,9 @@ public abstract class JDTTypeImpl extends JDTMemberImpl implements JDTType {
@Override
public boolean isSetChildren() {
return super.isSetChildren()
+ || eIsSet(JdtmmPackage.JDT_TYPE__METHODS)
|| eIsSet(JdtmmPackage.JDT_TYPE__FIELDS)
- || eIsSet(JdtmmPackage.JDT_TYPE__TYPES)
- || eIsSet(JdtmmPackage.JDT_TYPE__METHODS);
+ || eIsSet(JdtmmPackage.JDT_TYPE__TYPES);
}
/**
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JdtmmPackageImpl.java b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JdtmmPackageImpl.java
index eae9b9eb384..0d00a77eb2e 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JdtmmPackageImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.metamodel.jdt/src/org/eclipse/papyrus/java/generator/metamodel/jdt/jdtmm/impl/JdtmmPackageImpl.java
@@ -469,6 +469,24 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getJDTMember_ExplicitRequiredImports() {
+ return (EReference)jdtMemberEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getJDTMember_ExplicitPlainTextRequiredImports() {
+ return (EAttribute)jdtMemberEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getJDTParentJavaElement() {
return jdtParentJavaElementEClass;
}
@@ -596,7 +614,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_Methods() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(14);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -605,7 +623,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_CompilationUnit() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(1);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -614,7 +632,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_Class() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(3);
}
/**
@@ -623,7 +641,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_Interface() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(3);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(4);
}
/**
@@ -632,7 +650,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_Enum() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(4);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(5);
}
/**
@@ -641,7 +659,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_Abstract() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(5);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(6);
}
/**
@@ -650,7 +668,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_Final() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(6);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(7);
}
/**
@@ -659,7 +677,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_Static() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(7);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(8);
}
/**
@@ -668,7 +686,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_Types() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(8);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(9);
}
/**
@@ -677,7 +695,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_Owner() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(9);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(10);
}
/**
@@ -686,7 +704,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_SuperInterfaces() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(10);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(11);
}
/**
@@ -695,7 +713,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_SuperClass() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(11);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(12);
}
/**
@@ -704,7 +722,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_SuperInterfaceNames() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(12);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(13);
}
/**
@@ -713,7 +731,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EAttribute getJDTType_SuperClassName() {
- return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(13);
+ return (EAttribute)jdtTypeEClass.getEStructuralFeatures().get(14);
}
/**
@@ -722,7 +740,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
* @generated
*/
public EReference getJDTType_Fields() {
- return (EReference)jdtTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference)jdtTypeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1194,6 +1212,8 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
jdtMemberEClass = createEClass(JDT_MEMBER);
createEReference(jdtMemberEClass, JDT_MEMBER__TYPE_PARAMETERS);
createEAttribute(jdtMemberEClass, JDT_MEMBER__VISIBILITY);
+ createEReference(jdtMemberEClass, JDT_MEMBER__EXPLICIT_REQUIRED_IMPORTS);
+ createEAttribute(jdtMemberEClass, JDT_MEMBER__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
jdtParentJavaElementEClass = createEClass(JDT_PARENT_JAVA_ELEMENT);
@@ -1212,6 +1232,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
createEReference(jdtTypeParameterEClass, JDT_TYPE_PARAMETER__DECLARING_MEMBER);
jdtTypeEClass = createEClass(JDT_TYPE);
+ createEReference(jdtTypeEClass, JDT_TYPE__METHODS);
createEReference(jdtTypeEClass, JDT_TYPE__FIELDS);
createEReference(jdtTypeEClass, JDT_TYPE__COMPILATION_UNIT);
createEAttribute(jdtTypeEClass, JDT_TYPE__CLASS);
@@ -1226,7 +1247,6 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
createEReference(jdtTypeEClass, JDT_TYPE__SUPER_CLASS);
createEAttribute(jdtTypeEClass, JDT_TYPE__SUPER_INTERFACE_NAMES);
createEAttribute(jdtTypeEClass, JDT_TYPE__SUPER_CLASS_NAME);
- createEReference(jdtTypeEClass, JDT_TYPE__METHODS);
jdtFieldEClass = createEClass(JDT_FIELD);
createEAttribute(jdtFieldEClass, JDT_FIELD__ABSTRACT);
@@ -1364,6 +1384,8 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
initEClass(jdtMemberEClass, JDTMember.class, "JDTMember", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getJDTMember_TypeParameters(), this.getJDTTypeParameter(), this.getJDTTypeParameter_DeclaringMember(), "typeParameters", null, 0, -1, JDTMember.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJDTMember_Visibility(), this.getVisibilityKind(), "visibility", "public", 1, 1, JDTMember.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getJDTMember_ExplicitRequiredImports(), this.getJDTType(), null, "explicitRequiredImports", null, 0, -1, JDTMember.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getJDTMember_ExplicitPlainTextRequiredImports(), this.getString(), "explicitPlainTextRequiredImports", null, 0, -1, JDTMember.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(jdtParentJavaElementEClass, JDTParentJavaElement.class, "JDTParentJavaElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1397,6 +1419,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
initEReference(getJDTTypeParameter_DeclaringMember(), this.getJDTMember(), this.getJDTMember_TypeParameters(), "declaringMember", null, 0, 1, JDTTypeParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(jdtTypeEClass, JDTType.class, "JDTType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getJDTType_Methods(), this.getJDTMethod(), this.getJDTMethod_Owner(), "methods", null, 0, -1, JDTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getJDTType_Fields(), this.getJDTField(), this.getJDTField_Owner(), "fields", null, 0, -1, JDTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getJDTType_CompilationUnit(), this.getJDTCompilationUnit(), this.getJDTCompilationUnit_Types(), "compilationUnit", null, 0, 1, JDTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJDTType_Class(), this.getboolean(), "class", "false", 1, 1, JDTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
@@ -1411,7 +1434,6 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
initEReference(getJDTType_SuperClass(), this.getJDTType(), null, "superClass", null, 0, 1, JDTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJDTType_SuperInterfaceNames(), this.getString(), "superInterfaceNames", null, 0, -1, JDTType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
initEAttribute(getJDTType_SuperClassName(), this.getString(), "superClassName", null, 1, 1, JDTType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getJDTType_Methods(), this.getJDTMethod(), this.getJDTMethod_Owner(), "methods", null, 0, -1, JDTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(jdtFieldEClass, JDTField.class, "JDTField", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getJDTField_Abstract(), this.getboolean(), "abstract", "false", 1, 1, JDTField.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
@@ -1527,7 +1549,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
},
new URI[] {
URI.createURI(eNS_URI).appendFragment("//JDTJavaElement/parent")
- });
+ });
addAnnotation
(getJDTType_CompilationUnit(),
source,
@@ -1543,7 +1565,7 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
},
new URI[] {
URI.createURI(eNS_URI).appendFragment("//JDTJavaElement/parent")
- });
+ });
addAnnotation
(getJDTField_Owner(),
source,
@@ -1587,15 +1609,15 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
protected void createSubsetsAnnotations() {
String source = "subsets";
addAnnotation
- (getJDTType_Fields(),
+ (getJDTType_Methods(),
source,
new String[] {
},
new URI[] {
URI.createURI(eNS_URI).appendFragment("//JDTParent/children")
- });
+ });
addAnnotation
- (getJDTType_Types(),
+ (getJDTType_Fields(),
source,
new String[] {
},
@@ -1603,13 +1625,13 @@ public class JdtmmPackageImpl extends EPackageImpl implements JdtmmPackage {
URI.createURI(eNS_URI).appendFragment("//JDTParent/children")
});
addAnnotation
- (getJDTType_Methods(),
+ (getJDTType_Types(),
source,
new String[] {
},
new URI[] {
URI.createURI(eNS_URI).appendFragment("//JDTParent/children")
- });
+ });
addAnnotation
(getJDTCompilationUnit_Types(),
source,
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/stereotypeUtil.qvto b/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/stereotypeUtil.qvto
index dacb2c81447..98c70005c93 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/stereotypeUtil.qvto
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/stereotypeUtil.qvto
@@ -40,6 +40,25 @@ query mmUML::NamedElement::getTaggedValue(stereotypeName : String, taggedValueNa
return taggedValue;
}
+query mmUML::NamedElement::getTaggedValues(stereotypeName : String, taggedValueName : String, defaultValue : Set(OclAny)) : Set(OclAny) {
+
+ var value : Set(OclAny) := defaultValue;
+ var stereotype := self.getAppliedStereotype(stereotypeName);
+ if (stereotype.oclIsUndefined())
+ then
+ return value
+ endif;
+
+ var taggedValue := self.getValue(stereotype, taggedValueName);
+ if taggedValue->size() <=0
+ then
+ return defaultValue
+ endif;
+
+ return taggedValue->asSet();
+}
+
+
/*
* Get a tagged value by its name and the sterotype name.
* Return null if no stereotype of taggedValue is defined.
diff --git a/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/uml2jdt2.qvto b/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/uml2jdt2.qvto
index a53851d9112..cef801816df 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/uml2jdt2.qvto
+++ b/extraplugins/java/org.eclipse.papyrus.java.generator.transfo.umltojdt/transforms/uml/uml2jdt2.qvto
@@ -21,6 +21,7 @@ import Strings;
*/
modeltype UMLmm uses "http://www.eclipse.org/uml2/3.0.0/UML";
modeltype JDTmm uses 'http:///jdtmm.ecore';
+modeltype JavaProfile uses java('http://www.eclipse.org/papyrus/JAVA/1');
/**
*
@@ -43,6 +44,8 @@ intermediate property UMLmm::TAGVALUE_PROJECT : String;
intermediate property UMLmm::TAGVALUE_NAME : String;
intermediate property UMLmm::TAGVALUE_GENERATED : String;
intermediate property UMLmm::TAGVALUE_IMPLEMENTATION_CLASS : String;
+intermediate property UMLmm::TAGVALUE_EXPLICIT_REQUIRED_IMPORTS : String;
+intermediate property UMLmm::TAGVALUE_EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS : String;
intermediate property UMLmm::NO_PACKAGE : String;
/** Default name values for generation */
intermediate property UMLmm::GENERATION_DEFAULT_SRC_NAME : String;
@@ -67,6 +70,8 @@ main() {
uml.TAGVALUE_GENERATED := "isGenerated";
uml.TAGVALUE_PROJECT := "projectName";
uml.TAGVALUE_IMPLEMENTATION_CLASS := "implementationClass";
+ uml.TAGVALUE_EXPLICIT_REQUIRED_IMPORTS := "explicitRequiredImports";
+ uml.TAGVALUE_EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS := "explicitPlainTextRequiredImports";
uml.NO_PACKAGE := null;
// Default names
@@ -126,6 +131,34 @@ query uml::Classifier::generalInterfaces() : Set(uml::Interface) {
}
/**
+ * Get the ExplicitImports from a classifier.
+ * Explicit imports are stored in a Stereotype.
+ */
+query uml::Classifier::getJavaClassStereotype() : JavaProfile::JavaClass {
+
+ var stereotype := self.getAppliedStereotype(uml.STEREOTYPE_JAVA_CLASS);
+ if (stereotype.oclIsUndefined())
+ then
+ return null
+ endif;
+
+ var res:JavaProfile::JavaClass := self.getStereotypeApplication(stereotype).oclAsType(JavaProfile::JavaClass);
+ return res;
+}
+
+/**
+ * Get the ExplicitImports from a classifier.
+ * Explicit imports are stored in a Stereotype.
+ */
+query uml::Classifier::getExplicitPlainTextRequiredImports() : Set(String) {
+
+ var emptySet : Set(String) := Set{};
+ return self.getTaggedValue( uml.STEREOTYPE_JAVA_CLASS,
+ uml.TAGVALUE_EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS,
+ OclAny ) [String]->asSet();
+}
+
+/**
* Get the interfaces associated to the Classifier
*/
query uml::BehavioredClassifier::generalInterfacesForClass() : Set(uml::Interface)
@@ -836,6 +869,14 @@ abstract mapping uml::Classifier::mapTypeToType() : JDTmm::JDTType
final := self.getBooleanTaggedValue("java::JavaClass", "isFinal",self.isLeaf);
_static := self.getBooleanTaggedValue("java::JavaClass", "isStatic", false);
generated := self.data.generated;
+
+ // Explicit imports
+ explicitRequiredImports += self.elementImport.target[uml::Classifier] -> map transformTypeToType();
+ // Explicit imports from stereotype
+ var ext:JavaProfile::JavaClass := self.getJavaClassStereotype();
+ explicitRequiredImports += ext.explicitRequiredImports -> map transformTypeToType();
+ explicitPlainTextRequiredImports += ext.explicitPlainTextRequiredImports
+
}
/**
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/plugin.properties b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/plugin.properties
index ef18569880c..09099032df6 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/plugin.properties
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/plugin.properties
@@ -78,3 +78,7 @@ _UI_TrueFalseDefault_true_literal = true
_UI_TrueFalseDefault_false_literal = false
_UI_TrueFalseDefault_default_literal = default
_UI_PrimitiveType_collectionImplementationClass_feature = Collection Implementation Class
+_UI_JavaClass_explicitPlainTextRequiredImports_feature = Explicit Plain Text Required Imports
+_UI_JavaClass_explicitRequiredImports_feature = Explicit Required Imports
+_UI_JavaMethod_explicitPlainTextRequiredImports_feature = Explicit Plain Text Required Imports
+_UI_JavaProperty_explicitPlainTextRequiredImports_feature = Explicit Plain Text Required Imports
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java
index 63db2fadc48..03c72c85be3 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java
@@ -65,6 +65,8 @@ public class JavaClassItemProvider
addIsFinalPropertyDescriptor(object);
addIsAbstractPropertyDescriptor(object);
addIsStaticPropertyDescriptor(object);
+ addExplicitPlainTextRequiredImportsPropertyDescriptor(object);
+ addExplicitRequiredImportsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -158,6 +160,50 @@ public class JavaClassItemProvider
}
/**
+ * This adds a property descriptor for the Explicit Plain Text Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitPlainTextRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JavaClass_explicitPlainTextRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JavaClass_explicitPlainTextRequiredImports_feature", "_UI_JavaClass_type"),
+ JavaPackage.Literals.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Explicit Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JavaClass_explicitRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JavaClass_explicitRequiredImports_feature", "_UI_JavaClass_type"),
+ JavaPackage.Literals.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
* This returns JavaClass.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -197,6 +243,7 @@ public class JavaClassItemProvider
case JavaPackage.JAVA_CLASS__IS_FINAL:
case JavaPackage.JAVA_CLASS__IS_ABSTRACT:
case JavaPackage.JAVA_CLASS__IS_STATIC:
+ case JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaMethodItemProvider.java b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaMethodItemProvider.java
index 26c7f9c0c90..ffdcf86a7bc 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaMethodItemProvider.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaMethodItemProvider.java
@@ -68,6 +68,7 @@ public class JavaMethodItemProvider
addIsSynchronizedPropertyDescriptor(object);
addIsConstructorPropertyDescriptor(object);
addBase_OperationPropertyDescriptor(object);
+ addExplicitPlainTextRequiredImportsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -227,6 +228,28 @@ public class JavaMethodItemProvider
}
/**
+ * This adds a property descriptor for the Explicit Plain Text Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitPlainTextRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JavaMethod_explicitPlainTextRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JavaMethod_explicitPlainTextRequiredImports_feature", "_UI_JavaMethod_type"),
+ JavaPackage.Literals.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This returns JavaMethod.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -269,6 +292,7 @@ public class JavaMethodItemProvider
case JavaPackage.JAVA_METHOD__IS_NATIVE:
case JavaPackage.JAVA_METHOD__IS_SYNCHRONIZED:
case JavaPackage.JAVA_METHOD__IS_CONSTRUCTOR:
+ case JavaPackage.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaPropertyItemProvider.java b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaPropertyItemProvider.java
index 2b70fac0c1d..29648f4b094 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaPropertyItemProvider.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaPropertyItemProvider.java
@@ -68,6 +68,7 @@ public class JavaPropertyItemProvider
addGenerateGetterPropertyDescriptor(object);
addGenerateSetterPropertyDescriptor(object);
addIsStaticPropertyDescriptor(object);
+ addExplicitPlainTextRequiredImportsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -227,6 +228,28 @@ public class JavaPropertyItemProvider
}
/**
+ * This adds a property descriptor for the Explicit Plain Text Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitPlainTextRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JavaProperty_explicitPlainTextRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JavaProperty_explicitPlainTextRequiredImports_feature", "_UI_JavaProperty_type"),
+ JavaPackage.Literals.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This returns JavaProperty.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -269,6 +292,7 @@ public class JavaPropertyItemProvider
case JavaPackage.JAVA_PROPERTY__GENERATE_GETTER:
case JavaPackage.JAVA_PROPERTY__GENERATE_SETTER:
case JavaPackage.JAVA_PROPERTY__IS_STATIC:
+ case JavaPackage.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.ecore b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.ecore
index 40cbd2baed1..3e6d95a85c8 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.ecore
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.ecore
@@ -12,6 +12,10 @@
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isStatic" ordered="false"
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="explicitPlainTextRequiredImports"
+ ordered="false" unique="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="explicitRequiredImports"
+ ordered="false" upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="JavaGen" abstract="true" eSuperTypes="#//JavaNamedElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="srcName" ordered="false"
@@ -53,6 +57,8 @@
unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="base_Operation" ordered="false"
unique="false" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="explicitPlainTextRequiredImports"
+ ordered="false" unique="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="JavaParameter" eSuperTypes="#//JavaNamedElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isFinal" ordered="false"
@@ -75,6 +81,8 @@
lowerBound="1" eType="#//TrueFalseDefault" defaultValueLiteral="default"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isStatic" ordered="false"
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="explicitPlainTextRequiredImports"
+ ordered="false" unique="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="TrueFalseDefault">
<eLiterals name="true"/>
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.genmodel b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.genmodel
index 23c5eccb3da..64aca478f90 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.genmodel
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.genmodel
@@ -36,6 +36,9 @@
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/isFinal"/>
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/isAbstract"/>
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/isStatic"/>
+ <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/explicitPlainTextRequiredImports"/>
+ <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false"
+ propertySortChoices="true" ecoreFeature="ecore:EReference java.ecore#//JavaClass/explicitRequiredImports"/>
</genClasses>
<genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="java.ecore#//JavaGen">
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaGen/srcName"/>
@@ -62,6 +65,7 @@
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaMethod/isConstructor"/>
<genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false"
propertySortChoices="true" ecoreFeature="ecore:EReference java.ecore#//JavaMethod/base_Operation"/>
+ <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaMethod/explicitPlainTextRequiredImports"/>
</genClasses>
<genClasses xsi:type="genmodel:GenClass" ecoreClass="java.ecore#//JavaParameter">
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaParameter/isFinal"/>
@@ -77,6 +81,7 @@
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaProperty/generateGetter"/>
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaProperty/generateSetter"/>
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaProperty/isStatic"/>
+ <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//JavaProperty/explicitPlainTextRequiredImports"/>
</genClasses>
<genClasses xsi:type="genmodel:GenClass" ecoreClass="java.ecore#//PrimitiveType">
<genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute java.ecore#//PrimitiveType/implementationClass"/>
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.notation b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.notation
index 4ab5f1707eb..2059d724579 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.notation
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.notation
@@ -29,6 +29,10 @@
<element xmi:type="uml:Property" href="java.profile.uml#_GlqexN2MEd6P1qtlpBOZyg"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_PvSTcWnDEeCLCLVVSfvYsw" x="60" y="43"/>
</children>
+ <children xmi:type="notation:Shape" xmi:id="__vPLsIAeEeGqdId9TXdXhQ" type="3002" fontName="Segoe UI" lineColor="0">
+ <element xmi:type="uml:Property" href="java.profile.uml#_YAcWgIADEeGqdId9TXdXhQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="__vPLsYAeEeGqdId9TXdXhQ" x="115" y="67"/>
+ </children>
<styles xmi:type="notation:SortingStyle" xmi:id="_I53D9vfZEd-PNYpgO1g6_g"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_I53D9_fZEd-PNYpgO1g6_g"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_I53D-PfZEd-PNYpgO1g6_g"/>
@@ -39,7 +43,7 @@
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_I53D_PfZEd-PNYpgO1g6_g"/>
</children>
<element xmi:type="uml:Stereotype" href="java.profile.uml#_zW6S4N0zEd6P1qtlpBOZyg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I5t6AffZEd-PNYpgO1g6_g" x="44" y="414" width="178" height="127"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I5t6AffZEd-PNYpgO1g6_g" x="44" y="414" width="178" height="157"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_I8PpkPfZEd-PNYpgO1g6_g" type="1026" fontHeight="8" transparency="0" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I8PpkvfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -100,7 +104,7 @@
</eAnnotations>
<children xmi:type="notation:DecorationNode" xmi:id="_OnYnePfZEd-PNYpgO1g6_g" type="1084"/>
<element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OnYncffZEd-PNYpgO1g6_g" x="84" y="588"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OnYncffZEd-PNYpgO1g6_g" x="84" y="612"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_Q1_NAPfZEd-PNYpgO1g6_g" type="1026" fontHeight="8" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Q1_NAvfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -148,7 +152,7 @@
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_Q1_NEPfZEd-PNYpgO1g6_g"/>
</children>
<element xmi:type="uml:Stereotype" href="java.profile.uml#_TWN1kN2LEd6P1qtlpBOZyg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Q1_NAffZEd-PNYpgO1g6_g" x="930" y="414" width="196" height="151"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Q1_NAffZEd-PNYpgO1g6_g" x="930" y="414" width="196" height="175"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_SDeT0PfZEd-PNYpgO1g6_g" type="1026" fontHeight="8" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SDeT0vfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -252,7 +256,7 @@
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_UHW3MPfZEd-PNYpgO1g6_g"/>
</children>
<element xmi:type="uml:Stereotype" href="java.profile.uml#_8_lVUN2LEd6P1qtlpBOZyg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UHW3IffZEd-PNYpgO1g6_g" x="1140" y="414" width="181" height="137"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UHW3IffZEd-PNYpgO1g6_g" x="1140" y="414" width="181" height="175"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_WbLT4PfZEd-PNYpgO1g6_g" type="1031" fontHeight="8" transparency="0" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WbLT4vfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -266,7 +270,7 @@
</eAnnotations>
<children xmi:type="notation:DecorationNode" xmi:id="_WbLT6PfZEd-PNYpgO1g6_g" type="1084"/>
<element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WbLT4ffZEd-PNYpgO1g6_g" x="990" y="588"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WbLT4ffZEd-PNYpgO1g6_g" x="990" y="630"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_XMDXMPfZEd-PNYpgO1g6_g" type="1031" fontHeight="8" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_XMDXMvfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -294,7 +298,7 @@
</eAnnotations>
<children xmi:type="notation:DecorationNode" xmi:id="_X3Q3aPfZEd-PNYpgO1g6_g" type="1084"/>
<element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X3Q3YffZEd-PNYpgO1g6_g" x="1374" y="588"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X3Q3YffZEd-PNYpgO1g6_g" x="1374" y="630"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_YqE0YPfZEd-PNYpgO1g6_g" type="1031" fontHeight="8" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YqE0YvfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -308,7 +312,7 @@
</eAnnotations>
<children xmi:type="notation:DecorationNode" xmi:id="_YqE0aPfZEd-PNYpgO1g6_g" type="1084"/>
<element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_YqE0YffZEd-PNYpgO1g6_g" x="1194" y="588"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_YqE0YffZEd-PNYpgO1g6_g" x="1194" y="630"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_aUd5oPfZEd-PNYpgO1g6_g" type="1026" fontHeight="8" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_aUd5ovfZEd-PNYpgO1g6_g" source="ShadowFigure">
@@ -565,6 +569,31 @@
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xC-c0nSnEeCRC6drc39K0A" points="[-4, -24, 16, 126]$[-14, -107, 6, 43]"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_M_t0gHSoEeCRC6drc39K0A" id="(0.44390243902439025,0.8588235294117647)"/>
</edges>
+ <edges xmi:type="notation:Connector" xmi:id="_m5JasIAEEeGqdId9TXdXhQ" type="4001" source="_I5t6APfZEd-PNYpgO1g6_g" target="_OnYncPfZEd-PNYpgO1g6_g" lineColor="0">
+ <children xmi:type="notation:DecorationNode" xmi:id="_m5KBwIAEEeGqdId9TXdXhQ" visible="false" type="6001">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_m5KBwYAEEeGqdId9TXdXhQ" y="60"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_m5Ko0IAEEeGqdId9TXdXhQ" visible="false" type="6002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_m5Ko0YAEEeGqdId9TXdXhQ" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_m5Ko0oAEEeGqdId9TXdXhQ" visible="false" type="6003">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_m5Ko04AEEeGqdId9TXdXhQ" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_m5Ko1IAEEeGqdId9TXdXhQ" visible="false" type="6005">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_m5Ko1YAEEeGqdId9TXdXhQ" y="-20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_m5Ko1oAEEeGqdId9TXdXhQ" visible="false" type="6033">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_m5Ko14AEEeGqdId9TXdXhQ" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_m5Ko2IAEEeGqdId9TXdXhQ" visible="false" type="6034">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_m5Ko2YAEEeGqdId9TXdXhQ" y="-20"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_m5JasYAEEeGqdId9TXdXhQ" fontName="Segoe UI"/>
+ <element xmi:type="uml:Association" href="java.profile.uml#_uZHBoIADEeGqdId9TXdXhQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_m5JasoAEEeGqdId9TXdXhQ" points="[1, 64, 0, -72]$[0, 111, -1, -25]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pAVwsIAEEeGqdId9TXdXhQ" id="(0.33146067415730335,0.9921259842519685)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_pXE1sIAEEeGqdId9TXdXhQ" id="(0.25,0.16)"/>
+ </edges>
</notation:Diagram>
<notation:Diagram xmi:id="_uqGAEGXkEeCx-IU0sjGPKA" type="PapyrusUMLProfileDiagram" name="javagen hierarchy" measurementUnit="Pixel">
<children xmi:type="notation:Shape" xmi:id="_v_CZwGXkEeCx-IU0sjGPKA" type="1026" fontHeight="8" lineColor="0">
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.uml b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.uml
index 0d9a324fd8e..51f411cc7bc 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.uml
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/models/java.profile.uml
@@ -2,6 +2,1115 @@
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA">
<uml:Profile xmi:id="_6TYLMN0yEd6P1qtlpBOZyg" name="java" metaclassReference="_ayF5QN0zEd6P1qtlpBOZyg _a2aYkN0zEd6P1qtlpBOZyg _a4NIUN0zEd6P1qtlpBOZyg _a5PqIN0zEd6P1qtlpBOZyg _a6b88N0zEd6P1qtlpBOZyg _a77KsN0zEd6P1qtlpBOZyg _a80ikN0zEd6P1qtlpBOZyg _Bdek8N00Ed6P1qtlpBOZyg _CiHUUN2NEd6P1qtlpBOZyg _4wmIMN2SEd6P1qtlpBOZyg">
<eAnnotations xmi:id="_MzA50N00Ed6P1qtlpBOZyg" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <contents xmi:type="ecore:EPackage" xmi:id="_VgeDYIAfEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDYYAfEeGqdId9TXdXhQ" name="JavaClass" eSuperTypes="_VgeDdIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDYoAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_VgeDY4AfEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_VgeDZIAfEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_VgeDZYAfEeGqdId9TXdXhQ" source="redefines" references="_VgeDfYAfEeGqdId9TXdXhQ"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDZ4AfEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDaYAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDa4AfEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDbYAfEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDb4AfEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDcYAfEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDdIAfEeGqdId9TXdXhQ" name="JavaGen" abstract="true" eSuperTypes="_VgeDe4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDdYAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDdoAfEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDeIAfEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDe4AfEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_VgeDfIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDfYAfEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDf4AfEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDgYAfEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDg4AfEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDhYAfEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDh4AfEeGqdId9TXdXhQ" name="JavaPackage_" eSuperTypes="_VgeDdIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDiIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDiYAfEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDi4AfEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDjoAfEeGqdId9TXdXhQ" name="JavaMethod" eSuperTypes="_VgeDe4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDj4AfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDkIAfEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDkoAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDlIAfEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDloAfEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDmIAfEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDmoAfEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDnIAfEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDnoAfEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDoYAfEeGqdId9TXdXhQ" name="JavaParameter" eSuperTypes="_VgeDe4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDooAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDo4AfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDpYAfEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDqIAfEeGqdId9TXdXhQ" name="JavaProperty" eSuperTypes="_VgeDe4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDqYAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDqoAfEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDrIAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDroAfEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDsIAfEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDsoAfEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDtIAfEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDtoAfEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDuIAfEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDu4AfEeGqdId9TXdXhQ" name="PrimitiveType" eSuperTypes="_VgeDdIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDvIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDvYAfEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDv4AfEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_VgeDwYAfEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDxIAfEeGqdId9TXdXhQ" name="JavaProject" eSuperTypes="_VgeDdIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDxYAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDxoAfEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_VgeDyYAfEeGqdId9TXdXhQ" name="JavaSrcFolder" eSuperTypes="_VgeDdIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_VgeDyoAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_VgeDy4AfEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_VgeDzoAfEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_VgeDz4AfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_VgeD0IAfEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_VgeD0YAfEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_VgeD0oAfEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_MQshIIAfEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshIYAfEeGqdId9TXdXhQ" name="JavaClass" eSuperTypes="_MQshNIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshIoAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_MQshI4AfEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_MQshJIAfEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_MQshJYAfEeGqdId9TXdXhQ" source="redefines" references="_MQshPYAfEeGqdId9TXdXhQ"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshJ4AfEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshKYAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshK4AfEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshLYAfEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshL4AfEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshMYAfEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshNIAfEeGqdId9TXdXhQ" name="JavaGen" abstract="true" eSuperTypes="_MQshO4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshNYAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshNoAfEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshOIAfEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshO4AfEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_MQshPIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshPYAfEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshP4AfEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshQYAfEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshQ4AfEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshRYAfEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshR4AfEeGqdId9TXdXhQ" name="JavaPackage_" eSuperTypes="_MQshNIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshSIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshSYAfEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshS4AfEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshToAfEeGqdId9TXdXhQ" name="JavaMethod" eSuperTypes="_MQshO4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshT4AfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshUIAfEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshUoAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshVIAfEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshVoAfEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshWIAfEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshWoAfEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshXIAfEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshX4AfEeGqdId9TXdXhQ" name="JavaParameter" eSuperTypes="_MQshO4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshYIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshYYAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshY4AfEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshZoAfEeGqdId9TXdXhQ" name="JavaProperty" eSuperTypes="_MQshO4AfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshZ4AfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshaIAfEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshaoAfEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshbIAfEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshboAfEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshcIAfEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshcoAfEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshdIAfEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshdoAfEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQsheYAfEeGqdId9TXdXhQ" name="PrimitiveType" eSuperTypes="_MQshNIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQsheoAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshe4AfEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshfYAfEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_MQshf4AfEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshgoAfEeGqdId9TXdXhQ" name="JavaProject" eSuperTypes="_MQshNIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshg4AfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshhIAfEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_MQshh4AfEeGqdId9TXdXhQ" name="JavaSrcFolder" eSuperTypes="_MQshNIAfEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_MQshiIAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_MQshiYAfEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_MQshjIAfEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_MQshjYAfEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_MQshjoAfEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_MQshj4AfEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_MQshkIAfEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_sdbioIAEEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdbioYAEEeGqdId9TXdXhQ" name="JavaClass" eSuperTypes="_sdcJt4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdbiooAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_sdbio4AEEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_sdbipIAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_sdbipYAEEeGqdId9TXdXhQ" source="redefines" references="_sdcJwIAEEeGqdId9TXdXhQ"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdbip4AEEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdbiqYAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdbiq4AEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJsIAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJsoAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcJtIAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJt4AEEeGqdId9TXdXhQ" name="JavaGen" abstract="true" eSuperTypes="_sdcJvoAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcJuIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJuYAEEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJu4AEEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJvoAEEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_sdcJv4AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJwIAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJwoAEEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJxIAEEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJxoAEEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJyIAEEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJyoAEEeGqdId9TXdXhQ" name="JavaPackage_" eSuperTypes="_sdcJt4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcJy4AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJzIAEEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcJzoAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJ0YAEEeGqdId9TXdXhQ" name="JavaMethod" eSuperTypes="_sdcJvoAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcJ0oAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ04AEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ1YAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ14AEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ2YAEEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ24AEEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ3YAEEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcJ34AEEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcJ4YAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJ5IAEEeGqdId9TXdXhQ" name="JavaParameter" eSuperTypes="_sdcJvoAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcJ5YAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ5oAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcJ6IAEEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJ64AEEeGqdId9TXdXhQ" name="JavaProperty" eSuperTypes="_sdcJvoAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcJ7IAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ7YAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ74AEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcJ8YAEEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ84AEEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ9YAEEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ94AEEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ-YAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcJ-4AEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcJ_oAEEeGqdId9TXdXhQ" name="PrimitiveType" eSuperTypes="_sdcJt4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcJ_4AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcKAIAEEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcKAoAEEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_sdcKBIAEEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcKB4AEEeGqdId9TXdXhQ" name="JavaProject" eSuperTypes="_sdcJt4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcKCIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcKCYAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_sdcKDIAEEeGqdId9TXdXhQ" name="JavaSrcFolder" eSuperTypes="_sdcJt4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_sdcKDYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_sdcKDoAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_sdcKEYAEEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_sdcKEoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_sdcKE4AEEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_sdcKFIAEEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_sdcKFYAEEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_dPXdAIAEEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdAYAEEeGqdId9TXdXhQ" name="JavaClass" eSuperTypes="_dPXdFIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdAoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_dPXdA4AEEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_dPXdBIAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_dPXdBYAEEeGqdId9TXdXhQ" source="redefines" references="_dPXdHYAEEeGqdId9TXdXhQ"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdB4AEEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdCYAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdC4AEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdDYAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdD4AEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdEYAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdFIAEEeGqdId9TXdXhQ" name="JavaGen" abstract="true" eSuperTypes="_dPXdG4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdFYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdFoAEEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdGIAEEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdG4AEEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_dPXdHIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdHYAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdH4AEEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdIYAEEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdI4AEEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdJYAEEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdJ4AEEeGqdId9TXdXhQ" name="JavaPackage_" eSuperTypes="_dPXdFIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdKIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdKYAEEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdK4AEEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdLoAEEeGqdId9TXdXhQ" name="JavaMethod" eSuperTypes="_dPXdG4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdL4AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdMIAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdMoAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdNIAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdNoAEEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdOIAEEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdOoAEEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdPIAEEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdPoAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdQYAEEeGqdId9TXdXhQ" name="JavaParameter" eSuperTypes="_dPXdG4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdQoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdQ4AEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdRYAEEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdSIAEEeGqdId9TXdXhQ" name="JavaProperty" eSuperTypes="_dPXdG4AEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdSYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdSoAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdTIAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdToAEEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdUIAEEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdUoAEEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdVIAEEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdVoAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdWIAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdW4AEEeGqdId9TXdXhQ" name="PrimitiveType" eSuperTypes="_dPXdFIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdXIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdXYAEEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdX4AEEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_dPXdYYAEEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdZIAEEeGqdId9TXdXhQ" name="JavaProject" eSuperTypes="_dPXdFIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdZYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXdZoAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_dPXdaYAEEeGqdId9TXdXhQ" name="JavaSrcFolder" eSuperTypes="_dPXdFIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_dPXdaoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_dPXda4AEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_dPXdboAEEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_dPXdb4AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_dPXdcIAEEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_dPXdcYAEEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_dPXdcoAEEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_UnC8UIAEEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnC8UYAEEeGqdId9TXdXhQ" name="JavaClass" eSuperTypes="_UnDjaYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnC8UoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_UnC8U4AEEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_UnC8VIAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_UnC8VYAEEeGqdId9TXdXhQ" source="redefines" references="_UnDjcoAEEeGqdId9TXdXhQ"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnC8V4AEEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnC8WYAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjYIAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjYoAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjZIAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjZoAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjaYAEEeGqdId9TXdXhQ" name="JavaGen" abstract="true" eSuperTypes="_UnDjcIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjaoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDja4AEEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjbYAEEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjcIAEEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_UnDjcYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjcoAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjdIAEEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjdoAEEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjeIAEEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjeoAEEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjfIAEEeGqdId9TXdXhQ" name="JavaPackage_" eSuperTypes="_UnDjaYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjfYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjfoAEEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjgIAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjg4AEEeGqdId9TXdXhQ" name="JavaMethod" eSuperTypes="_UnDjcIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjhIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjhYAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjh4AEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjiYAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDji4AEEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjjYAEEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjj4AEEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjkYAEEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjk4AEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjlYAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjmIAEEeGqdId9TXdXhQ" name="JavaParameter" eSuperTypes="_UnDjcIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjmYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjmoAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjnIAEEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjn4AEEeGqdId9TXdXhQ" name="JavaProperty" eSuperTypes="_UnDjcIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjoIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjoYAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjo4AEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjpYAEEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjp4AEEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjqYAEEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjq4AEEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjrYAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjr4AEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjsYAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjtIAEEeGqdId9TXdXhQ" name="PrimitiveType" eSuperTypes="_UnDjaYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjtYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjtoAEEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjuIAEEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_UnDjuoAEEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjvYAEEeGqdId9TXdXhQ" name="JavaProject" eSuperTypes="_UnDjaYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjvoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjv4AEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_UnDjwoAEEeGqdId9TXdXhQ" name="JavaSrcFolder" eSuperTypes="_UnDjaYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_UnDjw4AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_UnDjxIAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_UnDjx4AEEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_UnDjyIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_UnDjyYAEEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_UnDjyoAEEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_UnDjy4AEEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_RDFtYIAEEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDFtYYAEEeGqdId9TXdXhQ" name="JavaClass" eSuperTypes="_RDGUgYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDFtYoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_RDGUcIAEEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_RDGUcYAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_RDGUcoAEEeGqdId9TXdXhQ" source="redefines" references="_RDGUioAEEeGqdId9TXdXhQ"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUdIAEEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUdoAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUeIAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUeoAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUfIAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUfoAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUgYAEEeGqdId9TXdXhQ" name="JavaGen" abstract="true" eSuperTypes="_RDGUiIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGUgoAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUg4AEEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUhYAEEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUiIAEEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_RDGUiYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUioAEEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUjIAEEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUjoAEEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUkIAEEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUkoAEEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUlIAEEeGqdId9TXdXhQ" name="JavaPackage_" eSuperTypes="_RDGUgYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGUlYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUloAEEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUmIAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUm4AEEeGqdId9TXdXhQ" name="JavaMethod" eSuperTypes="_RDGUiIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGUnIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUnYAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUn4AEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUoYAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUo4AEEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUpYAEEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUp4AEEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUqYAEEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUq4AEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUrYAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUsIAEEeGqdId9TXdXhQ" name="JavaParameter" eSuperTypes="_RDGUiIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGUsYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUsoAEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUtIAEEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUt4AEEeGqdId9TXdXhQ" name="JavaProperty" eSuperTypes="_RDGUiIAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGUuIAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUuYAEEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUu4AEEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUvYAEEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUv4AEEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUwYAEEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUw4AEEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUxYAEEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUx4AEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGUyYAEEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGUzIAEEeGqdId9TXdXhQ" name="PrimitiveType" eSuperTypes="_RDGUgYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGUzYAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGUzoAEEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGU0IAEEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_RDGU0oAEEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGU1YAEEeGqdId9TXdXhQ" name="JavaProject" eSuperTypes="_RDGUgYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGU1oAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGU14AEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_RDGU2oAEEeGqdId9TXdXhQ" name="JavaSrcFolder" eSuperTypes="_RDGUgYAEEeGqdId9TXdXhQ">
+ <eAnnotations xmi:id="_RDGU24AEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_RDGU3IAEEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_RDGU34AEEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_RDGU4IAEEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_RDGU4YAEEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_RDGU4oAEEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_RDGU44AEEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_-sB2gIADEeGqdId9TXdXhQ" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB2gYADEeGqdId9TXdXhQ" name="JavaClass">
+ <eAnnotations xmi:id="_-sB2goADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
+ <eAnnotations xmi:id="_-sB2g4ADEeGqdId9TXdXhQ" source="duplicates">
+ <contents xmi:type="ecore:EAttribute" xmi:id="_-sB2hIADEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eAnnotations xmi:id="_-sB2hYADEeGqdId9TXdXhQ" source="redefines"/>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB2h4ADEeGqdId9TXdXhQ" name="base_Classifier" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2iYADEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2i4ADEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2jYADEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2j4ADEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" ordered="false" unique="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB2kYADEeGqdId9TXdXhQ" name="explicitRequiredImports" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB2lIADEeGqdId9TXdXhQ" name="JavaPackage_">
+ <eAnnotations xmi:id="_-sB2lYADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_DPxB8N00Ed6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2loADEeGqdId9TXdXhQ" name="packageName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB2mIADEeGqdId9TXdXhQ" name="base_Package" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB2m4ADEeGqdId9TXdXhQ" name="JavaMethod">
+ <eAnnotations xmi:id="_-sB2nIADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_TWN1kN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2nYADEeGqdId9TXdXhQ" name="isStatic" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2n4ADEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2oYADEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2o4ADEeGqdId9TXdXhQ" name="isNative" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2pYADEeGqdId9TXdXhQ" name="isSynchronized" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2p4ADEeGqdId9TXdXhQ" name="isConstructor" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB2qYADEeGqdId9TXdXhQ" name="base_Operation" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB2rIADEeGqdId9TXdXhQ" name="JavaParameter">
+ <eAnnotations xmi:id="_-sB2rYADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_03FkMN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2roADEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB2sIADEeGqdId9TXdXhQ" name="base_Parameter" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Parameter"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB2s4ADEeGqdId9TXdXhQ" name="JavaProperty">
+ <eAnnotations xmi:id="_-sB2tIADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_8_lVUN2LEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2tYADEeGqdId9TXdXhQ" name="isAbstract" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2t4ADEeGqdId9TXdXhQ" name="isFinal" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB2uYADEeGqdId9TXdXhQ" name="base_Property" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2u4ADEeGqdId9TXdXhQ" name="isTransient" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2vYADEeGqdId9TXdXhQ" name="generateGetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2v4ADEeGqdId9TXdXhQ" name="generateSetter" ordered="false" lowerBound="1" defaultValueLiteral="default">
+ <eType xmi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/JAVA/1#//TrueFalseDefault"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2wYADEeGqdId9TXdXhQ" name="isStatic" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB2xIADEeGqdId9TXdXhQ" name="JavaNamedElement" abstract="true">
+ <eAnnotations xmi:id="_-sB2xYADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_eGOmEN2MEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2xoADEeGqdId9TXdXhQ" name="name" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2yIADEeGqdId9TXdXhQ" name="author" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2yoADEeGqdId9TXdXhQ" name="version" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2zIADEeGqdId9TXdXhQ" name="comment" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB2zoADEeGqdId9TXdXhQ" name="isGenerated" ordered="false" unique="false" lowerBound="1" defaultValueLiteral="true">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB20IADEeGqdId9TXdXhQ" name="PrimitiveType">
+ <eAnnotations xmi:id="_-sB20YADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_q2aFQN2SEd6P1qtlpBOZyg"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB20oADEeGqdId9TXdXhQ" name="implementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB21IADEeGqdId9TXdXhQ" name="base_PrimitiveType" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//PrimitiveType"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB21oADEeGqdId9TXdXhQ" name="collectionImplementationClass" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB22YADEeGqdId9TXdXhQ" name="JavaProject">
+ <eAnnotations xmi:id="_-sB22oADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_t-QqQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB224ADEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB23oADEeGqdId9TXdXhQ" name="JavaSrcFolder">
+ <eAnnotations xmi:id="_-sB234ADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_10lGQGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-sB24IADEeGqdId9TXdXhQ" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-sB244ADEeGqdId9TXdXhQ" name="JavaGen" abstract="true">
+ <eAnnotations xmi:id="_-sB25IADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_4QcEsGXjEeCHc7Sujzc1_A"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB25YADEeGqdId9TXdXhQ" name="srcName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-sB254ADEeGqdId9TXdXhQ" name="projectName" ordered="false" unique="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_-sB26oADEeGqdId9TXdXhQ" name="TrueFalseDefault">
+ <eAnnotations xmi:id="_-sB264ADEeGqdId9TXdXhQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_xwb7kIXFEeCQsIB6sI2lFg"/>
+ <eLiterals xmi:id="_-sB27IADEeGqdId9TXdXhQ" name="true"/>
+ <eLiterals xmi:id="_-sB27YADEeGqdId9TXdXhQ" name="false" value="1"/>
+ <eLiterals xmi:id="_-sB27oADEeGqdId9TXdXhQ" name="default" value="2"/>
+ </eClassifiers>
+ </contents>
<contents xmi:type="ecore:EPackage" xmi:id="_m4y0cHppEeG6sMpxGcut-Q" name="java" nsURI="http://www.eclipse.org/papyrus/JAVA/1" nsPrefix="java">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_m4y0cXppEeG6sMpxGcut-Q" name="JavaClass" eSuperTypes="_m4y0gHppEeG6sMpxGcut-Q">
<eAnnotations xmi:id="_m4y0cnppEeG6sMpxGcut-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_zW6S4N0zEd6P1qtlpBOZyg"/>
@@ -3804,6 +4913,19 @@
<value xsi:nil="true"/>
</defaultValue>
</ownedAttribute>
+ <ownedAttribute xmi:id="_YAcWgIADEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" visibility="public" isUnique="false">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_YAcWgYADEeGqdId9TXdXhQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_YAcWgoADEeGqdId9TXdXhQ"/>
+ <defaultValue xmi:type="uml:LiteralString" xmi:id="_YAcWg4ADEeGqdId9TXdXhQ">
+ <value xsi:nil="true"/>
+ </defaultValue>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_uZElYIADEeGqdId9TXdXhQ" name="explicitRequiredImports" association="_uZHBoIADEeGqdId9TXdXhQ">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_uZElYYADEeGqdId9TXdXhQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_uZElYoADEeGqdId9TXdXhQ"/>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Extension" xmi:id="_3_5QMN0zEd6P1qtlpBOZyg" name="Extension_NamedElement" memberEnd="_4C3rsN0zEd6P1qtlpBOZyg _4C3rsd0zEd6P1qtlpBOZyg">
<ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_4C3rsN0zEd6P1qtlpBOZyg" name="extension_NamedElement" type="_zW6S4N0zEd6P1qtlpBOZyg" aggregation="composite" association="_3_5QMN0zEd6P1qtlpBOZyg"/>
@@ -3878,6 +5000,14 @@
<ownedAttribute xmi:id="_9mgV8N2MEd6P1qtlpBOZyg" name="base_Operation" isUnique="false" association="_9iVnoN2MEd6P1qtlpBOZyg">
<type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
</ownedAttribute>
+ <ownedAttribute xmi:id="_RTklIIAfEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" visibility="public" isUnique="false">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_RTklIYAfEeGqdId9TXdXhQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_RTklIoAfEeGqdId9TXdXhQ"/>
+ <defaultValue xmi:type="uml:LiteralString" xmi:id="_RTklI4AfEeGqdId9TXdXhQ">
+ <value xsi:nil="true"/>
+ </defaultValue>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_03FkMN2LEd6P1qtlpBOZyg" name="JavaParameter">
<generalization xmi:id="_rvlXsN2MEd6P1qtlpBOZyg" general="_eGOmEN2MEd6P1qtlpBOZyg"/>
@@ -3940,6 +5070,14 @@
<value xsi:nil="true"/>
</defaultValue>
</ownedAttribute>
+ <ownedAttribute xmi:id="_BGcqgIAEEeGqdId9TXdXhQ" name="explicitPlainTextRequiredImports" visibility="public" isUnique="false">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_BGcqgYAEEeGqdId9TXdXhQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_BGcqgoAEEeGqdId9TXdXhQ"/>
+ <defaultValue xmi:type="uml:LiteralString" xmi:id="_BGcqg4AEEeGqdId9TXdXhQ">
+ <value xsi:nil="true"/>
+ </defaultValue>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_eGOmEN2MEd6P1qtlpBOZyg" name="JavaNamedElement" isAbstract="true">
<ownedAttribute xmi:id="_gi_jcN2MEd6P1qtlpBOZyg" name="name" visibility="public" isUnique="false">
@@ -4060,6 +5198,12 @@
<ownedLiteral xmi:id="_4HMCQIXFEeCQsIB6sI2lFg" name="false"/>
<ownedLiteral xmi:id="_46qGkIXFEeCQsIB6sI2lFg" name="default"/>
</packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_uZHBoIADEeGqdId9TXdXhQ" name="explicitRequiredImports" memberEnd="_uZHBoYADEeGqdId9TXdXhQ _uZElYIADEeGqdId9TXdXhQ">
+ <ownedEnd xmi:id="_uZHBoYADEeGqdId9TXdXhQ" name="javaClass" type="_zW6S4N0zEd6P1qtlpBOZyg" association="_uZHBoIADEeGqdId9TXdXhQ">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_uZHBooADEeGqdId9TXdXhQ" value="1"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_uZHBo4ADEeGqdId9TXdXhQ" value="1"/>
+ </ownedEnd>
+ </packagedElement>
<profileApplication xmi:id="_EtJ8EL4gEeCEtsFsoh9ueQ">
<eAnnotations xmi:id="_EuUZsL4gEeCEtsFsoh9ueQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/>
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaClass.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaClass.java
index 654414980da..e032604beb9 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaClass.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaClass.java
@@ -6,6 +6,8 @@
*/
package org.eclipse.papyrus.java.profile.java;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
import org.eclipse.uml2.uml.Classifier;
/**
@@ -20,6 +22,8 @@ import org.eclipse.uml2.uml.Classifier;
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaClass#isFinal <em>Is Final</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaClass#isAbstract <em>Is Abstract</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaClass#isStatic <em>Is Static</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.JavaClass#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.JavaClass#getExplicitRequiredImports <em>Explicit Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -132,4 +136,60 @@ public interface JavaClass extends JavaGen {
*/
void setIsStatic(boolean value);
+ /**
+ * Returns the value of the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Explicit Plain Text Required Imports</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Explicit Plain Text Required Imports</em>' attribute list.
+ * @see org.eclipse.papyrus.java.profile.java.JavaPackage#getJavaClass_ExplicitPlainTextRequiredImports()
+ * @model unique="false" ordered="false"
+ * @generated
+ */
+ EList<String> getExplicitPlainTextRequiredImports();
+
+ /**
+ * Returns the value of the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.Classifier}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Explicit Required Imports</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Explicit Required Imports</em>' reference list.
+ * @see org.eclipse.papyrus.java.profile.java.JavaPackage#getJavaClass_ExplicitRequiredImports()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<Classifier> getExplicitRequiredImports();
+
+ /**
+ * Retrieves the first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>' from the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Classifier} to retrieve, or <code>null</code>.
+ * @return The first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>', or <code>null</code>.
+ * @see #getExplicitRequiredImports()
+ * @generated
+ */
+ Classifier getExplicitRequiredImports(String name);
+
+ /**
+ * Retrieves the first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>' from the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Classifier} to retrieve, or <code>null</code>.
+ * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons.
+ * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Classifier} to retrieve, or <code>null</code>.
+ * @return The first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>', or <code>null</code>.
+ * @see #getExplicitRequiredImports()
+ * @generated
+ */
+ Classifier getExplicitRequiredImports(String name, boolean ignoreCase, EClass eClass);
+
} // JavaClass
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaMethod.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaMethod.java
index c5ef2cc8806..11fc1e35afe 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaMethod.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaMethod.java
@@ -6,6 +6,7 @@
*/
package org.eclipse.papyrus.java.profile.java;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.uml2.uml.Operation;
/**
@@ -23,6 +24,7 @@ import org.eclipse.uml2.uml.Operation;
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaMethod#isSynchronized <em>Is Synchronized</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaMethod#isConstructor <em>Is Constructor</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaMethod#getBase_Operation <em>Base Operation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.JavaMethod#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -213,4 +215,20 @@ public interface JavaMethod extends JavaNamedElement {
*/
void setBase_Operation(Operation value);
+ /**
+ * Returns the value of the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Explicit Plain Text Required Imports</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Explicit Plain Text Required Imports</em>' attribute list.
+ * @see org.eclipse.papyrus.java.profile.java.JavaPackage#getJavaMethod_ExplicitPlainTextRequiredImports()
+ * @model unique="false" ordered="false"
+ * @generated
+ */
+ EList<String> getExplicitPlainTextRequiredImports();
+
} // JavaMethod
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaPackage.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaPackage.java
index df2d0c904ad..aacb96f0a00 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaPackage.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaPackage.java
@@ -316,13 +316,31 @@ public interface JavaPackage extends EPackage {
int JAVA_CLASS__IS_STATIC = JAVA_GEN_FEATURE_COUNT + 3;
/**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JAVA_GEN_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Explicit Required Imports</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS = JAVA_GEN_FEATURE_COUNT + 5;
+
+ /**
* The number of structural features of the '<em>Class</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int JAVA_CLASS_FEATURE_COUNT = JAVA_GEN_FEATURE_COUNT + 4;
+ int JAVA_CLASS_FEATURE_COUNT = JAVA_GEN_FEATURE_COUNT + 6;
/**
* The meta object id for the '{@link org.eclipse.papyrus.java.profile.java.impl.JavaPackage_Impl <em>Package </em>}' class.
@@ -543,13 +561,22 @@ public interface JavaPackage extends EPackage {
int JAVA_METHOD__BASE_OPERATION = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 6;
/**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 7;
+
+ /**
* The number of structural features of the '<em>Method</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int JAVA_METHOD_FEATURE_COUNT = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 7;
+ int JAVA_METHOD_FEATURE_COUNT = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 8;
/**
* The meta object id for the '{@link org.eclipse.papyrus.java.profile.java.impl.JavaParameterImpl <em>Parameter</em>}' class.
@@ -752,13 +779,22 @@ public interface JavaPackage extends EPackage {
int JAVA_PROPERTY__IS_STATIC = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 6;
/**
+ * The feature id for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 7;
+
+ /**
* The number of structural features of the '<em>Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int JAVA_PROPERTY_FEATURE_COUNT = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 7;
+ int JAVA_PROPERTY_FEATURE_COUNT = JAVA_NAMED_ELEMENT_FEATURE_COUNT + 8;
/**
* The meta object id for the '{@link org.eclipse.papyrus.java.profile.java.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class.
@@ -1117,6 +1153,28 @@ public interface JavaPackage extends EPackage {
EAttribute getJavaClass_IsStatic();
/**
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.java.profile.java.JavaClass#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Explicit Plain Text Required Imports</em>'.
+ * @see org.eclipse.papyrus.java.profile.java.JavaClass#getExplicitPlainTextRequiredImports()
+ * @see #getJavaClass()
+ * @generated
+ */
+ EAttribute getJavaClass_ExplicitPlainTextRequiredImports();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.java.profile.java.JavaClass#getExplicitRequiredImports <em>Explicit Required Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Explicit Required Imports</em>'.
+ * @see org.eclipse.papyrus.java.profile.java.JavaClass#getExplicitRequiredImports()
+ * @see #getJavaClass()
+ * @generated
+ */
+ EReference getJavaClass_ExplicitRequiredImports();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.papyrus.java.profile.java.JavaGen <em>Gen</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1333,6 +1391,17 @@ public interface JavaPackage extends EPackage {
EReference getJavaMethod_Base_Operation();
/**
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.java.profile.java.JavaMethod#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Explicit Plain Text Required Imports</em>'.
+ * @see org.eclipse.papyrus.java.profile.java.JavaMethod#getExplicitPlainTextRequiredImports()
+ * @see #getJavaMethod()
+ * @generated
+ */
+ EAttribute getJavaMethod_ExplicitPlainTextRequiredImports();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.papyrus.java.profile.java.JavaParameter <em>Parameter</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1452,6 +1521,17 @@ public interface JavaPackage extends EPackage {
EAttribute getJavaProperty_IsStatic();
/**
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.java.profile.java.JavaProperty#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Explicit Plain Text Required Imports</em>'.
+ * @see org.eclipse.papyrus.java.profile.java.JavaProperty#getExplicitPlainTextRequiredImports()
+ * @see #getJavaProperty()
+ * @generated
+ */
+ EAttribute getJavaProperty_ExplicitPlainTextRequiredImports();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.papyrus.java.profile.java.PrimitiveType <em>Primitive Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1611,6 +1691,22 @@ public interface JavaPackage extends EPackage {
EAttribute JAVA_CLASS__IS_STATIC = eINSTANCE.getJavaClass_IsStatic();
/**
+ * The meta object literal for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = eINSTANCE.getJavaClass_ExplicitPlainTextRequiredImports();
+
+ /**
+ * The meta object literal for the '<em><b>Explicit Required Imports</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS = eINSTANCE.getJavaClass_ExplicitRequiredImports();
+
+ /**
* The meta object literal for the '{@link org.eclipse.papyrus.java.profile.java.impl.JavaGenImpl <em>Gen</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1779,6 +1875,14 @@ public interface JavaPackage extends EPackage {
EReference JAVA_METHOD__BASE_OPERATION = eINSTANCE.getJavaMethod_Base_Operation();
/**
+ * The meta object literal for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = eINSTANCE.getJavaMethod_ExplicitPlainTextRequiredImports();
+
+ /**
* The meta object literal for the '{@link org.eclipse.papyrus.java.profile.java.impl.JavaParameterImpl <em>Parameter</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1871,6 +1975,14 @@ public interface JavaPackage extends EPackage {
EAttribute JAVA_PROPERTY__IS_STATIC = eINSTANCE.getJavaProperty_IsStatic();
/**
+ * The meta object literal for the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS = eINSTANCE.getJavaProperty_ExplicitPlainTextRequiredImports();
+
+ /**
* The meta object literal for the '{@link org.eclipse.papyrus.java.profile.java.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaProperty.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaProperty.java
index f14f46257d4..287bbe345fe 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaProperty.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/JavaProperty.java
@@ -6,6 +6,7 @@
*/
package org.eclipse.papyrus.java.profile.java;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.uml2.uml.Property;
/**
@@ -23,6 +24,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaProperty#getGenerateGetter <em>Generate Getter</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaProperty#getGenerateSetter <em>Generate Setter</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.JavaProperty#isStatic <em>Is Static</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.JavaProperty#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -221,4 +223,20 @@ public interface JavaProperty extends JavaNamedElement {
*/
void setIsStatic(boolean value);
+ /**
+ * Returns the value of the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Explicit Plain Text Required Imports</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Explicit Plain Text Required Imports</em>' attribute list.
+ * @see org.eclipse.papyrus.java.profile.java.JavaPackage#getJavaProperty_ExplicitPlainTextRequiredImports()
+ * @model unique="false" ordered="false"
+ * @generated
+ */
+ EList<String> getExplicitPlainTextRequiredImports();
+
} // JavaProperty
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaClassImpl.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaClassImpl.java
index ce9d80b7b82..b8e08f4f30d 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaClassImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaClassImpl.java
@@ -6,13 +6,17 @@
*/
package org.eclipse.papyrus.java.profile.java.impl;
+import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.papyrus.java.profile.java.JavaClass;
import org.eclipse.papyrus.java.profile.java.JavaPackage;
@@ -29,6 +33,8 @@ import org.eclipse.uml2.uml.Classifier;
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaClassImpl#isFinal <em>Is Final</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaClassImpl#isAbstract <em>Is Abstract</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaClassImpl#isStatic <em>Is Static</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaClassImpl#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaClassImpl#getExplicitRequiredImports <em>Explicit Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -106,6 +112,26 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
protected boolean isStatic = IS_STATIC_EDEFAULT;
/**
+ * The cached value of the '{@link #getExplicitPlainTextRequiredImports() <em>Explicit Plain Text Required Imports</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExplicitPlainTextRequiredImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> explicitPlainTextRequiredImports;
+
+ /**
+ * The cached value of the '{@link #getExplicitRequiredImports() <em>Explicit Required Imports</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExplicitRequiredImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<Classifier> explicitRequiredImports;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -230,6 +256,55 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
* <!-- end-user-doc -->
* @generated
*/
+ public EList<String> getExplicitPlainTextRequiredImports() {
+ if (explicitPlainTextRequiredImports == null) {
+ explicitPlainTextRequiredImports = new EDataTypeEList<String>(String.class, this, JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
+ }
+ return explicitPlainTextRequiredImports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Classifier> getExplicitRequiredImports() {
+ if (explicitRequiredImports == null) {
+ explicitRequiredImports = new EObjectResolvingEList<Classifier>(Classifier.class, this, JavaPackage.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS);
+ }
+ return explicitRequiredImports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Classifier getExplicitRequiredImports(String name) {
+ return getExplicitRequiredImports(name, false, null);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Classifier getExplicitRequiredImports(String name, boolean ignoreCase, EClass eClass) {
+ explicitRequiredImportsLoop: for (Classifier explicitRequiredImports : getExplicitRequiredImports()) {
+ if (eClass != null && !eClass.isInstance(explicitRequiredImports))
+ continue explicitRequiredImportsLoop;
+ if (name != null && !(ignoreCase ? name.equalsIgnoreCase(explicitRequiredImports.getName()) : name.equals(explicitRequiredImports.getName())))
+ continue explicitRequiredImportsLoop;
+ return explicitRequiredImports;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
@@ -242,6 +317,10 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
return isAbstract();
case JavaPackage.JAVA_CLASS__IS_STATIC:
return isStatic();
+ case JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return getExplicitPlainTextRequiredImports();
+ case JavaPackage.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS:
+ return getExplicitRequiredImports();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -251,6 +330,7 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
@@ -266,6 +346,14 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
case JavaPackage.JAVA_CLASS__IS_STATIC:
setIsStatic((Boolean)newValue);
return;
+ case JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ getExplicitPlainTextRequiredImports().addAll((Collection<? extends String>)newValue);
+ return;
+ case JavaPackage.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS:
+ getExplicitRequiredImports().clear();
+ getExplicitRequiredImports().addAll((Collection<? extends Classifier>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -290,6 +378,12 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
case JavaPackage.JAVA_CLASS__IS_STATIC:
setIsStatic(IS_STATIC_EDEFAULT);
return;
+ case JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ return;
+ case JavaPackage.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS:
+ getExplicitRequiredImports().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -310,6 +404,10 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
return isAbstract != IS_ABSTRACT_EDEFAULT;
case JavaPackage.JAVA_CLASS__IS_STATIC:
return isStatic != IS_STATIC_EDEFAULT;
+ case JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return explicitPlainTextRequiredImports != null && !explicitPlainTextRequiredImports.isEmpty();
+ case JavaPackage.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS:
+ return explicitRequiredImports != null && !explicitRequiredImports.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -330,6 +428,8 @@ public class JavaClassImpl extends JavaGenImpl implements JavaClass {
result.append(isAbstract);
result.append(", isStatic: ");
result.append(isStatic);
+ result.append(", explicitPlainTextRequiredImports: ");
+ result.append(explicitPlainTextRequiredImports);
result.append(')');
return result.toString();
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaMethodImpl.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaMethodImpl.java
index 27e816a39ac..efdf5bfaef3 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaMethodImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaMethodImpl.java
@@ -6,13 +6,16 @@
*/
package org.eclipse.papyrus.java.profile.java.impl;
+import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EDataTypeEList;
import org.eclipse.papyrus.java.profile.java.JavaMethod;
import org.eclipse.papyrus.java.profile.java.JavaPackage;
@@ -32,6 +35,7 @@ import org.eclipse.uml2.uml.Operation;
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaMethodImpl#isSynchronized <em>Is Synchronized</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaMethodImpl#isConstructor <em>Is Constructor</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaMethodImpl#getBase_Operation <em>Base Operation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaMethodImpl#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -169,6 +173,16 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
protected Operation base_Operation;
/**
+ * The cached value of the '{@link #getExplicitPlainTextRequiredImports() <em>Explicit Plain Text Required Imports</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExplicitPlainTextRequiredImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> explicitPlainTextRequiredImports;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -356,6 +370,18 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
* <!-- end-user-doc -->
* @generated
*/
+ public EList<String> getExplicitPlainTextRequiredImports() {
+ if (explicitPlainTextRequiredImports == null) {
+ explicitPlainTextRequiredImports = new EDataTypeEList<String>(String.class, this, JavaPackage.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
+ }
+ return explicitPlainTextRequiredImports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
@@ -374,6 +400,8 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
case JavaPackage.JAVA_METHOD__BASE_OPERATION:
if (resolve) return getBase_Operation();
return basicGetBase_Operation();
+ case JavaPackage.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return getExplicitPlainTextRequiredImports();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -383,6 +411,7 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
@@ -407,6 +436,10 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
case JavaPackage.JAVA_METHOD__BASE_OPERATION:
setBase_Operation((Operation)newValue);
return;
+ case JavaPackage.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ getExplicitPlainTextRequiredImports().addAll((Collection<? extends String>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -440,6 +473,9 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
case JavaPackage.JAVA_METHOD__BASE_OPERATION:
setBase_Operation((Operation)null);
return;
+ case JavaPackage.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -466,6 +502,8 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
return isConstructor != IS_CONSTRUCTOR_EDEFAULT;
case JavaPackage.JAVA_METHOD__BASE_OPERATION:
return base_Operation != null;
+ case JavaPackage.JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return explicitPlainTextRequiredImports != null && !explicitPlainTextRequiredImports.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -492,6 +530,8 @@ public class JavaMethodImpl extends JavaNamedElementImpl implements JavaMethod {
result.append(isSynchronized);
result.append(", isConstructor: ");
result.append(isConstructor);
+ result.append(", explicitPlainTextRequiredImports: ");
+ result.append(explicitPlainTextRequiredImports);
result.append(')');
return result.toString();
}
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPackageImpl.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPackageImpl.java
index 2963ce2ad72..c82dac1a22d 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPackageImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPackageImpl.java
@@ -228,6 +228,24 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getJavaClass_ExplicitPlainTextRequiredImports() {
+ return (EAttribute)javaClassEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getJavaClass_ExplicitRequiredImports() {
+ return (EReference)javaClassEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getJavaGen() {
return javaGenEClass;
}
@@ -408,6 +426,15 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getJavaMethod_ExplicitPlainTextRequiredImports() {
+ return (EAttribute)javaMethodEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getJavaParameter() {
return javaParameterEClass;
}
@@ -507,6 +534,15 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getJavaProperty_ExplicitPlainTextRequiredImports() {
+ return (EAttribute)javaPropertyEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getPrimitiveType() {
return primitiveTypeEClass;
}
@@ -616,6 +652,8 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
createEAttribute(javaClassEClass, JAVA_CLASS__IS_FINAL);
createEAttribute(javaClassEClass, JAVA_CLASS__IS_ABSTRACT);
createEAttribute(javaClassEClass, JAVA_CLASS__IS_STATIC);
+ createEAttribute(javaClassEClass, JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
+ createEReference(javaClassEClass, JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS);
javaGenEClass = createEClass(JAVA_GEN);
createEAttribute(javaGenEClass, JAVA_GEN__SRC_NAME);
@@ -640,6 +678,7 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
createEAttribute(javaMethodEClass, JAVA_METHOD__IS_SYNCHRONIZED);
createEAttribute(javaMethodEClass, JAVA_METHOD__IS_CONSTRUCTOR);
createEReference(javaMethodEClass, JAVA_METHOD__BASE_OPERATION);
+ createEAttribute(javaMethodEClass, JAVA_METHOD__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
javaParameterEClass = createEClass(JAVA_PARAMETER);
createEAttribute(javaParameterEClass, JAVA_PARAMETER__IS_FINAL);
@@ -653,6 +692,7 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
createEAttribute(javaPropertyEClass, JAVA_PROPERTY__GENERATE_GETTER);
createEAttribute(javaPropertyEClass, JAVA_PROPERTY__GENERATE_SETTER);
createEAttribute(javaPropertyEClass, JAVA_PROPERTY__IS_STATIC);
+ createEAttribute(javaPropertyEClass, JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
primitiveTypeEClass = createEClass(PRIMITIVE_TYPE);
createEAttribute(primitiveTypeEClass, PRIMITIVE_TYPE__IMPLEMENTATION_CLASS);
@@ -716,6 +756,8 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
initEAttribute(getJavaClass_IsFinal(), ecorePackage.getEBoolean(), "isFinal", null, 1, 1, JavaClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJavaClass_IsAbstract(), ecorePackage.getEBoolean(), "isAbstract", null, 1, 1, JavaClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJavaClass_IsStatic(), ecorePackage.getEBoolean(), "isStatic", null, 1, 1, JavaClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getJavaClass_ExplicitPlainTextRequiredImports(), ecorePackage.getEString(), "explicitPlainTextRequiredImports", null, 0, -1, JavaClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getJavaClass_ExplicitRequiredImports(), theUMLPackage.getClassifier(), null, "explicitRequiredImports", null, 0, -1, JavaClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(javaGenEClass, JavaGen.class, "JavaGen", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getJavaGen_SrcName(), ecorePackage.getEString(), "srcName", null, 1, 1, JavaGen.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
@@ -740,6 +782,7 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
initEAttribute(getJavaMethod_IsSynchronized(), ecorePackage.getEBoolean(), "isSynchronized", null, 1, 1, JavaMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJavaMethod_IsConstructor(), ecorePackage.getEBoolean(), "isConstructor", null, 1, 1, JavaMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEReference(getJavaMethod_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, JavaMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getJavaMethod_ExplicitPlainTextRequiredImports(), ecorePackage.getEString(), "explicitPlainTextRequiredImports", null, 0, -1, JavaMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(javaParameterEClass, JavaParameter.class, "JavaParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getJavaParameter_IsFinal(), ecorePackage.getEBoolean(), "isFinal", null, 1, 1, JavaParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
@@ -753,6 +796,7 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
initEAttribute(getJavaProperty_GenerateGetter(), this.getTrueFalseDefault(), "generateGetter", "default", 1, 1, JavaProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJavaProperty_GenerateSetter(), this.getTrueFalseDefault(), "generateSetter", "default", 1, 1, JavaProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getJavaProperty_IsStatic(), ecorePackage.getEBoolean(), "isStatic", null, 1, 1, JavaProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getJavaProperty_ExplicitPlainTextRequiredImports(), ecorePackage.getEString(), "explicitPlainTextRequiredImports", null, 0, -1, JavaProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(primitiveTypeEClass, PrimitiveType.class, "PrimitiveType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getPrimitiveType_ImplementationClass(), ecorePackage.getEString(), "implementationClass", null, 1, 1, PrimitiveType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPropertyImpl.java b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPropertyImpl.java
index e6fd6626eea..6303f0a3402 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPropertyImpl.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile/src/org/eclipse/papyrus/java/profile/java/impl/JavaPropertyImpl.java
@@ -6,13 +6,16 @@
*/
package org.eclipse.papyrus.java.profile.java.impl;
+import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EDataTypeEList;
import org.eclipse.papyrus.java.profile.java.JavaPackage;
import org.eclipse.papyrus.java.profile.java.JavaProperty;
import org.eclipse.papyrus.java.profile.java.TrueFalseDefault;
@@ -33,6 +36,7 @@ import org.eclipse.uml2.uml.Property;
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaPropertyImpl#getGenerateGetter <em>Generate Getter</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaPropertyImpl#getGenerateSetter <em>Generate Setter</em>}</li>
* <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaPropertyImpl#isStatic <em>Is Static</em>}</li>
+ * <li>{@link org.eclipse.papyrus.java.profile.java.impl.JavaPropertyImpl#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* </ul>
* </p>
*
@@ -170,6 +174,16 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
protected boolean isStatic = IS_STATIC_EDEFAULT;
/**
+ * The cached value of the '{@link #getExplicitPlainTextRequiredImports() <em>Explicit Plain Text Required Imports</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExplicitPlainTextRequiredImports()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> explicitPlainTextRequiredImports;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -357,6 +371,18 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
* <!-- end-user-doc -->
* @generated
*/
+ public EList<String> getExplicitPlainTextRequiredImports() {
+ if (explicitPlainTextRequiredImports == null) {
+ explicitPlainTextRequiredImports = new EDataTypeEList<String>(String.class, this, JavaPackage.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS);
+ }
+ return explicitPlainTextRequiredImports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
@@ -375,6 +401,8 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
return getGenerateSetter();
case JavaPackage.JAVA_PROPERTY__IS_STATIC:
return isStatic();
+ case JavaPackage.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return getExplicitPlainTextRequiredImports();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -384,6 +412,7 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
@@ -408,6 +437,10 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
case JavaPackage.JAVA_PROPERTY__IS_STATIC:
setIsStatic((Boolean)newValue);
return;
+ case JavaPackage.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ getExplicitPlainTextRequiredImports().addAll((Collection<? extends String>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -441,6 +474,9 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
case JavaPackage.JAVA_PROPERTY__IS_STATIC:
setIsStatic(IS_STATIC_EDEFAULT);
return;
+ case JavaPackage.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ getExplicitPlainTextRequiredImports().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -467,6 +503,8 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
return generateSetter != GENERATE_SETTER_EDEFAULT;
case JavaPackage.JAVA_PROPERTY__IS_STATIC:
return isStatic != IS_STATIC_EDEFAULT;
+ case JavaPackage.JAVA_PROPERTY__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
+ return explicitPlainTextRequiredImports != null && !explicitPlainTextRequiredImports.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -493,6 +531,8 @@ public class JavaPropertyImpl extends JavaNamedElementImpl implements JavaProper
result.append(generateSetter);
result.append(", isStatic: ");
result.append(isStatic);
+ result.append(", explicitPlainTextRequiredImports: ");
+ result.append(explicitPlainTextRequiredImports);
result.append(')');
return result.toString();
}

Back to the top