| <?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"> |
| <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, ...)"/> |
| </eAnnotations> |
| <eOperations name="asText" ordered="false" lowerBound="1" eType="#//String"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false" |
| lowerBound="1" eType="#//JDTMethod" eOpposite="#//JDTMethod/bodies"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTMethod" eSuperTypes="#//JDTMember"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false" |
| lowerBound="1" eType="#//JDTType" eOpposite="#//JDTType/methods"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="returnType" ordered="false" |
| eType="#//JDTParameter" containment="true" eOpposite="#//JDTParameter/returnOwner"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="parameters" ordered="false" |
| upperBound="-1" eType="#//JDTParameter" containment="true" eOpposite="#//JDTParameter/parameterOwner"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="exceptions" ordered="false" |
| upperBound="-1" eType="#//JDTType"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="synchronized" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="constructor" ordered="false" |
| lowerBound="1" eType="#//boolean"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="bodies" ordered="false" |
| upperBound="-1" eType="#//JDTMethodBody" containment="true" eOpposite="#//JDTMethodBody/owner"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTMember" abstract="true" eSuperTypes="#//JDTParentJavaElement"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="typeParameters" ordered="false" |
| upperBound="-1" eType="#//JDTTypeParameter" containment="true" eOpposite="#//JDTTypeParameter/declaringMember"/> |
| <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"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTParent" abstract="true"> |
| <eOperations name="setFlag" ordered="false" lowerBound="1"> |
| <eParameters name="flag" ordered="false" lowerBound="1" eType="#//int"/> |
| <eParameters name="value" ordered="false" lowerBound="1" eType="#//boolean"/> |
| </eOperations> |
| <eOperations name="isFlagSet" ordered="false" lowerBound="1" eType="#//boolean"> |
| <eParameters name="flag" ordered="false" lowerBound="1" eType="#//int"/> |
| </eOperations> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="children" ordered="false" |
| upperBound="-1" eType="#//JDTJavaElement" changeable="false" volatile="true" |
| transient="true" eOpposite="#//JDTJavaElement/parent"> |
| <eAnnotations source="union"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="flags" ordered="false" |
| unique="false" lowerBound="1" eType="#//int"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTJavaElement" abstract="true"> |
| <eOperations name="getQualifiedName" ordered="false" lowerBound="1" eType="#//String"/> |
| <eOperations name="accept" ordered="false" lowerBound="1" eExceptions="#//JDTVisitorException"> |
| <eParameters name="visitor" ordered="false" lowerBound="1" eType="#//Visitor"/> |
| </eOperations> |
| <eOperations name="getJDTSignature" ordered="false" lowerBound="1" eType="#//String"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementName" ordered="false" |
| unique="false" lowerBound="1" eType="#//String"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementType" ordered="false" |
| unique="false" lowerBound="1" eType="#//int"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" ordered="false" |
| unique="false" lowerBound="1" eType="#//String"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="generated" ordered="false" |
| lowerBound="1" eType="#//boolean"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="parent" ordered="false" |
| eType="#//JDTParent" changeable="false" transient="true" eOpposite="#//JDTParent/children"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EDataType" name="String" instanceClassName="java.lang.String"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="int" instanceClassName="int"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="boolean" instanceClassName="boolean"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="JDTVisitorException" instanceClassName="org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.visitor.JDTVisitorException"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="Visitor" instanceClassName="org.eclipse.papyrus.java.generator.metamodel.jdt.jdtmm.visitor.JDTVisitor"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTTypeParameter" eSuperTypes="#//JDTJavaElement"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="declaringMember" ordered="false" |
| eType="#//JDTMember" eOpposite="#//JDTMember/typeParameters"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EEnum" name="VisibilityKind"> |
| <eLiterals name="public"/> |
| <eLiterals name="protected" value="1"/> |
| <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"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="compilationUnit" ordered="false" |
| eType="#//JDTCompilationUnit" eOpposite="#//JDTCompilationUnit/types"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="class" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" defaultValueLiteral="false"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" defaultValueLiteral="false"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="enum" ordered="false" unique="false" |
| lowerBound="1" eType="#//boolean" defaultValueLiteral="false"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="types" ordered="false" |
| upperBound="-1" eType="#//JDTType" containment="true" eOpposite="#//JDTType/owner"> |
| <eAnnotations source="subsets" references="#//JDTParent/children"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false" |
| eType="#//JDTType" eOpposite="#//JDTType/types"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="superInterfaces" ordered="false" |
| upperBound="-1" eType="#//JDTType"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="superClass" ordered="false" |
| eType="#//JDTType"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="superInterfaceNames" ordered="false" |
| unique="false" upperBound="-1" eType="#//String" changeable="false" volatile="true" |
| transient="true" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="superClassName" ordered="false" |
| unique="false" lowerBound="1" eType="#//String" changeable="false" volatile="true" |
| transient="true" derived="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTField" eSuperTypes="#//JDTMember"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="isMultiValued" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" defaultValueLiteral="false"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" eType="#//JDTType"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false" |
| lowerBound="1" eType="#//String"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="generateGetter" ordered="false" |
| lowerBound="1" eType="#//TrueFalseDefault"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="generateSetter" ordered="false" |
| lowerBound="1" eType="#//TrueFalseDefault"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false" |
| lowerBound="1" eType="#//JDTType" eOpposite="#//JDTType/fields"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EEnum" name="TrueFalseDefault"> |
| <eLiterals name="true"/> |
| <eLiterals name="false" value="1"/> |
| <eLiterals name="default" value="2"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTCompilationUnit" eSuperTypes="#//JDTTypeRoot"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="packageFragment" ordered="false" |
| eType="#//JDTPackageFragment" eOpposite="#//JDTPackageFragment/compilationUnits"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="types" ordered="false" |
| upperBound="-1" eType="#//JDTType" containment="true" eOpposite="#//JDTType/compilationUnit"> |
| <eAnnotations source="subsets" references="#//JDTParent/children"/> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTTypeRoot" abstract="true" eSuperTypes="#//JDTParentJavaElement"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTPackageFragment" eSuperTypes="#//JDTParentJavaElement"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="packageFragmentRoot" ordered="false" |
| eType="#//JDTPackageFragmentRoot" eOpposite="#//JDTPackageFragmentRoot/packageFragments"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="compilationUnits" ordered="false" |
| upperBound="-1" eType="#//JDTCompilationUnit" containment="true" eOpposite="#//JDTCompilationUnit/packageFragment"> |
| <eAnnotations source="subsets" references="#//JDTParent/children"/> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTPackageFragmentRoot" eSuperTypes="#//JDTParentJavaElement"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="javaProject" ordered="false" |
| eType="#//JDTJavaProject" eOpposite="#//JDTJavaProject/packageFragmentRoots"> |
| <eAnnotations source="redefines" references="#//JDTJavaElement/parent"/> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="packageFragments" ordered="false" |
| upperBound="-1" eType="#//JDTPackageFragment" containment="true" eOpposite="#//JDTPackageFragment/packageFragmentRoot"> |
| <eAnnotations source="subsets" references="#//JDTParent/children"/> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTJavaProject" eSuperTypes="#//JDTParentJavaElement"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="javaModel" ordered="false" |
| eType="#//JDTJavaModel" eOpposite="#//JDTJavaModel/javaProject"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="packageFragmentRoots" ordered="false" |
| upperBound="-1" eType="#//JDTPackageFragmentRoot" containment="true" eOpposite="#//JDTPackageFragmentRoot/javaProject"> |
| <eAnnotations source="subsets" references="#//JDTParent/children"/> |
| </eStructuralFeatures> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTJavaModel" eSuperTypes="#//JDTParentJavaElement"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="javaProject" ordered="false" |
| upperBound="-1" eType="#//JDTJavaProject" containment="true" eOpposite="#//JDTJavaProject/javaModel"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTParameter" eSuperTypes="#//JDTMember"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="parameterOwner" ordered="false" |
| eType="#//JDTMethod" eOpposite="#//JDTMethod/parameters"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" volatile="true" transient="true" |
| defaultValueLiteral="false" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="isMultiValued" ordered="false" |
| unique="false" lowerBound="1" eType="#//boolean" defaultValueLiteral="false"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" eType="#//JDTType"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="returnOwner" ordered="false" |
| eType="#//JDTMethod" eOpposite="#//JDTMethod/returnType"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTClass" eSuperTypes="#//JDTType"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTInterface" eSuperTypes="#//JDTType"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTEnum" eSuperTypes="#//JDTType"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTImportDeclaration" eSuperTypes="#//JDTJavaElement"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTImportContainer" eSuperTypes="#//JDTParentJavaElement"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTException"/> |
| <eClassifiers xsi:type="ecore:EClass" name="JDTOpaqueBody" eSuperTypes="#//JDTMethodBody"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="_body" ordered="false" |
| lowerBound="1" eType="#//String"/> |
| </eClassifiers> |
| </ecore:EPackage> |