mparker | 2285428 | 2009-07-28 19:12:18 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <ecore:EPackage xmi:version="2.0" |
| 3 | xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="java" |
| 5 | nsURI="http://www.eclipse.org/emf/2002/Java" nsPrefix="java"> |
| 6 | <eClassifiers xsi:type="ecore:EClass" name="JClass" eSuperTypes="#//JMember"> |
| 7 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 8 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 9 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 10 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="throwable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 11 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaClass" transient="true"> |
| 12 | <eGenericType eClassifier="#//JavaClass"> |
| 13 | <eTypeArguments/> |
| 14 | </eGenericType> |
| 15 | </eStructuralFeatures> |
| 16 | <eStructuralFeatures xsi:type="ecore:EReference" name="fields" upperBound="-1" |
| 17 | eType="#//JField" volatile="true" transient="true"/> |
| 18 | <eStructuralFeatures xsi:type="ecore:EReference" name="methods" upperBound="-1" |
| 19 | eType="#//JMethod" volatile="true" transient="true"/> |
| 20 | <eStructuralFeatures xsi:type="ecore:EReference" name="superTypes" upperBound="-1" |
| 21 | eType="#//JClass"/> |
| 22 | <eStructuralFeatures xsi:type="ecore:EReference" name="allSuperTypes" upperBound="-1" |
| 23 | eType="#//JClass" volatile="true" transient="true"/> |
| 24 | <eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1" |
| 25 | eType="#//JMember" containment="true" eOpposite="#//JMember/containingType"/> |
| 26 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentType" eType="#//JClass" |
| 27 | transient="true" eOpposite="#//JClass/arrayType"/> |
| 28 | <eStructuralFeatures xsi:type="ecore:EReference" name="arrayType" eType="#//JClass" |
| 29 | transient="true" containment="true" eOpposite="#//JClass/componentType"/> |
| 30 | <eStructuralFeatures xsi:type="ecore:EReference" name="unit" eType="#//JCompilationUnit" |
| 31 | transient="true" eOpposite="#//JCompilationUnit/types"/> |
| 32 | <eStructuralFeatures xsi:type="ecore:EReference" name="allMethods" upperBound="-1" |
| 33 | eType="#//JMethod" volatile="true" transient="true"/> |
| 34 | <eStructuralFeatures xsi:type="ecore:EReference" name="allFields" upperBound="-1" |
| 35 | eType="#//JField" volatile="true" transient="true"/> |
| 36 | <eStructuralFeatures xsi:type="ecore:EReference" name="package" eType="#//JPackage" |
| 37 | eOpposite="#//JPackage/types"/> |
| 38 | <eStructuralFeatures xsi:type="ecore:EReference" name="types" upperBound="-1" |
| 39 | eType="#//JClass"/> |
| 40 | <eStructuralFeatures xsi:type="ecore:EReference" name="allTypes" upperBound="-1" |
| 41 | eType="#//JClass"/> |
| 42 | </eClassifiers> |
| 43 | <eClassifiers xsi:type="ecore:EClass" name="JCompilationUnit" eSuperTypes="#//JModelElement"> |
| 44 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="imports" upperBound="-1" |
| 45 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 46 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 47 | <eStructuralFeatures xsi:type="ecore:EReference" name="types" upperBound="-1" |
| 48 | eType="#//JClass" containment="true" eOpposite="#//JClass/unit"/> |
| 49 | <eStructuralFeatures xsi:type="ecore:EReference" name="importedPackages" upperBound="-1" |
| 50 | eType="#//JPackage"/> |
| 51 | <eStructuralFeatures xsi:type="ecore:EReference" name="importedTypes" upperBound="-1" |
| 52 | eType="#//JClass"/> |
| 53 | <eStructuralFeatures xsi:type="ecore:EReference" name="package" eType="#//JPackage"/> |
| 54 | </eClassifiers> |
| 55 | <eClassifiers xsi:type="ecore:EClass" name="JField" eSuperTypes="#//JMember"> |
| 56 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 57 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 58 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="volatile" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 59 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaField" eType="#//JavaField" |
| 60 | transient="true"/> |
| 61 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="initializer" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 62 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//JClass"/> |
| 63 | </eClassifiers> |
| 64 | <eClassifiers xsi:type="ecore:EClass" name="JInitializer" eSuperTypes="#//JMember"> |
| 65 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="body" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 66 | </eClassifiers> |
| 67 | <eClassifiers xsi:type="ecore:EClass" name="JMember" abstract="true" eSuperTypes="#//JModelElement"> |
| 68 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 69 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="#//JVisibility"/> |
| 70 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 71 | <eStructuralFeatures xsi:type="ecore:EReference" name="containingType" eType="#//JClass" |
| 72 | transient="true" eOpposite="#//JClass/members"/> |
| 73 | </eClassifiers> |
| 74 | <eClassifiers xsi:type="ecore:EClass" name="JMethod" eSuperTypes="#//JMember"> |
| 75 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 76 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 77 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="native" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 78 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="synchronized" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 79 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaMethod" eType="#//JavaMethod" |
| 80 | transient="true"/> |
| 81 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="constructor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 82 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaConstructor" transient="true"> |
| 83 | <eGenericType eClassifier="#//JavaConstructor"> |
| 84 | <eTypeArguments/> |
| 85 | </eGenericType> |
| 86 | </eStructuralFeatures> |
| 87 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="body" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 88 | <eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1" |
| 89 | eType="#//JParameter" containment="true" eOpposite="#//JParameter/method"/> |
| 90 | <eStructuralFeatures xsi:type="ecore:EReference" name="exceptions" upperBound="-1" |
| 91 | eType="#//JClass"/> |
| 92 | <eStructuralFeatures xsi:type="ecore:EReference" name="returnType" eType="#//JClass"/> |
| 93 | </eClassifiers> |
| 94 | <eClassifiers xsi:type="ecore:EClass" name="JModelElement" abstract="true"> |
| 95 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| 96 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jNode" eType="#//JNode" |
| 97 | transient="true"/> |
| 98 | </eClassifiers> |
| 99 | <eClassifiers xsi:type="ecore:EClass" name="JPackage" eSuperTypes="#//JModelElement"> |
| 100 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaPackage" eType="#//JavaPackage"/> |
| 101 | <eStructuralFeatures xsi:type="ecore:EReference" name="types" upperBound="-1" |
| 102 | eType="#//JClass" eOpposite="#//JClass/package"/> |
| 103 | </eClassifiers> |
| 104 | <eClassifiers xsi:type="ecore:EClass" name="JParameter" eSuperTypes="#//JModelElement"> |
| 105 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| 106 | <eStructuralFeatures xsi:type="ecore:EReference" name="method" eType="#//JMethod" |
| 107 | transient="true" eOpposite="#//JMethod/parameters"/> |
| 108 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//JClass"/> |
| 109 | </eClassifiers> |
| 110 | <eClassifiers xsi:type="ecore:EDataType" name="JavaClass" instanceClassName="java.lang.Class" |
| 111 | serializable="false"> |
| 112 | <eTypeParameters name="T"/> |
| 113 | </eClassifiers> |
| 114 | <eClassifiers xsi:type="ecore:EDataType" name="JavaConstructor" instanceClassName="java.lang.reflect.Constructor" |
| 115 | serializable="false"> |
| 116 | <eTypeParameters name="T"/> |
| 117 | </eClassifiers> |
| 118 | <eClassifiers xsi:type="ecore:EDataType" name="JavaField" instanceClassName="java.lang.reflect.Field" |
| 119 | serializable="false"/> |
| 120 | <eClassifiers xsi:type="ecore:EDataType" name="JavaMethod" instanceClassName="java.lang.reflect.Method" |
| 121 | serializable="false"/> |
| 122 | <eClassifiers xsi:type="ecore:EDataType" name="JavaPackage" instanceClassName="java.lang.Package"/> |
| 123 | <eClassifiers xsi:type="ecore:EDataType" name="JNode" instanceClassName="java.lang.Object" |
| 124 | serializable="false"/> |
| 125 | <eClassifiers xsi:type="ecore:EEnum" name="JVisibility"> |
| 126 | <eLiterals name="public"/> |
| 127 | <eLiterals name="protected" value="1"/> |
| 128 | <eLiterals name="private" value="2"/> |
| 129 | <eLiterals name="package" value="3"/> |
| 130 | </eClassifiers> |
| 131 | </ecore:EPackage> |