remove from wswb
diff --git a/plugins/org.eclipse.jem/.classpath b/plugins/org.eclipse.jem/.classpath deleted file mode 100644 index 34cd7a6..0000000 --- a/plugins/org.eclipse.jem/.classpath +++ /dev/null
@@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="javainst/"/> - <classpathentry kind="src" path="mofjava/"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path="bin"/> -</classpath>
diff --git a/plugins/org.eclipse.jem/.cvsignore b/plugins/org.eclipse.jem/.cvsignore deleted file mode 100644 index 60463af..0000000 --- a/plugins/org.eclipse.jem/.cvsignore +++ /dev/null
@@ -1,2 +0,0 @@ -bin -build.xml
diff --git a/plugins/org.eclipse.jem/.options b/plugins/org.eclipse.jem/.options deleted file mode 100644 index 493f8d4..0000000 --- a/plugins/org.eclipse.jem/.options +++ /dev/null
@@ -1,3 +0,0 @@ -org.eclipse.jem/debug/logtrace=default -org.eclipse.jem/debug/logtracefile=default -org.eclipse.jem/debug/loglevel=default \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/about.html b/plugins/org.eclipse.jem/about.html deleted file mode 100644 index 9db411a..0000000 --- a/plugins/org.eclipse.jem/about.html +++ /dev/null
@@ -1,30 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<html> -<head> -<title>About</title> -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>20th June, 2002</p> -<h3>License</h3> -<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the -Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>. -For purposes of the CPL, "Program" will mean the Content.</p> - -<h3>Contributions</h3> - -<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise -made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such -Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p> - -<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or -other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the -host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available -to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also -providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of -the CPL.</p> - -</body> -</html> \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/about.ini b/plugins/org.eclipse.jem/about.ini deleted file mode 100644 index a21a3ec..0000000 --- a/plugins/org.eclipse.jem/about.ini +++ /dev/null
@@ -1,29 +0,0 @@ -# about.ini -# contains information about a feature -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in about.properties -# This file does not need to be translated. - -# Property "aboutText" contains blurb for "About" dialog (translated) -aboutText=%blurb - -# Property "windowImage" contains path to window icon (16x16) -# needed for primary features only - -# Property "featureImage" contains path to feature image (32x32) -featureImage=eclipse32.gif - -# Property "aboutImage" contains path to product image (500x330 or 115x164) -# needed for primary features only - -# Property "appName" contains name of the application (translated) -# needed for primary features only - -# Property "welcomePage" contains path to welcome page (special XML-based format) -# optional - -# Property "welcomePerspective" contains the id of the perspective in which the -# welcome page is to be opened. -# optional - -
diff --git a/plugins/org.eclipse.jem/about.mappings b/plugins/org.eclipse.jem/about.mappings deleted file mode 100644 index bddaab4..0000000 --- a/plugins/org.eclipse.jem/about.mappings +++ /dev/null
@@ -1,6 +0,0 @@ -# about.mappings -# contains fill-ins for about.properties -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# This file does not need to be translated. - -0=@build@ \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/about.properties b/plugins/org.eclipse.jem/about.properties deleted file mode 100644 index b3d5d8c..0000000 --- a/plugins/org.eclipse.jem/about.properties +++ /dev/null
@@ -1,28 +0,0 @@ -############################################################################### -# Copyright (c) 2003 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Common Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/cpl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -# -# $Source: /cvsroot/webtools/jeetools.move/webtools.javaee.git/plugins/org.eclipse.jem/about.properties,v $ -# $Revision: 1.2 $ $Date: 2003/10/28 16:15:25 $ -# - -# about.properties -# contains externalized strings for about.ini -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# fill-ins are supplied by about.mappings -# This file should be translated. - -blurb=Java EMF Model\n\ -\n\ -Version: {featureVersion}\n\ -Build id: {0}\n\ -\n\ -(c) Copyright IBM Corp. and others 2003. All rights reserved.\n\ -Visit http://www.eclipse.org/vep
diff --git a/plugins/org.eclipse.jem/build.properties b/plugins/org.eclipse.jem/build.properties deleted file mode 100644 index 7e5d034..0000000 --- a/plugins/org.eclipse.jem/build.properties +++ /dev/null
@@ -1,19 +0,0 @@ -src.excludes = **/.cvsignore -source.mofjava.jar = mofjava/ -bin.includes = plugin.xml,\ - plugin.properties,\ - javainst.jar,\ - about.html,\ - about.ini,\ - about.mappings,\ - about.properties,\ - eclipse32.gif,\ - overrides/,\ - mofjava.jar,\ - .options -jars.compile.order = mofjava.jar,\ - javainst.jar -source.javainst.jar = javainst/ -src.includes = about.html,\ - model/,\ - rose/
diff --git a/plugins/org.eclipse.jem/eclipse32.gif b/plugins/org.eclipse.jem/eclipse32.gif deleted file mode 100644 index f71a8f6..0000000 --- a/plugins/org.eclipse.jem/eclipse32.gif +++ /dev/null Binary files differ
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ImplicitAllocation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ImplicitAllocation.java deleted file mode 100644 index 22467ff..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ImplicitAllocation.java +++ /dev/null
@@ -1,95 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ImplicitAllocation.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Implicit Allocation</b></em>'. - * <p> - * This class is for an implicit allocation where the object comes from the feature of another object. It is the live Java value from the remote vm. - * </p> - * @since 1.0.0 - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This class is for an implicit allocation where the object comes from the feature of another object. It is the live Java value from the remote vm. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation#getParent <em>Parent</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation#getFeature <em>Feature</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getImplicitAllocation() - * @model - * @generated - */ -public interface ImplicitAllocation extends JavaAllocation{ - /** - * Returns the value of the '<em><b>Parent</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * The parent who is to give up the value. - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Parent</em>' reference. - * @see #setParent(EObject) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getImplicitAllocation_Parent() - * @model required="true" - * @generated - */ - EObject getParent(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation#getParent <em>Parent</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Parent</em>' reference. - * @see #getParent() - * @generated - */ - void setParent(EObject value); - - /** - * Returns the value of the '<em><b>Feature</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * The feature that will be used to query the live value. - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Feature</em>' reference. - * @see #setFeature(EStructuralFeature) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getImplicitAllocation_Feature() - * @model required="true" - * @generated - */ - EStructuralFeature getFeature(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation#getFeature <em>Feature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Feature</em>' reference. - * @see #getFeature() - * @generated - */ - void setFeature(EStructuralFeature value); - -} // ImplicitAllocation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InitStringAllocation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InitStringAllocation.java deleted file mode 100644 index 261166a..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InitStringAllocation.java +++ /dev/null
@@ -1,72 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InitStringAllocation.java,v $ - * $Revision: 1.4 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Init String Allocation</b></em>'. - * <p> - * This is used when the allocation string can be parsed by the remote vm. It uses the allocString. - * </p> - * @see org.eclipse.jem.internal.instantiation.JavaAllocation#getAllocString() - * @since 1.0.0 - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This is used when the allocation string can be parsed by the remote vm. It uses the allocString. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.InitStringAllocation#getInitString <em>Init String</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getInitStringAllocation() - * @model - * @generated - */ -public interface InitStringAllocation extends JavaAllocation{ - /** - * Returns the value of the '<em><b>Init String</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Init String</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is the initialization string for this object. - * <!-- end-model-doc --> - * @return the value of the '<em>Init String</em>' attribute. - * @see #setInitString(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getInitStringAllocation_InitString() - * @model - * @generated - */ - String getInitString(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.InitStringAllocation#getInitString <em>Init String</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Init String</em>' attribute. - * @see #getInitString() - * @generated - */ - void setInitString(String value); - -} // InitStringAllocation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InstantiationFactory.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InstantiationFactory.java deleted file mode 100644 index 24d609f..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InstantiationFactory.java +++ /dev/null
@@ -1,499 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InstantiationFactory.java,v $ - * $Revision: 1.5 $ $Date: 2004/01/28 17:37:58 $ - */ - -import java.util.List; - -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.EFactory; -import org.eclipse.emf.ecore.EObject; - - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage - * @generated - */ -public interface InstantiationFactory extends EFactory{ - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - InstantiationFactory eINSTANCE = new org.eclipse.jem.internal.instantiation.impl.InstantiationFactoryImpl(); - - /** - * Returns a new object of class '<em>Init String Allocation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Init String Allocation</em>'. - * @generated - */ - InitStringAllocation createInitStringAllocation(); - - /** - * Returns a new object of class '<em>Implicit Allocation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Implicit Allocation</em>'. - * @generated - */ - ImplicitAllocation createImplicitAllocation(); - - /** - * Returns a new object of class '<em>Parse Tree Allocation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Parse Tree Allocation</em>'. - * @generated - */ - ParseTreeAllocation createParseTreeAllocation(); - - /** - * Utility to create a parse tree allocation with an expression. - * - * @param expression - * @return The new parse tree allocation. - * - * @since 1.0.0 - */ - ParseTreeAllocation createParseTreeAllocation(PTExpression expression); - - /** - * Returns a new object of class '<em>PT Array Access</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Array Access</em>'. - * @generated - */ - PTArrayAccess createPTArrayAccess(); - - /** - * Utility to create a new array access with the array and indexes. - * - * @param array - * @param indexes list of index expressions - * @return The new array access. - * - * @since 1.0.0 - */ - PTArrayAccess createPTArrayAccess(PTExpression array, List indexes); - - /** - * Returns a new object of class '<em>PT Array Creation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Array Creation</em>'. - * @generated - */ - PTArrayCreation createPTArrayCreation(); - - /** - * Utility to create an array creation with the type, dimensions, and initializer. - * - * @param type The type, e.g. <code>java.lang.String</code>. - * @param dimensions The dimension expressions, <code>null</code> if no dimension expressions. - * @param initializer The initializer, <code>null</code> if no initializer. - * @return The new array creation. - * - * @since 1.0.0 - */ - PTArrayCreation createPTArrayCreation(String type, List dimensions, PTArrayInitializer initializer); - - /** - * Returns a new object of class '<em>PT Array Initializer</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Array Initializer</em>'. - * @generated - */ - PTArrayInitializer createPTArrayInitializer(); - - /** - * Utility to create an array initilizer with initialize expessions. - * @param expressions The list of expressions, <code>null</code> if empty array initializer. - * @return The new array initializer. - * - * @since 1.0.0 - */ - PTArrayInitializer createPTArrayInitializer(List expressions); - - /** - * Returns a new object of class '<em>PT Boolean Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Boolean Literal</em>'. - * @generated - */ - PTBooleanLiteral createPTBooleanLiteral(); - - /** - * Utility to create a boolean literal with a given value. - * @param booleanValue - * @return The new boolean literal. - * - * @since 1.0.0 - */ - PTBooleanLiteral createPTBooleanLiteral(boolean booleanValue); - - /** - * Returns a new object of class '<em>PT Cast Expression</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Cast Expression</em>'. - * @generated - */ - PTCastExpression createPTCastExpression(); - - /** - * Utility to create a new cast expression. - * - * @param type The type of the expression, e.g. <code>short</code> or <code>java.lang.String</code> - * @param expression The expression being cast. - * @return The new cast expression. - * - * @since 1.0.0 - */ - PTCastExpression createPTCastExpression(String type, PTExpression expression); - - /** - * Returns a new object of class '<em>PT Character Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Character Literal</em>'. - * @generated - */ - PTCharacterLiteral createPTCharacterLiteral(); - - /** - * Utility to create a new character literal. - * @param escapedValue The escaped value to use. - * @return The new character literal. - * - * @since 1.0.0 - */ - PTCharacterLiteral createPTCharacterLiteral(String escapedValue); - - /** - * Returns a new object of class '<em>PT Class Instance Creation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Class Instance Creation</em>'. - * @generated - */ - PTClassInstanceCreation createPTClassInstanceCreation(); - - /** - * Utility to create a new class instance creation. - * - * @param type The type of the class, e.g. <code>java.lang.String</code>. - * @param arguments The list of expressions for arguments, or <code>null</code> for no args. - * @return The new class instance creation. - * - * @since 1.0.0 - */ - PTClassInstanceCreation createPTClassInstanceCreation(String type, List arguments); - - /** - * Returns a new object of class '<em>PT Conditional Expression</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Conditional Expression</em>'. - * @generated - */ - PTConditionalExpression createPTConditionalExpression(); - - /** - * Utility to create a new conditional expression with the condition and true/false expressions. - * - * @param condition - * @param trueExpressoin - * @param falseExpression - * @return - * - * @since 1.0.0 - */ - PTConditionalExpression createPTConditionalExpression(PTExpression condition, PTExpression trueExpressoin, PTExpression falseExpression); - - /** - * Returns a new object of class '<em>PT Field Access</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Field Access</em>'. - * @generated - */ - PTFieldAccess createPTFieldAccess(); - - /** - * Utility to create a new field access with receiver and field name. - * @param receiver The receiver expression, or <code>null</code> if none. - * @param field The field name. - * @return The new field access. - * - * @since 1.0.0 - */ - PTFieldAccess createPTFieldAccess(PTExpression receiver, String field); - - /** - * Returns a new object of class '<em>PT Infix Expression</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Infix Expression</em>'. - * @generated - */ - PTInfixExpression createPTInfixExpression(); - - /** - * Utility to create a new infix expression with the left/right/extended operands and the operator. - * @param leftOperand - * @param operator - * @param rightOperand - * @param extendedOperands The list of extended operands, or <code>null</code> if no extended operands. - * @return - * - * @since 1.0.0 - */ - PTInfixExpression createPTInfixExpression(PTExpression leftOperand, PTInfixOperator operator, PTExpression rightOperand, List extendedOperands); - - /** - * Returns a new object of class '<em>PT Instanceof</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Instanceof</em>'. - * @generated - */ - PTInstanceof createPTInstanceof(); - - /** - * Utility to create a new instance of with an operand and a type. - * @param operand - * @param type - * @return The new instance of. - * - * @since 1.0.0 - */ - PTInstanceof createPTInstanceof(PTExpression operand, String type); - - /** - * Returns a new object of class '<em>PT Method Invocation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Method Invocation</em>'. - * @generated - */ - PTMethodInvocation createPTMethodInvocation(); - - /** - * Utility to create a new method invocation with a receiver, name, and arguments. - * - * @param receiver The receiver expression, or <code>null</code> if no receiver. - * @param name The name of the method. - * @param arguments The list of argument expressions, or <code>null</code> if no arguments. - * @return The new method invocation. - * - * @since 1.0.0 - */ - PTMethodInvocation createPTMethodInvocation(PTExpression receiver, String name, List arguments); - - /** - * Returns a new object of class '<em>PT Name</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Name</em>'. - * @generated - */ - PTName createPTName(); - - /** - * Utility to create a new name with the name. - * - * @param name - * @return The new name. - * - * @since 1.0.0 - */ - PTName createPTName(String name); - - /** - * Returns a new object of class '<em>PT Null Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Null Literal</em>'. - * @generated - */ - PTNullLiteral createPTNullLiteral(); - - /** - * Returns a new object of class '<em>PT Number Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Number Literal</em>'. - * @generated - */ - PTNumberLiteral createPTNumberLiteral(); - - /** - * Utility to create a new number literal with the token. - * @param token - * @return The new number literal. - * - * @since 1.0.0 - */ - PTNumberLiteral createPTNumberLiteral(String token); - - /** - * Returns a new object of class '<em>PT Parenthesized Expression</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Parenthesized Expression</em>'. - * @generated - */ - PTParenthesizedExpression createPTParenthesizedExpression(); - - /** - * Utility to create a new parenthesized expression with the expression. - * @param expression The expression that is in the parenthesis. - * @return The new parenthesized expression. - * - * @since 1.0.0 - */ - PTParenthesizedExpression createPTParenthesizedExpression(PTExpression expression); - - /** - * Returns a new object of class '<em>PT Prefix Expression</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Prefix Expression</em>'. - * @generated - */ - PTPrefixExpression createPTPrefixExpression(); - - /** - * Utility to create a new prefix expression given an operator and expression. - * @param operator - * @param expression - * @return The new prefix expression. - * - * @since 1.0.0 - */ - PTPrefixExpression createPTPrefixExpression(PTPrefixOperator operator, PTExpression expression); - - /** - * Returns a new object of class '<em>PT String Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT String Literal</em>'. - * @generated - */ - PTStringLiteral createPTStringLiteral(); - - /** - * Utility to create a new string literal given the escaped literal string. - * @param escapeLiteral - * @return The new string literal. - * - * @since 1.0.0 - */ - PTStringLiteral createPTStringLiteral(String escapeLiteral); - - /** - * Returns a new object of class '<em>PT This Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT This Literal</em>'. - * @generated - */ - PTThisLiteral createPTThisLiteral(); - - /** - * Returns a new object of class '<em>PT Type Literal</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Type Literal</em>'. - * @generated - */ - PTTypeLiteral createPTTypeLiteral(); - - /** - * Utility to create a new type literal given the type. - * @param type - * @return The new type literal. - * - * @since 1.0.0 - */ - PTTypeLiteral createPTTypeLiteral(String type); - - /** - * Returns a new object of class '<em>PT Invalid Expression</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Invalid Expression</em>'. - * @generated - */ - PTInvalidExpression createPTInvalidExpression(); - - /** - * Returns a new object of class '<em>PT Instance Reference</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>PT Instance Reference</em>'. - * @generated - */ - PTInstanceReference createPTInstanceReference(); - - /** - * Utility to create a new invalid expression with a message. - * @param message - * @return The new invalid expression. - * - * @since 1.0.0 - */ - PTInvalidExpression createPTInvalidExpression(String message); - - /** - * Returns a new object of class '<em>Implicit Allocation</em>' as - * utility with a given init string. - * @param initString - String to put into initialization. - * @return The allocation initialized. - * - * @since 1.0.0 - */ - InitStringAllocation createInitStringAllocation(String initString); - - /** - * Returns a new object of class '<em>Implicit Allocation</em>' as - * utility with a given parent and feature. - * @param parent The source to get the value from. - * @param sf The feature on the source for the value. - * @return The allocation initialized. - * - * @since 1.0.0 - */ - ImplicitAllocation createImplicitAllocation(EObject parent, EStructuralFeature sf); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - InstantiationPackage getInstantiationPackage(); - -} //InstantiationFactory
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InstantiationPackage.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InstantiationPackage.java deleted file mode 100644 index 4786715..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/InstantiationPackage.java +++ /dev/null
@@ -1,1819 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InstantiationPackage.java,v $ - * $Revision: 1.6 $ $Date: 2004/01/28 17:37:58 $ - */ - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Java Instantiation Package - * <!-- end-model-doc --> - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory - * @generated - */ -public interface InstantiationPackage extends EPackage{ - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "instantiation"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///org/eclipse/jem/internal/instantiation.ecore"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "org.eclipse.jem.internal.instantiation"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - InstantiationPackage eINSTANCE = org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.base.IJavaInstance <em>IJava Instance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.base.IJavaInstance - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getIJavaInstance() - * @generated - */ - int IJAVA_INSTANCE = 1; - - /** - * The number of structural features of the the '<em>IJava Instance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IJAVA_INSTANCE_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance <em>IJava Object Instance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getIJavaObjectInstance() - * @generated - */ - int IJAVA_OBJECT_INSTANCE = 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance <em>IJava Data Type Instance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getIJavaDataTypeInstance() - * @generated - */ - int IJAVA_DATA_TYPE_INSTANCE = 0; - - - /** - * The number of structural features of the the '<em>IJava Data Type Instance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IJAVA_DATA_TYPE_INSTANCE_FEATURE_COUNT = IJAVA_INSTANCE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>IJava Object Instance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IJAVA_OBJECT_INSTANCE_FEATURE_COUNT = IJAVA_INSTANCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.JavaAllocationImpl <em>Java Allocation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.JavaAllocationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getJavaAllocation() - * @generated - */ - int JAVA_ALLOCATION = 3; - - /** - * The number of structural features of the the '<em>Java Allocation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_ALLOCATION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.InitStringAllocationImpl <em>Init String Allocation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.InitStringAllocationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getInitStringAllocation() - * @generated - */ - int INIT_STRING_ALLOCATION = 4; - - /** - * The feature id for the '<em><b>Init String</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INIT_STRING_ALLOCATION__INIT_STRING = JAVA_ALLOCATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>Init String Allocation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INIT_STRING_ALLOCATION_FEATURE_COUNT = JAVA_ALLOCATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.ImplicitAllocationImpl <em>Implicit Allocation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.ImplicitAllocationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getImplicitAllocation() - * @generated - */ - int IMPLICIT_ALLOCATION = 5; - - /** - * The feature id for the '<em><b>Parent</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPLICIT_ALLOCATION__PARENT = JAVA_ALLOCATION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Feature</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPLICIT_ALLOCATION__FEATURE = JAVA_ALLOCATION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>Implicit Allocation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPLICIT_ALLOCATION_FEATURE_COUNT = JAVA_ALLOCATION_FEATURE_COUNT + 2; - - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.ParseTreeAllocationImpl <em>Parse Tree Allocation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.ParseTreeAllocationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getParseTreeAllocation() - * @generated - */ - int PARSE_TREE_ALLOCATION = 6; - - /** - * The feature id for the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARSE_TREE_ALLOCATION__EXPRESSION = JAVA_ALLOCATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>Parse Tree Allocation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARSE_TREE_ALLOCATION_FEATURE_COUNT = JAVA_ALLOCATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTExpressionImpl <em>PT Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTExpression() - * @generated - */ - int PT_EXPRESSION = 7; - - /** - * The number of structural features of the the '<em>PT Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_EXPRESSION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTArrayAccessImpl <em>PT Array Access</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTArrayAccessImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTArrayAccess() - * @generated - */ - int PT_ARRAY_ACCESS = 8; - - /** - * The feature id for the '<em><b>Array</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_ACCESS__ARRAY = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Indexes</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_ACCESS__INDEXES = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Array Access</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_ACCESS_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTArrayCreationImpl <em>PT Array Creation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTArrayCreationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTArrayCreation() - * @generated - */ - int PT_ARRAY_CREATION = 9; - - /** - * The feature id for the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_CREATION__TYPE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Dimensions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_CREATION__DIMENSIONS = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Initializer</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_CREATION__INITIALIZER = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the the '<em>PT Array Creation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_CREATION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTArrayInitializerImpl <em>PT Array Initializer</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTArrayInitializerImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTArrayInitializer() - * @generated - */ - int PT_ARRAY_INITIALIZER = 10; - - /** - * The feature id for the '<em><b>Expressions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_INITIALIZER__EXPRESSIONS = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Array Initializer</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_ARRAY_INITIALIZER_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTBooleanLiteralImpl <em>PT Boolean Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTBooleanLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTBooleanLiteral() - * @generated - */ - int PT_BOOLEAN_LITERAL = 11; - - /** - * The feature id for the '<em><b>Boolean Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_BOOLEAN_LITERAL__BOOLEAN_VALUE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Boolean Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_BOOLEAN_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTCastExpressionImpl <em>PT Cast Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTCastExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTCastExpression() - * @generated - */ - int PT_CAST_EXPRESSION = 12; - - /** - * The feature id for the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CAST_EXPRESSION__TYPE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CAST_EXPRESSION__EXPRESSION = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Cast Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CAST_EXPRESSION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTCharacterLiteralImpl <em>PT Character Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTCharacterLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTCharacterLiteral() - * @generated - */ - int PT_CHARACTER_LITERAL = 13; - - /** - * The feature id for the '<em><b>Escaped Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CHARACTER_LITERAL__ESCAPED_VALUE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Char Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CHARACTER_LITERAL__CHAR_VALUE = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Character Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CHARACTER_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTClassInstanceCreationImpl <em>PT Class Instance Creation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTClassInstanceCreationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTClassInstanceCreation() - * @generated - */ - int PT_CLASS_INSTANCE_CREATION = 14; - - /** - * The feature id for the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CLASS_INSTANCE_CREATION__TYPE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Arguments</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CLASS_INSTANCE_CREATION__ARGUMENTS = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Class Instance Creation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CLASS_INSTANCE_CREATION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTConditionalExpressionImpl <em>PT Conditional Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTConditionalExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTConditionalExpression() - * @generated - */ - int PT_CONDITIONAL_EXPRESSION = 15; - - /** - * The feature id for the '<em><b>Condition</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CONDITIONAL_EXPRESSION__CONDITION = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>True</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CONDITIONAL_EXPRESSION__TRUE = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>False</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CONDITIONAL_EXPRESSION__FALSE = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the the '<em>PT Conditional Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_CONDITIONAL_EXPRESSION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTFieldAccessImpl <em>PT Field Access</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTFieldAccessImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTFieldAccess() - * @generated - */ - int PT_FIELD_ACCESS = 16; - - /** - * The feature id for the '<em><b>Receiver</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_FIELD_ACCESS__RECEIVER = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Field</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_FIELD_ACCESS__FIELD = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Field Access</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_FIELD_ACCESS_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTInfixExpressionImpl <em>PT Infix Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTInfixExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTInfixExpression() - * @generated - */ - int PT_INFIX_EXPRESSION = 17; - - /** - * The feature id for the '<em><b>Left Operand</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INFIX_EXPRESSION__LEFT_OPERAND = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Operator</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INFIX_EXPRESSION__OPERATOR = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Right Operand</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INFIX_EXPRESSION__RIGHT_OPERAND = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Extended Operands</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INFIX_EXPRESSION__EXTENDED_OPERANDS = PT_EXPRESSION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the the '<em>PT Infix Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INFIX_EXPRESSION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTInstanceofImpl <em>PT Instanceof</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTInstanceofImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTInstanceof() - * @generated - */ - int PT_INSTANCEOF = 18; - - /** - * The feature id for the '<em><b>Operand</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INSTANCEOF__OPERAND = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INSTANCEOF__TYPE = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Instanceof</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INSTANCEOF_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTMethodInvocationImpl <em>PT Method Invocation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTMethodInvocationImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTMethodInvocation() - * @generated - */ - int PT_METHOD_INVOCATION = 19; - - /** - * The feature id for the '<em><b>Receiver</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_METHOD_INVOCATION__RECEIVER = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_METHOD_INVOCATION__NAME = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Arguments</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_METHOD_INVOCATION__ARGUMENTS = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the the '<em>PT Method Invocation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_METHOD_INVOCATION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTNameImpl <em>PT Name</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTNameImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTName() - * @generated - */ - int PT_NAME = 20; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_NAME__NAME = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Name</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_NAME_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTNullLiteralImpl <em>PT Null Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTNullLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTNullLiteral() - * @generated - */ - int PT_NULL_LITERAL = 21; - - /** - * The number of structural features of the the '<em>PT Null Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_NULL_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTNumberLiteralImpl <em>PT Number Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTNumberLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTNumberLiteral() - * @generated - */ - int PT_NUMBER_LITERAL = 22; - - /** - * The feature id for the '<em><b>Token</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_NUMBER_LITERAL__TOKEN = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Number Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_NUMBER_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTParenthesizedExpressionImpl <em>PT Parenthesized Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTParenthesizedExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTParenthesizedExpression() - * @generated - */ - int PT_PARENTHESIZED_EXPRESSION = 23; - - /** - * The feature id for the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_PARENTHESIZED_EXPRESSION__EXPRESSION = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Parenthesized Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_PARENTHESIZED_EXPRESSION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTPrefixExpressionImpl <em>PT Prefix Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTPrefixExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTPrefixExpression() - * @generated - */ - int PT_PREFIX_EXPRESSION = 24; - - /** - * The feature id for the '<em><b>Operator</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_PREFIX_EXPRESSION__OPERATOR = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_PREFIX_EXPRESSION__EXPRESSION = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT Prefix Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_PREFIX_EXPRESSION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTStringLiteralImpl <em>PT String Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTStringLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTStringLiteral() - * @generated - */ - int PT_STRING_LITERAL = 25; - - /** - * The feature id for the '<em><b>Escaped Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_STRING_LITERAL__ESCAPED_VALUE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Literal Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_STRING_LITERAL__LITERAL_VALUE = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the the '<em>PT String Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_STRING_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTThisLiteralImpl <em>PT This Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTThisLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTThisLiteral() - * @generated - */ - int PT_THIS_LITERAL = 26; - - /** - * The number of structural features of the the '<em>PT This Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_THIS_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTTypeLiteralImpl <em>PT Type Literal</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTTypeLiteralImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTTypeLiteral() - * @generated - */ - int PT_TYPE_LITERAL = 27; - - /** - * The feature id for the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_TYPE_LITERAL__TYPE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Type Literal</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_TYPE_LITERAL_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTInvalidExpressionImpl <em>PT Invalid Expression</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTInvalidExpressionImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTInvalidExpression() - * @generated - */ - int PT_INVALID_EXPRESSION = 28; - - /** - * The feature id for the '<em><b>Message</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INVALID_EXPRESSION__MESSAGE = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Invalid Expression</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INVALID_EXPRESSION_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.impl.PTInstanceReferenceImpl <em>PT Instance Reference</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.impl.PTInstanceReferenceImpl - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTInstanceReference() - * @generated - */ - int PT_INSTANCE_REFERENCE = 29; - - /** - * The feature id for the '<em><b>Object</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INSTANCE_REFERENCE__OBJECT = PT_EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the the '<em>PT Instance Reference</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PT_INSTANCE_REFERENCE_FEATURE_COUNT = PT_EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.PTInfixOperator <em>PT Infix Operator</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.PTInfixOperator - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTInfixOperator() - * @generated - */ - int PT_INFIX_OPERATOR = 30; - - /** - * The meta object id for the '{@link org.eclipse.jem.internal.instantiation.PTPrefixOperator <em>PT Prefix Operator</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.internal.instantiation.PTPrefixOperator - * @see org.eclipse.jem.internal.instantiation.impl.InstantiationPackageImpl#getPTPrefixOperator() - * @generated - */ - int PT_PREFIX_OPERATOR = 31; - - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance <em>IJava Object Instance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>IJava Object Instance</em>'. - * @see org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance - * @model instanceClass="org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance" - * @generated - */ - EClass getIJavaObjectInstance(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.JavaAllocation <em>Java Allocation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Java Allocation</em>'. - * @see org.eclipse.jem.internal.instantiation.JavaAllocation - * @generated - */ - EClass getJavaAllocation(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.InitStringAllocation <em>Init String Allocation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Init String Allocation</em>'. - * @see org.eclipse.jem.internal.instantiation.InitStringAllocation - * @generated - */ - EClass getInitStringAllocation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.InitStringAllocation#getInitString <em>Init String</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Init String</em>'. - * @see org.eclipse.jem.internal.instantiation.InitStringAllocation#getInitString() - * @see #getInitStringAllocation() - * @generated - */ - EAttribute getInitStringAllocation_InitString(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation <em>Implicit Allocation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Implicit Allocation</em>'. - * @see org.eclipse.jem.internal.instantiation.ImplicitAllocation - * @generated - */ - EClass getImplicitAllocation(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation#getParent <em>Parent</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Parent</em>'. - * @see org.eclipse.jem.internal.instantiation.ImplicitAllocation#getParent() - * @see #getImplicitAllocation() - * @generated - */ - EReference getImplicitAllocation_Parent(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jem.internal.instantiation.ImplicitAllocation#getFeature <em>Feature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Feature</em>'. - * @see org.eclipse.jem.internal.instantiation.ImplicitAllocation#getFeature() - * @see #getImplicitAllocation() - * @generated - */ - EReference getImplicitAllocation_Feature(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.ParseTreeAllocation <em>Parse Tree Allocation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Parse Tree Allocation</em>'. - * @see org.eclipse.jem.internal.instantiation.ParseTreeAllocation - * @generated - */ - EClass getParseTreeAllocation(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.ParseTreeAllocation#getExpression <em>Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.ParseTreeAllocation#getExpression() - * @see #getParseTreeAllocation() - * @generated - */ - EReference getParseTreeAllocation_Expression(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTExpression <em>PT Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTExpression - * @generated - */ - EClass getPTExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTArrayAccess <em>PT Array Access</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Array Access</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayAccess - * @generated - */ - EClass getPTArrayAccess(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTArrayAccess#getArray <em>Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Array</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayAccess#getArray() - * @see #getPTArrayAccess() - * @generated - */ - EReference getPTArrayAccess_Array(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jem.internal.instantiation.PTArrayAccess#getIndexes <em>Indexes</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Indexes</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayAccess#getIndexes() - * @see #getPTArrayAccess() - * @generated - */ - EReference getPTArrayAccess_Indexes(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTArrayCreation <em>PT Array Creation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Array Creation</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayCreation - * @generated - */ - EClass getPTArrayCreation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Type</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayCreation#getType() - * @see #getPTArrayCreation() - * @generated - */ - EAttribute getPTArrayCreation_Type(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getDimensions <em>Dimensions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Dimensions</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayCreation#getDimensions() - * @see #getPTArrayCreation() - * @generated - */ - EReference getPTArrayCreation_Dimensions(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getInitializer <em>Initializer</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Initializer</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayCreation#getInitializer() - * @see #getPTArrayCreation() - * @generated - */ - EReference getPTArrayCreation_Initializer(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTArrayInitializer <em>PT Array Initializer</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Array Initializer</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayInitializer - * @generated - */ - EClass getPTArrayInitializer(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jem.internal.instantiation.PTArrayInitializer#getExpressions <em>Expressions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Expressions</em>'. - * @see org.eclipse.jem.internal.instantiation.PTArrayInitializer#getExpressions() - * @see #getPTArrayInitializer() - * @generated - */ - EReference getPTArrayInitializer_Expressions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTBooleanLiteral <em>PT Boolean Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Boolean Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTBooleanLiteral - * @generated - */ - EClass getPTBooleanLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTBooleanLiteral#isBooleanValue <em>Boolean Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Boolean Value</em>'. - * @see org.eclipse.jem.internal.instantiation.PTBooleanLiteral#isBooleanValue() - * @see #getPTBooleanLiteral() - * @generated - */ - EAttribute getPTBooleanLiteral_BooleanValue(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTCastExpression <em>PT Cast Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Cast Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTCastExpression - * @generated - */ - EClass getPTCastExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTCastExpression#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Type</em>'. - * @see org.eclipse.jem.internal.instantiation.PTCastExpression#getType() - * @see #getPTCastExpression() - * @generated - */ - EAttribute getPTCastExpression_Type(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTCastExpression#getExpression <em>Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTCastExpression#getExpression() - * @see #getPTCastExpression() - * @generated - */ - EReference getPTCastExpression_Expression(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral <em>PT Character Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Character Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTCharacterLiteral - * @generated - */ - EClass getPTCharacterLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getEscapedValue <em>Escaped Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Escaped Value</em>'. - * @see org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getEscapedValue() - * @see #getPTCharacterLiteral() - * @generated - */ - EAttribute getPTCharacterLiteral_EscapedValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getCharValue <em>Char Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Char Value</em>'. - * @see org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getCharValue() - * @see #getPTCharacterLiteral() - * @generated - */ - EAttribute getPTCharacterLiteral_CharValue(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTClassInstanceCreation <em>PT Class Instance Creation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Class Instance Creation</em>'. - * @see org.eclipse.jem.internal.instantiation.PTClassInstanceCreation - * @generated - */ - EClass getPTClassInstanceCreation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Type</em>'. - * @see org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getType() - * @see #getPTClassInstanceCreation() - * @generated - */ - EAttribute getPTClassInstanceCreation_Type(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getArguments <em>Arguments</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Arguments</em>'. - * @see org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getArguments() - * @see #getPTClassInstanceCreation() - * @generated - */ - EReference getPTClassInstanceCreation_Arguments(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression <em>PT Conditional Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Conditional Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTConditionalExpression - * @generated - */ - EClass getPTConditionalExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getCondition <em>Condition</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Condition</em>'. - * @see org.eclipse.jem.internal.instantiation.PTConditionalExpression#getCondition() - * @see #getPTConditionalExpression() - * @generated - */ - EReference getPTConditionalExpression_Condition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getTrue <em>True</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>True</em>'. - * @see org.eclipse.jem.internal.instantiation.PTConditionalExpression#getTrue() - * @see #getPTConditionalExpression() - * @generated - */ - EReference getPTConditionalExpression_True(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getFalse <em>False</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>False</em>'. - * @see org.eclipse.jem.internal.instantiation.PTConditionalExpression#getFalse() - * @see #getPTConditionalExpression() - * @generated - */ - EReference getPTConditionalExpression_False(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTFieldAccess <em>PT Field Access</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Field Access</em>'. - * @see org.eclipse.jem.internal.instantiation.PTFieldAccess - * @generated - */ - EClass getPTFieldAccess(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTFieldAccess#getReceiver <em>Receiver</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Receiver</em>'. - * @see org.eclipse.jem.internal.instantiation.PTFieldAccess#getReceiver() - * @see #getPTFieldAccess() - * @generated - */ - EReference getPTFieldAccess_Receiver(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTFieldAccess#getField <em>Field</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Field</em>'. - * @see org.eclipse.jem.internal.instantiation.PTFieldAccess#getField() - * @see #getPTFieldAccess() - * @generated - */ - EAttribute getPTFieldAccess_Field(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression <em>PT Infix Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Infix Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInfixExpression - * @generated - */ - EClass getPTInfixExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getLeftOperand <em>Left Operand</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Left Operand</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInfixExpression#getLeftOperand() - * @see #getPTInfixExpression() - * @generated - */ - EReference getPTInfixExpression_LeftOperand(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getOperator <em>Operator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Operator</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInfixExpression#getOperator() - * @see #getPTInfixExpression() - * @generated - */ - EAttribute getPTInfixExpression_Operator(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getRightOperand <em>Right Operand</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Right Operand</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInfixExpression#getRightOperand() - * @see #getPTInfixExpression() - * @generated - */ - EReference getPTInfixExpression_RightOperand(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getExtendedOperands <em>Extended Operands</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Extended Operands</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInfixExpression#getExtendedOperands() - * @see #getPTInfixExpression() - * @generated - */ - EReference getPTInfixExpression_ExtendedOperands(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTInstanceof <em>PT Instanceof</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Instanceof</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInstanceof - * @generated - */ - EClass getPTInstanceof(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTInstanceof#getOperand <em>Operand</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Operand</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInstanceof#getOperand() - * @see #getPTInstanceof() - * @generated - */ - EReference getPTInstanceof_Operand(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTInstanceof#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Type</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInstanceof#getType() - * @see #getPTInstanceof() - * @generated - */ - EAttribute getPTInstanceof_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation <em>PT Method Invocation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Method Invocation</em>'. - * @see org.eclipse.jem.internal.instantiation.PTMethodInvocation - * @generated - */ - EClass getPTMethodInvocation(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getReceiver <em>Receiver</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Receiver</em>'. - * @see org.eclipse.jem.internal.instantiation.PTMethodInvocation#getReceiver() - * @see #getPTMethodInvocation() - * @generated - */ - EReference getPTMethodInvocation_Receiver(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jem.internal.instantiation.PTMethodInvocation#getName() - * @see #getPTMethodInvocation() - * @generated - */ - EAttribute getPTMethodInvocation_Name(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getArguments <em>Arguments</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Arguments</em>'. - * @see org.eclipse.jem.internal.instantiation.PTMethodInvocation#getArguments() - * @see #getPTMethodInvocation() - * @generated - */ - EReference getPTMethodInvocation_Arguments(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTName <em>PT Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Name</em>'. - * @see org.eclipse.jem.internal.instantiation.PTName - * @generated - */ - EClass getPTName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTName#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jem.internal.instantiation.PTName#getName() - * @see #getPTName() - * @generated - */ - EAttribute getPTName_Name(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTNullLiteral <em>PT Null Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Null Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTNullLiteral - * @generated - */ - EClass getPTNullLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTNumberLiteral <em>PT Number Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Number Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTNumberLiteral - * @generated - */ - EClass getPTNumberLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTNumberLiteral#getToken <em>Token</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Token</em>'. - * @see org.eclipse.jem.internal.instantiation.PTNumberLiteral#getToken() - * @see #getPTNumberLiteral() - * @generated - */ - EAttribute getPTNumberLiteral_Token(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTParenthesizedExpression <em>PT Parenthesized Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Parenthesized Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTParenthesizedExpression - * @generated - */ - EClass getPTParenthesizedExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTParenthesizedExpression#getExpression <em>Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTParenthesizedExpression#getExpression() - * @see #getPTParenthesizedExpression() - * @generated - */ - EReference getPTParenthesizedExpression_Expression(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression <em>PT Prefix Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Prefix Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTPrefixExpression - * @generated - */ - EClass getPTPrefixExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression#getOperator <em>Operator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Operator</em>'. - * @see org.eclipse.jem.internal.instantiation.PTPrefixExpression#getOperator() - * @see #getPTPrefixExpression() - * @generated - */ - EAttribute getPTPrefixExpression_Operator(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression#getExpression <em>Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTPrefixExpression#getExpression() - * @see #getPTPrefixExpression() - * @generated - */ - EReference getPTPrefixExpression_Expression(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTStringLiteral <em>PT String Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT String Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTStringLiteral - * @generated - */ - EClass getPTStringLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTStringLiteral#getEscapedValue <em>Escaped Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Escaped Value</em>'. - * @see org.eclipse.jem.internal.instantiation.PTStringLiteral#getEscapedValue() - * @see #getPTStringLiteral() - * @generated - */ - EAttribute getPTStringLiteral_EscapedValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTStringLiteral#getLiteralValue <em>Literal Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Literal Value</em>'. - * @see org.eclipse.jem.internal.instantiation.PTStringLiteral#getLiteralValue() - * @see #getPTStringLiteral() - * @generated - */ - EAttribute getPTStringLiteral_LiteralValue(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTThisLiteral <em>PT This Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT This Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTThisLiteral - * @generated - */ - EClass getPTThisLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTTypeLiteral <em>PT Type Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Type Literal</em>'. - * @see org.eclipse.jem.internal.instantiation.PTTypeLiteral - * @generated - */ - EClass getPTTypeLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTTypeLiteral#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Type</em>'. - * @see org.eclipse.jem.internal.instantiation.PTTypeLiteral#getType() - * @see #getPTTypeLiteral() - * @generated - */ - EAttribute getPTTypeLiteral_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTInvalidExpression <em>PT Invalid Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Invalid Expression</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInvalidExpression - * @generated - */ - EClass getPTInvalidExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.internal.instantiation.PTInvalidExpression#getMessage <em>Message</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInvalidExpression#getMessage() - * @see #getPTInvalidExpression() - * @generated - */ - EAttribute getPTInvalidExpression_Message(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.PTInstanceReference <em>PT Instance Reference</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>PT Instance Reference</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInstanceReference - * @generated - */ - EClass getPTInstanceReference(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jem.internal.instantiation.PTInstanceReference#getObject <em>Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Object</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInstanceReference#getObject() - * @see #getPTInstanceReference() - * @generated - */ - EReference getPTInstanceReference_Object(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jem.internal.instantiation.PTInfixOperator <em>PT Infix Operator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>PT Infix Operator</em>'. - * @see org.eclipse.jem.internal.instantiation.PTInfixOperator - * @generated - */ - EEnum getPTInfixOperator(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jem.internal.instantiation.PTPrefixOperator <em>PT Prefix Operator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>PT Prefix Operator</em>'. - * @see org.eclipse.jem.internal.instantiation.PTPrefixOperator - * @generated - */ - EEnum getPTPrefixOperator(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance <em>IJava Data Type Instance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>IJava Data Type Instance</em>'. - * @see org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance - * @model instanceClass="org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance" - * @generated - */ - EClass getIJavaDataTypeInstance(); - - /** - * Returns the meta object for class '{@link org.eclipse.jem.internal.instantiation.base.IJavaInstance <em>IJava Instance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>IJava Instance</em>'. - * @see org.eclipse.jem.internal.instantiation.base.IJavaInstance - * @model instanceClass="org.eclipse.jem.internal.instantiation.base.IJavaInstance" - * @generated - */ - EClass getIJavaInstance(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - InstantiationFactory getInstantiationFactory(); - -} //InstantiationPackage
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/JavaAllocation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/JavaAllocation.java deleted file mode 100644 index 64bafe2..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/JavaAllocation.java +++ /dev/null
@@ -1,38 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaAllocation.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/19 22:50:15 $ - */ - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Java Allocation</b></em>'. - * <p> - * This class is the abstract base class of the allocation class. It is the value of the "allocation" property on a Java Object so that the actual allocation can be controlled. For example, there could be one for just init string, or one for serialized. - * </p> - * @since 1.0.0 - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This class is the abstract base class of the allocation class. It is the value of the "allocation" property on a Java Object so that the actual allocation can be controlled. For example, there could be one for just init string, or one for serialized. - * <!-- end-model-doc --> - * - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getJavaAllocation() - * @model abstract="true" - * @generated - */ -public interface JavaAllocation extends EObject{ -} // JavaAllocation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayAccess.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayAccess.java deleted file mode 100644 index d759e78..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayAccess.java +++ /dev/null
@@ -1,82 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTArrayAccess.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Array Access</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Array access. e.g. x[3]. - * - * Unlike AST, the entire expression of type x[3][4] will be done in one expression rather than having a separate ArrayAccess for each dimension. This is just a simplification. This can only be used if it is a simple array access where it is of the form {expression}[expression][expression]. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTArrayAccess#getArray <em>Array</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTArrayAccess#getIndexes <em>Indexes</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayAccess() - * @model - * @generated - */ -public interface PTArrayAccess extends PTExpression{ - /** - * Returns the value of the '<em><b>Array</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The expression representing the array to access. - * <!-- end-model-doc --> - * @return the value of the '<em>Array</em>' containment reference. - * @see #setArray(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayAccess_Array() - * @model containment="true" - * @generated - */ - PTExpression getArray(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTArrayAccess#getArray <em>Array</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Array</em>' containment reference. - * @see #getArray() - * @generated - */ - void setArray(PTExpression value); - - /** - * Returns the value of the '<em><b>Indexes</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jem.internal.instantiation.PTExpression}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The expressions representing the indexes of the access. - * <!-- end-model-doc --> - * @return the value of the '<em>Indexes</em>' containment reference list. - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayAccess_Indexes() - * @model type="org.eclipse.jem.internal.instantiation.PTExpression" containment="true" required="true" - * @generated - */ - EList getIndexes(); - -} // ArrayAccess
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayCreation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayCreation.java deleted file mode 100644 index 6895ce6..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayCreation.java +++ /dev/null
@@ -1,106 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTArrayCreation.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Array Creation</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Array Creation expression, e.g. new int[3] or new java.langString[][] {{"a"}, {"b"}} - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getDimensions <em>Dimensions</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getInitializer <em>Initializer</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayCreation() - * @model - * @generated - */ -public interface PTArrayCreation extends PTExpression{ - /** - * Returns the value of the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The fully-qualified type, e.g. int[][] or java.lang.String[], including the number of dimension brackets. - * <!-- end-model-doc --> - * @return the value of the '<em>Type</em>' attribute. - * @see #setType(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayCreation_Type() - * @model - * @generated - */ - String getType(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getType <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Type</em>' attribute. - * @see #getType() - * @generated - */ - void setType(String value); - - /** - * Returns the value of the '<em><b>Dimensions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jem.internal.instantiation.PTExpression}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The list of expressions for the dimensions. You can have [3][4][] but [][33] is invalid. So for each dimension that has an expression, there will be an entry in the list, in the correct order. When you reach the empty dimensions, the list will end too. - * <!-- end-model-doc --> - * @return the value of the '<em>Dimensions</em>' containment reference list. - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayCreation_Dimensions() - * @model type="org.eclipse.jem.internal.instantiation.PTExpression" containment="true" - * @generated - */ - EList getDimensions(); - - /** - * Returns the value of the '<em><b>Initializer</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is the initializer, if any, for this array. E.g. new int[] {2,3}. It is the {2,3}. - * <!-- end-model-doc --> - * @return the value of the '<em>Initializer</em>' containment reference. - * @see #setInitializer(PTArrayInitializer) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayCreation_Initializer() - * @model containment="true" - * @generated - */ - PTArrayInitializer getInitializer(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTArrayCreation#getInitializer <em>Initializer</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Initializer</em>' containment reference. - * @see #getInitializer() - * @generated - */ - void setInitializer(PTArrayInitializer value); - -} // ArrayCreation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayInitializer.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayInitializer.java deleted file mode 100644 index d86999a..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTArrayInitializer.java +++ /dev/null
@@ -1,54 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTArrayInitializer.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Array Initializer</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Array initialization expression. This is the entire expression, e.g. {2, 3}, or {{2,3}, 4}. In the second case, the {2,3} will be an ArrayInitializer contained within the expressions list for the top ArrayInitializer. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTArrayInitializer#getExpressions <em>Expressions</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayInitializer() - * @model - * @generated - */ -public interface PTArrayInitializer extends PTExpression{ - /** - * Returns the value of the '<em><b>Expressions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jem.internal.instantiation.PTExpression}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This isthe list of expressions within the initializer, e.g. {2, 3}, or {{2,3}, 4}. In the first case it will be two NumberLiterals. In the second case, the {2,3} will be an ArrayInitializer, followed by a NumberLiteral. - * <!-- end-model-doc --> - * @return the value of the '<em>Expressions</em>' containment reference list. - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTArrayInitializer_Expressions() - * @model type="org.eclipse.jem.internal.instantiation.PTExpression" containment="true" - * @generated - */ - EList getExpressions(); - -} // ArrayInitializer
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTBooleanLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTBooleanLiteral.java deleted file mode 100644 index 09f2239..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTBooleanLiteral.java +++ /dev/null
@@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTBooleanLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Boolean Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This represents a primitive boolean literal, i.e. true or false directly in the code. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTBooleanLiteral#isBooleanValue <em>Boolean Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTBooleanLiteral() - * @model - * @generated - */ -public interface PTBooleanLiteral extends PTExpression{ - /** - * Returns the value of the '<em><b>Boolean Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The value of the literal. - * <!-- end-model-doc --> - * @return the value of the '<em>Boolean Value</em>' attribute. - * @see #setBooleanValue(boolean) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTBooleanLiteral_BooleanValue() - * @model - * @generated - */ - boolean isBooleanValue(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTBooleanLiteral#isBooleanValue <em>Boolean Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Boolean Value</em>' attribute. - * @see #isBooleanValue() - * @generated - */ - void setBooleanValue(boolean value); - -} // BooleanLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTCastExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTCastExpression.java deleted file mode 100644 index d300e84..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTCastExpression.java +++ /dev/null
@@ -1,89 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTCastExpression.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Cast</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Cast expression, e.g. (short) 10 - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTCastExpression#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTCastExpression#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTCastExpression() - * @model - * @generated - */ -public interface PTCastExpression extends PTExpression{ - /** - * Returns the value of the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is the fully-qualified type of the cast, e.g. int or java.lang.String - * <!-- end-model-doc --> - * @return the value of the '<em>Type</em>' attribute. - * @see #setType(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTCastExpression_Type() - * @model - * @generated - */ - String getType(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTCastExpression#getType <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Type</em>' attribute. - * @see #getType() - * @generated - */ - void setType(String value); - - /** - * Returns the value of the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The expression being casted. - * <!-- end-model-doc --> - * @return the value of the '<em>Expression</em>' containment reference. - * @see #setExpression(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTCastExpression_Expression() - * @model containment="true" - * @generated - */ - PTExpression getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTCastExpression#getExpression <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Expression</em>' containment reference. - * @see #getExpression() - * @generated - */ - void setExpression(PTExpression value); - -} // Cast
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTCharacterLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTCharacterLiteral.java deleted file mode 100644 index c9c7a72..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTCharacterLiteral.java +++ /dev/null
@@ -1,89 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTCharacterLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Character Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This represents a primitive character expression, e.g. 'a' or '\r'. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getEscapedValue <em>Escaped Value</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getCharValue <em>Char Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTCharacterLiteral() - * @model - * @generated - */ -public interface PTCharacterLiteral extends PTExpression{ - /** - * Returns the value of the '<em><b>Escaped Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is the escaped character. In other words the literal exactly as it is in the java file. E.g. 'a' or '\r'. Including the surrounding single quotes themselves. - * <!-- end-model-doc --> - * @return the value of the '<em>Escaped Value</em>' attribute. - * @see #setEscapedValue(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTCharacterLiteral_EscapedValue() - * @model - * @generated - */ - String getEscapedValue(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getEscapedValue <em>Escaped Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Escaped Value</em>' attribute. - * @see #getEscapedValue() - * @generated - */ - void setEscapedValue(String value); - - /** - * Returns the value of the '<em><b>Char Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The actual primitive character without the quotes. Escape are evaluated and turned into their character value. This is a transient field. If not set when created when queried it will create it. Typically it will be set when created from an AST node since the node already has evaluated it. - * <!-- end-model-doc --> - * @return the value of the '<em>Char Value</em>' attribute. - * @see #setCharValue(char) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTCharacterLiteral_CharValue() - * @model transient="true" - * @generated - */ - char getCharValue(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTCharacterLiteral#getCharValue <em>Char Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Char Value</em>' attribute. - * @see #getCharValue() - * @generated - */ - void setCharValue(char value); - -} // CharacterLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTClassInstanceCreation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTClassInstanceCreation.java deleted file mode 100644 index 1d99467..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTClassInstanceCreation.java +++ /dev/null
@@ -1,80 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTClassInstanceCreation.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Class Instance Creation</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Class instance creation expression. E.g. new String("a") - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getArguments <em>Arguments</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTClassInstanceCreation() - * @model - * @generated - */ -public interface PTClassInstanceCreation extends PTExpression{ - /** - * Returns the value of the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is the type of the class. E.g. java.lang.String. This should be fully-qualified for allocation purposes. It should also be in reflection format, i.e. if X is an inner class of j.Y, then the type here should be "j.Y$X". - * <!-- end-model-doc --> - * @return the value of the '<em>Type</em>' attribute. - * @see #setType(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTClassInstanceCreation_Type() - * @model - * @generated - */ - String getType(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTClassInstanceCreation#getType <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Type</em>' attribute. - * @see #getType() - * @generated - */ - void setType(String value); - - /** - * Returns the value of the '<em><b>Arguments</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jem.internal.instantiation.PTExpression}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The arguments to the constructor. - * <!-- end-model-doc --> - * @return the value of the '<em>Arguments</em>' containment reference list. - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTClassInstanceCreation_Arguments() - * @model type="org.eclipse.jem.internal.instantiation.PTExpression" containment="true" - * @generated - */ - EList getArguments(); - -} // ClassInstanceCreation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTConditionalExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTConditionalExpression.java deleted file mode 100644 index ce96773..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTConditionalExpression.java +++ /dev/null
@@ -1,115 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTConditionalExpression.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Conditional Expression</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * The test Expresson, e.g. (x=3) ? 1 : 2 - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getCondition <em>Condition</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getTrue <em>True</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getFalse <em>False</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTConditionalExpression() - * @model - * @generated - */ -public interface PTConditionalExpression extends PTExpression{ - /** - * Returns the value of the '<em><b>Condition</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The condition expression. - * <!-- end-model-doc --> - * @return the value of the '<em>Condition</em>' containment reference. - * @see #setCondition(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTConditionalExpression_Condition() - * @model containment="true" - * @generated - */ - PTExpression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getCondition <em>Condition</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Condition</em>' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(PTExpression value); - - /** - * Returns the value of the '<em><b>True</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The true expression - * <!-- end-model-doc --> - * @return the value of the '<em>True</em>' containment reference. - * @see #setTrue(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTConditionalExpression_True() - * @model containment="true" - * @generated - */ - PTExpression getTrue(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getTrue <em>True</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>True</em>' containment reference. - * @see #getTrue() - * @generated - */ - void setTrue(PTExpression value); - - /** - * Returns the value of the '<em><b>False</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The false expression. - * <!-- end-model-doc --> - * @return the value of the '<em>False</em>' containment reference. - * @see #setFalse(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTConditionalExpression_False() - * @model containment="true" - * @generated - */ - PTExpression getFalse(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTConditionalExpression#getFalse <em>False</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>False</em>' containment reference. - * @see #getFalse() - * @generated - */ - void setFalse(PTExpression value); - -} // ConditionalExpression
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTExpression.java deleted file mode 100644 index 66c3c71..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTExpression.java +++ /dev/null
@@ -1,36 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTExpression.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Expression</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTExpression() - * @model abstract="true" - * @generated - */ -public interface PTExpression extends EObject{ - /** - * Accepts the given visitor on a visit of the current node. - * - * @param visitor the visitor object - * @exception IllegalArgumentException if the visitor is null - */ - public void accept(ParseVisitor visitor); -} // Expression
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTFieldAccess.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTFieldAccess.java deleted file mode 100644 index fc7a5d8..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTFieldAccess.java +++ /dev/null
@@ -1,89 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTFieldAccess.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Field Access</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Access a field expression, e.g. java.awt.Color.red - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTFieldAccess#getReceiver <em>Receiver</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTFieldAccess#getField <em>Field</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTFieldAccess() - * @model - * @generated - */ -public interface PTFieldAccess extends PTExpression{ - /** - * Returns the value of the '<em><b>Receiver</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The expression representing the object that the field is in, e.g. java.awt.Color. - * <!-- end-model-doc --> - * @return the value of the '<em>Receiver</em>' containment reference. - * @see #setReceiver(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTFieldAccess_Receiver() - * @model containment="true" - * @generated - */ - PTExpression getReceiver(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTFieldAccess#getReceiver <em>Receiver</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Receiver</em>' containment reference. - * @see #getReceiver() - * @generated - */ - void setReceiver(PTExpression value); - - /** - * Returns the value of the '<em><b>Field</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The name of the field being accessed, e.g. red. - * <!-- end-model-doc --> - * @return the value of the '<em>Field</em>' attribute. - * @see #setField(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTFieldAccess_Field() - * @model - * @generated - */ - String getField(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTFieldAccess#getField <em>Field</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Field</em>' attribute. - * @see #getField() - * @generated - */ - void setField(String value); - -} // FieldAccess
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInfixExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInfixExpression.java deleted file mode 100644 index da63fe7..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInfixExpression.java +++ /dev/null
@@ -1,148 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInfixExpression.java,v $ - * $Revision: 1.2 $ $Date: 2004/03/11 01:48:01 $ - */ -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Infix Expression</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * An expression with an operator that has two operands, e.g. 3 + 4. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getLeftOperand <em>Left Operand</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getOperator <em>Operator</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getRightOperand <em>Right Operand</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getExtendedOperands <em>Extended Operands</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInfixExpression() - * @model - * @generated - */ -public interface PTInfixExpression extends PTExpression{ - /** - * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Left Operand</em>' containment reference. - * @see #setLeftOperand(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInfixExpression_LeftOperand() - * @model containment="true" - * @generated - */ - PTExpression getLeftOperand(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getLeftOperand <em>Left Operand</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Left Operand</em>' containment reference. - * @see #getLeftOperand() - * @generated - */ - void setLeftOperand(PTExpression value); - - /** - * Returns the value of the '<em><b>Operator</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jem.internal.instantiation.PTInfixOperator}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The operator, e.g. + - * <!-- end-model-doc --> - * @return the value of the '<em>Operator</em>' attribute. - * @see org.eclipse.jem.internal.instantiation.PTInfixOperator - * @see #setOperator(PTInfixOperator) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInfixExpression_Operator() - * @model - * @generated - */ - PTInfixOperator getOperator(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getOperator <em>Operator</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Operator</em>' attribute. - * @see org.eclipse.jem.internal.instantiation.PTInfixOperator - * @see #getOperator() - * @generated - */ - void setOperator(PTInfixOperator value); - - /** - * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The right expression. i.e. 4 of "3 + 4" - * <!-- end-model-doc --> - * @return the value of the '<em>Right Operand</em>' containment reference. - * @see #setRightOperand(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInfixExpression_RightOperand() - * @model containment="true" - * @generated - */ - PTExpression getRightOperand(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInfixExpression#getRightOperand <em>Right Operand</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Right Operand</em>' containment reference. - * @see #getRightOperand() - * @generated - */ - void setRightOperand(PTExpression value); - - /** - * Returns the value of the '<em><b>Extended Operands</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jem.internal.instantiation.PTExpression}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Used when there are a series of infix operations of the same operator, e.g. 1 + 2 + 3 + 4. 1 and 2 will go into left and right, while {3, 4} will go into the extended operands. - * <!-- end-model-doc --> - * @return the value of the '<em>Extended Operands</em>' containment reference list. - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInfixExpression_ExtendedOperands() - * @model type="org.eclipse.jem.internal.instantiation.PTExpression" containment="true" - * @generated - */ - EList getExtendedOperands(); - - /** - * Compress the expression - * If there is no left operand and a right operand, or vice versa, and no extended operands - * return the remaining single operand - * If there is no left operand and a right and some extended ones shuffle everything along - * so that the right becomes the left and the first extended moves into the right - * or if no right and a left then just move the first extended into the right - * - * @since 1.0.0 - */ - PTExpression asCompressedExpression(); - -} // InfixExpression
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInfixOperator.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInfixOperator.java deleted file mode 100644 index eb25210..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInfixOperator.java +++ /dev/null
@@ -1,619 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInfixOperator.java,v $ - * $Revision: 1.2 $ $Date: 2004/02/03 23:18:28 $ - */ -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Infix Operator</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Enumerator for the operator on an InfixExpression. - * <!-- end-model-doc --> - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInfixOperator() - * @model - * @generated - */ -public final class PTInfixOperator extends AbstractEnumerator { - /** - * The '<em><b>TIMES</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TIMES_LITERAL - * @model - * @generated - * @ordered - */ - public static final int TIMES = 0; - - /** - * The '<em><b>DIVIDE</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #DIVIDE_LITERAL - * @model - * @generated - * @ordered - */ - public static final int DIVIDE = 1; - - /** - * The '<em><b>REMAINDER</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #REMAINDER_LITERAL - * @model - * @generated - * @ordered - */ - public static final int REMAINDER = 2; - - /** - * The '<em><b>PLUS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PLUS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int PLUS = 3; - - /** - * The '<em><b>MINUS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #MINUS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int MINUS = 4; - - /** - * The '<em><b>LEFT SHIFT</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LEFT_SHIFT_LITERAL - * @model - * @generated - * @ordered - */ - public static final int LEFT_SHIFT = 5; - - /** - * The '<em><b>RIGHT SHIFT SIGNED</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #RIGHT_SHIFT_SIGNED_LITERAL - * @model - * @generated - * @ordered - */ - public static final int RIGHT_SHIFT_SIGNED = 6; - - /** - * The '<em><b>RIGHT SHIFT UNSIGNED</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #RIGHT_SHIFT_UNSIGNED_LITERAL - * @model - * @generated - * @ordered - */ - public static final int RIGHT_SHIFT_UNSIGNED = 7; - - /** - * The '<em><b>LESS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LESS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int LESS = 8; - - /** - * The '<em><b>GREATER</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #GREATER_LITERAL - * @model - * @generated - * @ordered - */ - public static final int GREATER = 9; - - /** - * The '<em><b>LESS EQUALS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LESS_EQUALS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int LESS_EQUALS = 10; - - /** - * The '<em><b>GREATER EQUALS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #GREATER_EQUALS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int GREATER_EQUALS = 11; - - /** - * The '<em><b>EQUALS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #EQUALS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int EQUALS = 12; - - /** - * The '<em><b>NOT EQUALS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #NOT_EQUALS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int NOT_EQUALS = 13; - - /** - * The '<em><b>XOR</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #XOR_LITERAL - * @model - * @generated - * @ordered - */ - public static final int XOR = 14; - - /** - * The '<em><b>AND</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #AND_LITERAL - * @model - * @generated - * @ordered - */ - public static final int AND = 15; - - /** - * The '<em><b>OR</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #OR_LITERAL - * @model - * @generated - * @ordered - */ - public static final int OR = 16; - - /** - * The '<em><b>CONDITIONAL AND</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #CONDITIONAL_AND_LITERAL - * @model - * @generated - * @ordered - */ - public static final int CONDITIONAL_AND = 17; - - /** - * The '<em><b>CONDITIONAL OR</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #CONDITIONAL_OR_LITERAL - * @model - * @generated - * @ordered - */ - public static final int CONDITIONAL_OR = 18; - - /** - * The '<em><b>TIMES</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * * operator - * <!-- end-model-doc --> - * @see #TIMES - * @generated - * @ordered - */ - public static final PTInfixOperator TIMES_LITERAL = new PTInfixOperator(TIMES, "TIMES"); - - /** - * The '<em><b>DIVIDE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * / operator - * <!-- end-model-doc --> - * @see #DIVIDE - * @generated - * @ordered - */ - public static final PTInfixOperator DIVIDE_LITERAL = new PTInfixOperator(DIVIDE, "DIVIDE"); - - /** - * The '<em><b>REMAINDER</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * % operator - * <!-- end-model-doc --> - * @see #REMAINDER - * @generated - * @ordered - */ - public static final PTInfixOperator REMAINDER_LITERAL = new PTInfixOperator(REMAINDER, "REMAINDER"); - - /** - * The '<em><b>PLUS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * + operator - * <!-- end-model-doc --> - * @see #PLUS - * @generated - * @ordered - */ - public static final PTInfixOperator PLUS_LITERAL = new PTInfixOperator(PLUS, "PLUS"); - - /** - * The '<em><b>MINUS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - operator - * <!-- end-model-doc --> - * @see #MINUS - * @generated - * @ordered - */ - public static final PTInfixOperator MINUS_LITERAL = new PTInfixOperator(MINUS, "MINUS"); - - /** - * The '<em><b>LEFT SHIFT</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * << operator - * <!-- end-model-doc --> - * @see #LEFT_SHIFT - * @generated - * @ordered - */ - public static final PTInfixOperator LEFT_SHIFT_LITERAL = new PTInfixOperator(LEFT_SHIFT, "LEFT_SHIFT"); - - /** - * The '<em><b>RIGHT SHIFT SIGNED</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * >> operator - * <!-- end-model-doc --> - * @see #RIGHT_SHIFT_SIGNED - * @generated - * @ordered - */ - public static final PTInfixOperator RIGHT_SHIFT_SIGNED_LITERAL = new PTInfixOperator(RIGHT_SHIFT_SIGNED, "RIGHT_SHIFT_SIGNED"); - - /** - * The '<em><b>RIGHT SHIFT UNSIGNED</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * >>> operator - * <!-- end-model-doc --> - * @see #RIGHT_SHIFT_UNSIGNED - * @generated - * @ordered - */ - public static final PTInfixOperator RIGHT_SHIFT_UNSIGNED_LITERAL = new PTInfixOperator(RIGHT_SHIFT_UNSIGNED, "RIGHT_SHIFT_UNSIGNED"); - - /** - * The '<em><b>LESS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * < operator - * <!-- end-model-doc --> - * @see #LESS - * @generated - * @ordered - */ - public static final PTInfixOperator LESS_LITERAL = new PTInfixOperator(LESS, "LESS"); - - /** - * The '<em><b>GREATER</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * > operator - * <!-- end-model-doc --> - * @see #GREATER - * @generated - * @ordered - */ - public static final PTInfixOperator GREATER_LITERAL = new PTInfixOperator(GREATER, "GREATER"); - - /** - * The '<em><b>LESS EQUALS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * <= operator - * <!-- end-model-doc --> - * @see #LESS_EQUALS - * @generated - * @ordered - */ - public static final PTInfixOperator LESS_EQUALS_LITERAL = new PTInfixOperator(LESS_EQUALS, "LESS_EQUALS"); - - /** - * The '<em><b>GREATER EQUALS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * >= operator - * <!-- end-model-doc --> - * @see #GREATER_EQUALS - * @generated - * @ordered - */ - public static final PTInfixOperator GREATER_EQUALS_LITERAL = new PTInfixOperator(GREATER_EQUALS, "GREATER_EQUALS"); - - /** - * The '<em><b>EQUALS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * == operator - * <!-- end-model-doc --> - * @see #EQUALS - * @generated - * @ordered - */ - public static final PTInfixOperator EQUALS_LITERAL = new PTInfixOperator(EQUALS, "EQUALS"); - - /** - * The '<em><b>NOT EQUALS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * != operator - * <!-- end-model-doc --> - * @see #NOT_EQUALS - * @generated - * @ordered - */ - public static final PTInfixOperator NOT_EQUALS_LITERAL = new PTInfixOperator(NOT_EQUALS, "NOT_EQUALS"); - - /** - * The '<em><b>XOR</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * ^ operator - * <!-- end-model-doc --> - * @see #XOR - * @generated - * @ordered - */ - public static final PTInfixOperator XOR_LITERAL = new PTInfixOperator(XOR, "XOR"); - - /** - * The '<em><b>AND</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * & operator - * <!-- end-model-doc --> - * @see #AND - * @generated - * @ordered - */ - public static final PTInfixOperator AND_LITERAL = new PTInfixOperator(AND, "AND"); - - /** - * The '<em><b>OR</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * | operator - * <!-- end-model-doc --> - * @see #OR - * @generated - * @ordered - */ - public static final PTInfixOperator OR_LITERAL = new PTInfixOperator(OR, "OR"); - - /** - * The '<em><b>CONDITIONAL AND</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * && operator - * <!-- end-model-doc --> - * @see #CONDITIONAL_AND - * @generated - * @ordered - */ - public static final PTInfixOperator CONDITIONAL_AND_LITERAL = new PTInfixOperator(CONDITIONAL_AND, "CONDITIONAL_AND"); - - /** - * The '<em><b>CONDITIONAL OR</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * || operator - * <!-- end-model-doc --> - * @see #CONDITIONAL_OR - * @generated - * @ordered - */ - public static final PTInfixOperator CONDITIONAL_OR_LITERAL = new PTInfixOperator(CONDITIONAL_OR, "CONDITIONAL_OR"); - - /** - * An array of all the '<em><b>PT Infix Operator</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final PTInfixOperator[] VALUES_ARRAY = - new PTInfixOperator[] { - TIMES_LITERAL, - DIVIDE_LITERAL, - REMAINDER_LITERAL, - PLUS_LITERAL, - MINUS_LITERAL, - LEFT_SHIFT_LITERAL, - RIGHT_SHIFT_SIGNED_LITERAL, - RIGHT_SHIFT_UNSIGNED_LITERAL, - LESS_LITERAL, - GREATER_LITERAL, - LESS_EQUALS_LITERAL, - GREATER_EQUALS_LITERAL, - EQUALS_LITERAL, - NOT_EQUALS_LITERAL, - XOR_LITERAL, - AND_LITERAL, - OR_LITERAL, - CONDITIONAL_AND_LITERAL, - CONDITIONAL_OR_LITERAL, - }; - - private static final String[] OPERATOR_STRING; - static { - OPERATOR_STRING = new String[VALUES_ARRAY.length]; - OPERATOR_STRING[TIMES] = "*"; - OPERATOR_STRING[DIVIDE] = "/"; - OPERATOR_STRING[REMAINDER] = "%"; - OPERATOR_STRING[PLUS] = "+"; - OPERATOR_STRING[MINUS] = "-"; - OPERATOR_STRING[LEFT_SHIFT] = "<"; - OPERATOR_STRING[RIGHT_SHIFT_SIGNED] = ">>"; - OPERATOR_STRING[RIGHT_SHIFT_UNSIGNED] = ">>>"; - OPERATOR_STRING[LESS] = "<"; - OPERATOR_STRING[GREATER] = ">"; - OPERATOR_STRING[LESS_EQUALS] = "<="; - OPERATOR_STRING[GREATER_EQUALS] = ">="; - OPERATOR_STRING[EQUALS] = "=="; - OPERATOR_STRING[NOT_EQUALS] = "!="; - OPERATOR_STRING[XOR] = "^"; - OPERATOR_STRING[AND] = "&"; - OPERATOR_STRING[OR] = "|"; - OPERATOR_STRING[CONDITIONAL_AND] = "&&"; - OPERATOR_STRING[CONDITIONAL_OR] = "||"; - } - - /** - * A public read-only list of all the '<em><b>PT Infix Operator</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>PT Infix Operator</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PTInfixOperator get(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - PTInfixOperator result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>PT Infix Operator</b></em>' literal with the specified value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PTInfixOperator get(int value) { - switch (value) { - case TIMES: return TIMES_LITERAL; - case DIVIDE: return DIVIDE_LITERAL; - case REMAINDER: return REMAINDER_LITERAL; - case PLUS: return PLUS_LITERAL; - case MINUS: return MINUS_LITERAL; - case LEFT_SHIFT: return LEFT_SHIFT_LITERAL; - case RIGHT_SHIFT_SIGNED: return RIGHT_SHIFT_SIGNED_LITERAL; - case RIGHT_SHIFT_UNSIGNED: return RIGHT_SHIFT_UNSIGNED_LITERAL; - case LESS: return LESS_LITERAL; - case GREATER: return GREATER_LITERAL; - case LESS_EQUALS: return LESS_EQUALS_LITERAL; - case GREATER_EQUALS: return GREATER_EQUALS_LITERAL; - case EQUALS: return EQUALS_LITERAL; - case NOT_EQUALS: return NOT_EQUALS_LITERAL; - case XOR: return XOR_LITERAL; - case AND: return AND_LITERAL; - case OR: return OR_LITERAL; - case CONDITIONAL_AND: return CONDITIONAL_AND_LITERAL; - case CONDITIONAL_OR: return CONDITIONAL_OR_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private PTInfixOperator(int value, String name) { - super(value, name); - } - - /** - * Return the operator string (i.e. for PLUS return "+"). - * @return The operator string. - * - * @since 1.0.0 - */ - public String getOperator() { - return OPERATOR_STRING[getValue()]; - } - -} //InfixOperator
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInstanceReference.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInstanceReference.java deleted file mode 100644 index 3f0b600..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInstanceReference.java +++ /dev/null
@@ -1,62 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInstanceReference.java,v $ - * $Revision: 1.2 $ $Date: 2004/02/03 23:18:27 $ - */ -package org.eclipse.jem.internal.instantiation; - -import org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>PT Instance Reference</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInstanceReference#getObject <em>Object</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInstanceReference() - * @model - * @generated - */ -public interface PTInstanceReference extends PTExpression { - /** - * Returns the value of the '<em><b>Object</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Object</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Object</em>' reference. - * @see #setObject(IJavaObjectInstance) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInstanceReference_Object() - * @model required="true" - * @generated - */ - IJavaObjectInstance getObject(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInstanceReference#getObject <em>Object</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Object</em>' reference. - * @see #getObject() - * @generated - */ - void setObject(IJavaObjectInstance value); - -} // PTInstanceReference
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInstanceof.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInstanceof.java deleted file mode 100644 index e6bdfbb..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInstanceof.java +++ /dev/null
@@ -1,89 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInstanceof.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Instanceof</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Instanceof expression, e.g. x instanceof java.lang.String - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInstanceof#getOperand <em>Operand</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInstanceof#getType <em>Type</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInstanceof() - * @model - * @generated - */ -public interface PTInstanceof extends PTExpression{ - /** - * Returns the value of the '<em><b>Operand</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The value to test, e.g. x in x instanceof java.lang.String - * <!-- end-model-doc --> - * @return the value of the '<em>Operand</em>' containment reference. - * @see #setOperand(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInstanceof_Operand() - * @model containment="true" - * @generated - */ - PTExpression getOperand(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInstanceof#getOperand <em>Operand</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Operand</em>' containment reference. - * @see #getOperand() - * @generated - */ - void setOperand(PTExpression value); - - /** - * Returns the value of the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The type of the instance test, e.g. java.lang.String. It must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y. - * <!-- end-model-doc --> - * @return the value of the '<em>Type</em>' attribute. - * @see #setType(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInstanceof_Type() - * @model - * @generated - */ - String getType(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInstanceof#getType <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Type</em>' attribute. - * @see #getType() - * @generated - */ - void setType(String value); - -} // Instanceof
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInvalidExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInvalidExpression.java deleted file mode 100644 index 2c46040..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTInvalidExpression.java +++ /dev/null
@@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInvalidExpression.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Invalid Expression</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This is used when we have some expression we just can't evaluate for our purposes. It allows us to tell the evaluation what is actually wrong. It should be placed as the root expression to prevent processing much of the tree and then finally fail. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTInvalidExpression#getMessage <em>Message</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInvalidExpression() - * @model - * @generated - */ -public interface PTInvalidExpression extends PTExpression{ - /** - * Returns the value of the '<em><b>Message</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * A message as to why it is invalid. - * <!-- end-model-doc --> - * @return the value of the '<em>Message</em>' attribute. - * @see #setMessage(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInvalidExpression_Message() - * @model - * @generated - */ - String getMessage(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInvalidExpression#getMessage <em>Message</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message</em>' attribute. - * @see #getMessage() - * @generated - */ - void setMessage(String value); - -} // InvalidExpression
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTMethodInvocation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTMethodInvocation.java deleted file mode 100644 index 2e8cd10..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTMethodInvocation.java +++ /dev/null
@@ -1,106 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTMethodInvocation.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Method Invocation</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * MethodInvocation expression, e.g. x.getY(3) - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getReceiver <em>Receiver</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getArguments <em>Arguments</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTMethodInvocation() - * @model - * @generated - */ -public interface PTMethodInvocation extends PTExpression{ - /** - * Returns the value of the '<em><b>Receiver</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Who the method is invoked against. This may be not set, which means "this". It may also be a Name, which would mean a class like "java.lang.String" - * <!-- end-model-doc --> - * @return the value of the '<em>Receiver</em>' containment reference. - * @see #setReceiver(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTMethodInvocation_Receiver() - * @model containment="true" - * @generated - */ - PTExpression getReceiver(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getReceiver <em>Receiver</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Receiver</em>' containment reference. - * @see #getReceiver() - * @generated - */ - void setReceiver(PTExpression value); - - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The name of the method being invoked. - * <!-- end-model-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTMethodInvocation_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTMethodInvocation#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Arguments</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jem.internal.instantiation.PTExpression}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The list of arguments, if any, to the method. - * <!-- end-model-doc --> - * @return the value of the '<em>Arguments</em>' containment reference list. - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTMethodInvocation_Arguments() - * @model type="org.eclipse.jem.internal.instantiation.PTExpression" containment="true" - * @generated - */ - EList getArguments(); - -} // MethodInvocation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTName.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTName.java deleted file mode 100644 index 68059c3..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTName.java +++ /dev/null
@@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTName.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Name</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This represents a name. This can happen for the receiver of a method invocation, e.g. x.getY() or java.lang.String.valueOf(10). In these cases you would have a name of "x" or "java.lang.String". - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTName#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTName() - * @model - * @generated - */ -public interface PTName extends PTExpression{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The name, which can be a type or a variable. If it is a type, then it must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y. - * <!-- end-model-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTName_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTName#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // Name
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTNullLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTNullLiteral.java deleted file mode 100644 index 67399c3..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTNullLiteral.java +++ /dev/null
@@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTNullLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Null Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Represents the expression "null" - * <!-- end-model-doc --> - * - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTNullLiteral() - * @model - * @generated - */ -public interface PTNullLiteral extends PTExpression{ -} // NullLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTNumberLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTNumberLiteral.java deleted file mode 100644 index dc65d93..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTNumberLiteral.java +++ /dev/null
@@ -1,64 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTNumberLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Number Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Represent a number primitive literal, e.g. 10. One optimization that will be performed is that if an expression is of the form +number or -number, it will be converted from a PrefixExpression with a NumberLiteral to just a NumberLiteral. This will simplify the model. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTNumberLiteral#getToken <em>Token</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTNumberLiteral() - * @model - * @generated - */ -public interface PTNumberLiteral extends PTExpression{ - /** - * Returns the value of the '<em><b>Token</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The token value, e.g. 10, 10d, or -10.75 - * <!-- end-model-doc --> - * @return the value of the '<em>Token</em>' attribute. - * @see #setToken(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTNumberLiteral_Token() - * @model - * @generated - */ - String getToken(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTNumberLiteral#getToken <em>Token</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Token</em>' attribute. - * @see #getToken() - * @generated - */ - void setToken(String value); - -} // NumberLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTParenthesizedExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTParenthesizedExpression.java deleted file mode 100644 index 05e5386..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTParenthesizedExpression.java +++ /dev/null
@@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTParenthesizedExpression.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Parenthesized Expression</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * An expression within parenthesis, e.g. (x+3) - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTParenthesizedExpression#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTParenthesizedExpression() - * @model - * @generated - */ -public interface PTParenthesizedExpression extends PTExpression{ - /** - * Returns the value of the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The expression wrapped by the parenthesis, e.g. (x+3) then the expression is "x+3" - * <!-- end-model-doc --> - * @return the value of the '<em>Expression</em>' containment reference. - * @see #setExpression(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTParenthesizedExpression_Expression() - * @model containment="true" - * @generated - */ - PTExpression getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTParenthesizedExpression#getExpression <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Expression</em>' containment reference. - * @see #getExpression() - * @generated - */ - void setExpression(PTExpression value); - -} // ParenthesizedExpression
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTPrefixExpression.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTPrefixExpression.java deleted file mode 100644 index 5161809..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTPrefixExpression.java +++ /dev/null
@@ -1,92 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTPrefixExpression.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Prefix Expression</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A one operand operator, where the operator comes before the operand, e.g. - (x+3). In AST, even -3 is modeled as a PrefixExpression of operator "-" and expression of NumberLiteral(3). But we optimize this away and just use a NumberLiteral(-3) directly instead. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression#getOperator <em>Operator</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTPrefixExpression() - * @model - * @generated - */ -public interface PTPrefixExpression extends PTExpression{ - /** - * Returns the value of the '<em><b>Operator</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jem.internal.instantiation.PTPrefixOperator}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The operator of this expression. - * <!-- end-model-doc --> - * @return the value of the '<em>Operator</em>' attribute. - * @see org.eclipse.jem.internal.instantiation.PTPrefixOperator - * @see #setOperator(PTPrefixOperator) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTPrefixExpression_Operator() - * @model - * @generated - */ - PTPrefixOperator getOperator(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression#getOperator <em>Operator</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Operator</em>' attribute. - * @see org.eclipse.jem.internal.instantiation.PTPrefixOperator - * @see #getOperator() - * @generated - */ - void setOperator(PTPrefixOperator value); - - /** - * Returns the value of the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The expression that the operator is applied to. - * <!-- end-model-doc --> - * @return the value of the '<em>Expression</em>' containment reference. - * @see #setExpression(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTPrefixExpression_Expression() - * @model containment="true" - * @generated - */ - PTExpression getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTPrefixExpression#getExpression <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Expression</em>' containment reference. - * @see #getExpression() - * @generated - */ - void setExpression(PTExpression value); - -} // PrefixExpression
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTPrefixOperator.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTPrefixOperator.java deleted file mode 100644 index b5caf70..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTPrefixOperator.java +++ /dev/null
@@ -1,213 +0,0 @@ -package org.eclipse.jem.internal.instantiation; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTPrefixOperator.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Prefix Operator</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The prefix expression operator. We are not modeling ++ and --. - * <!-- end-model-doc --> - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTPrefixOperator() - * @model - * @generated - */ -public final class PTPrefixOperator extends AbstractEnumerator { - /** - * The '<em><b>PLUS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PLUS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int PLUS = 0; - - /** - * The '<em><b>MINUS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #MINUS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int MINUS = 1; - - /** - * The '<em><b>COMPLEMENT</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #COMPLEMENT_LITERAL - * @model - * @generated - * @ordered - */ - public static final int COMPLEMENT = 2; - - /** - * The '<em><b>NOT</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #NOT_LITERAL - * @model - * @generated - * @ordered - */ - public static final int NOT = 3; - - /** - * The '<em><b>PLUS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * + operator - * <!-- end-model-doc --> - * @see #PLUS - * @generated - * @ordered - */ - public static final PTPrefixOperator PLUS_LITERAL = new PTPrefixOperator(PLUS, "PLUS"); - - /** - * The '<em><b>MINUS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - operator - * <!-- end-model-doc --> - * @see #MINUS - * @generated - * @ordered - */ - public static final PTPrefixOperator MINUS_LITERAL = new PTPrefixOperator(MINUS, "MINUS"); - - /** - * The '<em><b>COMPLEMENT</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * ~ operator - * <!-- end-model-doc --> - * @see #COMPLEMENT - * @generated - * @ordered - */ - public static final PTPrefixOperator COMPLEMENT_LITERAL = new PTPrefixOperator(COMPLEMENT, "COMPLEMENT"); - - /** - * The '<em><b>NOT</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * ! operator - * <!-- end-model-doc --> - * @see #NOT - * @generated - * @ordered - */ - public static final PTPrefixOperator NOT_LITERAL = new PTPrefixOperator(NOT, "NOT"); - - /** - * An array of all the '<em><b>PT Prefix Operator</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final PTPrefixOperator[] VALUES_ARRAY = - new PTPrefixOperator[] { - PLUS_LITERAL, - MINUS_LITERAL, - COMPLEMENT_LITERAL, - NOT_LITERAL, - }; - - private static final String[] OPERATOR_STRING; - static { - OPERATOR_STRING = new String[VALUES_ARRAY.length]; - OPERATOR_STRING[PLUS] = "+"; - OPERATOR_STRING[MINUS] = "-"; - OPERATOR_STRING[COMPLEMENT] = "~"; - OPERATOR_STRING[NOT] = "!"; - } - - /** - * A public read-only list of all the '<em><b>PT Prefix Operator</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>PT Prefix Operator</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PTPrefixOperator get(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - PTPrefixOperator result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>PT Prefix Operator</b></em>' literal with the specified value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PTPrefixOperator get(int value) { - switch (value) { - case PLUS: return PLUS_LITERAL; - case MINUS: return MINUS_LITERAL; - case COMPLEMENT: return COMPLEMENT_LITERAL; - case NOT: return NOT_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private PTPrefixOperator(int value, String name) { - super(value, name); - } - - /** - * Return the operator string (i.e. for PLUS return "+"). - * @return The operator string. - * - * @since 1.0.0 - */ - public String getOperator() { - return OPERATOR_STRING[getValue()]; - } -} //PrefixOperator
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTStringLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTStringLiteral.java deleted file mode 100644 index a34e5ec..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTStringLiteral.java +++ /dev/null
@@ -1,89 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTStringLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>String Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Representation of a string literal, e.g. "asdf". - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTStringLiteral#getEscapedValue <em>Escaped Value</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.PTStringLiteral#getLiteralValue <em>Literal Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTStringLiteral() - * @model - * @generated - */ -public interface PTStringLiteral extends PTExpression{ - /** - * Returns the value of the '<em><b>Escaped Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is the escaped string. In other words the literal exactly as it is in the java file. E.g. "ab" or "c\r". Including the surrounding quotes themselves. - * <!-- end-model-doc --> - * @return the value of the '<em>Escaped Value</em>' attribute. - * @see #setEscapedValue(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTStringLiteral_EscapedValue() - * @model - * @generated - */ - String getEscapedValue(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTStringLiteral#getEscapedValue <em>Escaped Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Escaped Value</em>' attribute. - * @see #getEscapedValue() - * @generated - */ - void setEscapedValue(String value); - - /** - * Returns the value of the '<em><b>Literal Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The actual string without the quotes. Escape are evaluated and turned into their character value. This is a transient field. If not set when created when queried it will create it. Typically it will be set when created from an AST node since the node already has evaluated it. - * <!-- end-model-doc --> - * @return the value of the '<em>Literal Value</em>' attribute. - * @see #setLiteralValue(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTStringLiteral_LiteralValue() - * @model transient="true" - * @generated - */ - String getLiteralValue(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTStringLiteral#getLiteralValue <em>Literal Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Literal Value</em>' attribute. - * @see #getLiteralValue() - * @generated - */ - void setLiteralValue(String value); - -} // StringLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTThisLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTThisLiteral.java deleted file mode 100644 index 36f615e..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTThisLiteral.java +++ /dev/null
@@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTThisLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>This Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Represents "this", e.g. this.getX() will be a MethodInvocation with the receiver being a ThisLiteral. We can't handle the format XYZ.this because that is for inner classes and we don't support that right now. - * <!-- end-model-doc --> - * - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTThisLiteral() - * @model - * @generated - */ -public interface PTThisLiteral extends PTExpression{ -} // ThisLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTTypeLiteral.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTTypeLiteral.java deleted file mode 100644 index d1dc2a2..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/PTTypeLiteral.java +++ /dev/null
@@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTTypeLiteral.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:25:15 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Type Literal</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * This represents a literal of the form j.XYZ.class. For instance in a method invocation x.getX(jXYZ.class) the argument will be a TypeLiteral. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.PTTypeLiteral#getType <em>Type</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTTypeLiteral() - * @model - * @generated - */ -public interface PTTypeLiteral extends PTExpression{ - /** - * Returns the value of the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The type of the literal. It must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y. - * <!-- end-model-doc --> - * @return the value of the '<em>Type</em>' attribute. - * @see #setType(String) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTTypeLiteral_Type() - * @model - * @generated - */ - String getType(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTTypeLiteral#getType <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Type</em>' attribute. - * @see #getType() - * @generated - */ - void setType(String value); - -} // TypeLiteral
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ParseTreeAllocation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ParseTreeAllocation.java deleted file mode 100644 index f459879..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ParseTreeAllocation.java +++ /dev/null
@@ -1,64 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ParseTreeAllocation.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 23:18:28 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Parse Tree Allocation</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Allocations via Parse Trees. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.ParseTreeAllocation#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getParseTreeAllocation() - * @model - * @generated - */ -public interface ParseTreeAllocation extends JavaAllocation{ - /** - * Returns the value of the '<em><b>Expression</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Expression</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Expression</em>' containment reference. - * @see #setExpression(PTExpression) - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getParseTreeAllocation_Expression() - * @model containment="true" required="true" - * @generated - */ - PTExpression getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.jem.internal.instantiation.ParseTreeAllocation#getExpression <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Expression</em>' containment reference. - * @see #getExpression() - * @generated - */ - void setExpression(PTExpression value); - -} // ParseTreeAllocation
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ParseVisitor.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ParseVisitor.java deleted file mode 100644 index 0aab528..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/ParseVisitor.java +++ /dev/null
@@ -1,266 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ParseVisitor.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 20:11:47 $ - */ -package org.eclipse.jem.internal.instantiation; - -/** - * A visitor for abstract parse expression trees. - * <p> - * For each different concrete Expression node type <it>T</it> there are - * a pair of methods: - * <ul> - * <li><code>public boolean visit(<it>T</it> node)</code> - Visits - * the given node to perform some arbitrary operation. If <code>true</code> - * is returned, the given node's child nodes will be visited next; however, - * if <code>false</code> is returned, the given node's child nodes will - * not be visited. The default implementation provided by this class does - * nothing and returns <code>true</code>. Subclasses may reimplement - * this method as needed.</li> - * <li><code>public void endVisit(<it>T</it> node)</code> - Visits - * the given node to perform some arbitrary operation. When used in the - * conventional way, this method is called after all of the given node's - * children have been visited (or immediately, if <code>visit</code> returned - * <code>false</code>). The default implementation provided by this class does - * nothing. Subclasses may reimplement this method as needed.</li> - * </ul> - * </p> - * In addition, there are a pair of methods for visiting AST nodes in the - * abstract, regardless of node type: - * <ul> - * <li><code>public void preVisit(ASTNode node)</code> - Visits - * the given node to perform some arbitrary operation. - * This method is invoked prior to the appropriate type-specific - * <code>visit</code> method. - * The default implementation of this method does nothing. - * Subclasses may reimplement this method as needed.</li> - * <li><code>public void postVisit(ASTNode node)</code> - Visits - * the given node to perform some arbitrary operation. - * This method is invoked after the appropriate type-specific - * <code>endVisit</code> method. - * The default implementation of this method does nothing. - * Subclasses may reimplement this method as needed.</li> - * </ul> - * <p> - * For nodes with list-valued properties, the child nodes within the list - * are visited in order. For nodes with multiple properties, the child nodes - * are visited in the order that most closely corresponds to the lexical - * reading order of the source program. For instance, for a type declaration - * node, the child ordering is: name, superclass, superinterfaces, and - * body declarations. - * </p> - * <p> - * While it is possible to modify the tree in the visitor, care is required to - * ensure that the consequences are as expected and desirable. - * During the course of an ordinary visit starting at a given node, every node - * in the subtree is visited exactly twice, first with <code>visit</code> and - * then with <code>endVisit</code>. During a traversal of a stationary tree, - * each node is either behind (after <code>endVisit</code>), ahead (before - * <code>visit</code>), or in progress (between <code>visit</code> and - * the matching <code>endVisit</code>). Changes to the "behind" region of the - * tree are of no consequence to the visit in progress. Changes to the "ahead" - * region will be taken in stride. Changes to the "in progress" portion are - * the more interesting cases. With a node, the various properties are arranged - * in a linear list, with a cursor that separates the properties that have - * been visited from the ones that are still to be visited (the cursor - * is between the elements, rather than on an element). The cursor moves from - * the head to the tail of this list, advancing to the next position just - * <it>before</it> <code>visit</code> if called for that child. After the child - * subtree has been completely visited, the visit moves on the child - * immediately after the cursor. Removing a child while it is being visited - * does not alter the course of the visit. But any children added at positions - * after the cursor are considered in the "ahead" portion and will be visited. - * </p> - * <p> - * Cases to watch out for: - * <ul> - * <li>Moving a child node further down the list. This could result in the - * child subtree being visited multiple times; these visits are sequential.</li> - * <li>Moving a child node up into an ancestor. If the new home for - * the node is in the "ahead" portion, the subtree will be visited - * a second time; again, these visits are sequential.</li> - * <li>Moving a node down into a child. If the new home for - * the node is in the "ahead" portion, the subtree will be visited - * a second time; in this case, the visits will be nested. In some cases, - * this can lead to a stack overflow or out of memory condition.</li> - * </ul> - * </p> - * - * Note: This is based upon the visit concept in org.eclipse.jdt.core.dom.ASTVisitor. - * - * @see Expression#accept - * - * @since 1.0.0 - */ -public class ParseVisitor { - /** - * Visits the given parse node prior to the type-specific visit. (before <code>visit</code>). - * <p> - * The default implementation does nothing. Subclasses may reimplement. - * </p> - * - * @param node - * the node to visit - */ - public void preVisit(PTExpression node) { - // default implementation: do nothing - } - - /** - * Visits the given parse node following the type-specific visit (after <code>endVisit</code>). - * <p> - * The default implementation does nothing. Subclasses may reimplement. - * </p> - * - * @param node - * the node to visit - */ - public void postVisit(PTExpression node) { - // default implementation: do nothing - } - - public boolean visit(PTArrayAccess node) { - return true; - } - public boolean visit(PTArrayCreation node) { - return true; - } - public boolean visit(PTArrayInitializer node) { - return true; - } - public boolean visit(PTBooleanLiteral node) { - return true; - } - public boolean visit(PTCastExpression node) { - return true; - } - public boolean visit(PTCharacterLiteral node) { - return true; - } - public boolean visit(PTClassInstanceCreation node) { - return true; - } - public boolean visit(PTConditionalExpression node) { - return true; - } - public boolean visit(PTFieldAccess node) { - return true; - } - public boolean visit(PTInfixExpression node) { - return true; - } - public boolean visit(PTInstanceof node) { - return true; - } - public boolean visit(PTInvalidExpression node) { - return true; - } - public boolean visit(PTMethodInvocation node) { - return true; - } - public boolean visit(PTName node) { - return true; - } - public boolean visit(PTNullLiteral node) { - return true; - } - public boolean visit(PTNumberLiteral node) { - return true; - } - public boolean visit(PTParenthesizedExpression node) { - return true; - } - public boolean visit(PTPrefixExpression node) { - return true; - } - public boolean visit(PTStringLiteral node) { - return true; - } - public boolean visit(PTThisLiteral node) { - return true; - } - public boolean visit(PTTypeLiteral node) { - return true; - } - public boolean visit(PTInstanceReference node) { - return true; - } - - public void endVisit(PTArrayAccess node) { - // default implementation: do nothing - } - public void endVisit(PTArrayCreation node) { - // default implementation: do nothing - } - public void endVisit(PTArrayInitializer node) { - // default implementation: do nothing - } - public void endVisit(PTBooleanLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTCastExpression node) { - // default implementation: do nothing - } - public void endVisit(PTCharacterLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTClassInstanceCreation node) { - // default implementation: do nothing - } - public void endVisit(PTConditionalExpression node) { - // default implementation: do nothing - } - public void endVisit(PTFieldAccess node) { - // default implementation: do nothing - } - public void endVisit(PTInfixExpression node) { - // default implementation: do nothing - } - public void endVisit(PTInstanceof node) { - // default implementation: do nothing - } - public void endVisit(PTInvalidExpression node) { - // default implementation: do nothing - } - public void endVisit(PTMethodInvocation node) { - // default implementation: do nothing - } - public void endVisit(PTName node) { - // default implementation: do nothing - } - public void endVisit(PTNullLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTNumberLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTParenthesizedExpression node) { - // default implementation: do nothing - } - public void endVisit(PTPrefixExpression node) { - // default implementation: do nothing - } - public void endVisit(PTStringLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTThisLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTTypeLiteral node) { - // default implementation: do nothing - } - public void endVisit(PTInstanceReference node) { - // default implementation: do nothing - } - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaDataTypeInstance.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaDataTypeInstance.java deleted file mode 100644 index 15691f7..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaDataTypeInstance.java +++ /dev/null
@@ -1,23 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IJavaDataTypeInstance.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ - -/** - * Interface for instances of java data types. - */ - -public interface IJavaDataTypeInstance extends IJavaInstance { - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaInstance.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaInstance.java deleted file mode 100644 index 43a07aa..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaInstance.java +++ /dev/null
@@ -1,51 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IJavaInstance.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/12 21:44:21 $ - */ - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.jem.internal.instantiation.JavaAllocation; -import org.eclipse.jem.internal.java.instantiation.IInstantiationInstance; -/** - * A common interface for Java instances. It will be - * shared by Java Objects and Java DataType instances. - */ -public interface IJavaInstance extends EObject, IInstantiationInstance { - - /** - * Get the allocation object. - * @return The allocation object. - */ - public JavaAllocation getAllocation(); - - /** - * Set the allocation for this object instance. - * @param allocation - */ - public void setAllocation(JavaAllocation allocation); - - /** - * Return whether the allocation has been set or not. - * @return <code>true</code> if set. - */ - public boolean isSetAllocation(); - - /** - * Answer true if we are an instance of one of Java's primitive data types. - * e.g. boolean, char - true otherwise, e.g. java.lang.Boolean - */ - public boolean isPrimitive(); - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaObjectInstance.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaObjectInstance.java deleted file mode 100644 index 3953fc5..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/IJavaObjectInstance.java +++ /dev/null
@@ -1,23 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IJavaObjectInstance.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/12 21:44:21 $ - */ - - -/** - * Interface for java object instances. - */ -public interface IJavaObjectInstance extends IJavaInstance { - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaDataTypeInstance.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaDataTypeInstance.java deleted file mode 100644 index 02d3e37..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaDataTypeInstance.java +++ /dev/null
@@ -1,61 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaDataTypeInstance.java,v $ - * $Revision: 1.4 $ $Date: 2004/01/19 22:50:15 $ - */ - -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jem.internal.instantiation.JavaAllocation; -import org.eclipse.jem.java.JavaHelpers; - -/** - * This is the default instance of a Java Model Datatype (i.e. primitive). - * It can be created from a string, which becomes the initialization string - * for the instance. It's toString will be the initialization string. - * - * It should not be referenced directly, the IJavaDataTypeInstance interface should be - * used instead. It is public so that it can be subclassed. - */ -public class JavaDataTypeInstance extends EObjectImpl implements IJavaDataTypeInstance { - - protected JavaDataTypeInstance() { - } - - /* - * This is here only for JavaFactoryHandler to set the allocation. - * It is not exposed in the interface and should not be called outside. - */ - public JavaAllocation getAllocation() { - return isSetAllocation() ? (JavaAllocation) eGet(JavaInstantiation.getAllocationFeature(this)) : null; - } - - public boolean isSetAllocation() { - return eIsSet(JavaInstantiation.getAllocationFeature(this)); - } - - public void setAllocation(JavaAllocation allocation) { - eSet(JavaInstantiation.getAllocationFeature(this), allocation); - } - - public JavaHelpers getJavaType() { - return (JavaHelpers) eClass(); - } - - public String toString() { - return isSetAllocation() ? getAllocation().toString() : ""; //$NON-NLS-1$ - } - public boolean isPrimitive(){ - return true; - } -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaFactoryHandler.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaFactoryHandler.java deleted file mode 100644 index 89f5168..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaFactoryHandler.java +++ /dev/null
@@ -1,60 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaFactoryHandler.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/13 16:16:21 $ - */ - -import org.eclipse.emf.ecore.*; - -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaDataType; -import org.eclipse.jem.internal.java.instantiation.IInstantiationHandler; - -/** - * Adapter on JavaFactoryImpl to do instantiation. - */ -public class JavaFactoryHandler implements IInstantiationHandler { - - public final static JavaFactoryHandler INSTANCE = new JavaFactoryHandler(); - - /** - * Constructor for JavaFactoryAdapter. - */ - protected JavaFactoryHandler() { - super(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.instantiation.IInstantiationHandler#handlesClass(org.eclipse.emf.ecore.EClass) - */ - public boolean handlesClass(EClass type) { - return type instanceof JavaClass || type instanceof JavaDataType; - // During XMI loading, it can't tell the JavaDataType is different than JavaClass. - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.instantiation.IInstantiationHandler#handlesDataType(org.eclipse.jem.java.JavaDataType) - */ - public boolean handlesDataType(JavaDataType type) { - return true; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.instantiation.IInstantiationHandler#create(org.eclipse.emf.ecore.EClass) - */ - public EObject create(EClass javaClass) { - EObject result = javaClass instanceof JavaClass ? (EObject) new JavaObjectInstance() : new JavaDataTypeInstance(); - ((InternalEObject) result).eSetClass(javaClass); - return result; - } -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaInstantiation.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaInstantiation.java deleted file mode 100644 index 872e367..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaInstantiation.java +++ /dev/null
@@ -1,110 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaInstantiation.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/13 16:16:21 $ - */ - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EcoreUtil; - -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.internal.java.instantiation.IInstantiationHandlerFactoryAdapter; - -/** - * This class is used to initialize java model instantiation code and to access dynamic features. - */ -public class JavaInstantiation { - - - public static final String ALLOCATION = "allocation"; //$NON-NLS-1$ - - /** - * Get a structural feature from an instance of an IJavaObjectInstance, where the feature - * is specified by its name. - */ - public static EStructuralFeature getSFeature(IJavaObjectInstance jobject, String featureName) { - return jobject.eClass().getEStructuralFeature(featureName); - } - - /** - * Get a reference from an instance of an IJavaObjectInstance, where the feature - * is specified by its name. - */ - public static EReference getReference(IJavaObjectInstance jobject, String featureName) { - return (EReference) getSFeature(jobject, featureName); - } - - /** - * Get a structural feature from an instance of an IJavaObjectInstance, where the feature - * is specified by its URI (e.g. "java:/java.lang#Object/class"). - */ - public static EStructuralFeature getSFeature(IJavaObjectInstance jobject, URI sfURI) { - return getSFeature((JavaClass) jobject.getJavaType(), sfURI); - } - - /** - * Get a structural feature from a JavaClass, where the feature - * is specified by its URI (e.g. "java:/java.lang#Object/class"). - */ - public static EStructuralFeature getSFeature(JavaClass jclass, URI sfURI) { - return getSFeature(jclass.eResource().getResourceSet(), sfURI); - } - - /** - * Get a structural feature from a ResourceSet, where the feature - * is specified by its URI (e.g. "java:/java.lang#Object/class"). - */ - public static EStructuralFeature getSFeature(ResourceSet rset, URI sfURI) { - return (EStructuralFeature) rset.getEObject(sfURI, true); - } - - /** - * Get a reference from an instance of an IJavaObjectInstance, where the feature - * is specified by its URI (e.g. "java:/java.lang#Object/class"). - */ - public static EReference getReference(IJavaObjectInstance jobject, URI sfURI) { - return (EReference) getSFeature((JavaClass) jobject.getJavaType(), sfURI); - } - - /** - * Get a reference from a JavaClass, where the feature - * is specified by its URI (e.g. "java:/java.lang#Object/class"). - */ - public static EReference getReference(JavaClass jclass, URI sfURI) { - return (EReference) getSFeature(jclass.eResource().getResourceSet(), sfURI); - } - - /** - * Get a reference from a ResourceSet, where the feature - * is specified by its URI (e.g. "java:/java.lang#Object/class"). - */ - public static EReference getReference(ResourceSet rset, URI sfURI) { - return (EReference) rset.getEObject(sfURI, true); - } - - /** - * Get the allocation Feature for this object. Since it depends - * on what resource that the metaclass is defined in, we must look for it. - */ - public static EReference getAllocationFeature(IJavaInstance jinstance) { - return (EReference) jinstance.eClass().getEStructuralFeature(ALLOCATION); - } - - public static void initialize(ResourceSet rset) { - if (EcoreUtil.getExistingAdapter(rset, IInstantiationHandlerFactoryAdapter.ADAPTER_KEY) == null) - rset.eAdapters().add(new JavaInstantiationHandlerFactoryAdapter()); - } -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaInstantiationHandlerFactoryAdapter.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaInstantiationHandlerFactoryAdapter.java deleted file mode 100644 index 9d14fd4..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaInstantiationHandlerFactoryAdapter.java +++ /dev/null
@@ -1,50 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaInstantiationHandlerFactoryAdapter.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ - -import org.eclipse.emf.common.notify.impl.AdapterImpl; - -import org.eclipse.jem.java.impl.JavaFactoryImpl; -import org.eclipse.jem.internal.java.instantiation.IInstantiationHandler; -import org.eclipse.jem.internal.java.instantiation.IInstantiationHandlerFactoryAdapter; - -/** - * This adapter is attached to the resource set for a java model. The - * JavaXMIFactory will ask for this adapter and ask it for the IInstantiationHandler. - */ -public class JavaInstantiationHandlerFactoryAdapter extends AdapterImpl implements IInstantiationHandlerFactoryAdapter { - - /** - * Constructor for JavaInstantiationHandlerFactoryAdapter. - */ - public JavaInstantiationHandlerFactoryAdapter() { - super(); - } - - /** - * @see org.eclipse.jem.internal.instantiation.IInstantiationHandlerFactoryAdapter#getInstantiationHandler(JavaFactoryImpl) - */ - public IInstantiationHandler getInstantiationHandler(JavaFactoryImpl factory) { - return JavaFactoryHandler.INSTANCE; - } - - /** - * @see org.eclipse.emf.common.notify.Adapter#isAdapterForType(Object) - */ - public boolean isAdapterForType(Object type) { - return IInstantiationHandlerFactoryAdapter.ADAPTER_KEY == type; - } - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaObjectInstance.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaObjectInstance.java deleted file mode 100644 index 47f013c..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/JavaObjectInstance.java +++ /dev/null
@@ -1,257 +0,0 @@ -package org.eclipse.jem.internal.instantiation.base; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaObjectInstance.java,v $ - * $Revision: 1.5 $ $Date: 2004/02/11 15:02:19 $ - */ - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jem.internal.instantiation.JavaAllocation; -import org.eclipse.jem.java.JavaHelpers; - -/** - * This is the default instance for java model objects. - * It should not be referenced directly, the IJavaObjectInstance interface should be - * used instead. It is public so that it can be subclassed. - */ -public class JavaObjectInstance extends EObjectImpl implements IJavaObjectInstance { - - - public JavaHelpers getJavaType(){ - return (JavaHelpers) eClass(); - } - - public JavaAllocation getAllocation() { - return isSetAllocation() ? (JavaAllocation) eGet(JavaInstantiation.getAllocationFeature(this)) : null; - } - - public boolean isSetAllocation() { - return eIsSet(JavaInstantiation.getAllocationFeature(this)); - } - - public void setAllocation(JavaAllocation allocation) { - eSet(JavaInstantiation.getAllocationFeature(this), allocation); - } - - - public boolean isPrimitive(){ - return false; - } - - public String toString() { - // EObject's toString is too big for us, so we do a customized one. - StringBuffer result = new StringBuffer(getClass().getName()); - result.append('@'); - result.append(Integer.toHexString(hashCode())); - - if (eIsProxy()) - { - result.append(" (eProxyURI: "); //$NON-NLS-1$ - result.append(eProxyURI()); - result.append(')'); - } - if(getJavaType() != null){ - result.append('{'); - result.append(getJavaType().getQualifiedName()); - result.append('}'); - } - - try { - JavaAllocation allocation = getAllocation(); - if (allocation != null) { - result.append(':'); //$NON-NLS-1$ - result.append(allocation.toString()); - } - } catch (IllegalArgumentException e) { - } catch (NullPointerException e) { - // This can occur because sometimes this eClass can't be constructed right and won't have an initstring feature. - // In that case an NPE is thrown. - } - return result.toString(); - } - - protected static class JavaObjectInstancePropertiesHolder extends EPropertiesHolderImpl { - private EList allStructuralFeatures; - - public JavaObjectInstancePropertiesHolder() { - } - - public Object[] eSettings() { - return eSettings; - } - - public EList getAllStructuralFeatures() { - return allStructuralFeatures; - } - - /* - * Clear the cache. This is due to - * structural features have changed. - */ - public void clearCache() { - eSettings = null; - setEContents(null); - setECrossReferences(null); - allStructuralFeatures = null; - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl#allocateSettings(int) - */ - public void allocateSettings(int maximumDynamicFeatureID) { - if (allStructuralFeatures == null) - allStructuralFeatures = getEClass().getEAllStructuralFeatures(); - super.allocateSettings(maximumDynamicFeatureID); - } - - - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl#setEContents(org.eclipse.emf.common.util.EList) - */ - public void setEContents(EList eContents) { - if (allStructuralFeatures == null) - allStructuralFeatures = getEClass().getEAllStructuralFeatures(); - super.setEContents(eContents); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl#setECrossReferences(org.eclipse.emf.common.util.EList) - */ - public void setECrossReferences(EList eCrossReferences) { - if (allStructuralFeatures == null) - allStructuralFeatures = getEClass().getEAllStructuralFeatures(); - super.setECrossReferences(eCrossReferences); - } - - } - - protected EPropertiesHolder eProperties() - { - if (eProperties == null) - { - eProperties = new JavaObjectInstancePropertiesHolder(); - } - return eProperties; - } - - /** - * @see org.eclipse.emf.ecore.InternalEObject#eSetClass(EClass) - */ - public void eSetClass(EClass eClass) { - super.eSetClass(eClass); - migrate(); - } - - /** - * @param newEClass New eClass set to. (null) when migrating while not setting a new EClass. - */ - protected void migrate() { - // Note: This is extremelly implementation dependent. It may change for any implementation of EMF. - if (eProperties != null && (eProperties.hasSettings() || eProperties.getEContents() != null || eProperties.getECrossReferences() != null)) { - // Maybe need to reconstruct settings or clear cache. - JavaObjectInstancePropertiesHolder properties = (JavaObjectInstancePropertiesHolder) eProperties; - EList oldAllFeatures = properties.getAllStructuralFeatures(); - - // See if migration needed. - if (properties.getEClass().getEAllStructuralFeatures() == oldAllFeatures) - return; // No migration needed. - - Object[] oldSettings = properties.eSettings(); - properties.clearCache(); // Clear the cache so we can rebuild it. - if (oldSettings == null) { - return; // It was just either contents or crossrefs, and they have been appropriately cleared. - } - - // It is assumed that any SF that (by identity) is in - // both the old and the new eClass, then it doesn't have any internal changes. It simply changed position - // in the settings list. Otherwise, need to see if compatible by same name, and if so, move it. - eSettings(); // Create new settings - Object[] newSettings = properties.eSettings(); - int staticFeatureCnt = eStaticFeatureCount(); - for (int oldIndex = 0; oldIndex < oldSettings.length; oldIndex++) { - if (oldSettings[oldIndex] != null) { - EStructuralFeature sf = (EStructuralFeature) oldAllFeatures.get(oldIndex+staticFeatureCnt); - int newIndex = super.eDynamicFeatureID(sf); // To avoid recurse on migrate. - if (newIndex > -1) { - moveESetting(oldSettings, newSettings, oldIndex, sf, newIndex); - } else { - // See if it exists by name and is compatible. - EStructuralFeature newSF = properties.getEClass().getEStructuralFeature(sf.getName()); - if (newSF != null && newSF.getClass().equals(sf.getClass()) && - newSF.isMany() == sf.isMany() && newSF.isChangeable() == sf.isChangeable()) { - boolean compatible = newSF.isUnique() == sf.isUnique() || !newSF.isUnique(); // If new is not unique, then doesn't matter if old and new are the same - if (newSF instanceof EReference) { - EReference newRef = (EReference) newSF; - EReference ref = (EReference) sf; - compatible = newRef.isContainment() == ref.isContainment() && newRef.getEReferenceType().isSuperTypeOf(ref.getEReferenceType()); - } else - compatible = newSF.getEType().equals(sf.getEType()); - - if (compatible) { - newIndex = eDynamicFeatureID(newSF); - moveESetting(oldSettings, newSettings, oldIndex, newSF, newIndex); - } - } - } - } - } - } - } - - private void moveESetting(Object[] oldSettings, Object[] newSettings, int oldIndex, EStructuralFeature sf, int newIndex) { - // See if single vs many. - if (!sf.isMany()) - newSettings[newIndex] = oldSettings[oldIndex]; // Great, we can just move it over. - else { - // Many is more difficult. Need to create a new dynamic list of right type, and - // then just copy over the data from the old one. We create new one by doing a simple eGet. - // This will construct an empty one with no notifications going out. - // Note: This is extremelly implementation dependent. We will be throwing away the old - // oldMany, so it is ok to reuse the actual array of data for the newMany. - BasicEList newMany = (BasicEList) eGet(sf); - BasicEList oldMany = (BasicEList) oldSettings[oldIndex]; - newMany.setData(oldMany.size(), oldMany.data()); - } - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.impl.EObjectImpl#eDynamicFeatureID(org.eclipse.emf.ecore.EStructuralFeature) - */ - protected int eDynamicFeatureID(EStructuralFeature eStructuralFeature) { - migrate(); // See if migration needed, and do if it does. - return super.eDynamicFeatureID(eStructuralFeature); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.EObject#eContents() - */ - public EList eContents() { - migrate(); - return super.eContents(); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.EObject#eCrossReferences() - */ - public EList eCrossReferences() { - migrate(); - return super.eCrossReferences(); - } - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/ParseTreeAllocationInstantiationVisitor.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/ParseTreeAllocationInstantiationVisitor.java deleted file mode 100644 index 32a42da..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/base/ParseTreeAllocationInstantiationVisitor.java +++ /dev/null
@@ -1,577 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ParseTreeAllocationInstantiationVisitor.java,v $ - * $Revision: 1.1 $ $Date: 2004/03/07 18:34:16 $ - */ -package org.eclipse.jem.internal.instantiation.base; - -import java.util.List; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.ParseVisitor; -import org.eclipse.jem.internal.proxy.core.*; -import org.eclipse.jem.internal.proxy.initParser.tree.IExpressionConstants; -import org.eclipse.jem.internal.proxy.initParser.tree.IExpressionConstants.NoExpressionValueException; - -/** - * This is the standard parse visitor for instantiating a bean proxy from a java parse tree allocation. - * It can be reused, but is not thread-safe. - * - * @since 1.0.0 - */ -public class ParseTreeAllocationInstantiationVisitor extends ParseVisitor { - - /** - * Registry for processing the expressions against. - */ - private ProxyFactoryRegistry registry; - - /** - * The expression that is being created and evaluated. - */ - private IExpression expression; - - /* - * The next expression type that should be used. It is used when one expression is sending the - * visitation to the next expression. It will set this to what that expression should be using. This - * is necessary because the next expression doesn't know what it should be. - */ - private int nextExpression = IExpression.ROOTEXPRESSION; - - /** - * An exception occurred during processing. It is a RuntimeException because - * it can be thrown at any time. It wrappers another exception. That exception - * can be retrieved from the cause of the ProcessingException. - * - * @see Throwable#getCause() - * @since 1.0.0 - */ - public static class ProcessingException extends RuntimeException { - - /** - * @param cause - * - * @since 1.0.0 - */ - public ProcessingException(Throwable cause) { - super(cause); - } - } - - static final int[] INFIXTOPROXY; - static { - INFIXTOPROXY = new int[PTInfixOperator.VALUES.size()]; - INFIXTOPROXY[PTInfixOperator.AND] = IExpressionConstants.IN_AND; - INFIXTOPROXY[PTInfixOperator.CONDITIONAL_AND] = IExpressionConstants.IN_CONDITIONAL_AND; - INFIXTOPROXY[PTInfixOperator.CONDITIONAL_OR] = IExpressionConstants.IN_CONDITIONAL_OR; - INFIXTOPROXY[PTInfixOperator.DIVIDE] = IExpressionConstants.IN_DIVIDE; - INFIXTOPROXY[PTInfixOperator.EQUALS] = IExpressionConstants.IN_EQUALS; - INFIXTOPROXY[PTInfixOperator.GREATER] = IExpressionConstants.IN_GREATER; - INFIXTOPROXY[PTInfixOperator.GREATER_EQUALS] = IExpressionConstants.IN_GREATER_EQUALS; - INFIXTOPROXY[PTInfixOperator.LEFT_SHIFT] = IExpressionConstants.IN_LEFT_SHIFT; - INFIXTOPROXY[PTInfixOperator.LESS] = IExpressionConstants.IN_LESS; - INFIXTOPROXY[PTInfixOperator.LESS_EQUALS] = IExpressionConstants.IN_LESS_EQUALS; - INFIXTOPROXY[PTInfixOperator.MINUS] = IExpressionConstants.IN_MINUS; - INFIXTOPROXY[PTInfixOperator.NOT_EQUALS] = IExpressionConstants.IN_NOT_EQUALS; - INFIXTOPROXY[PTInfixOperator.OR] = IExpressionConstants.IN_OR; - INFIXTOPROXY[PTInfixOperator.PLUS] = IExpressionConstants.IN_PLUS; - INFIXTOPROXY[PTInfixOperator.REMAINDER] = IExpressionConstants.IN_REMAINDER; - INFIXTOPROXY[PTInfixOperator.RIGHT_SHIFT_SIGNED] = IExpressionConstants.IN_RIGHT_SHIFT_SIGNED; - INFIXTOPROXY[PTInfixOperator.RIGHT_SHIFT_UNSIGNED] = IExpressionConstants.IN_RIGHT_SHIFT_UNSIGNED; - INFIXTOPROXY[PTInfixOperator.TIMES] = IExpressionConstants.IN_TIMES; - INFIXTOPROXY[PTInfixOperator.XOR] = IExpressionConstants.IN_XOR; - } - - /** - * A helper method to convert the parse tree's infix operator to the Proxy infix operator. - * - * @param operator - * @return - * - * @since 1.0.0 - */ - public static int convertPTInfixOperatorToProxyInfixOperator(PTInfixOperator operator) { - return INFIXTOPROXY[operator.getValue()]; - } - - static final int[] PREFIXTOPROXY; - static { - PREFIXTOPROXY = new int[PTPrefixOperator.VALUES.size()]; - PREFIXTOPROXY[PTPrefixOperator.COMPLEMENT] = IExpressionConstants.PRE_COMPLEMENT; - PREFIXTOPROXY[PTPrefixOperator.MINUS] = IExpressionConstants.PRE_MINUS; - PREFIXTOPROXY[PTPrefixOperator.NOT] = IExpressionConstants.PRE_NOT; - PREFIXTOPROXY[PTPrefixOperator.PLUS] = IExpressionConstants.PRE_PLUS; - } - - /** - * A helper method to convert the parse tree's prefix operator to the Proxy prefix operator. - * - * @param operator - * @return - * - * @since 1.0.0 - */ - public static int convertPTPrefixOperatorToProxyPrefixOperator(PTPrefixOperator operator) { - return PREFIXTOPROXY[operator.getValue()]; - } - - /** - * Create the visitor with the given registry. - * - * @param registry - * - * @since 1.0.0 - */ - public ParseTreeAllocationInstantiationVisitor() { - } - - /** - * Get the current registry. - * - * @return - * - * @since 1.0.0 - */ - protected final ProxyFactoryRegistry getRegistry() { - return registry; - } - - /** - * Get the current expression. - * - * @return - * - * @since 1.0.0 - */ - protected final IExpression getExpression() { - return expression; - } - - /** - * Get the beanproxy for the given expression and registry. - * - * @param expression - * @param registry - * @return - * @throws IllegalStateException - * @throws ThrowableProxy - * @throws NoExpressionValueException - * @throws ProcessingException - * - * @since 1.0.0 - */ - public IBeanProxy getBeanProxy(PTExpression expression, ProxyFactoryRegistry registry) throws IllegalStateException, IllegalArgumentException, ThrowableProxy, NoExpressionValueException, ProcessingException { - this.registry = registry; - this.expression = registry.getBeanProxyFactory().createExpression(); - setNextExpression(IExpression.ROOTEXPRESSION); - try { - expression.accept(this); - } catch (ProcessingException e) { - // Handle the most common that make sense to be know distinctly and throw them instead of ProcessingException. - Throwable t = e.getCause(); - if (t instanceof ThrowableProxy) - throw (ThrowableProxy) t; - else if (t instanceof NoExpressionValueException) - throw (NoExpressionValueException) t; - else - throw e; - } - - return getExpression().getExpressionValue(); - } - - /** - * Set the next expression type. (i.e. the <code>forExpression</code> field of most of the create expression methods. - * - * @param nextExpression - * - * @see IExpression#createInfixExpression(int, int, int) - * @since 1.0.0 - */ - protected final void setNextExpression(int nextExpression) { - this.nextExpression = nextExpression; - } - - /** - * Get the next expression type. (i.e. the <code>forExpression</code> field of most of the create expression methods. - * - * @return - * - * @see IExpression#createInfixExpression(int, int, int) - * @since 1.0.0 - */ - protected final int getNextExpression() { - return nextExpression; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTArrayAccess) - */ - public boolean visit(PTArrayAccess node) { - try { - getExpression().createArrayAccess(getNextExpression(), node.getIndexes().size()); - setNextExpression(IExpression.ARRAYACCESS_ARRAY); - node.getArray().accept(this); - List idx = node.getIndexes(); - int s = idx.size(); - for (int i = 0; i < s; i++) { - setNextExpression(IExpression.ARRAYACCESS_INDEX); - ((PTExpression) idx.get(i)).accept(this); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTArrayCreation) - */ - public boolean visit(PTArrayCreation node) { - try { - getExpression().createArrayCreation(getNextExpression(), node.getType(), node.getDimensions().size()); - if (node.getDimensions().isEmpty()) { - node.getInitializer().accept(this); // Array initializer doesn't require a next expression. - } else { - List dims = node.getDimensions(); - int s = dims.size(); - for (int i = 0; i < s; i++) { - setNextExpression(IExpression.ARRAYCREATION_DIMENSION); - ((PTExpression) dims.get(i)).accept(this); - } - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTArrayInitializer) - */ - public boolean visit(PTArrayInitializer node) { - try { - getExpression().createArrayInitializer(node.getExpressions().size()); - List exps = node.getExpressions(); - int s = exps.size(); - for (int i = 0; i < s; i++) { - setNextExpression(IExpression.ARRAYINITIALIZER_EXPRESSION); - ((PTExpression) exps.get(i)).accept(this); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTBooleanLiteral) - */ - public boolean visit(PTBooleanLiteral node) { - try { - getExpression().createPrimitiveLiteral(getNextExpression(), node.isBooleanValue()); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTCastExpression) - */ - public boolean visit(PTCastExpression node) { - try { - getExpression().createCastExpression(getNextExpression(), node.getType()); - setNextExpression(IExpression.CAST_EXPRESSION); - node.getExpression().accept(this); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTCharacterLiteral) - */ - public boolean visit(PTCharacterLiteral node) { - try { - getExpression().createPrimitiveLiteral(getNextExpression(), node.getCharValue()); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTClassInstanceCreation) - */ - public boolean visit(PTClassInstanceCreation node) { - try { - getExpression().createClassInstanceCreation(getNextExpression(), node.getType(), node.getArguments().size()); - List args = node.getArguments(); - int s = args.size(); - for (int i = 0; i < s; i++) { - setNextExpression(IExpression.CLASSINSTANCECREATION_ARGUMENT); - ((PTExpression) args.get(i)).accept(this); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTConditionalExpression) - */ - public boolean visit(PTConditionalExpression node) { - try { - getExpression().createConditionalExpression(getNextExpression()); - setNextExpression(IExpression.CONDITIONAL_CONDITION); - node.getCondition().accept(this); - setNextExpression(IExpression.CONDITIONAL_TRUE); - node.getTrue().accept(this); - setNextExpression(IExpression.CONDITIONAL_FALSE); - node.getFalse().accept(this); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTFieldAccess) - */ - public boolean visit(PTFieldAccess node) { - try { - getExpression().createFieldAccess(getNextExpression(), node.getField(), node.getReceiver() != null); - if (node.getReceiver() != null) { - setNextExpression(IExpression.FIELD_RECEIVER); - node.getReceiver().accept(this); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTInfixExpression) - */ - public boolean visit(PTInfixExpression node) { - try { - getExpression().createInfixExpression(getNextExpression(), convertPTInfixOperatorToProxyInfixOperator(node.getOperator()), node.getExtendedOperands().size()); - setNextExpression(IExpression.INFIX_LEFT); - node.getLeftOperand().accept(this); - setNextExpression(IExpression.INFIX_RIGHT); - node.getRightOperand().accept(this); - List extended = node.getExtendedOperands(); - int s = extended.size(); - for (int i = 0; i < s; i++) { - setNextExpression(IExpression.INFIX_EXTENDED); - ((PTExpression) extended.get(i)).accept(this); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTInstanceof) - */ - public boolean visit(PTInstanceof node) { - try { - getExpression().createInstanceofExpression(getNextExpression(), node.getType()); - setNextExpression(IExpression.INSTANCEOF_VALUE); - node.getOperand().accept(this); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTInvalidExpression) - */ - public boolean visit(PTInvalidExpression node) { - throw new IllegalArgumentException(node.getMessage()); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTMethodInvocation) - */ - public boolean visit(PTMethodInvocation node) { - try { - getExpression().createMethodInvocation(getNextExpression(), node.getName(), node.getReceiver() != null, node.getArguments().size()); - if (node.getReceiver() != null) { - setNextExpression(IExpression.METHOD_RECEIVER); - node.getReceiver().accept(this); - } - List args = node.getArguments(); - int s = args.size(); - for (int i = 0; i < s; i++) { - setNextExpression(IExpression.METHOD_ARGUMENT); - ((PTExpression) args.get(i)).accept(this); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTName) - */ - public boolean visit(PTName node) { - try { - // This is special in the PTName can only be used as a type receiver at this time. - getExpression().createTypeReceiver(node.getName()); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTNullLiteral) - */ - public boolean visit(PTNullLiteral node) { - try { - // This is special in the PTName can only be used as a type receiver at this time. - getExpression().createNull(getNextExpression()); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTNumberLiteral) - */ - public boolean visit(PTNumberLiteral node) { - try { - // It is assumed the tokens are trimmed. - String lit = node.getToken(); - char lastChar = lit.charAt(lit.length()-1); - if (lastChar == 'l' || lastChar == 'L' ) { - // It is definitely a long. - // Using decode so that things like 0x3 will be parsed. parseLong won't recognize those. - getExpression().createPrimitiveLiteral(getNextExpression(), Long.decode(lit.substring(0, lit.length()-1)).longValue()); - } else if (lastChar == 'F' || lastChar == 'f') { - // It is definitely a float. - getExpression().createPrimitiveLiteral(getNextExpression(), Float.parseFloat(lit.substring(0, lit.length()-1))); - } else if (lastChar == 'D' || lastChar == 'd') { - // It is definitely a double. - getExpression().createPrimitiveLiteral(getNextExpression(), Double.parseDouble(lit.substring(0, lit.length()-1))); - } else if (lit.indexOf('.') != -1 || lit.indexOf('e') != -1 || lit.indexOf('E') != -1) { - // It is definitely a double. (has a period or an exponent, but does not have an 'f' on the end is always a double). - getExpression().createPrimitiveLiteral(getNextExpression(), Double.parseDouble(lit.substring(0, lit.length()))); - } else { - // Using decode so that things like 0x3 will be parsed. parseInt won't recognize those. - getExpression().createPrimitiveLiteral(getNextExpression(), Integer.decode(lit).intValue()); - } - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTParenthesizedExpression) - */ - public boolean visit(PTParenthesizedExpression node) { - node.getExpression().accept(this); // For instantiation purposes, the parenthesis can be ignored. - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTPrefixExpression) - */ - public boolean visit(PTPrefixExpression node) { - try { - getExpression().createPrefixExpression(getNextExpression(), convertPTPrefixOperatorToProxyPrefixOperator(node.getOperator())); - setNextExpression(IExpression.PREFIX_OPERAND); - node.getExpression().accept(this); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTStringLiteral) - */ - public boolean visit(PTStringLiteral node) { - try { - getExpression().createProxyExpression(getNextExpression(), getRegistry().getBeanProxyFactory().createBeanProxyWith(node.getLiteralValue())); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTThisLiteral) - */ - public boolean visit(PTThisLiteral node) { - throw new IllegalArgumentException("Currently \"this\" is not supported"); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTTypeLiteral) - */ - public boolean visit(PTTypeLiteral node) { - try { - getExpression().createTypeLiteral(getNextExpression(), node.getType()); - } catch (ThrowableProxy e) { - throw new ProcessingException(e); - } catch (NoExpressionValueException e) { - throw new ProcessingException(e); - } - return false; - } - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/ImplicitAllocationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/ImplicitAllocationImpl.java deleted file mode 100644 index 2327b17..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/ImplicitAllocationImpl.java +++ /dev/null
@@ -1,225 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ImplicitAllocationImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/19 22:50:15 $ - */ - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.ImplicitAllocation; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Implicit Allocation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.ImplicitAllocationImpl#getParent <em>Parent</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.ImplicitAllocationImpl#getFeature <em>Feature</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ImplicitAllocationImpl extends JavaAllocationImpl implements ImplicitAllocation { - /** - * The cached value of the '{@link #getParent() <em>Parent</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParent() - * @generated - * @ordered - */ - protected EObject parent = null; - - /** - * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFeature() - * @generated - * @ordered - */ - protected EStructuralFeature feature = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ImplicitAllocationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getImplicitAllocation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject getParent() { - if (parent != null && parent.eIsProxy()) { - EObject oldParent = parent; - parent = (EObject)eResolveProxy((InternalEObject)parent); - if (parent != oldParent) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, InstantiationPackage.IMPLICIT_ALLOCATION__PARENT, oldParent, parent)); - } - } - return parent; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject basicGetParent() { - return parent; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParent(EObject newParent) { - EObject oldParent = parent; - parent = newParent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.IMPLICIT_ALLOCATION__PARENT, oldParent, parent)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EStructuralFeature getFeature() { - if (feature != null && feature.eIsProxy()) { - EStructuralFeature oldFeature = feature; - feature = (EStructuralFeature)eResolveProxy((InternalEObject)feature); - if (feature != oldFeature) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, InstantiationPackage.IMPLICIT_ALLOCATION__FEATURE, oldFeature, feature)); - } - } - return feature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EStructuralFeature basicGetFeature() { - return feature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFeature(EStructuralFeature newFeature) { - EStructuralFeature oldFeature = feature; - feature = newFeature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.IMPLICIT_ALLOCATION__FEATURE, oldFeature, feature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.IMPLICIT_ALLOCATION__PARENT: - if (resolve) return getParent(); - return basicGetParent(); - case InstantiationPackage.IMPLICIT_ALLOCATION__FEATURE: - if (resolve) return getFeature(); - return basicGetFeature(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.IMPLICIT_ALLOCATION__PARENT: - setParent((EObject)newValue); - return; - case InstantiationPackage.IMPLICIT_ALLOCATION__FEATURE: - setFeature((EStructuralFeature)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.IMPLICIT_ALLOCATION__PARENT: - setParent((EObject)null); - return; - case InstantiationPackage.IMPLICIT_ALLOCATION__FEATURE: - setFeature((EStructuralFeature)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.IMPLICIT_ALLOCATION__PARENT: - return parent != null; - case InstantiationPackage.IMPLICIT_ALLOCATION__FEATURE: - return feature != null; - } - return eDynamicIsSet(eFeature); - } - -} //ImplicitAllocationImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InitStringAllocationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InitStringAllocationImpl.java deleted file mode 100644 index be9d408..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InitStringAllocationImpl.java +++ /dev/null
@@ -1,169 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InitStringAllocationImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/19 22:50:15 $ - */ - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.InitStringAllocation; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Init String Allocation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.InitStringAllocationImpl#getInitString <em>Init String</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class InitStringAllocationImpl extends JavaAllocationImpl implements InitStringAllocation { - /** - * The default value of the '{@link #getInitString() <em>Init String</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitString() - * @generated - * @ordered - */ - protected static final String INIT_STRING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getInitString() <em>Init String</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitString() - * @generated - * @ordered - */ - protected String initString = INIT_STRING_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InitStringAllocationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getInitStringAllocation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getInitString() { - return initString; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInitString(String newInitString) { - String oldInitString = initString; - initString = newInitString; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.INIT_STRING_ALLOCATION__INIT_STRING, oldInitString, initString)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.INIT_STRING_ALLOCATION__INIT_STRING: - return getInitString(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.INIT_STRING_ALLOCATION__INIT_STRING: - setInitString((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.INIT_STRING_ALLOCATION__INIT_STRING: - setInitString(INIT_STRING_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.INIT_STRING_ALLOCATION__INIT_STRING: - return INIT_STRING_EDEFAULT == null ? initString != null : !INIT_STRING_EDEFAULT.equals(initString); - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (initString: "); - result.append(initString); - result.append(')'); - return result.toString(); - } - -} //InitStringAllocationImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InstantiationFactoryImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InstantiationFactoryImpl.java deleted file mode 100644 index d633723..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InstantiationFactoryImpl.java +++ /dev/null
@@ -1,607 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InstantiationFactoryImpl.java,v $ - * $Revision: 1.6 $ $Date: 2004/01/28 17:37:58 $ - */ - -import java.util.List; - -import org.eclipse.jem.internal.instantiation.*; - -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class InstantiationFactoryImpl extends EFactoryImpl implements InstantiationFactory { - /** - * Creates and instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstantiationFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case InstantiationPackage.INIT_STRING_ALLOCATION: return createInitStringAllocation(); - case InstantiationPackage.IMPLICIT_ALLOCATION: return createImplicitAllocation(); - case InstantiationPackage.PARSE_TREE_ALLOCATION: return createParseTreeAllocation(); - case InstantiationPackage.PT_ARRAY_ACCESS: return createPTArrayAccess(); - case InstantiationPackage.PT_ARRAY_CREATION: return createPTArrayCreation(); - case InstantiationPackage.PT_ARRAY_INITIALIZER: return createPTArrayInitializer(); - case InstantiationPackage.PT_BOOLEAN_LITERAL: return createPTBooleanLiteral(); - case InstantiationPackage.PT_CAST_EXPRESSION: return createPTCastExpression(); - case InstantiationPackage.PT_CHARACTER_LITERAL: return createPTCharacterLiteral(); - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION: return createPTClassInstanceCreation(); - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION: return createPTConditionalExpression(); - case InstantiationPackage.PT_FIELD_ACCESS: return createPTFieldAccess(); - case InstantiationPackage.PT_INFIX_EXPRESSION: return createPTInfixExpression(); - case InstantiationPackage.PT_INSTANCEOF: return createPTInstanceof(); - case InstantiationPackage.PT_METHOD_INVOCATION: return createPTMethodInvocation(); - case InstantiationPackage.PT_NAME: return createPTName(); - case InstantiationPackage.PT_NULL_LITERAL: return createPTNullLiteral(); - case InstantiationPackage.PT_NUMBER_LITERAL: return createPTNumberLiteral(); - case InstantiationPackage.PT_PARENTHESIZED_EXPRESSION: return createPTParenthesizedExpression(); - case InstantiationPackage.PT_PREFIX_EXPRESSION: return createPTPrefixExpression(); - case InstantiationPackage.PT_STRING_LITERAL: return createPTStringLiteral(); - case InstantiationPackage.PT_THIS_LITERAL: return createPTThisLiteral(); - case InstantiationPackage.PT_TYPE_LITERAL: return createPTTypeLiteral(); - case InstantiationPackage.PT_INVALID_EXPRESSION: return createPTInvalidExpression(); - case InstantiationPackage.PT_INSTANCE_REFERENCE: return createPTInstanceReference(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case InstantiationPackage.PT_INFIX_OPERATOR: - return PTInfixOperator.get(initialValue); - case InstantiationPackage.PT_PREFIX_OPERATOR: - return PTPrefixOperator.get(initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case InstantiationPackage.PT_INFIX_OPERATOR: - return instanceValue == null ? null : instanceValue.toString(); - case InstantiationPackage.PT_PREFIX_OPERATOR: - return instanceValue == null ? null : instanceValue.toString(); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InitStringAllocation createInitStringAllocation() { - InitStringAllocationImpl initStringAllocation = new InitStringAllocationImpl(); - return initStringAllocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ImplicitAllocation createImplicitAllocation() { - ImplicitAllocationImpl implicitAllocation = new ImplicitAllocationImpl(); - return implicitAllocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParseTreeAllocation createParseTreeAllocation() { - ParseTreeAllocationImpl parseTreeAllocation = new ParseTreeAllocationImpl(); - return parseTreeAllocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTArrayAccess createPTArrayAccess() { - PTArrayAccessImpl ptArrayAccess = new PTArrayAccessImpl(); - return ptArrayAccess; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTArrayCreation createPTArrayCreation() { - PTArrayCreationImpl ptArrayCreation = new PTArrayCreationImpl(); - return ptArrayCreation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTArrayInitializer createPTArrayInitializer() { - PTArrayInitializerImpl ptArrayInitializer = new PTArrayInitializerImpl(); - return ptArrayInitializer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTBooleanLiteral createPTBooleanLiteral() { - PTBooleanLiteralImpl ptBooleanLiteral = new PTBooleanLiteralImpl(); - return ptBooleanLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTCastExpression createPTCastExpression() { - PTCastExpressionImpl ptCastExpression = new PTCastExpressionImpl(); - return ptCastExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTCharacterLiteral createPTCharacterLiteral() { - PTCharacterLiteralImpl ptCharacterLiteral = new PTCharacterLiteralImpl(); - return ptCharacterLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTClassInstanceCreation createPTClassInstanceCreation() { - PTClassInstanceCreationImpl ptClassInstanceCreation = new PTClassInstanceCreationImpl(); - return ptClassInstanceCreation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTConditionalExpression createPTConditionalExpression() { - PTConditionalExpressionImpl ptConditionalExpression = new PTConditionalExpressionImpl(); - return ptConditionalExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTFieldAccess createPTFieldAccess() { - PTFieldAccessImpl ptFieldAccess = new PTFieldAccessImpl(); - return ptFieldAccess; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTInfixExpression createPTInfixExpression() { - PTInfixExpressionImpl ptInfixExpression = new PTInfixExpressionImpl(); - return ptInfixExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTInstanceof createPTInstanceof() { - PTInstanceofImpl ptInstanceof = new PTInstanceofImpl(); - return ptInstanceof; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTMethodInvocation createPTMethodInvocation() { - PTMethodInvocationImpl ptMethodInvocation = new PTMethodInvocationImpl(); - return ptMethodInvocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTName createPTName() { - PTNameImpl ptName = new PTNameImpl(); - return ptName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTNullLiteral createPTNullLiteral() { - PTNullLiteralImpl ptNullLiteral = new PTNullLiteralImpl(); - return ptNullLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTNumberLiteral createPTNumberLiteral() { - PTNumberLiteralImpl ptNumberLiteral = new PTNumberLiteralImpl(); - return ptNumberLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTParenthesizedExpression createPTParenthesizedExpression() { - PTParenthesizedExpressionImpl ptParenthesizedExpression = new PTParenthesizedExpressionImpl(); - return ptParenthesizedExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTPrefixExpression createPTPrefixExpression() { - PTPrefixExpressionImpl ptPrefixExpression = new PTPrefixExpressionImpl(); - return ptPrefixExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTStringLiteral createPTStringLiteral() { - PTStringLiteralImpl ptStringLiteral = new PTStringLiteralImpl(); - return ptStringLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTThisLiteral createPTThisLiteral() { - PTThisLiteralImpl ptThisLiteral = new PTThisLiteralImpl(); - return ptThisLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTTypeLiteral createPTTypeLiteral() { - PTTypeLiteralImpl ptTypeLiteral = new PTTypeLiteralImpl(); - return ptTypeLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTInvalidExpression createPTInvalidExpression() { - PTInvalidExpressionImpl ptInvalidExpression = new PTInvalidExpressionImpl(); - return ptInvalidExpression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTInstanceReference createPTInstanceReference() { - PTInstanceReferenceImpl ptInstanceReference = new PTInstanceReferenceImpl(); - return ptInstanceReference; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstantiationPackage getInstantiationPackage() { - return (InstantiationPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - public static InstantiationPackage getPackage() { - return InstantiationPackage.eINSTANCE; - } - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createImplicitAllocation(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature) - */ - public ImplicitAllocation createImplicitAllocation(EObject parent, EStructuralFeature sf) { - ImplicitAllocation alloc = createImplicitAllocation(); - alloc.setParent(parent); - alloc.setFeature(sf); - return alloc; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createInitStringAllocation(java.lang.String) - */ - public InitStringAllocation createInitStringAllocation(String initString) { - InitStringAllocation alloc = createInitStringAllocation(); - alloc.setInitString(initString); - return alloc; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createParseTreeAllocation(org.eclipse.jem.internal.instantiation.PTExpression) - */ - public ParseTreeAllocation createParseTreeAllocation(PTExpression expression) { - ParseTreeAllocation a = createParseTreeAllocation(); - a.setExpression(expression); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTArrayAccess(org.eclipse.jem.internal.instantiation.PTExpression, java.util.List) - */ - public PTArrayAccess createPTArrayAccess(PTExpression array, List indexes) { - PTArrayAccess a = createPTArrayAccess(); - a.setArray(array); - a.getIndexes().addAll(indexes); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTArrayCreation(java.lang.String, java.util.List, org.eclipse.jem.internal.instantiation.PTArrayInitializer) - */ - public PTArrayCreation createPTArrayCreation(String type, List dimensions, PTArrayInitializer initializer) { - PTArrayCreation a = createPTArrayCreation(); - a.setType(type); - if (dimensions != null) - a.getDimensions().addAll(dimensions); - a.setInitializer(initializer); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTArrayInitializer(java.util.List) - */ - public PTArrayInitializer createPTArrayInitializer(List expressions) { - PTArrayInitializer a = createPTArrayInitializer(); - if (expressions != null) - a.getExpressions().addAll(expressions); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTBooleanLiteral(boolean) - */ - public PTBooleanLiteral createPTBooleanLiteral(boolean booleanValue) { - PTBooleanLiteral a = createPTBooleanLiteral(); - a.setBooleanValue(booleanValue); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTCastExpression(java.lang.String, org.eclipse.jem.internal.instantiation.PTExpression) - */ - public PTCastExpression createPTCastExpression(String type, PTExpression expression) { - PTCastExpression a = createPTCastExpression(); - a.setType(type); - a.setExpression(expression); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTCharacterLiteral(java.lang.String) - */ - public PTCharacterLiteral createPTCharacterLiteral(String escapedValue) { - PTCharacterLiteral a = createPTCharacterLiteral(); - a.setEscapedValue(escapedValue); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTClassInstanceCreation(java.lang.String, java.util.List) - */ - public PTClassInstanceCreation createPTClassInstanceCreation(String type, List arguments) { - PTClassInstanceCreation a = createPTClassInstanceCreation(); - a.setType(type); - if (arguments != null) - a.getArguments().addAll(arguments); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTConditionalExpression(org.eclipse.jem.internal.instantiation.PTExpression, org.eclipse.jem.internal.instantiation.PTExpression, org.eclipse.jem.internal.instantiation.PTExpression) - */ - public PTConditionalExpression createPTConditionalExpression( - PTExpression condition, - PTExpression trueExpressoin, - PTExpression falseExpression) { - PTConditionalExpression a = createPTConditionalExpression(); - a.setCondition(condition); - a.setTrue(trueExpressoin); - a.setFalse(falseExpression); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTFieldAccess(org.eclipse.jem.internal.instantiation.PTExpression, java.lang.String) - */ - public PTFieldAccess createPTFieldAccess(PTExpression receiver, String field) { - PTFieldAccess a = createPTFieldAccess(); - a.setReceiver(receiver); - a.setField(field); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTInfixExpression(org.eclipse.jem.internal.instantiation.PTExpression, org.eclipse.jem.internal.instantiation.PTInfixOperator, org.eclipse.jem.internal.instantiation.PTExpression, java.util.List) - */ - public PTInfixExpression createPTInfixExpression( - PTExpression leftOperand, - PTInfixOperator operator, - PTExpression rightOperand, - List extendedOperands) { - PTInfixExpression a = createPTInfixExpression(); - a.setLeftOperand(leftOperand); - a.setOperator(operator); - a.setRightOperand(rightOperand); - if (extendedOperands != null) - a.getExtendedOperands().addAll(extendedOperands); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTInstanceof(org.eclipse.jem.internal.instantiation.PTExpression, java.lang.String) - */ - public PTInstanceof createPTInstanceof(PTExpression operand, String type) { - PTInstanceof a = createPTInstanceof(); - a.setOperand(operand); - a.setType(type); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTInvalidExpression(java.lang.String) - */ - public PTInvalidExpression createPTInvalidExpression(String message) { - PTInvalidExpression a = createPTInvalidExpression(); - a.setMessage(message); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTMethodInvocation(org.eclipse.jem.internal.instantiation.PTExpression, java.lang.String, java.util.List) - */ - public PTMethodInvocation createPTMethodInvocation(PTExpression receiver, String name, List arguments) { - PTMethodInvocation a = createPTMethodInvocation(); - a.setReceiver(receiver); - a.setName(name); - if (arguments != null) - a.getArguments().addAll(arguments); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTName(java.lang.String) - */ - public PTName createPTName(String name) { - PTName a = createPTName(); - a.setName(name); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTNumberLiteral(java.lang.String) - */ - public PTNumberLiteral createPTNumberLiteral(String token) { - PTNumberLiteral a = createPTNumberLiteral(); - a.setToken(token); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTParenthesizedExpression(org.eclipse.jem.internal.instantiation.PTExpression) - */ - public PTParenthesizedExpression createPTParenthesizedExpression(PTExpression expression) { - PTParenthesizedExpression a = createPTParenthesizedExpression(); - a.setExpression(expression); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTPrefixExpression(org.eclipse.jem.internal.instantiation.PTPrefixOperator, org.eclipse.jem.internal.instantiation.PTExpression) - */ - public PTPrefixExpression createPTPrefixExpression(PTPrefixOperator operator, PTExpression expression) { - PTPrefixExpression a = createPTPrefixExpression(); - a.setOperator(operator); - a.setExpression(expression); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTStringLiteral(java.lang.String) - */ - public PTStringLiteral createPTStringLiteral(String escapeLiteral) { - PTStringLiteral a = createPTStringLiteral(); - a.setEscapedValue(escapeLiteral); - return a; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.InstantiationFactory#createPTTypeLiteral(java.lang.String) - */ - public PTTypeLiteral createPTTypeLiteral(String type) { - PTTypeLiteral a = createPTTypeLiteral(); - a.setType(type); - return a; - } - -} //InstantiationFactoryImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InstantiationPackageImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InstantiationPackageImpl.java deleted file mode 100644 index 8f150a1..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/InstantiationPackageImpl.java +++ /dev/null
@@ -1,1346 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InstantiationPackageImpl.java,v $ - * $Revision: 1.7 $ $Date: 2004/02/03 23:18:28 $ - */ - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.emf.ecore.impl.EcorePackageImpl; - -import org.eclipse.jem.internal.instantiation.PTArrayAccess; -import org.eclipse.jem.internal.instantiation.PTArrayCreation; -import org.eclipse.jem.internal.instantiation.PTArrayInitializer; -import org.eclipse.jem.internal.instantiation.PTBooleanLiteral; -import org.eclipse.jem.internal.instantiation.PTCastExpression; -import org.eclipse.jem.internal.instantiation.PTCharacterLiteral; -import org.eclipse.jem.internal.instantiation.PTClassInstanceCreation; -import org.eclipse.jem.internal.instantiation.PTConditionalExpression; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.PTFieldAccess; -import org.eclipse.jem.internal.instantiation.ImplicitAllocation; -import org.eclipse.jem.internal.instantiation.PTInfixExpression; -import org.eclipse.jem.internal.instantiation.PTInfixOperator; -import org.eclipse.jem.internal.instantiation.PTInstanceReference; -import org.eclipse.jem.internal.instantiation.InitStringAllocation; -import org.eclipse.jem.internal.instantiation.PTInstanceof; -import org.eclipse.jem.internal.instantiation.InstantiationFactory; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTInvalidExpression; -import org.eclipse.jem.internal.instantiation.JavaAllocation; - -import org.eclipse.jem.internal.instantiation.PTMethodInvocation; -import org.eclipse.jem.internal.instantiation.PTName; -import org.eclipse.jem.internal.instantiation.PTNullLiteral; -import org.eclipse.jem.internal.instantiation.PTNumberLiteral; -import org.eclipse.jem.internal.instantiation.PTParenthesizedExpression; -import org.eclipse.jem.internal.instantiation.ParseTreeAllocation; - -import org.eclipse.jem.internal.instantiation.PTPrefixExpression; -import org.eclipse.jem.internal.instantiation.PTPrefixOperator; -import org.eclipse.jem.internal.instantiation.PTStringLiteral; -import org.eclipse.jem.internal.instantiation.PTThisLiteral; -import org.eclipse.jem.internal.instantiation.PTTypeLiteral; - -import org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance; -import org.eclipse.jem.internal.instantiation.base.IJavaInstance; -import org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class InstantiationPackageImpl extends EPackageImpl implements InstantiationPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass iJavaDataTypeInstanceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass iJavaObjectInstanceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaAllocationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass initStringAllocationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass implicitAllocationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass parseTreeAllocationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptArrayAccessEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptArrayCreationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptArrayInitializerEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptBooleanLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptCastExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptCharacterLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptClassInstanceCreationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptConditionalExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptFieldAccessEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptInfixExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptInstanceofEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptMethodInvocationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptNullLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptNumberLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptParenthesizedExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptPrefixExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptStringLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptThisLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptTypeLiteralEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptInvalidExpressionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ptInstanceReferenceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum ptInfixOperatorEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum ptPrefixOperatorEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass iJavaInstanceEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.jem.internal.instantiation.InstantiationPackage#eNS_URI - * @see #init() - * @generated - */ - private InstantiationPackageImpl() { - super(eNS_URI, InstantiationFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - * <p>Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - * <p>Invocation of this method will not affect any packages that have - * already been initialized. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static InstantiationPackage init() { - if (isInited) return (InstantiationPackage)EPackage.Registry.INSTANCE.get(InstantiationPackage.eNS_URI); - - // Obtain or create and register package. - InstantiationPackageImpl theInstantiationPackage = (InstantiationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new InstantiationPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackageImpl.init(); - - // Obtain or create and register interdependencies - - // Step 1: create meta-model objects - theInstantiationPackage.createPackageContents(); - - // Step 2: complete initialization - theInstantiationPackage.initializePackageContents(); - - return theInstantiationPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIJavaObjectInstance() { - return iJavaObjectInstanceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJavaAllocation() { - return javaAllocationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInitStringAllocation() { - return initStringAllocationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInitStringAllocation_InitString() { - return (EAttribute)initStringAllocationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getImplicitAllocation() { - return implicitAllocationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImplicitAllocation_Parent() { - return (EReference)implicitAllocationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImplicitAllocation_Feature() { - return (EReference)implicitAllocationEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getParseTreeAllocation() { - return parseTreeAllocationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getParseTreeAllocation_Expression() { - return (EReference)parseTreeAllocationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTExpression() { - return ptExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTArrayAccess() { - return ptArrayAccessEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTArrayAccess_Array() { - return (EReference)ptArrayAccessEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTArrayAccess_Indexes() { - return (EReference)ptArrayAccessEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTArrayCreation() { - return ptArrayCreationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTArrayCreation_Type() { - return (EAttribute)ptArrayCreationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTArrayCreation_Dimensions() { - return (EReference)ptArrayCreationEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTArrayCreation_Initializer() { - return (EReference)ptArrayCreationEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTArrayInitializer() { - return ptArrayInitializerEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTArrayInitializer_Expressions() { - return (EReference)ptArrayInitializerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTBooleanLiteral() { - return ptBooleanLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTBooleanLiteral_BooleanValue() { - return (EAttribute)ptBooleanLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTCastExpression() { - return ptCastExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTCastExpression_Type() { - return (EAttribute)ptCastExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTCastExpression_Expression() { - return (EReference)ptCastExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTCharacterLiteral() { - return ptCharacterLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTCharacterLiteral_EscapedValue() { - return (EAttribute)ptCharacterLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTCharacterLiteral_CharValue() { - return (EAttribute)ptCharacterLiteralEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTClassInstanceCreation() { - return ptClassInstanceCreationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTClassInstanceCreation_Type() { - return (EAttribute)ptClassInstanceCreationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTClassInstanceCreation_Arguments() { - return (EReference)ptClassInstanceCreationEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTConditionalExpression() { - return ptConditionalExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTConditionalExpression_Condition() { - return (EReference)ptConditionalExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTConditionalExpression_True() { - return (EReference)ptConditionalExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTConditionalExpression_False() { - return (EReference)ptConditionalExpressionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTFieldAccess() { - return ptFieldAccessEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTFieldAccess_Receiver() { - return (EReference)ptFieldAccessEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTFieldAccess_Field() { - return (EAttribute)ptFieldAccessEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTInfixExpression() { - return ptInfixExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTInfixExpression_LeftOperand() { - return (EReference)ptInfixExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTInfixExpression_Operator() { - return (EAttribute)ptInfixExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTInfixExpression_RightOperand() { - return (EReference)ptInfixExpressionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTInfixExpression_ExtendedOperands() { - return (EReference)ptInfixExpressionEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTInstanceof() { - return ptInstanceofEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTInstanceof_Operand() { - return (EReference)ptInstanceofEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTInstanceof_Type() { - return (EAttribute)ptInstanceofEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTMethodInvocation() { - return ptMethodInvocationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTMethodInvocation_Receiver() { - return (EReference)ptMethodInvocationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTMethodInvocation_Name() { - return (EAttribute)ptMethodInvocationEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTMethodInvocation_Arguments() { - return (EReference)ptMethodInvocationEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTName() { - return ptNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTName_Name() { - return (EAttribute)ptNameEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTNullLiteral() { - return ptNullLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTNumberLiteral() { - return ptNumberLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTNumberLiteral_Token() { - return (EAttribute)ptNumberLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTParenthesizedExpression() { - return ptParenthesizedExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTParenthesizedExpression_Expression() { - return (EReference)ptParenthesizedExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTPrefixExpression() { - return ptPrefixExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTPrefixExpression_Operator() { - return (EAttribute)ptPrefixExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTPrefixExpression_Expression() { - return (EReference)ptPrefixExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTStringLiteral() { - return ptStringLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTStringLiteral_EscapedValue() { - return (EAttribute)ptStringLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTStringLiteral_LiteralValue() { - return (EAttribute)ptStringLiteralEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTThisLiteral() { - return ptThisLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTTypeLiteral() { - return ptTypeLiteralEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTTypeLiteral_Type() { - return (EAttribute)ptTypeLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTInvalidExpression() { - return ptInvalidExpressionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPTInvalidExpression_Message() { - return (EAttribute)ptInvalidExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPTInstanceReference() { - return ptInstanceReferenceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPTInstanceReference_Object() { - return (EReference)ptInstanceReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getPTInfixOperator() { - return ptInfixOperatorEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getPTPrefixOperator() { - return ptPrefixOperatorEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIJavaDataTypeInstance() { - return iJavaDataTypeInstanceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIJavaInstance() { - return iJavaInstanceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstantiationFactory getInstantiationFactory() { - return (InstantiationFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - iJavaDataTypeInstanceEClass = createEClass(IJAVA_DATA_TYPE_INSTANCE); - - iJavaInstanceEClass = createEClass(IJAVA_INSTANCE); - - iJavaObjectInstanceEClass = createEClass(IJAVA_OBJECT_INSTANCE); - - javaAllocationEClass = createEClass(JAVA_ALLOCATION); - - initStringAllocationEClass = createEClass(INIT_STRING_ALLOCATION); - createEAttribute(initStringAllocationEClass, INIT_STRING_ALLOCATION__INIT_STRING); - - implicitAllocationEClass = createEClass(IMPLICIT_ALLOCATION); - createEReference(implicitAllocationEClass, IMPLICIT_ALLOCATION__PARENT); - createEReference(implicitAllocationEClass, IMPLICIT_ALLOCATION__FEATURE); - - parseTreeAllocationEClass = createEClass(PARSE_TREE_ALLOCATION); - createEReference(parseTreeAllocationEClass, PARSE_TREE_ALLOCATION__EXPRESSION); - - ptExpressionEClass = createEClass(PT_EXPRESSION); - - ptArrayAccessEClass = createEClass(PT_ARRAY_ACCESS); - createEReference(ptArrayAccessEClass, PT_ARRAY_ACCESS__ARRAY); - createEReference(ptArrayAccessEClass, PT_ARRAY_ACCESS__INDEXES); - - ptArrayCreationEClass = createEClass(PT_ARRAY_CREATION); - createEAttribute(ptArrayCreationEClass, PT_ARRAY_CREATION__TYPE); - createEReference(ptArrayCreationEClass, PT_ARRAY_CREATION__DIMENSIONS); - createEReference(ptArrayCreationEClass, PT_ARRAY_CREATION__INITIALIZER); - - ptArrayInitializerEClass = createEClass(PT_ARRAY_INITIALIZER); - createEReference(ptArrayInitializerEClass, PT_ARRAY_INITIALIZER__EXPRESSIONS); - - ptBooleanLiteralEClass = createEClass(PT_BOOLEAN_LITERAL); - createEAttribute(ptBooleanLiteralEClass, PT_BOOLEAN_LITERAL__BOOLEAN_VALUE); - - ptCastExpressionEClass = createEClass(PT_CAST_EXPRESSION); - createEAttribute(ptCastExpressionEClass, PT_CAST_EXPRESSION__TYPE); - createEReference(ptCastExpressionEClass, PT_CAST_EXPRESSION__EXPRESSION); - - ptCharacterLiteralEClass = createEClass(PT_CHARACTER_LITERAL); - createEAttribute(ptCharacterLiteralEClass, PT_CHARACTER_LITERAL__ESCAPED_VALUE); - createEAttribute(ptCharacterLiteralEClass, PT_CHARACTER_LITERAL__CHAR_VALUE); - - ptClassInstanceCreationEClass = createEClass(PT_CLASS_INSTANCE_CREATION); - createEAttribute(ptClassInstanceCreationEClass, PT_CLASS_INSTANCE_CREATION__TYPE); - createEReference(ptClassInstanceCreationEClass, PT_CLASS_INSTANCE_CREATION__ARGUMENTS); - - ptConditionalExpressionEClass = createEClass(PT_CONDITIONAL_EXPRESSION); - createEReference(ptConditionalExpressionEClass, PT_CONDITIONAL_EXPRESSION__CONDITION); - createEReference(ptConditionalExpressionEClass, PT_CONDITIONAL_EXPRESSION__TRUE); - createEReference(ptConditionalExpressionEClass, PT_CONDITIONAL_EXPRESSION__FALSE); - - ptFieldAccessEClass = createEClass(PT_FIELD_ACCESS); - createEReference(ptFieldAccessEClass, PT_FIELD_ACCESS__RECEIVER); - createEAttribute(ptFieldAccessEClass, PT_FIELD_ACCESS__FIELD); - - ptInfixExpressionEClass = createEClass(PT_INFIX_EXPRESSION); - createEReference(ptInfixExpressionEClass, PT_INFIX_EXPRESSION__LEFT_OPERAND); - createEAttribute(ptInfixExpressionEClass, PT_INFIX_EXPRESSION__OPERATOR); - createEReference(ptInfixExpressionEClass, PT_INFIX_EXPRESSION__RIGHT_OPERAND); - createEReference(ptInfixExpressionEClass, PT_INFIX_EXPRESSION__EXTENDED_OPERANDS); - - ptInstanceofEClass = createEClass(PT_INSTANCEOF); - createEReference(ptInstanceofEClass, PT_INSTANCEOF__OPERAND); - createEAttribute(ptInstanceofEClass, PT_INSTANCEOF__TYPE); - - ptMethodInvocationEClass = createEClass(PT_METHOD_INVOCATION); - createEReference(ptMethodInvocationEClass, PT_METHOD_INVOCATION__RECEIVER); - createEAttribute(ptMethodInvocationEClass, PT_METHOD_INVOCATION__NAME); - createEReference(ptMethodInvocationEClass, PT_METHOD_INVOCATION__ARGUMENTS); - - ptNameEClass = createEClass(PT_NAME); - createEAttribute(ptNameEClass, PT_NAME__NAME); - - ptNullLiteralEClass = createEClass(PT_NULL_LITERAL); - - ptNumberLiteralEClass = createEClass(PT_NUMBER_LITERAL); - createEAttribute(ptNumberLiteralEClass, PT_NUMBER_LITERAL__TOKEN); - - ptParenthesizedExpressionEClass = createEClass(PT_PARENTHESIZED_EXPRESSION); - createEReference(ptParenthesizedExpressionEClass, PT_PARENTHESIZED_EXPRESSION__EXPRESSION); - - ptPrefixExpressionEClass = createEClass(PT_PREFIX_EXPRESSION); - createEAttribute(ptPrefixExpressionEClass, PT_PREFIX_EXPRESSION__OPERATOR); - createEReference(ptPrefixExpressionEClass, PT_PREFIX_EXPRESSION__EXPRESSION); - - ptStringLiteralEClass = createEClass(PT_STRING_LITERAL); - createEAttribute(ptStringLiteralEClass, PT_STRING_LITERAL__ESCAPED_VALUE); - createEAttribute(ptStringLiteralEClass, PT_STRING_LITERAL__LITERAL_VALUE); - - ptThisLiteralEClass = createEClass(PT_THIS_LITERAL); - - ptTypeLiteralEClass = createEClass(PT_TYPE_LITERAL); - createEAttribute(ptTypeLiteralEClass, PT_TYPE_LITERAL__TYPE); - - ptInvalidExpressionEClass = createEClass(PT_INVALID_EXPRESSION); - createEAttribute(ptInvalidExpressionEClass, PT_INVALID_EXPRESSION__MESSAGE); - - ptInstanceReferenceEClass = createEClass(PT_INSTANCE_REFERENCE); - createEReference(ptInstanceReferenceEClass, PT_INSTANCE_REFERENCE__OBJECT); - - // Create enums - ptInfixOperatorEEnum = createEEnum(PT_INFIX_OPERATOR); - ptPrefixOperatorEEnum = createEEnum(PT_PREFIX_OPERATOR); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - - // Add supertypes to classes - iJavaDataTypeInstanceEClass.getESuperTypes().add(this.getIJavaInstance()); - iJavaObjectInstanceEClass.getESuperTypes().add(this.getIJavaInstance()); - initStringAllocationEClass.getESuperTypes().add(this.getJavaAllocation()); - implicitAllocationEClass.getESuperTypes().add(this.getJavaAllocation()); - parseTreeAllocationEClass.getESuperTypes().add(this.getJavaAllocation()); - ptArrayAccessEClass.getESuperTypes().add(this.getPTExpression()); - ptArrayCreationEClass.getESuperTypes().add(this.getPTExpression()); - ptArrayInitializerEClass.getESuperTypes().add(this.getPTExpression()); - ptBooleanLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptCastExpressionEClass.getESuperTypes().add(this.getPTExpression()); - ptCharacterLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptClassInstanceCreationEClass.getESuperTypes().add(this.getPTExpression()); - ptConditionalExpressionEClass.getESuperTypes().add(this.getPTExpression()); - ptFieldAccessEClass.getESuperTypes().add(this.getPTExpression()); - ptInfixExpressionEClass.getESuperTypes().add(this.getPTExpression()); - ptInstanceofEClass.getESuperTypes().add(this.getPTExpression()); - ptMethodInvocationEClass.getESuperTypes().add(this.getPTExpression()); - ptNameEClass.getESuperTypes().add(this.getPTExpression()); - ptNullLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptNumberLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptParenthesizedExpressionEClass.getESuperTypes().add(this.getPTExpression()); - ptPrefixExpressionEClass.getESuperTypes().add(this.getPTExpression()); - ptStringLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptThisLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptTypeLiteralEClass.getESuperTypes().add(this.getPTExpression()); - ptInvalidExpressionEClass.getESuperTypes().add(this.getPTExpression()); - ptInstanceReferenceEClass.getESuperTypes().add(this.getPTExpression()); - - // Initialize classes and features; add operations and parameters - initEClass(iJavaDataTypeInstanceEClass, IJavaDataTypeInstance.class, "IJavaDataTypeInstance", IS_ABSTRACT, IS_INTERFACE); - - initEClass(iJavaInstanceEClass, IJavaInstance.class, "IJavaInstance", IS_ABSTRACT, IS_INTERFACE); - - initEClass(iJavaObjectInstanceEClass, IJavaObjectInstance.class, "IJavaObjectInstance", IS_ABSTRACT, IS_INTERFACE); - - initEClass(javaAllocationEClass, JavaAllocation.class, "JavaAllocation", IS_ABSTRACT, !IS_INTERFACE); - - initEClass(initStringAllocationEClass, InitStringAllocation.class, "InitStringAllocation", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getInitStringAllocation_InitString(), ecorePackage.getEString(), "initString", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(implicitAllocationEClass, ImplicitAllocation.class, "ImplicitAllocation", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getImplicitAllocation_Parent(), theEcorePackage.getEObject(), null, "parent", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getImplicitAllocation_Feature(), theEcorePackage.getEStructuralFeature(), null, "feature", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(parseTreeAllocationEClass, ParseTreeAllocation.class, "ParseTreeAllocation", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getParseTreeAllocation_Expression(), this.getPTExpression(), null, "expression", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptExpressionEClass, PTExpression.class, "PTExpression", IS_ABSTRACT, !IS_INTERFACE); - - initEClass(ptArrayAccessEClass, PTArrayAccess.class, "PTArrayAccess", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTArrayAccess_Array(), this.getPTExpression(), null, "array", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTArrayAccess_Indexes(), this.getPTExpression(), null, "indexes", null, 1, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptArrayCreationEClass, PTArrayCreation.class, "PTArrayCreation", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTArrayCreation_Type(), ecorePackage.getEString(), "type", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTArrayCreation_Dimensions(), this.getPTExpression(), null, "dimensions", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTArrayCreation_Initializer(), this.getPTArrayInitializer(), null, "initializer", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptArrayInitializerEClass, PTArrayInitializer.class, "PTArrayInitializer", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTArrayInitializer_Expressions(), this.getPTExpression(), null, "expressions", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptBooleanLiteralEClass, PTBooleanLiteral.class, "PTBooleanLiteral", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTBooleanLiteral_BooleanValue(), ecorePackage.getEBoolean(), "booleanValue", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptCastExpressionEClass, PTCastExpression.class, "PTCastExpression", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTCastExpression_Type(), ecorePackage.getEString(), "type", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTCastExpression_Expression(), this.getPTExpression(), null, "expression", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptCharacterLiteralEClass, PTCharacterLiteral.class, "PTCharacterLiteral", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTCharacterLiteral_EscapedValue(), ecorePackage.getEString(), "escapedValue", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getPTCharacterLiteral_CharValue(), ecorePackage.getEChar(), "charValue", null, 0, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptClassInstanceCreationEClass, PTClassInstanceCreation.class, "PTClassInstanceCreation", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTClassInstanceCreation_Type(), ecorePackage.getEString(), "type", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTClassInstanceCreation_Arguments(), this.getPTExpression(), null, "arguments", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptConditionalExpressionEClass, PTConditionalExpression.class, "PTConditionalExpression", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTConditionalExpression_Condition(), this.getPTExpression(), null, "condition", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTConditionalExpression_True(), this.getPTExpression(), null, "true", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTConditionalExpression_False(), this.getPTExpression(), null, "false", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptFieldAccessEClass, PTFieldAccess.class, "PTFieldAccess", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTFieldAccess_Receiver(), this.getPTExpression(), null, "receiver", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getPTFieldAccess_Field(), ecorePackage.getEString(), "field", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptInfixExpressionEClass, PTInfixExpression.class, "PTInfixExpression", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTInfixExpression_LeftOperand(), this.getPTExpression(), null, "leftOperand", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getPTInfixExpression_Operator(), this.getPTInfixOperator(), "operator", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTInfixExpression_RightOperand(), this.getPTExpression(), null, "rightOperand", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTInfixExpression_ExtendedOperands(), this.getPTExpression(), null, "extendedOperands", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptInstanceofEClass, PTInstanceof.class, "PTInstanceof", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTInstanceof_Operand(), this.getPTExpression(), null, "operand", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getPTInstanceof_Type(), ecorePackage.getEString(), "type", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptMethodInvocationEClass, PTMethodInvocation.class, "PTMethodInvocation", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTMethodInvocation_Receiver(), this.getPTExpression(), null, "receiver", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getPTMethodInvocation_Name(), ecorePackage.getEString(), "name", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTMethodInvocation_Arguments(), this.getPTExpression(), null, "arguments", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptNameEClass, PTName.class, "PTName", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTName_Name(), ecorePackage.getEString(), "name", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptNullLiteralEClass, PTNullLiteral.class, "PTNullLiteral", !IS_ABSTRACT, !IS_INTERFACE); - - initEClass(ptNumberLiteralEClass, PTNumberLiteral.class, "PTNumberLiteral", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTNumberLiteral_Token(), ecorePackage.getEString(), "token", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptParenthesizedExpressionEClass, PTParenthesizedExpression.class, "PTParenthesizedExpression", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTParenthesizedExpression_Expression(), this.getPTExpression(), null, "expression", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptPrefixExpressionEClass, PTPrefixExpression.class, "PTPrefixExpression", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTPrefixExpression_Operator(), this.getPTPrefixOperator(), "operator", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getPTPrefixExpression_Expression(), this.getPTExpression(), null, "expression", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptStringLiteralEClass, PTStringLiteral.class, "PTStringLiteral", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTStringLiteral_EscapedValue(), ecorePackage.getEString(), "escapedValue", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getPTStringLiteral_LiteralValue(), ecorePackage.getEString(), "literalValue", null, 0, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptThisLiteralEClass, PTThisLiteral.class, "PTThisLiteral", !IS_ABSTRACT, !IS_INTERFACE); - - initEClass(ptTypeLiteralEClass, PTTypeLiteral.class, "PTTypeLiteral", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTTypeLiteral_Type(), ecorePackage.getEString(), "type", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptInvalidExpressionEClass, PTInvalidExpression.class, "PTInvalidExpression", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getPTInvalidExpression_Message(), ecorePackage.getEString(), "message", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - initEClass(ptInstanceReferenceEClass, PTInstanceReference.class, "PTInstanceReference", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getPTInstanceReference_Object(), this.getIJavaObjectInstance(), null, "object", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - // Initialize enums and add enum literals - initEEnum(ptInfixOperatorEEnum, PTInfixOperator.class, "PTInfixOperator"); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.TIMES_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.DIVIDE_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.REMAINDER_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.PLUS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.MINUS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.LEFT_SHIFT_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.RIGHT_SHIFT_SIGNED_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.RIGHT_SHIFT_UNSIGNED_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.LESS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.GREATER_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.LESS_EQUALS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.GREATER_EQUALS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.EQUALS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.NOT_EQUALS_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.XOR_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.AND_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.OR_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.CONDITIONAL_AND_LITERAL); - addEEnumLiteral(ptInfixOperatorEEnum, PTInfixOperator.CONDITIONAL_OR_LITERAL); - - initEEnum(ptPrefixOperatorEEnum, PTPrefixOperator.class, "PTPrefixOperator"); - addEEnumLiteral(ptPrefixOperatorEEnum, PTPrefixOperator.PLUS_LITERAL); - addEEnumLiteral(ptPrefixOperatorEEnum, PTPrefixOperator.MINUS_LITERAL); - addEEnumLiteral(ptPrefixOperatorEEnum, PTPrefixOperator.COMPLEMENT_LITERAL); - addEEnumLiteral(ptPrefixOperatorEEnum, PTPrefixOperator.NOT_LITERAL); - - // Create resource - createResource(eNS_URI); - } -} //InstantiationPackageImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/JavaAllocationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/JavaAllocationImpl.java deleted file mode 100644 index 12e27c8..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/JavaAllocationImpl.java +++ /dev/null
@@ -1,53 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaAllocationImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/19 22:50:15 $ - */ - - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.JavaAllocation; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java Allocation</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public abstract class JavaAllocationImpl extends EObjectImpl implements JavaAllocation { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaAllocationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getJavaAllocation(); - } - -} //JavaAllocationImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/NaiveExpressionFlattener.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/NaiveExpressionFlattener.java deleted file mode 100644 index c325b1e..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/NaiveExpressionFlattener.java +++ /dev/null
@@ -1,313 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: NaiveExpressionFlattener.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/03 22:26:27 $ - */ -package org.eclipse.jem.internal.instantiation.impl; - -import java.util.List; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTArrayAccess; -import org.eclipse.jem.internal.instantiation.ParseVisitor; - -/** - * This naively flattens the ParseTree. It just works with what's there. - * - * @since 1.0.0 - */ -public class NaiveExpressionFlattener extends ParseVisitor { - - private StringBuffer buffer = new StringBuffer(100); - - protected final StringBuffer getStringBuffer() { - return buffer; - } - - /** - * Return the string result of the flattening. - * @return The flattened string. - * - * @since 1.0.0 - */ - public String getResult() { - return buffer.toString(); - } - - /** - * Reset the result so that flattener can be used again. - * - * @since 1.0.0 - */ - public void reset() { - buffer.setLength(0); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTArrayAccess) - */ - public boolean visit(PTArrayAccess node) { - node.getArray().accept(this); - if (!node.getIndexes().isEmpty()) { - List indexes = node.getIndexes(); - for (int i = 0; i < indexes.size(); i++) { - buffer.append('['); - ((PTExpression) indexes.get(i)).accept(this); - buffer.append(']'); - } - } - return false; - - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTArrayCreation) - */ - public boolean visit(PTArrayCreation node) { - String type = node.getType(); - buffer.append("new "); - int ob = type.indexOf('['); - buffer.append(type.substring(0, ob)); - int realdims = 0; - while (ob != -1) { - realdims++; - ob = type.indexOf('[',ob+1); - } - List dims = node.getDimensions(); - for (int i = 0; i < dims.size(); i++) { - buffer.append('['); - ((PTExpression) dims.get(i)).accept(this); - buffer.append(']'); - } - for (int i=dims.size(); i < realdims; i++) { - buffer.append("[]"); - } - - if (node.getInitializer() != null) { - buffer.append(' '); - ((PTExpression) node.getInitializer()).accept(this); - } - - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTArrayInitializer) - */ - public boolean visit(PTArrayInitializer node) { - buffer.append('{'); - List exp = node.getExpressions(); - for (int i = 0; i < exp.size(); i++) { - if (i != 0) - buffer.append(','); - ((PTExpression) exp.get(i)).accept(this); - } - buffer.append('}'); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTBooleanLiteral) - */ - public boolean visit(PTBooleanLiteral node) { - buffer.append(node.isBooleanValue() ? "true" : "false"); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTCastExpression) - */ - public boolean visit(PTCastExpression node) { - buffer.append('('); - buffer.append(node.getType()); - buffer.append(") "); - node.getExpression().accept(this); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTCharacterLiteral) - */ - public boolean visit(PTCharacterLiteral node) { - buffer.append(node.getEscapedValue()); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTClassInstanceCreation) - */ - public boolean visit(PTClassInstanceCreation node) { - buffer.append("new "); - buffer.append(node.getType()); - buffer.append('('); - List args = node.getArguments(); - for (int i = 0; i < args.size(); i++) { - if (i != 0) - buffer.append(','); - ((PTExpression) args.get(i)).accept(this); - } - buffer.append(')'); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTConditionalExpression) - */ - public boolean visit(PTConditionalExpression node) { - node.getCondition().accept(this); - buffer.append(" ? "); - node.getTrue().accept(this); - buffer.append(" : "); - node.getFalse().accept(this); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTFieldAccess) - */ - public boolean visit(PTFieldAccess node) { - node.getReceiver().accept(this); - buffer.append('.'); - buffer.append(node.getField()); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTInfixExpression) - */ - public boolean visit(PTInfixExpression node) { - node.getLeftOperand().accept(this); - buffer.append(' '); - String oper = node.getOperator().getOperator(); - buffer.append(oper); - buffer.append(' '); - node.getRightOperand().accept(this); - List ext = node.getExtendedOperands(); - for (int i = 0; i < ext.size(); i++) { - buffer.append(' '); - buffer.append(oper); - buffer.append(' '); - ((PTExpression) ext.get(i)).accept(this); - } - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTInstanceof) - */ - public boolean visit(PTInstanceof node) { - node.getOperand().accept(this); - buffer.append(" instanceof "); - buffer.append(node.getType()); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTInvalidExpression) - */ - public boolean visit(PTInvalidExpression node) { - buffer.append(" invalid: \""); - buffer.append(node.getMessage()); - buffer.append("\""); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTMethodInvocation) - */ - public boolean visit(PTMethodInvocation node) { - if (node.getReceiver() != null) { - node.getReceiver().accept(this); - buffer.append('.'); - } - - buffer.append(node.getName()); - buffer.append('('); - List args = node.getArguments(); - for (int i = 0; i < args.size(); i++) { - if (i != 0) - buffer.append(','); - ((PTExpression) args.get(i)).accept(this); - } - buffer.append(')'); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTName) - */ - public boolean visit(PTName node) { - buffer.append(node.getName()); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTNullLiteral) - */ - public boolean visit(PTNullLiteral node) { - buffer.append("null"); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTNumberLiteral) - */ - public boolean visit(PTNumberLiteral node) { - buffer.append(node.getToken()); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTParenthesizedExpression) - */ - public boolean visit(PTParenthesizedExpression node) { - buffer.append('('); - node.getExpression().accept(this); - buffer.append(')'); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTPrefixExpression) - */ - public boolean visit(PTPrefixExpression node) { - buffer.append(node.getOperator().getOperator()); - node.getExpression().accept(this); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTStringLiteral) - */ - public boolean visit(PTStringLiteral node) { - buffer.append(node.getEscapedValue()); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTThisLiteral) - */ - public boolean visit(PTThisLiteral node) { - buffer.append("this"); - return false; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.ParseVisitor#visit(org.eclipse.jem.internal.instantiation.PTTypeLiteral) - */ - public boolean visit(PTTypeLiteral node) { - buffer.append(node.getType()); - buffer.append(".class"); - return false; - } - -}
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayAccessImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayAccessImpl.java deleted file mode 100644 index af52096..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayAccessImpl.java +++ /dev/null
@@ -1,244 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTArrayAccessImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTArrayAccess; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Array Access</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTArrayAccessImpl#getArray <em>Array</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTArrayAccessImpl#getIndexes <em>Indexes</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTArrayAccessImpl extends PTExpressionImpl implements PTArrayAccess { - /** - * The cached value of the '{@link #getArray() <em>Array</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArray() - * @generated - * @ordered - */ - protected PTExpression array = null; - - /** - * The cached value of the '{@link #getIndexes() <em>Indexes</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIndexes() - * @generated - * @ordered - */ - protected EList indexes = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTArrayAccessImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTArrayAccess(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getArray() { - return array; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetArray(PTExpression newArray, NotificationChain msgs) { - PTExpression oldArray = array; - array = newArray; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_ARRAY_ACCESS__ARRAY, oldArray, newArray); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArray(PTExpression newArray) { - if (newArray != array) { - NotificationChain msgs = null; - if (array != null) - msgs = ((InternalEObject)array).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_ARRAY_ACCESS__ARRAY, null, msgs); - if (newArray != null) - msgs = ((InternalEObject)newArray).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_ARRAY_ACCESS__ARRAY, null, msgs); - msgs = basicSetArray(newArray, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_ARRAY_ACCESS__ARRAY, newArray, newArray)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getIndexes() { - if (indexes == null) { - indexes = new EObjectContainmentEList(PTExpression.class, this, InstantiationPackage.PT_ARRAY_ACCESS__INDEXES); - } - return indexes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_ARRAY_ACCESS__ARRAY: - return basicSetArray(null, msgs); - case InstantiationPackage.PT_ARRAY_ACCESS__INDEXES: - return ((InternalEList)getIndexes()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_ACCESS__ARRAY: - return getArray(); - case InstantiationPackage.PT_ARRAY_ACCESS__INDEXES: - return getIndexes(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_ACCESS__ARRAY: - setArray((PTExpression)newValue); - return; - case InstantiationPackage.PT_ARRAY_ACCESS__INDEXES: - getIndexes().clear(); - getIndexes().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_ACCESS__ARRAY: - setArray((PTExpression)null); - return; - case InstantiationPackage.PT_ARRAY_ACCESS__INDEXES: - getIndexes().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_ACCESS__ARRAY: - return array != null; - case InstantiationPackage.PT_ARRAY_ACCESS__INDEXES: - return indexes != null && !indexes.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getArray()); - if (indexes != null) - acceptChildren(visitor, indexes); - } - visitor.endVisit(this); - } - -} //ArrayAccessImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayCreationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayCreationImpl.java deleted file mode 100644 index bd2bc0d..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayCreationImpl.java +++ /dev/null
@@ -1,299 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTArrayCreationImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTArrayCreation; -import org.eclipse.jem.internal.instantiation.PTArrayInitializer; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Array Creation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTArrayCreationImpl#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTArrayCreationImpl#getDimensions <em>Dimensions</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTArrayCreationImpl#getInitializer <em>Initializer</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTArrayCreationImpl extends PTExpressionImpl implements PTArrayCreation { - /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getDimensions() <em>Dimensions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDimensions() - * @generated - * @ordered - */ - protected EList dimensions = null; - - /** - * The cached value of the '{@link #getInitializer() <em>Initializer</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitializer() - * @generated - * @ordered - */ - protected PTArrayInitializer initializer = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTArrayCreationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTArrayCreation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getType() { - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setType(String newType) { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_ARRAY_CREATION__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDimensions() { - if (dimensions == null) { - dimensions = new EObjectContainmentEList(PTExpression.class, this, InstantiationPackage.PT_ARRAY_CREATION__DIMENSIONS); - } - return dimensions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTArrayInitializer getInitializer() { - return initializer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetInitializer(PTArrayInitializer newInitializer, NotificationChain msgs) { - PTArrayInitializer oldInitializer = initializer; - initializer = newInitializer; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER, oldInitializer, newInitializer); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInitializer(PTArrayInitializer newInitializer) { - if (newInitializer != initializer) { - NotificationChain msgs = null; - if (initializer != null) - msgs = ((InternalEObject)initializer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER, null, msgs); - if (newInitializer != null) - msgs = ((InternalEObject)newInitializer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER, null, msgs); - msgs = basicSetInitializer(newInitializer, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER, newInitializer, newInitializer)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_ARRAY_CREATION__DIMENSIONS: - return ((InternalEList)getDimensions()).basicRemove(otherEnd, msgs); - case InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER: - return basicSetInitializer(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_CREATION__TYPE: - return getType(); - case InstantiationPackage.PT_ARRAY_CREATION__DIMENSIONS: - return getDimensions(); - case InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER: - return getInitializer(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_CREATION__TYPE: - setType((String)newValue); - return; - case InstantiationPackage.PT_ARRAY_CREATION__DIMENSIONS: - getDimensions().clear(); - getDimensions().addAll((Collection)newValue); - return; - case InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER: - setInitializer((PTArrayInitializer)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_CREATION__TYPE: - setType(TYPE_EDEFAULT); - return; - case InstantiationPackage.PT_ARRAY_CREATION__DIMENSIONS: - getDimensions().clear(); - return; - case InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER: - setInitializer((PTArrayInitializer)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_CREATION__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - case InstantiationPackage.PT_ARRAY_CREATION__DIMENSIONS: - return dimensions != null && !dimensions.isEmpty(); - case InstantiationPackage.PT_ARRAY_CREATION__INITIALIZER: - return initializer != null; - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChildren(visitor, dimensions); - acceptChild(visitor, getInitializer()); - } - visitor.endVisit(this); - } -} //ArrayCreationImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayInitializerImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayInitializerImpl.java deleted file mode 100644 index 8ec8f45..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTArrayInitializerImpl.java +++ /dev/null
@@ -1,171 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTArrayInitializerImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTArrayInitializer; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Array Initializer</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTArrayInitializerImpl#getExpressions <em>Expressions</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTArrayInitializerImpl extends PTExpressionImpl implements PTArrayInitializer { - /** - * The cached value of the '{@link #getExpressions() <em>Expressions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpressions() - * @generated - * @ordered - */ - protected EList expressions = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTArrayInitializerImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTArrayInitializer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getExpressions() { - if (expressions == null) { - expressions = new EObjectContainmentEList(PTExpression.class, this, InstantiationPackage.PT_ARRAY_INITIALIZER__EXPRESSIONS); - } - return expressions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_ARRAY_INITIALIZER__EXPRESSIONS: - return ((InternalEList)getExpressions()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_INITIALIZER__EXPRESSIONS: - return getExpressions(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_INITIALIZER__EXPRESSIONS: - getExpressions().clear(); - getExpressions().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_INITIALIZER__EXPRESSIONS: - getExpressions().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_ARRAY_INITIALIZER__EXPRESSIONS: - return expressions != null && !expressions.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - acceptChildren(visitor, expressions); - } - visitor.endVisit(this); - } -} //ArrayInitializerImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTBooleanLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTBooleanLiteralImpl.java deleted file mode 100644 index a614320..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTBooleanLiteralImpl.java +++ /dev/null
@@ -1,167 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTBooleanLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTBooleanLiteral; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Boolean Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTBooleanLiteralImpl#isBooleanValue <em>Boolean Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTBooleanLiteralImpl extends PTExpressionImpl implements PTBooleanLiteral { - /** - * The default value of the '{@link #isBooleanValue() <em>Boolean Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isBooleanValue() - * @generated - * @ordered - */ - protected static final boolean BOOLEAN_VALUE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isBooleanValue() <em>Boolean Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isBooleanValue() - * @generated - * @ordered - */ - protected boolean booleanValue = BOOLEAN_VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTBooleanLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTBooleanLiteral(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isBooleanValue() { - return booleanValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBooleanValue(boolean newBooleanValue) { - boolean oldBooleanValue = booleanValue; - booleanValue = newBooleanValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_BOOLEAN_LITERAL__BOOLEAN_VALUE, oldBooleanValue, booleanValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_BOOLEAN_LITERAL__BOOLEAN_VALUE: - return isBooleanValue() ? Boolean.TRUE : Boolean.FALSE; - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_BOOLEAN_LITERAL__BOOLEAN_VALUE: - setBooleanValue(((Boolean)newValue).booleanValue()); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_BOOLEAN_LITERAL__BOOLEAN_VALUE: - setBooleanValue(BOOLEAN_VALUE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_BOOLEAN_LITERAL__BOOLEAN_VALUE: - return booleanValue != BOOLEAN_VALUE_EDEFAULT; - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //BooleanLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTCastExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTCastExpressionImpl.java deleted file mode 100644 index b9431e9..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTCastExpressionImpl.java +++ /dev/null
@@ -1,254 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTCastExpressionImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTCastExpression; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Cast</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTCastExpressionImpl#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTCastExpressionImpl#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTCastExpressionImpl extends PTExpressionImpl implements PTCastExpression { - /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpression() - * @generated - * @ordered - */ - protected PTExpression expression = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTCastExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTCastExpression(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getType() { - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setType(String newType) { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CAST_EXPRESSION__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getExpression() { - return expression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetExpression(PTExpression newExpression, NotificationChain msgs) { - PTExpression oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION, oldExpression, newExpression); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExpression(PTExpression newExpression) { - if (newExpression != expression) { - NotificationChain msgs = null; - if (expression != null) - msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION, null, msgs); - if (newExpression != null) - msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION, null, msgs); - msgs = basicSetExpression(newExpression, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION, newExpression, newExpression)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION: - return basicSetExpression(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CAST_EXPRESSION__TYPE: - return getType(); - case InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION: - return getExpression(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CAST_EXPRESSION__TYPE: - setType((String)newValue); - return; - case InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION: - setExpression((PTExpression)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CAST_EXPRESSION__TYPE: - setType(TYPE_EDEFAULT); - return; - case InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION: - setExpression((PTExpression)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CAST_EXPRESSION__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - case InstantiationPackage.PT_CAST_EXPRESSION__EXPRESSION: - return expression != null; - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getExpression()); - } - visitor.endVisit(this); - } -} //CastImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTCharacterLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTCharacterLiteralImpl.java deleted file mode 100644 index b42477f..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTCharacterLiteralImpl.java +++ /dev/null
@@ -1,387 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTCharacterLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTCharacterLiteral; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Character Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTCharacterLiteralImpl#getEscapedValue <em>Escaped Value</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTCharacterLiteralImpl#getCharValue <em>Char Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTCharacterLiteralImpl extends PTExpressionImpl implements PTCharacterLiteral { - /** - * The default value of the '{@link #getEscapedValue() <em>Escaped Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEscapedValue() - * @generated - * @ordered - */ - protected static final String ESCAPED_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEscapedValue() <em>Escaped Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEscapedValue() - * @generated - * @ordered - */ - protected String escapedValue = ESCAPED_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getCharValue() <em>Char Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCharValue() - * @generated - * @ordered - */ - protected static final char CHAR_VALUE_EDEFAULT = '\u0000'; - - /** - * The cached value of the '{@link #getCharValue() <em>Char Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCharValue() - * @generated - * @ordered - */ - protected char charValue = CHAR_VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTCharacterLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTCharacterLiteral(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEscapedValue() { - return escapedValue; - } - - public void setEscapedValue(String newEscapedValue) { - charValueSet = false; - setCharValueGen(CHAR_VALUE_EDEFAULT); - setEscapedValueGen(newEscapedValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEscapedValueGen(String newEscapedValue) { - String oldEscapedValue = escapedValue; - escapedValue = newEscapedValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CHARACTER_LITERAL__ESCAPED_VALUE, oldEscapedValue, escapedValue)); - } - - private boolean charValueSet; - - public char getCharValue() { - if (!charValueSet && escapedValue != ESCAPED_VALUE_EDEFAULT) { - String s = getEscapedValue(); - int len = s.length(); - if (len < 2 || s.charAt(0) != '\'' || s.charAt(len-1) != '\'' ) { - throw new IllegalArgumentException(); - } - char c = s.charAt(1); - if (c == '\'') { - throw new IllegalArgumentException(); - } - if (c == '\\') { - if (len == 4) { - setCharValueGen(getCharEscaped(s.charAt(2))); - } else if (len == 8) { - //handle the case of unicode. - int currentPosition = 2; - int c1 = 0, c2 = 0, c3 = 0, c4 = 0; - if (s.charAt(currentPosition++) == 'u') { - if ((c1 = Character.getNumericValue(s.charAt(currentPosition++))) > 15 - || c1 < 0 - || (c2 = Character.getNumericValue(s.charAt(currentPosition++))) > 15 - || c2 < 0 - || (c3 = Character.getNumericValue(s.charAt(currentPosition++))) > 15 - || c3 < 0 - || (c4 = Character.getNumericValue(s.charAt(currentPosition++))) > 15 - || c4 < 0){ - throw new IllegalArgumentException("illegal character literal");//$NON-NLS-1$ - } else { - setCharValueGen((char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4)); - } - } else { - throw new IllegalArgumentException("illegal character literal");//$NON-NLS-1$ - } - } else { - throw new IllegalArgumentException("illegal character literal");//$NON-NLS-1$ - } - } else - setCharValueGen(c); - - charValueSet = true; - } - return getCharValueGen(); - } - - public static char getCharEscaped(char nextChar) { - switch(nextChar) { - case 'b' : - return '\b'; - case 't' : - return '\t'; - case 'n' : - return '\n'; - case 'f' : - return '\f'; - case 'r' : - return '\r'; - case '\"': - return '\"'; - case '\'': - return '\''; - case '\\': - return '\\'; - case '0' : - return '\0'; - case '1' : - return '\1'; - case '2' : - return '\2'; - case '3' : - return '\3'; - case '4' : - return '\4'; - case '5' : - return '\5'; - case '6' : - return '\6'; - case '7' : - return '\7'; - default: - throw new IllegalArgumentException("illegal character");//$NON-NLS-1$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public char getCharValueGen() { - return charValue; - } - - public void setCharValue(char newCharValue) { - charValueSet = true; - setCharValueGen(newCharValue); - - StringBuffer b = new StringBuffer(8); - b.append('\''); // opening delimiter - appendCharacter(newCharValue, b); - b.append('\''); // closing delimiter - setEscapedValueGen(b.toString()); - } - - public static void appendCharacter(char character, StringBuffer b) { - switch(character) { - case '\b' : - b.append("\\b"); //$NON-NLS-1$ - break; - case '\t' : - b.append("\\t"); //$NON-NLS-1$ - break; - case '\n' : - b.append("\\n"); //$NON-NLS-1$ - break; - case '\f' : - b.append("\\f"); //$NON-NLS-1$ - break; - case '\r' : - b.append("\\r"); //$NON-NLS-1$ - break; - case '\"': - b.append("\\\""); //$NON-NLS-1$ - break; - case '\'': - b.append("\\\'"); //$NON-NLS-1$ - break; - case '\\': - b.append("\\\\"); //$NON-NLS-1$ - break; - case '\0' : - b.append("\\0"); //$NON-NLS-1$ - break; - case '\1' : - b.append("\\1"); //$NON-NLS-1$ - break; - case '\2' : - b.append("\\2"); //$NON-NLS-1$ - break; - case '\3' : - b.append("\\3"); //$NON-NLS-1$ - break; - case '\4' : - b.append("\\4"); //$NON-NLS-1$ - break; - case '\5' : - b.append("\\5"); //$NON-NLS-1$ - break; - case '\6' : - b.append("\\6"); //$NON-NLS-1$ - break; - case '\7' : - b.append("\\7"); //$NON-NLS-1$ - break; - default: - // use a simple algorithm, if char is < 255 then just use it, else use it as unicode. - if (character < 255) - b.append(character); - else { - b.append("\\u"); - String s = Integer.toString((int) character, 16); - int zeros = 4-s.length(); - while (zeros-- > 0) { - b.append('0'); - } - b.append(s); - } - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setCharValueGen(char newCharValue) { - char oldCharValue = charValue; - charValue = newCharValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CHARACTER_LITERAL__CHAR_VALUE, oldCharValue, charValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CHARACTER_LITERAL__ESCAPED_VALUE: - return getEscapedValue(); - case InstantiationPackage.PT_CHARACTER_LITERAL__CHAR_VALUE: - return new Character(getCharValue()); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CHARACTER_LITERAL__ESCAPED_VALUE: - setEscapedValue((String)newValue); - return; - case InstantiationPackage.PT_CHARACTER_LITERAL__CHAR_VALUE: - setCharValue(((Character)newValue).charValue()); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CHARACTER_LITERAL__ESCAPED_VALUE: - setEscapedValue(ESCAPED_VALUE_EDEFAULT); - return; - case InstantiationPackage.PT_CHARACTER_LITERAL__CHAR_VALUE: - setCharValue(CHAR_VALUE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CHARACTER_LITERAL__ESCAPED_VALUE: - return ESCAPED_VALUE_EDEFAULT == null ? escapedValue != null : !ESCAPED_VALUE_EDEFAULT.equals(escapedValue); - case InstantiationPackage.PT_CHARACTER_LITERAL__CHAR_VALUE: - return charValue != CHAR_VALUE_EDEFAULT; - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } -} //CharacterLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTClassInstanceCreationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTClassInstanceCreationImpl.java deleted file mode 100644 index ba0f659..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTClassInstanceCreationImpl.java +++ /dev/null
@@ -1,231 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTClassInstanceCreationImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTClassInstanceCreation; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Class Instance Creation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTClassInstanceCreationImpl#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTClassInstanceCreationImpl#getArguments <em>Arguments</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTClassInstanceCreationImpl extends PTExpressionImpl implements PTClassInstanceCreation { - /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getArguments() <em>Arguments</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArguments() - * @generated - * @ordered - */ - protected EList arguments = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTClassInstanceCreationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTClassInstanceCreation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getType() { - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setType(String newType) { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CLASS_INSTANCE_CREATION__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getArguments() { - if (arguments == null) { - arguments = new EObjectContainmentEList(PTExpression.class, this, InstantiationPackage.PT_CLASS_INSTANCE_CREATION__ARGUMENTS); - } - return arguments; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__ARGUMENTS: - return ((InternalEList)getArguments()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__TYPE: - return getType(); - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__ARGUMENTS: - return getArguments(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__TYPE: - setType((String)newValue); - return; - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__ARGUMENTS: - getArguments().clear(); - getArguments().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__TYPE: - setType(TYPE_EDEFAULT); - return; - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__ARGUMENTS: - getArguments().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - case InstantiationPackage.PT_CLASS_INSTANCE_CREATION__ARGUMENTS: - return arguments != null && !arguments.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChildren(visitor, arguments); - } - visitor.endVisit(this); - } -} //ClassInstanceCreationImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTConditionalExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTConditionalExpressionImpl.java deleted file mode 100644 index b2584e9..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTConditionalExpressionImpl.java +++ /dev/null
@@ -1,333 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTConditionalExpressionImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTConditionalExpression; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Conditional Expression</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTConditionalExpressionImpl#getCondition <em>Condition</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTConditionalExpressionImpl#getTrue <em>True</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTConditionalExpressionImpl#getFalse <em>False</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTConditionalExpressionImpl extends PTExpressionImpl implements PTConditionalExpression { - /** - * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCondition() - * @generated - * @ordered - */ - protected PTExpression condition = null; - - /** - * The cached value of the '{@link #getTrue() <em>True</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTrue() - * @generated - * @ordered - */ - protected PTExpression true_ = null; - - /** - * The cached value of the '{@link #getFalse() <em>False</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFalse() - * @generated - * @ordered - */ - protected PTExpression false_ = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTConditionalExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTConditionalExpression(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getCondition() { - return condition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetCondition(PTExpression newCondition, NotificationChain msgs) { - PTExpression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setCondition(PTExpression newCondition) { - if (newCondition != condition) { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION, newCondition, newCondition)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getTrue() { - return true_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTrue(PTExpression newTrue, NotificationChain msgs) { - PTExpression oldTrue = true_; - true_ = newTrue; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE, oldTrue, newTrue); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTrue(PTExpression newTrue) { - if (newTrue != true_) { - NotificationChain msgs = null; - if (true_ != null) - msgs = ((InternalEObject)true_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE, null, msgs); - if (newTrue != null) - msgs = ((InternalEObject)newTrue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE, null, msgs); - msgs = basicSetTrue(newTrue, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE, newTrue, newTrue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getFalse() { - return false_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFalse(PTExpression newFalse, NotificationChain msgs) { - PTExpression oldFalse = false_; - false_ = newFalse; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE, oldFalse, newFalse); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFalse(PTExpression newFalse) { - if (newFalse != false_) { - NotificationChain msgs = null; - if (false_ != null) - msgs = ((InternalEObject)false_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE, null, msgs); - if (newFalse != null) - msgs = ((InternalEObject)newFalse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE, null, msgs); - msgs = basicSetFalse(newFalse, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE, newFalse, newFalse)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION: - return basicSetCondition(null, msgs); - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE: - return basicSetTrue(null, msgs); - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE: - return basicSetFalse(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION: - return getCondition(); - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE: - return getTrue(); - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE: - return getFalse(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION: - setCondition((PTExpression)newValue); - return; - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE: - setTrue((PTExpression)newValue); - return; - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE: - setFalse((PTExpression)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION: - setCondition((PTExpression)null); - return; - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE: - setTrue((PTExpression)null); - return; - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE: - setFalse((PTExpression)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__CONDITION: - return condition != null; - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__TRUE: - return true_ != null; - case InstantiationPackage.PT_CONDITIONAL_EXPRESSION__FALSE: - return false_ != null; - } - return eDynamicIsSet(eFeature); - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getCondition()); - acceptChild(visitor, getTrue()); - acceptChild(visitor, getFalse()); - } - visitor.endVisit(this); - } - -} //ConditionalExpressionImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTExpressionImpl.java deleted file mode 100644 index 613835c..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTExpressionImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTExpressionImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import java.util.List; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Expression</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public abstract class PTExpressionImpl extends EObjectImpl implements PTExpression { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTExpression(); - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.Expression#accept(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - public final void accept(ParseVisitor visitor) { - if (visitor == null) { - throw new IllegalArgumentException(); - } - // begin with the generic pre-visit - visitor.preVisit(this); - // dynamic dispatch to internal method for type-specific visit/endVisit - accept0(visitor); - // end with the generic post-visit - visitor.postVisit(this); - } - - /** - * Accepts the given visitor on a type-specific visit of the current node. - * This method must be implemented in all concrete Expression node types. - * <p> - * General template for implementation on each concrete ASTNode class: - * <pre> - * <code> - * boolean visitChildren = visitor.visit(this); - * if (visitChildren) { - * // visit children in normal left to right reading order - * acceptChild(visitor, getProperty1()); - * acceptChildren(visitor, rawListProperty); - * acceptChild(visitor, getProperty2()); - * } - * visitor.endVisit(this); - * </code> - * </pre> - * Note that the caller (<code>accept</code>) take cares of invoking - * <code>visitor.preVisit(this)</code> and <code>visitor.postVisit(this)</code>. - * </p> - * - * @param visitor the visitor object - */ - protected abstract void accept0(ParseVisitor visitor); - - /** - * Accepts the given visitor on a visit of the current node. - * <p> - * This method should be used by the concrete implementations of - * <code>accept0</code> to traverse optional properties. Equivalent - * to <code>child.accept(visitor)</code> if <code>child</code> - * is not <code>null</code>. - * </p> - * - * @param visitor the visitor object - * @param child the child Expression node to dispatch too, or <code>null</code> - * if none - */ - protected final void acceptChild(ParseVisitor visitor, PTExpression child) { - if (child == null) { - return; - } - child.accept(visitor); - } - - /** - * Accepts the given visitor on a visit of the given live list of - * child nodes. - * @param visitor the visitor object - * @param children the child Expression nodes to dispatch to, or <code>null</code> if none. - */ - protected final void acceptChildren(ParseVisitor visitor, List children) { - if (children != null) { - int size = children.size(); - for (int i = 0; i < size; i++) { - acceptChild(visitor, (PTExpression) children.get(i)); - } - } - } - - public String toString() { - // allocate a buffer that is large enough to hold an average compilation unit - StringBuffer buffer = new StringBuffer(6000); - int p = buffer.length(); - try { - appendDebugString(buffer); - } catch (RuntimeException e) { - // since debugger sometimes call toString methods, problems can easily happen when - // toString is called on an instance that is being initialized - buffer.setLength(p); - buffer.append("!"); //$NON-NLS-1$ - buffer.append(standardToString()); - } - // convert to a string, but lose the extra space in the string buffer by copying - return buffer.toString(); - } - - protected final String standardToString() { - return super.toString(); - } - - protected void appendDebugString(StringBuffer buffer) { - // print the subtree by default - appendPrintString(buffer); - } - - /* - * Appends a standard Java source code representation of this subtree to the given - * string buffer. - * - * @param buffer the string buffer to append to - */ - protected final void appendPrintString(StringBuffer buffer) { - NaiveExpressionFlattener printer = new NaiveExpressionFlattener(); - this.accept(printer); - buffer.append(printer.getResult()); - } - -} //ExpressionImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTFieldAccessImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTFieldAccessImpl.java deleted file mode 100644 index 8127249..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTFieldAccessImpl.java +++ /dev/null
@@ -1,255 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTFieldAccessImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.PTFieldAccess; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Field Access</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTFieldAccessImpl#getReceiver <em>Receiver</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTFieldAccessImpl#getField <em>Field</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTFieldAccessImpl extends PTExpressionImpl implements PTFieldAccess { - /** - * The cached value of the '{@link #getReceiver() <em>Receiver</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getReceiver() - * @generated - * @ordered - */ - protected PTExpression receiver = null; - - /** - * The default value of the '{@link #getField() <em>Field</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getField() - * @generated - * @ordered - */ - protected static final String FIELD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getField() <em>Field</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getField() - * @generated - * @ordered - */ - protected String field = FIELD_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTFieldAccessImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTFieldAccess(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getReceiver() { - return receiver; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetReceiver(PTExpression newReceiver, NotificationChain msgs) { - PTExpression oldReceiver = receiver; - receiver = newReceiver; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_FIELD_ACCESS__RECEIVER, oldReceiver, newReceiver); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setReceiver(PTExpression newReceiver) { - if (newReceiver != receiver) { - NotificationChain msgs = null; - if (receiver != null) - msgs = ((InternalEObject)receiver).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_FIELD_ACCESS__RECEIVER, null, msgs); - if (newReceiver != null) - msgs = ((InternalEObject)newReceiver).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_FIELD_ACCESS__RECEIVER, null, msgs); - msgs = basicSetReceiver(newReceiver, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_FIELD_ACCESS__RECEIVER, newReceiver, newReceiver)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getField() { - return field; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setField(String newField) { - String oldField = field; - field = newField; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_FIELD_ACCESS__FIELD, oldField, field)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_FIELD_ACCESS__RECEIVER: - return basicSetReceiver(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_FIELD_ACCESS__RECEIVER: - return getReceiver(); - case InstantiationPackage.PT_FIELD_ACCESS__FIELD: - return getField(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_FIELD_ACCESS__RECEIVER: - setReceiver((PTExpression)newValue); - return; - case InstantiationPackage.PT_FIELD_ACCESS__FIELD: - setField((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_FIELD_ACCESS__RECEIVER: - setReceiver((PTExpression)null); - return; - case InstantiationPackage.PT_FIELD_ACCESS__FIELD: - setField(FIELD_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_FIELD_ACCESS__RECEIVER: - return receiver != null; - case InstantiationPackage.PT_FIELD_ACCESS__FIELD: - return FIELD_EDEFAULT == null ? field != null : !FIELD_EDEFAULT.equals(field); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getReceiver()); - } - visitor.endVisit(this); - } - -} //FieldAccessImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInfixExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInfixExpressionImpl.java deleted file mode 100644 index e95f262..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInfixExpressionImpl.java +++ /dev/null
@@ -1,394 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInfixExpressionImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/03/22 23:49:26 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.PTInfixExpression; -import org.eclipse.jem.internal.instantiation.PTInfixOperator; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Infix Expression</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInfixExpressionImpl#getLeftOperand <em>Left Operand</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInfixExpressionImpl#getOperator <em>Operator</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInfixExpressionImpl#getRightOperand <em>Right Operand</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInfixExpressionImpl#getExtendedOperands <em>Extended Operands</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTInfixExpressionImpl extends PTExpressionImpl implements PTInfixExpression { - /** - * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeftOperand() - * @generated - * @ordered - */ - protected PTExpression leftOperand = null; - - /** - * The default value of the '{@link #getOperator() <em>Operator</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperator() - * @generated - * @ordered - */ - protected static final PTInfixOperator OPERATOR_EDEFAULT = PTInfixOperator.TIMES_LITERAL; - - /** - * The cached value of the '{@link #getOperator() <em>Operator</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperator() - * @generated - * @ordered - */ - protected PTInfixOperator operator = OPERATOR_EDEFAULT; - - /** - * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRightOperand() - * @generated - * @ordered - */ - protected PTExpression rightOperand = null; - - /** - * The cached value of the '{@link #getExtendedOperands() <em>Extended Operands</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExtendedOperands() - * @generated - * @ordered - */ - protected EList extendedOperands = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTInfixExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTInfixExpression(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getLeftOperand() { - return leftOperand; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLeftOperand(PTExpression newLeftOperand, NotificationChain msgs) { - PTExpression oldLeftOperand = leftOperand; - leftOperand = newLeftOperand; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND, oldLeftOperand, newLeftOperand); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLeftOperand(PTExpression newLeftOperand) { - if (newLeftOperand != leftOperand) { - NotificationChain msgs = null; - if (leftOperand != null) - msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND, null, msgs); - if (newLeftOperand != null) - msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND, null, msgs); - msgs = basicSetLeftOperand(newLeftOperand, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND, newLeftOperand, newLeftOperand)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTInfixOperator getOperator() { - return operator; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOperator(PTInfixOperator newOperator) { - PTInfixOperator oldOperator = operator; - operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INFIX_EXPRESSION__OPERATOR, oldOperator, operator)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getRightOperand() { - return rightOperand; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRightOperand(PTExpression newRightOperand, NotificationChain msgs) { - PTExpression oldRightOperand = rightOperand; - rightOperand = newRightOperand; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND, oldRightOperand, newRightOperand); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRightOperand(PTExpression newRightOperand) { - if (newRightOperand != rightOperand) { - NotificationChain msgs = null; - if (rightOperand != null) - msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND, null, msgs); - if (newRightOperand != null) - msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND, null, msgs); - msgs = basicSetRightOperand(newRightOperand, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND, newRightOperand, newRightOperand)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getExtendedOperands() { - if (extendedOperands == null) { - extendedOperands = new EObjectContainmentEList(PTExpression.class, this, InstantiationPackage.PT_INFIX_EXPRESSION__EXTENDED_OPERANDS); - } - return extendedOperands; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND: - return basicSetLeftOperand(null, msgs); - case InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND: - return basicSetRightOperand(null, msgs); - case InstantiationPackage.PT_INFIX_EXPRESSION__EXTENDED_OPERANDS: - return ((InternalEList)getExtendedOperands()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND: - return getLeftOperand(); - case InstantiationPackage.PT_INFIX_EXPRESSION__OPERATOR: - return getOperator(); - case InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND: - return getRightOperand(); - case InstantiationPackage.PT_INFIX_EXPRESSION__EXTENDED_OPERANDS: - return getExtendedOperands(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND: - setLeftOperand((PTExpression)newValue); - return; - case InstantiationPackage.PT_INFIX_EXPRESSION__OPERATOR: - setOperator((PTInfixOperator)newValue); - return; - case InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND: - setRightOperand((PTExpression)newValue); - return; - case InstantiationPackage.PT_INFIX_EXPRESSION__EXTENDED_OPERANDS: - getExtendedOperands().clear(); - getExtendedOperands().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND: - setLeftOperand((PTExpression)null); - return; - case InstantiationPackage.PT_INFIX_EXPRESSION__OPERATOR: - setOperator(OPERATOR_EDEFAULT); - return; - case InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND: - setRightOperand((PTExpression)null); - return; - case InstantiationPackage.PT_INFIX_EXPRESSION__EXTENDED_OPERANDS: - getExtendedOperands().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INFIX_EXPRESSION__LEFT_OPERAND: - return leftOperand != null; - case InstantiationPackage.PT_INFIX_EXPRESSION__OPERATOR: - return operator != OPERATOR_EDEFAULT; - case InstantiationPackage.PT_INFIX_EXPRESSION__RIGHT_OPERAND: - return rightOperand != null; - case InstantiationPackage.PT_INFIX_EXPRESSION__EXTENDED_OPERANDS: - return extendedOperands != null && !extendedOperands.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getLeftOperand()); - acceptChild(visitor, getRightOperand()); - acceptChildren(visitor, extendedOperands); - } - visitor.endVisit(this); - } - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.PTInfixExpression#asCompressedExpression() - */ - public PTExpression asCompressedExpression() { - // If no left and no right - if(getLeftOperand() == null && getRightOperand() != null){ - // no extends so just use the right operand - if(getExtendedOperands().isEmpty()){ - return getRightOperand(); - } else { - // The right becomes the new left - setLeftOperand(getRightOperand()); - // The first operand becomes the right one - setRightOperand((PTExpression) getExtendedOperands().remove(0)); - return this; - } - } else if (getRightOperand() == null && getLeftOperand() != null){ - // no extends so just use the left operand - if(getExtendedOperands().isEmpty()){ - return getLeftOperand(); - } else { - // The right becomes the first extended - setRightOperand((PTExpression)getExtendedOperands().remove(0)); - return this; - } - } - return this; - } -} //InfixExpressionImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInstanceReferenceImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInstanceReferenceImpl.java deleted file mode 100644 index 99c794e..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInstanceReferenceImpl.java +++ /dev/null
@@ -1,167 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * %W% - * @version %I% %H% - */ -package org.eclipse.jem.internal.instantiation.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTInstanceReference; - -import org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>PT Instance Reference</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInstanceReferenceImpl#getObject <em>Object</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTInstanceReferenceImpl extends PTExpressionImpl implements PTInstanceReference { - /** - * The cached value of the '{@link #getObject() <em>Object</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getObject() - * @generated - * @ordered - */ - protected IJavaObjectInstance object = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTInstanceReferenceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTInstanceReference(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IJavaObjectInstance getObject() { - if (object != null && object.eIsProxy()) { - IJavaObjectInstance oldObject = object; - object = (IJavaObjectInstance)eResolveProxy((InternalEObject)object); - if (object != oldObject) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, InstantiationPackage.PT_INSTANCE_REFERENCE__OBJECT, oldObject, object)); - } - } - return object; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IJavaObjectInstance basicGetObject() { - return object; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setObject(IJavaObjectInstance newObject) { - IJavaObjectInstance oldObject = object; - object = newObject; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INSTANCE_REFERENCE__OBJECT, oldObject, object)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCE_REFERENCE__OBJECT: - if (resolve) return getObject(); - return basicGetObject(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCE_REFERENCE__OBJECT: - setObject((IJavaObjectInstance)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCE_REFERENCE__OBJECT: - setObject((IJavaObjectInstance)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCE_REFERENCE__OBJECT: - return object != null; - } - return eDynamicIsSet(eFeature); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.PTExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //PTInstanceReferenceImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInstanceofImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInstanceofImpl.java deleted file mode 100644 index 145afd0..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInstanceofImpl.java +++ /dev/null
@@ -1,255 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInstanceofImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.PTInstanceof; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Instanceof</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInstanceofImpl#getOperand <em>Operand</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInstanceofImpl#getType <em>Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTInstanceofImpl extends PTExpressionImpl implements PTInstanceof { - /** - * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperand() - * @generated - * @ordered - */ - protected PTExpression operand = null; - - /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTInstanceofImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTInstanceof(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getOperand() { - return operand; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOperand(PTExpression newOperand, NotificationChain msgs) { - PTExpression oldOperand = operand; - operand = newOperand; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INSTANCEOF__OPERAND, oldOperand, newOperand); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOperand(PTExpression newOperand) { - if (newOperand != operand) { - NotificationChain msgs = null; - if (operand != null) - msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_INSTANCEOF__OPERAND, null, msgs); - if (newOperand != null) - msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_INSTANCEOF__OPERAND, null, msgs); - msgs = basicSetOperand(newOperand, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INSTANCEOF__OPERAND, newOperand, newOperand)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getType() { - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setType(String newType) { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INSTANCEOF__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_INSTANCEOF__OPERAND: - return basicSetOperand(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCEOF__OPERAND: - return getOperand(); - case InstantiationPackage.PT_INSTANCEOF__TYPE: - return getType(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCEOF__OPERAND: - setOperand((PTExpression)newValue); - return; - case InstantiationPackage.PT_INSTANCEOF__TYPE: - setType((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCEOF__OPERAND: - setOperand((PTExpression)null); - return; - case InstantiationPackage.PT_INSTANCEOF__TYPE: - setType(TYPE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INSTANCEOF__OPERAND: - return operand != null; - case InstantiationPackage.PT_INSTANCEOF__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getOperand()); - } - visitor.endVisit(this); - } - -} //InstanceofImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInvalidExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInvalidExpressionImpl.java deleted file mode 100644 index 9a36ce3..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTInvalidExpressionImpl.java +++ /dev/null
@@ -1,166 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTInvalidExpressionImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTInvalidExpression; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Invalid Expression</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTInvalidExpressionImpl#getMessage <em>Message</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTInvalidExpressionImpl extends PTExpressionImpl implements PTInvalidExpression { - /** - * The default value of the '{@link #getMessage() <em>Message</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessage() - * @generated - * @ordered - */ - protected static final String MESSAGE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessage() <em>Message</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessage() - * @generated - * @ordered - */ - protected String message = MESSAGE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTInvalidExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTInvalidExpression(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMessage() { - return message; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessage(String newMessage) { - String oldMessage = message; - message = newMessage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_INVALID_EXPRESSION__MESSAGE, oldMessage, message)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INVALID_EXPRESSION__MESSAGE: - return getMessage(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INVALID_EXPRESSION__MESSAGE: - setMessage((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INVALID_EXPRESSION__MESSAGE: - setMessage(MESSAGE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_INVALID_EXPRESSION__MESSAGE: - return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //InvalidExpressionImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTMethodInvocationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTMethodInvocationImpl.java deleted file mode 100644 index 2ccce60..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTMethodInvocationImpl.java +++ /dev/null
@@ -1,298 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTMethodInvocationImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTMethodInvocation; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Method Invocation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTMethodInvocationImpl#getReceiver <em>Receiver</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTMethodInvocationImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTMethodInvocationImpl#getArguments <em>Arguments</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTMethodInvocationImpl extends PTExpressionImpl implements PTMethodInvocation { - /** - * The cached value of the '{@link #getReceiver() <em>Receiver</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getReceiver() - * @generated - * @ordered - */ - protected PTExpression receiver = null; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getArguments() <em>Arguments</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArguments() - * @generated - * @ordered - */ - protected EList arguments = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTMethodInvocationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTMethodInvocation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getReceiver() { - return receiver; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetReceiver(PTExpression newReceiver, NotificationChain msgs) { - PTExpression oldReceiver = receiver; - receiver = newReceiver; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER, oldReceiver, newReceiver); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setReceiver(PTExpression newReceiver) { - if (newReceiver != receiver) { - NotificationChain msgs = null; - if (receiver != null) - msgs = ((InternalEObject)receiver).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER, null, msgs); - if (newReceiver != null) - msgs = ((InternalEObject)newReceiver).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER, null, msgs); - msgs = basicSetReceiver(newReceiver, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER, newReceiver, newReceiver)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_METHOD_INVOCATION__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getArguments() { - if (arguments == null) { - arguments = new EObjectContainmentEList(PTExpression.class, this, InstantiationPackage.PT_METHOD_INVOCATION__ARGUMENTS); - } - return arguments; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER: - return basicSetReceiver(null, msgs); - case InstantiationPackage.PT_METHOD_INVOCATION__ARGUMENTS: - return ((InternalEList)getArguments()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER: - return getReceiver(); - case InstantiationPackage.PT_METHOD_INVOCATION__NAME: - return getName(); - case InstantiationPackage.PT_METHOD_INVOCATION__ARGUMENTS: - return getArguments(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER: - setReceiver((PTExpression)newValue); - return; - case InstantiationPackage.PT_METHOD_INVOCATION__NAME: - setName((String)newValue); - return; - case InstantiationPackage.PT_METHOD_INVOCATION__ARGUMENTS: - getArguments().clear(); - getArguments().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER: - setReceiver((PTExpression)null); - return; - case InstantiationPackage.PT_METHOD_INVOCATION__NAME: - setName(NAME_EDEFAULT); - return; - case InstantiationPackage.PT_METHOD_INVOCATION__ARGUMENTS: - getArguments().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_METHOD_INVOCATION__RECEIVER: - return receiver != null; - case InstantiationPackage.PT_METHOD_INVOCATION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case InstantiationPackage.PT_METHOD_INVOCATION__ARGUMENTS: - return arguments != null && !arguments.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getReceiver()); - acceptChildren(visitor, arguments); - } - visitor.endVisit(this); - } -} //MethodInvocationImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNameImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNameImpl.java deleted file mode 100644 index 34a2cb5..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNameImpl.java +++ /dev/null
@@ -1,167 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTNameImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTNameImpl#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTNameImpl extends PTExpressionImpl implements PTName { - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTNameImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_NAME__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NAME__NAME: - return getName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NAME__NAME: - setName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NAME__NAME: - setName(NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NAME__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //NameImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNullLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNullLiteralImpl.java deleted file mode 100644 index dac07f2..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNullLiteralImpl.java +++ /dev/null
@@ -1,58 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTNullLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTNullLiteral; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Null Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class PTNullLiteralImpl extends PTExpressionImpl implements PTNullLiteral { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTNullLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTNullLiteral(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //NullLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNumberLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNumberLiteralImpl.java deleted file mode 100644 index fd5ae99..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTNumberLiteralImpl.java +++ /dev/null
@@ -1,176 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTNumberLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTNumberLiteral; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Number Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTNumberLiteralImpl#getToken <em>Token</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTNumberLiteralImpl extends PTExpressionImpl implements PTNumberLiteral { - /** - * The default value of the '{@link #getToken() <em>Token</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getToken() - * @generated - * @ordered - */ - protected static final String TOKEN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getToken() <em>Token</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getToken() - * @generated - * @ordered - */ - protected String token = TOKEN_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTNumberLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTNumberLiteral(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getToken() { - return token; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setToken(String newToken) { - String oldToken = token; - token = newToken; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_NUMBER_LITERAL__TOKEN, oldToken, token)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NUMBER_LITERAL__TOKEN: - return getToken(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NUMBER_LITERAL__TOKEN: - setToken((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NUMBER_LITERAL__TOKEN: - setToken(TOKEN_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_NUMBER_LITERAL__TOKEN: - return TOKEN_EDEFAULT == null ? token != null : !TOKEN_EDEFAULT.equals(token); - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (token: "); - result.append(token); - result.append(')'); - return result.toString(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } -} //NumberLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTParenthesizedExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTParenthesizedExpressionImpl.java deleted file mode 100644 index 1357f45..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTParenthesizedExpressionImpl.java +++ /dev/null
@@ -1,198 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTParenthesizedExpressionImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTParenthesizedExpression; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Parenthesized Expression</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTParenthesizedExpressionImpl#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTParenthesizedExpressionImpl extends PTExpressionImpl implements PTParenthesizedExpression { - /** - * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpression() - * @generated - * @ordered - */ - protected PTExpression expression = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTParenthesizedExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTParenthesizedExpression(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getExpression() { - return expression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetExpression(PTExpression newExpression, NotificationChain msgs) { - PTExpression oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION, oldExpression, newExpression); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExpression(PTExpression newExpression) { - if (newExpression != expression) { - NotificationChain msgs = null; - if (expression != null) - msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION, null, msgs); - if (newExpression != null) - msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION, null, msgs); - msgs = basicSetExpression(newExpression, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION, newExpression, newExpression)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION: - return basicSetExpression(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION: - return getExpression(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION: - setExpression((PTExpression)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION: - setExpression((PTExpression)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PARENTHESIZED_EXPRESSION__EXPRESSION: - return expression != null; - } - return eDynamicIsSet(eFeature); - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - acceptChild(visitor, getExpression()); - } - visitor.endVisit(this); - } - -} //ParenthesizedExpressionImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTPrefixExpressionImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTPrefixExpressionImpl.java deleted file mode 100644 index 5a709a9..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTPrefixExpressionImpl.java +++ /dev/null
@@ -1,256 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTPrefixExpressionImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTPrefixExpression; -import org.eclipse.jem.internal.instantiation.PTPrefixOperator; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Prefix Expression</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTPrefixExpressionImpl#getOperator <em>Operator</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTPrefixExpressionImpl#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTPrefixExpressionImpl extends PTExpressionImpl implements PTPrefixExpression { - /** - * The default value of the '{@link #getOperator() <em>Operator</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperator() - * @generated - * @ordered - */ - protected static final PTPrefixOperator OPERATOR_EDEFAULT = PTPrefixOperator.PLUS_LITERAL; - - /** - * The cached value of the '{@link #getOperator() <em>Operator</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperator() - * @generated - * @ordered - */ - protected PTPrefixOperator operator = OPERATOR_EDEFAULT; - - /** - * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpression() - * @generated - * @ordered - */ - protected PTExpression expression = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTPrefixExpressionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTPrefixExpression(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTPrefixOperator getOperator() { - return operator; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOperator(PTPrefixOperator newOperator) { - PTPrefixOperator oldOperator = operator; - operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_PREFIX_EXPRESSION__OPERATOR, oldOperator, operator)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getExpression() { - return expression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetExpression(PTExpression newExpression, NotificationChain msgs) { - PTExpression oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION, oldExpression, newExpression); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExpression(PTExpression newExpression) { - if (newExpression != expression) { - NotificationChain msgs = null; - if (expression != null) - msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION, null, msgs); - if (newExpression != null) - msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION, null, msgs); - msgs = basicSetExpression(newExpression, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION, newExpression, newExpression)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION: - return basicSetExpression(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PREFIX_EXPRESSION__OPERATOR: - return getOperator(); - case InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION: - return getExpression(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PREFIX_EXPRESSION__OPERATOR: - setOperator((PTPrefixOperator)newValue); - return; - case InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION: - setExpression((PTExpression)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PREFIX_EXPRESSION__OPERATOR: - setOperator(OPERATOR_EDEFAULT); - return; - case InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION: - setExpression((PTExpression)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_PREFIX_EXPRESSION__OPERATOR: - return operator != OPERATOR_EDEFAULT; - case InstantiationPackage.PT_PREFIX_EXPRESSION__EXPRESSION: - return expression != null; - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - boolean visitChildren = visitor.visit(this); - if (visitChildren) { - // visit children in normal left to right reading order - acceptChild(visitor, getExpression()); - } - visitor.endVisit(this); - } - -} //PrefixExpressionImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTStringLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTStringLiteralImpl.java deleted file mode 100644 index 4308d12..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTStringLiteralImpl.java +++ /dev/null
@@ -1,286 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTStringLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTStringLiteral; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>String Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTStringLiteralImpl#getEscapedValue <em>Escaped Value</em>}</li> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTStringLiteralImpl#getLiteralValue <em>Literal Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTStringLiteralImpl extends PTExpressionImpl implements PTStringLiteral { - /** - * The default value of the '{@link #getEscapedValue() <em>Escaped Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEscapedValue() - * @generated - * @ordered - */ - protected static final String ESCAPED_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEscapedValue() <em>Escaped Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEscapedValue() - * @generated - * @ordered - */ - protected String escapedValue = ESCAPED_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getLiteralValue() <em>Literal Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLiteralValue() - * @generated - * @ordered - */ - protected static final String LITERAL_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLiteralValue() <em>Literal Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLiteralValue() - * @generated - * @ordered - */ - protected String literalValue = LITERAL_VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTStringLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTStringLiteral(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEscapedValue() { - return escapedValue; - } - - public void setEscapedValue(String newEscapedValue) { - stringLiteralSet = false; - setLiteralValueGen(LITERAL_VALUE_EDEFAULT); - setEscapedValueGen(newEscapedValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEscapedValueGen(String newEscapedValue) { - String oldEscapedValue = escapedValue; - escapedValue = newEscapedValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_STRING_LITERAL__ESCAPED_VALUE, oldEscapedValue, escapedValue)); - } - - private boolean stringLiteralSet; - - public String getLiteralValue() { - if (!stringLiteralSet && escapedValue != ESCAPED_VALUE_EDEFAULT) { - String s = getEscapedValue(); - int len = s.length(); - if (len < 2 || s.charAt(0) != '\"' || s.charAt(len-1) != '\"' ) { - throw new IllegalArgumentException(); - } - - StringBuffer buffer = new StringBuffer(len); - int stop = len-1; - for (int i = 1; i < stop; i++) { - char ati = s.charAt(i); - if (ati == '\\') { - if (++i < stop) { - ati = s.charAt(i); - if (ati == 'u') { - int c1 = 0, c2 = 0, c3 = 0, c4 = 0; - if (i+4 >= stop - || (c1 = Character.getNumericValue(s.charAt(++i))) > 15 - || c1 < 0 - || (c2 = Character.getNumericValue(s.charAt(++i))) > 15 - || c2 < 0 - || (c3 = Character.getNumericValue(s.charAt(++i))) > 15 - || c3 < 0 - || (c4 = Character.getNumericValue(s.charAt(++i))) > 15 - || c4 < 0){ - throw new IllegalArgumentException("illegal string literal");//$NON-NLS-1$ - } else - buffer.append((char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4)); - } else - buffer.append(PTCharacterLiteralImpl.getCharEscaped(ati)); - } else - throw new IllegalArgumentException("illegal string literal");//$NON-NLS-1$ - } else - buffer.append(ati); - } - - stringLiteralSet = true; - setLiteralValueGen(buffer.toString()); - } - - return getLiteralValueGen(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteralValueGen() { - return literalValue; - } - - public void setLiteralValue(String newLiteralValue) { - stringLiteralSet = true; - setLiteralValueGen(newLiteralValue); - - StringBuffer b = new StringBuffer(newLiteralValue.length()+2); - b.append('\"'); // opening delimiter - int stop = newLiteralValue.length(); - for (int i = 0; i < stop; i++) { - PTCharacterLiteralImpl.appendCharacter(newLiteralValue.charAt(i), b); - } - b.append('\"'); // closing delimiter - setEscapedValueGen(b.toString()); - - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLiteralValueGen(String newLiteralValue) { - String oldLiteralValue = literalValue; - literalValue = newLiteralValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_STRING_LITERAL__LITERAL_VALUE, oldLiteralValue, literalValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_STRING_LITERAL__ESCAPED_VALUE: - return getEscapedValue(); - case InstantiationPackage.PT_STRING_LITERAL__LITERAL_VALUE: - return getLiteralValue(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_STRING_LITERAL__ESCAPED_VALUE: - setEscapedValue((String)newValue); - return; - case InstantiationPackage.PT_STRING_LITERAL__LITERAL_VALUE: - setLiteralValue((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_STRING_LITERAL__ESCAPED_VALUE: - setEscapedValue(ESCAPED_VALUE_EDEFAULT); - return; - case InstantiationPackage.PT_STRING_LITERAL__LITERAL_VALUE: - setLiteralValue(LITERAL_VALUE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_STRING_LITERAL__ESCAPED_VALUE: - return ESCAPED_VALUE_EDEFAULT == null ? escapedValue != null : !ESCAPED_VALUE_EDEFAULT.equals(escapedValue); - case InstantiationPackage.PT_STRING_LITERAL__LITERAL_VALUE: - return LITERAL_VALUE_EDEFAULT == null ? literalValue != null : !LITERAL_VALUE_EDEFAULT.equals(literalValue); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //StringLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTThisLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTThisLiteralImpl.java deleted file mode 100644 index ff5d78f..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTThisLiteralImpl.java +++ /dev/null
@@ -1,59 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTThisLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTThisLiteral; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>This Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class PTThisLiteralImpl extends PTExpressionImpl implements PTThisLiteral { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTThisLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTThisLiteral(); - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } - -} //ThisLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTTypeLiteralImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTTypeLiteralImpl.java deleted file mode 100644 index e46ed80..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/PTTypeLiteralImpl.java +++ /dev/null
@@ -1,166 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: PTTypeLiteralImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/23 22:53:22 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.*; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.PTTypeLiteral; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Type Literal</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.PTTypeLiteralImpl#getType <em>Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PTTypeLiteralImpl extends PTExpressionImpl implements PTTypeLiteral { - /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PTTypeLiteralImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getPTTypeLiteral(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getType() { - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setType(String newType) { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PT_TYPE_LITERAL__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_TYPE_LITERAL__TYPE: - return getType(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_TYPE_LITERAL__TYPE: - setType((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_TYPE_LITERAL__TYPE: - setType(TYPE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PT_TYPE_LITERAL__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - } - return eDynamicIsSet(eFeature); - } - - public String toString() { - return super.toString(); // Really want toString to be final at PTExpression, but EMF doesn't allow it. - } - - /* - * (non-Javadoc) - * @see org.eclipse.jem.internal.instantiation.impl.ExpressionImpl#accept0(org.eclipse.jem.internal.instantiation.ParseVisitor) - */ - protected void accept0(ParseVisitor visitor) { - visitor.visit(this); - visitor.endVisit(this); - } -} //TypeLiteralImpl
diff --git a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/ParseTreeAllocationImpl.java b/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/ParseTreeAllocationImpl.java deleted file mode 100644 index 41bd540..0000000 --- a/plugins/org.eclipse.jem/javainst/org/eclipse/jem/internal/instantiation/impl/ParseTreeAllocationImpl.java +++ /dev/null
@@ -1,193 +0,0 @@ -package org.eclipse.jem.internal.instantiation.impl; -/******************************************************************************* - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ParseTreeAllocationImpl.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/23 22:53:21 $ - */ -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.jem.internal.instantiation.PTExpression; -import org.eclipse.jem.internal.instantiation.InstantiationPackage; -import org.eclipse.jem.internal.instantiation.ParseTreeAllocation; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Parse Tree Allocation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.internal.instantiation.impl.ParseTreeAllocationImpl#getExpression <em>Expression</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ParseTreeAllocationImpl extends JavaAllocationImpl implements ParseTreeAllocation { - /** - * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpression() - * @generated - * @ordered - */ - protected PTExpression expression = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParseTreeAllocationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return InstantiationPackage.eINSTANCE.getParseTreeAllocation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PTExpression getExpression() { - return expression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetExpression(PTExpression newExpression, NotificationChain msgs) { - PTExpression oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION, oldExpression, newExpression); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExpression(PTExpression newExpression) { - if (newExpression != expression) { - NotificationChain msgs = null; - if (expression != null) - msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION, null, msgs); - if (newExpression != null) - msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION, null, msgs); - msgs = basicSetExpression(newExpression, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION, newExpression, newExpression)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION: - return basicSetExpression(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION: - return getExpression(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION: - setExpression((PTExpression)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION: - setExpression((PTExpression)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case InstantiationPackage.PARSE_TREE_ALLOCATION__EXPRESSION: - return expression != null; - } - return eDynamicIsSet(eFeature); - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - public String toString() { - return getExpression() != null ? getExpression().toString() : super.toString(); - } - -} //ParseTreeAllocationImpl
diff --git a/plugins/org.eclipse.jem/model/instance.ecore b/plugins/org.eclipse.jem/model/instance.ecore deleted file mode 100644 index 0c5723c..0000000 --- a/plugins/org.eclipse.jem/model/instance.ecore +++ /dev/null
@@ -1,482 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<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="instantiation" - nsURI="http:///org/eclipse/jem/internal/instantiation.ecore" nsPrefix="org.eclipse.jem.internal.instantiation"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Java Instantiation Package"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="IJavaDataTypeInstance" instanceClassName="org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance" - abstract="true" interface="true" eSuperTypes="#//IJavaInstance"/> - <eClassifiers xsi:type="ecore:EClass" name="IJavaInstance" instanceClassName="org.eclipse.jem.internal.instantiation.base.IJavaInstance" - abstract="true" interface="true"/> - <eClassifiers xsi:type="ecore:EClass" name="IJavaObjectInstance" instanceClassName="org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance" - abstract="true" interface="true" eSuperTypes="#//IJavaInstance"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This interface is the instance of an java object in the java model."/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="JavaAllocation" abstract="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This class is the abstract base class of the allocation class. It is the value of the "allocation" property on a Java Object so that the actual allocation can be controlled. For example, there could be one for just init string, or one for serialized."/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="InitStringAllocation" eSuperTypes="#//JavaAllocation"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is used when the allocation string can be parsed by the remote vm. It uses the allocString."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="initString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is the initialization string for this object."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ImplicitAllocation" eSuperTypes="#//JavaAllocation"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This class is for an implicit allocation where the object comes from the feature of another object. It is the live Java value from the remote vm."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="parent" lowerBound="1" - eType="ecore:EClass ../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EObject"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="feature" lowerBound="1" - eType="ecore:EClass ../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EStructuralFeature"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ParseTreeAllocation" eSuperTypes="#//JavaAllocation"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Allocations via Parse Trees."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="expression" lowerBound="1" - eType="#//PTExpression" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTExpression" abstract="true"/> - <eClassifiers xsi:type="ecore:EClass" name="PTArrayAccess" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Array access. e.g. x[3]. 

Unlike AST, the entire expression of type x[3][4] will be done in one expression rather than having a separate ArrayAccess for each dimension. This is just a simplification. This can only be used if it is a simple array access where it is of the form {expression}[expression][expression]."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="array" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The expression representing the array to access."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="indexes" lowerBound="1" - upperBound="-1" eType="#//PTExpression" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The expressions representing the indexes of the access."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTArrayCreation" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Array Creation expression, e.g. new int[3] or new java.langString[][] {{"a"}, {"b"}}"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The fully-qualified type, e.g. int[][] or java.lang.String[], including the number of dimension brackets."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="dimensions" upperBound="-1" - eType="#//PTExpression" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The list of expressions for the dimensions. You can have [3][4][] but [][33] is invalid. So for each dimension that has an expression, there will be an entry in the list, in the correct order. When you reach the empty dimensions, the list will end too. "/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="initializer" eType="#//PTArrayInitializer" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is the initializer, if any, for this array. E.g. new int[] {2,3}. It is the {2,3}."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTArrayInitializer" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Array initialization expression. This is the entire expression, e.g. {2, 3}, or {{2,3}, 4}. In the second case, the {2,3} will be an ArrayInitializer contained within the expressions list for the top ArrayInitializer."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="expressions" upperBound="-1" - eType="#//PTExpression" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This isthe list of expressions within the initializer, e.g. {2, 3}, or {{2,3}, 4}. In the first case it will be two NumberLiterals. In the second case, the {2,3} will be an ArrayInitializer, followed by a NumberLiteral."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTBooleanLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This represents a primitive boolean literal, i.e. true or false directly in the code."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="booleanValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The value of the literal."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTCastExpression" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Cast expression, e.g. (short) 10"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is the fully-qualified type of the cast, e.g. int or java.lang.String"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The expression being casted."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTCharacterLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This represents a primitive character expression, e.g. 'a' or '\r'."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="escapedValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is the escaped character. In other words the literal exactly as it is in the java file. E.g. 'a' or '\r'. Including the surrounding single quotes themselves."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="charValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar" - transient="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The actual primitive character without the quotes. Escape are evaluated and turned into their character value. This is a transient field. If not set when created when queried it will create it. Typically it will be set when created from an AST node since the node already has evaluated it."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTClassInstanceCreation" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Class instance creation expression. E.g. new String("a")"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is the type of the class. E.g. java.lang.String. This should be fully-qualified for allocation purposes. It should also be in reflection format, i.e. if X is an inner class of j.Y, then the type here should be "j.Y$X". "/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" upperBound="-1" - eType="#//PTExpression" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The arguments to the constructor."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTConditionalExpression" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The test Expresson, e.g. (x=3) ? 1 : 2"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The condition expression."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="true" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The true expression"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="false" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The false expression."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTFieldAccess" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Access a field expression, e.g. java.awt.Color.red"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="receiver" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The expression representing the object that the field is in, e.g. java.awt.Color."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="field" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The name of the field being accessed, e.g. red."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTInfixExpression" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="An expression with an operator that has two operands, e.g. 3 + 4."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand" eType="#//PTExpression" - containment="true"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" eType="#//PTInfixOperator"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The operator, e.g. +"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The right expression. i.e. 4 of "3 + 4""/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="extendedOperands" upperBound="-1" - eType="#//PTExpression" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Used when there are a series of infix operations of the same operator, e.g. 1 + 2 + 3 + 4. 1 and 2 will go into left and right, while {3, 4} will go into the extended operands. "/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="PTInfixOperator"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Enumerator for the operator on an InfixExpression."/> - </eAnnotations> - <eLiterals name="TIMES"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="* operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="DIVIDE" value="1"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="/ operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="REMAINDER" value="2"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="% operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="PLUS" value="3"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="+ operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="MINUS" value="4"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="- operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="LEFT_SHIFT" value="5"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<< operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="RIGHT_SHIFT_SIGNED" value="6"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value=">> operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="RIGHT_SHIFT_UNSIGNED" value="7"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value=">>> operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="LESS" value="8"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="< operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="GREATER" value="9"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="> operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="LESS_EQUALS" value="10"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<= operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="GREATER_EQUALS" value="11"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value=">= operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="EQUALS" value="12"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="== operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="NOT_EQUALS" value="13"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="!= operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="XOR" value="14"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="^ operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="AND" value="15"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="& operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="OR" value="16"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="| operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="CONDITIONAL_AND" value="17"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="&& operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="CONDITIONAL_OR" value="18"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="|| operator"/> - </eAnnotations> - </eLiterals> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTInstanceof" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Instanceof expression, e.g. x instanceof java.lang.String"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The value to test, e.g. x in x instanceof java.lang.String"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The type of the instance test, e.g. java.lang.String. It must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTMethodInvocation" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="MethodInvocation expression, e.g. x.getY(3)"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="receiver" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Who the method is invoked against. This may be not set, which means "this". It may also be a Name, which would mean a class like "java.lang.String""/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The name of the method being invoked."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" upperBound="-1" - eType="#//PTExpression" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The list of arguments, if any, to the method."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTName" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This represents a name. This can happen for the receiver of a method invocation, e.g. x.getY() or java.lang.String.valueOf(10). In these cases you would have a name of "x" or "java.lang.String"."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The name, which can be a type or a variable. If it is a type, then it must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTNullLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Represents the expression "null""/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTNumberLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Represent a number primitive literal, e.g. 10. One optimization that will be performed is that if an expression is of the form +number or -number, it will be converted from a PrefixExpression with a NumberLiteral to just a NumberLiteral. This will simplify the model."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="token" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The token value, e.g. 10, 10d, or -10.75"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTParenthesizedExpression" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="An expression within parenthesis, e.g. (x+3)"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The expression wrapped by the parenthesis, e.g. (x+3) then the expression is "x+3""/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTPrefixExpression" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A one operand operator, where the operator comes before the operand, e.g. - (x+3). In AST, even -3 is modeled as a PrefixExpression of operator "-" and expression of NumberLiteral(3). But we optimize this away and just use a NumberLiteral(-3) directly instead."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" eType="#//PTPrefixOperator"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The operator of this expression."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//PTExpression" - containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The expression that the operator is applied to."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="PTPrefixOperator"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The prefix expression operator. We are not modeling ++ and --."/> - </eAnnotations> - <eLiterals name="PLUS"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="+ operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="MINUS" value="1"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="- operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="COMPLEMENT" value="2"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="~ operator"/> - </eAnnotations> - </eLiterals> - <eLiterals name="NOT" value="3"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="! operator"/> - </eAnnotations> - </eLiterals> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTStringLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Representation of a string literal, e.g. "asdf"."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="escapedValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is the escaped string. In other words the literal exactly as it is in the java file. E.g. "ab" or "c\r". Including the surrounding quotes themselves."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="literalValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" - transient="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The actual string without the quotes. Escape are evaluated and turned into their character value. This is a transient field. If not set when created when queried it will create it. Typically it will be set when created from an AST node since the node already has evaluated it."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTThisLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Represents "this", e.g. this.getX() will be a MethodInvocation with the receiver being a ThisLiteral. We can't handle the format XYZ.this because that is for inner classes and we don't support that right now."/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTTypeLiteral" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This represents a literal of the form j.XYZ.class. For instance in a method invocation x.getX(jXYZ.class) the argument will be a TypeLiteral."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The type of the literal. It must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTInvalidExpression" eSuperTypes="#//PTExpression"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is used when we have some expression we just can't evaluate for our purposes. It allows us to tell the evaluation what is actually wrong. It should be placed as the root expression to prevent processing much of the tree and then finally fail."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="message" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A message as to why it is invalid."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PTInstanceReference" eSuperTypes="#//PTExpression"> - <eStructuralFeatures xsi:type="ecore:EReference" name="object" lowerBound="1" - eType="#//IJavaObjectInstance"/> - </eClassifiers> -</ecore:EPackage>
diff --git a/plugins/org.eclipse.jem/model/instance.genmodel b/plugins/org.eclipse.jem/model/instance.genmodel deleted file mode 100644 index 788ea34..0000000 --- a/plugins/org.eclipse.jem/model/instance.genmodel +++ /dev/null
@@ -1,136 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<genmodel:GenModel xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" - xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.jem/javainst" - editDirectory="/org.eclipse.jem.edit/src" editorDirectory="/org.eclipse.jem.editor/src" - modelPluginID="" modelName="instance" editPluginClass="org.eclipse.jem.internal.instantiation.provider.instanceEditPlugin" - editorPluginClass="org.eclipse.jem.internal.instantiation.presentation.instanceEditorPlugin" - updateClasspath="false" usedGenPackages="../../org.eclipse.emf.ecore/src/model/Ecore.genmodel#//ecore"> - <foreignModel>..\rose\instance.mdl</foreignModel> - <foreignModel>WorkspaceRoot</foreignModel> - <foreignModel>../..</foreignModel> - <genPackages prefix="Instantiation" basePackage="org.eclipse.jem.internal" adapterFactory="false" - ecorePackage="instance.ecore#/"> - <genEnums ecoreEnum="instance.ecore#//PTInfixOperator"> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/TIMES"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/DIVIDE"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/REMAINDER"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/PLUS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/MINUS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/LEFT_SHIFT"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/RIGHT_SHIFT_SIGNED"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/RIGHT_SHIFT_UNSIGNED"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/LESS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/GREATER"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/LESS_EQUALS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/GREATER_EQUALS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/EQUALS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/NOT_EQUALS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/XOR"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/AND"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/OR"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/CONDITIONAL_AND"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTInfixOperator/CONDITIONAL_OR"/> - </genEnums> - <genEnums ecoreEnum="instance.ecore#//PTPrefixOperator"> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTPrefixOperator/PLUS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTPrefixOperator/MINUS"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTPrefixOperator/COMPLEMENT"/> - <genEnumLiterals ecoreEnumLiteral="instance.ecore#//PTPrefixOperator/NOT"/> - </genEnums> - <genClasses ecoreClass="instance.ecore#//IJavaDataTypeInstance"/> - <genClasses ecoreClass="instance.ecore#//IJavaInstance"/> - <genClasses ecoreClass="instance.ecore#//IJavaObjectInstance"/> - <genClasses ecoreClass="instance.ecore#//JavaAllocation"/> - <genClasses ecoreClass="instance.ecore#//InitStringAllocation"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//InitStringAllocation/initString"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//ImplicitAllocation"> - <genFeatures notify="false" ecoreFeature="ecore:EReference instance.ecore#//ImplicitAllocation/parent"/> - <genFeatures notify="false" ecoreFeature="ecore:EReference instance.ecore#//ImplicitAllocation/feature"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//ParseTreeAllocation"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//ParseTreeAllocation/expression"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTExpression"/> - <genClasses ecoreClass="instance.ecore#//PTArrayAccess"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTArrayAccess/array"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTArrayAccess/indexes"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTArrayCreation"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTArrayCreation/type"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTArrayCreation/dimensions"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTArrayCreation/initializer"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTArrayInitializer"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTArrayInitializer/expressions"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTBooleanLiteral"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTBooleanLiteral/booleanValue"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTCastExpression"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTCastExpression/type"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTCastExpression/expression"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTCharacterLiteral"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTCharacterLiteral/escapedValue"/> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTCharacterLiteral/charValue"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTClassInstanceCreation"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTClassInstanceCreation/type"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTClassInstanceCreation/arguments"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTConditionalExpression"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTConditionalExpression/condition"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTConditionalExpression/true"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTConditionalExpression/false"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTFieldAccess"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTFieldAccess/receiver"/> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTFieldAccess/field"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTInfixExpression"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTInfixExpression/leftOperand"/> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTInfixExpression/operator"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTInfixExpression/rightOperand"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTInfixExpression/extendedOperands"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTInstanceof"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTInstanceof/operand"/> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTInstanceof/type"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTMethodInvocation"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTMethodInvocation/receiver"/> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTMethodInvocation/name"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTMethodInvocation/arguments"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTName"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTName/name"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTNullLiteral"/> - <genClasses ecoreClass="instance.ecore#//PTNumberLiteral"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTNumberLiteral/token"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTParenthesizedExpression"> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTParenthesizedExpression/expression"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTPrefixExpression"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTPrefixExpression/operator"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference instance.ecore#//PTPrefixExpression/expression"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTStringLiteral"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTStringLiteral/escapedValue"/> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTStringLiteral/literalValue"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTThisLiteral"/> - <genClasses ecoreClass="instance.ecore#//PTTypeLiteral"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTTypeLiteral/type"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTInvalidExpression"> - <genFeatures ecoreFeature="ecore:EAttribute instance.ecore#//PTInvalidExpression/message"/> - </genClasses> - <genClasses ecoreClass="instance.ecore#//PTInstanceReference"> - <genFeatures notify="false" ecoreFeature="ecore:EReference instance.ecore#//PTInstanceReference/object"/> - </genClasses> - </genPackages> -</genmodel:GenModel>
diff --git a/plugins/org.eclipse.jem/model/java.ecore b/plugins/org.eclipse.jem/model/java.ecore deleted file mode 100644 index 6fa9b44..0000000 --- a/plugins/org.eclipse.jem/model/java.ecore +++ /dev/null
@@ -1,353 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<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="java" - nsURI="java.xmi" nsPrefix="org.eclipse.jem.internal.java"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Changes to synch up with Java3e:
- deleted JavaElement, BodyElement which didn't add anything useful
- deleted NestedClass and the association which described nesting, contents can be used instead
- deleted extends/extendedBy which is replaced with MOF subtype/supertype
- deleted the clumsy main diagram
- moved the MOF inheritance details to the MOF binding diagram
- deleted "final" on JavaParameter, don't know what that was supposed to be
- deleted the Category junk
- changed the Block-typed attributes on Field, Method, Initializer to be associations to Block

Outstanding questions/issues:
- JavaParameterKind should go away if we get the base Parameter kind fixed up
"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="JavaClass" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EClass"> - <eOperations name="isNested" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eOperations name="getField" eType="#//Field"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return an Field with the passed name, or null."/> - </eAnnotations> - <eParameters name="fieldName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eOperations> - <eOperations name="getFieldExtended" eType="#//Field"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value=" Return an Field with the passed name from this JavaClass or any supertypes.

Return null if a Field named fieldName is not found."/> - </eAnnotations> - <eParameters name="fieldName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eOperations> - <eOperations name="getFieldNamed" eType="#//Field"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return an Field with the passed name, or null."/> - </eAnnotations> - <eParameters name="fieldName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eOperations> - <eOperations name="getFieldsExtended" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return all fields, including those from supertypes."/> - </eAnnotations> - </eOperations> - <eOperations name="getMethod" eType="#//Method"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Get the method of this name and these parameters. It will not look up the supertype hierarchy."/> - </eAnnotations> - <eParameters name="methodName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eParameters name="parameterTypes" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="List of parameter types."/> - </eAnnotations> - </eParameters> - </eOperations> - <eOperations name="getMethodElementSignatures" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return a List of Strings that represent MethodElement signatures from most general to most specific."/> - </eAnnotations> - </eOperations> - <eOperations name="getMethodExtended" eType="#//Method"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Get the method of this name and these parameters. It will look up the supertype hierarchy."/> - </eAnnotations> - <eParameters name="methodName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eParameters name="parameterTypes" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="List of parameter types."/> - </eAnnotations> - </eParameters> - </eOperations> - <eOperations name="getMethodsExtended" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return all methods, including those from supertypes."/> - </eAnnotations> - </eOperations> - <eOperations name="getOnlySpecificMethods" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return a List of Methods that begins with @aMethodNamePrefix and is not included in the @excludedNames list. If @aMethodNamePrefix is null, all methods will be returned.
"/> - </eAnnotations> - <eParameters name="aMethodNamePrefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eParameters name="excludedNames" eType="#//JTypeList"/> - </eOperations> - <eOperations name="getPublicMethod" eType="#//Method"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It will not look up the supertype hierarchy."/> - </eAnnotations> - <eParameters name="methodName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eParameters name="parameterTypes" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="List of parameter types."/> - </eAnnotations> - </eParameters> - </eOperations> - <eOperations name="getPublicMethods" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return all methods, it will not go up the supertype hierarchy."/> - </eAnnotations> - </eOperations> - <eOperations name="getPublicMethodsExtended" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return all public methods, including those from supertypes."/> - </eAnnotations> - </eOperations> - <eOperations name="getPublicMethodsNamed" eType="#//JTypeList"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Returns a filtered list on the methods of this class, having a name equal to that of the parameter."/> - </eAnnotations> - <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eOperations> - <eOperations name="getSupertype" eType="#//JavaClass"/> - <eOperations name="implementsInterface" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Test whether the receiver implements the passed interface (or one of its supertypes)."/> - </eAnnotations> - <eParameters name="interfaceType" eType="#//JavaClass"/> - </eOperations> - <eOperations name="infoString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return a string showing our details."/> - </eAnnotations> - </eOperations> - <eOperations name="inheritsFrom" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Tests whether this class inherits from the passed in class."/> - </eAnnotations> - <eParameters name="javaClass" eType="#//JavaClass"/> - </eOperations> - <eOperations name="isExistingType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Does this type exist."/> - </eAnnotations> - </eOperations> - <eOperations name="isInterface" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Is this an interface."/> - </eAnnotations> - </eOperations> - <eOperations name="setSupertype"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Set the supertype."/> - </eAnnotations> - <eParameters name="javaclass" eType="#//JavaClass"/> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//TypeKind"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="public" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="implementsInterfaces" upperBound="-1" - eType="#//JavaClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="classImport" upperBound="-1" - eType="#//JavaClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="packageImports" upperBound="-1" - eType="#//JavaPackage"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="fields" upperBound="-1" - eType="#//Field" containment="true" eOpposite="#//Field/javaClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="methods" upperBound="-1" - eType="#//Method" containment="true" eOpposite="#//Method/javaClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="initializers" upperBound="-1" - eType="#//Initializer" containment="true" eOpposite="#//Initializer/javaClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="declaredClasses" upperBound="-1" - eType="#//JavaClass" eOpposite="#//JavaClass/declaringClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="declaringClass" eType="#//JavaClass" - eOpposite="#//JavaClass/declaredClasses"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="javaPackage" eType="#//JavaPackage" - changeable="false" volatile="true" transient="true" eOpposite="#//JavaPackage/javaClasses"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="events" upperBound="-1" - eType="#//JavaEvent" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="allEvents" upperBound="-1" - eType="#//JavaEvent" volatile="true" transient="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Initializer"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="isStatic" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="javaClass" eType="#//JavaClass" - transient="true" eOpposite="#//JavaClass/initializers"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//Block"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="JavaParameter" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EParameter"> - <eOperations name="isArray" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Is this parameter type an array type."/> - </eAnnotations> - </eOperations> - <eOperations name="isReturn" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Is this a return parameter."/> - </eAnnotations> - </eOperations> - <eOperations name="getJavaType" eType="#//JTypeJavaHelpers"/> - <eOperations name="getQualifiedName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="parameterKind" eType="#//JavaParameterKind"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Method" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EOperation"> - <eOperations name="getContainingJavaClass" eType="#//JavaClass"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return the java class that this method is defined in."/> - </eAnnotations> - </eOperations> - <eOperations name="getMethodElementSignature" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return a String with the the method name and its parameters. e.g. <code> setFirstName(java.lang.String) </code> .
 "/> - </eAnnotations> - </eOperations> - <eOperations name="getParameter" eType="#//JavaParameter"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return a Parameter with the passed name, or null."/> - </eAnnotations> - <eParameters name="parameterName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eOperations> - <eOperations name="getReturnType" eType="#//JTypeJavaHelpers"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Get the return type."/> - </eAnnotations> - </eOperations> - <eOperations name="setReturnType"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Set the return type"/> - </eAnnotations> - <eParameters name="type" eType="#//JTypeJavaHelpers"/> - </eOperations> - <eOperations name="getSignature" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Replicate the functionality of java.lang.reflect.Method.toString().

Returns a string describing this Method. The string is formatted as the method access modifiers, if any, followed by the method return type, followed by a space, followed by the class declaring the method, followed by a period, followed by the method name, followed by a parenthesized, comma-separated list of the method's formal parameter types. If the method throws checked exceptions, the parameter list is followed by a space, followed by the word throws followed by a comma-separated list of the thrown exception types.

For example:

 public boolean java.lang.Object.equals(java.lang.Object)

The access modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, <tt>protected</tt> or <tt>private</tt> first, and then other modifiers in the following order: <tt>abstract</tt>, <tt>static</tt>, <tt>final</tt>, <tt>synchronized</tt> <tt>native</tt>.
"/> - </eAnnotations> - </eOperations> - <eOperations name="isGenerated" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Returns true if the method is system generated.
This is usually determined by the @generated tag in the comment."/> - </eAnnotations> - </eOperations> - <eOperations name="setIsGenerated"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Set the isGenerated flag."/> - </eAnnotations> - <eParameters name="generated" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - </eOperations> - <eOperations name="isVoid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Is this a void return type method."/> - </eAnnotations> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="native" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="synchronized" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="constructor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaVisibility" eType="#//JavaVisibilityKind"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1" - eType="#//JavaParameter" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="javaExceptions" upperBound="-1" - eType="#//JavaClass"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="javaClass" eType="#//JavaClass" - transient="true" eOpposite="#//JavaClass/methods"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//Block"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Field" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//ETypedElement"> - <eOperations name="getContainingJavaClass" eType="#//JavaClass"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Get the class that this field is within."/> - </eAnnotations> - </eOperations> - <eOperations name="isArray" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Is this field an array type."/> - </eAnnotations> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaVisibility" eType="#//JavaVisibilityKind"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="volatile" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="javaClass" eType="#//JavaClass" - transient="true" eOpposite="#//JavaClass/fields"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="initializer" eType="#//Block" - containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="TypeKind"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="UNDEFINED=1 CLASS=2 INTERFACE=3 EXCEPTION=4"/> - </eAnnotations> - <eLiterals name="UNDEFINED"/> - <eLiterals name="CLASS" value="1"/> - <eLiterals name="INTERFACE" value="2"/> - <eLiterals name="EXCEPTION" value="3"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Block"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="source" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="contents" upperBound="-1" - eType="#//Block" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//Block"/> - <eClassifiers xsi:type="ecore:EClass" name="Statement" eSuperTypes="#//Block"/> - <eClassifiers xsi:type="ecore:EClass" name="JavaPackage" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EPackage"> - <eStructuralFeatures xsi:type="ecore:EReference" name="javaClasses" upperBound="-1" - eType="#//JavaClass" changeable="false" volatile="true" transient="true" eOpposite="#//JavaClass/javaPackage"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="JavaVisibilityKind"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="PACKAGE=1
PUBLIC=2
PRIVATE=3
PROTECTED=4"/> - </eAnnotations> - <eLiterals name="PUBLIC"/> - <eLiterals name="PRIVATE" value="1"/> - <eLiterals name="PROTECTED" value="2"/> - <eLiterals name="PACKAGE" value="3"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="JavaParameterKind"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="IN=0
OUT=1
INOUT=2
RETURN=3"/> - </eAnnotations> - <eLiterals name="IN"/> - <eLiterals name="OUT" value="1"/> - <eLiterals name="INOUT" value="2"/> - <eLiterals name="RETURN" value="3"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="JavaDataType" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EClass"> - <eOperations name="getDefaultValueString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Return the default string representing the default value of the primitive."/> - </eAnnotations> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ArrayType" eSuperTypes="#//JavaClass"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Describes a Java Array type
 For multi-dimensional arrays, it is unlikely that the component type will be
 specified directly. This would require instantiating a chain of component types
 such as String[][][][]->String[][][]->String[][]->String[]->String.

 The component type relationship will be computed if the finalComponentType
 and array dimensions is specified.
 
 For this reason, the preferred way to create is through the JavaRefFactory factory method:
 createArrayType(JavaClass finalComponentType, int dimensions)"/> - </eAnnotations> - <eOperations name="getFinalComponentType" eType="#//JTypeJavaHelpers"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Get the final component type for this Array Type.

In order to ensure a unique instance, we will resolve this type using reflection. It turns out to be most efficient to just do this by trimming the name."/> - </eAnnotations> - </eOperations> - <eOperations name="getComponentTypeAsHelper" eType="#//JTypeJavaHelpers"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Get the component type of this array. 

If this is a multi-dimensional array, the component type will be the nested array type."/> - </eAnnotations> - </eOperations> - <eOperations name="isPrimitiveArray" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Is this an array of java primitives"/> - </eAnnotations> - </eOperations> - <eOperations name="setComponentType"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Set the component type."/> - </eAnnotations> - <eParameters name="helperComponentType" eType="#//JTypeJavaHelpers"/> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="arrayDimensions" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="componentType" lowerBound="1" - eType="ecore:EClass ../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EClassifier"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EDataType" name="JTypeJavaHelpers" instanceClassName="org.eclipse.jem.java.JavaHelpers"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This interface is a common interface between JavaClass and JavaDataType plus some common helper methods."/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EDataType" name="JTypeList" instanceClassName="java.util.List"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="java.util.List type"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="JavaEvent" abstract="true" eSuperTypes="../../org.eclipse.emf.ecore/src/model/Ecore.ecore#//EStructuralFeature"/> -</ecore:EPackage>
diff --git a/plugins/org.eclipse.jem/model/javaModel.genmodel b/plugins/org.eclipse.jem/model/javaModel.genmodel deleted file mode 100644 index f939887..0000000 --- a/plugins/org.eclipse.jem/model/javaModel.genmodel +++ /dev/null
@@ -1,173 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<genmodel:GenModel xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" - xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.jem/mofjava" - editDirectory="/org.eclipse.jem.edit/src" editorDirectory="/org.eclipse.jem.editor/src" - modelPluginID="" modelName="Java" modelPluginClass="" editPluginClass="java.provider.JavaEditPlugin" - editorPluginClass="java.presentation.JavaEditorPlugin" updateClasspath="false" - usedGenPackages="../../org.eclipse.emf.ecore/src/model/Ecore.genmodel#//ecore"> - <foreignModel>..\rose\javaModel.mdl</foreignModel> - <foreignModel>WorkspaceRoot</foreignModel> - <foreignModel>../..</foreignModel> - <genPackages prefix="JavaRef" basePackage="org.eclipse.jem" ecorePackage="java.ecore#/"> - <genEnums ecoreEnum="java.ecore#//TypeKind"> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//TypeKind/UNDEFINED"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//TypeKind/CLASS"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//TypeKind/INTERFACE"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//TypeKind/EXCEPTION"/> - </genEnums> - <genEnums ecoreEnum="java.ecore#//JavaVisibilityKind"> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaVisibilityKind/PUBLIC"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaVisibilityKind/PRIVATE"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaVisibilityKind/PROTECTED"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaVisibilityKind/PACKAGE"/> - </genEnums> - <genEnums ecoreEnum="java.ecore#//JavaParameterKind"> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaParameterKind/IN"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaParameterKind/OUT"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaParameterKind/INOUT"/> - <genEnumLiterals ecoreEnumLiteral="java.ecore#//JavaParameterKind/RETURN"/> - </genEnums> - <genDataTypes ecoreDataType="java.ecore#//JTypeJavaHelpers"/> - <genDataTypes ecoreDataType="java.ecore#//JTypeList"/> - <genClasses ecoreClass="java.ecore#//JavaClass"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/kind"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/public"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//JavaClass/final"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//JavaClass/implementsInterfaces"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//JavaClass/classImport"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//JavaClass/packageImports"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//JavaClass/fields"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//JavaClass/methods"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//JavaClass/initializers"/> - <genFeatures property="None" ecoreFeature="ecore:EReference java.ecore#//JavaClass/declaredClasses"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//JavaClass/declaringClass"/> - <genFeatures property="Readonly" ecoreFeature="ecore:EReference java.ecore#//JavaClass/javaPackage"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//JavaClass/events"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//JavaClass/allEvents"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/isNested"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/getField"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getField/fieldName"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getFieldExtended"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getFieldExtended/fieldName"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getFieldNamed"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getFieldNamed/fieldName"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getFieldsExtended"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/getMethod"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getMethod/methodName"/> - <genParameters ecoreParameter="java.ecore#//JavaClass/getMethod/parameterTypes"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getMethodElementSignatures"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/getMethodExtended"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getMethodExtended/methodName"/> - <genParameters ecoreParameter="java.ecore#//JavaClass/getMethodExtended/parameterTypes"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getMethodsExtended"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/getOnlySpecificMethods"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getOnlySpecificMethods/aMethodNamePrefix"/> - <genParameters ecoreParameter="java.ecore#//JavaClass/getOnlySpecificMethods/excludedNames"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getPublicMethod"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getPublicMethod/methodName"/> - <genParameters ecoreParameter="java.ecore#//JavaClass/getPublicMethod/parameterTypes"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getPublicMethods"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/getPublicMethodsExtended"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/getPublicMethodsNamed"> - <genParameters ecoreParameter="java.ecore#//JavaClass/getPublicMethodsNamed/name"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/getSupertype"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/implementsInterface"> - <genParameters ecoreParameter="java.ecore#//JavaClass/implementsInterface/interfaceType"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/infoString"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/inheritsFrom"> - <genParameters ecoreParameter="java.ecore#//JavaClass/inheritsFrom/javaClass"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//JavaClass/isExistingType"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/isInterface"/> - <genOperations ecoreOperation="java.ecore#//JavaClass/setSupertype"> - <genParameters ecoreParameter="java.ecore#//JavaClass/setSupertype/javaclass"/> - </genOperations> - </genClasses> - <genClasses ecoreClass="java.ecore#//Initializer"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Initializer/isStatic"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//Initializer/javaClass"/> - <genFeatures property="Readonly" ecoreFeature="ecore:EReference java.ecore#//Initializer/source"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//JavaParameter"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//JavaParameter/final"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//JavaParameter/parameterKind"/> - <genOperations ecoreOperation="java.ecore#//JavaParameter/isArray"/> - <genOperations ecoreOperation="java.ecore#//JavaParameter/isReturn"/> - <genOperations ecoreOperation="java.ecore#//JavaParameter/getJavaType"/> - <genOperations ecoreOperation="java.ecore#//JavaParameter/getQualifiedName"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//Method"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/abstract"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/native"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/synchronized"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/final"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/constructor"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/static"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Method/javaVisibility"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//Method/parameters"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//Method/javaExceptions"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//Method/javaClass"/> - <genFeatures property="Readonly" ecoreFeature="ecore:EReference java.ecore#//Method/source"/> - <genOperations ecoreOperation="java.ecore#//Method/getContainingJavaClass"/> - <genOperations ecoreOperation="java.ecore#//Method/getMethodElementSignature"/> - <genOperations ecoreOperation="java.ecore#//Method/getParameter"> - <genParameters ecoreParameter="java.ecore#//Method/getParameter/parameterName"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//Method/getReturnType"/> - <genOperations ecoreOperation="java.ecore#//Method/setReturnType"> - <genParameters ecoreParameter="java.ecore#//Method/setReturnType/type"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//Method/getSignature"/> - <genOperations ecoreOperation="java.ecore#//Method/isGenerated"/> - <genOperations ecoreOperation="java.ecore#//Method/setIsGenerated"> - <genParameters ecoreParameter="java.ecore#//Method/setIsGenerated/generated"/> - </genOperations> - <genOperations ecoreOperation="java.ecore#//Method/isVoid"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//Field"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Field/final"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Field/static"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Field/javaVisibility"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Field/transient"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Field/volatile"/> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//Field/javaClass"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//Field/initializer"/> - <genOperations ecoreOperation="java.ecore#//Field/getContainingJavaClass"/> - <genOperations ecoreOperation="java.ecore#//Field/isArray"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//Block"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Block/source"/> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//Block/name"/> - <genFeatures property="None" children="true" ecoreFeature="ecore:EReference java.ecore#//Block/contents"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//Comment"/> - <genClasses ecoreClass="java.ecore#//Statement"/> - <genClasses ecoreClass="java.ecore#//JavaPackage"> - <genFeatures property="None" notify="false" ecoreFeature="ecore:EReference java.ecore#//JavaPackage/javaClasses"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//JavaDataType"> - <genOperations ecoreOperation="java.ecore#//JavaDataType/getDefaultValueString"/> - </genClasses> - <genClasses ecoreClass="java.ecore#//ArrayType"> - <genFeatures ecoreFeature="ecore:EAttribute java.ecore#//ArrayType/arrayDimensions"/> - <genFeatures property="Readonly" ecoreFeature="ecore:EReference java.ecore#//ArrayType/componentType"/> - <genOperations ecoreOperation="java.ecore#//ArrayType/getFinalComponentType"/> - <genOperations ecoreOperation="java.ecore#//ArrayType/getComponentTypeAsHelper"/> - <genOperations ecoreOperation="java.ecore#//ArrayType/isPrimitiveArray"/> - <genOperations ecoreOperation="java.ecore#//ArrayType/setComponentType"> - <genParameters ecoreParameter="java.ecore#//ArrayType/setComponentType/helperComponentType"/> - </genOperations> - </genClasses> - <genClasses ecoreClass="java.ecore#//JavaEvent"/> - </genPackages> -</genmodel:GenModel>
diff --git a/plugins/org.eclipse.jem/mofjava/javaadapters.properties b/plugins/org.eclipse.jem/mofjava/javaadapters.properties deleted file mode 100644 index a2bfd5f..0000000 --- a/plugins/org.eclipse.jem/mofjava/javaadapters.properties +++ /dev/null
@@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2003 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Common Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/cpl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -# -# $Source: /cvsroot/webtools/jeetools.move/webtools.javaee.git/plugins/org.eclipse.jem/mofjava/javaadapters.properties,v $ -# $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ -# - -Failed_reflecting_values_ERROR_=IWAE0001E Failed reflecting values. -Could_Not_Reflect_Methods_ERROR_=IWAE0002E Could not reflect methods for {0} because one of the methods references a type that could not be loaded. Exception: {1} -Could_Not_Reflect_Constructors_ERROR_=IWAE0003E Could not reflect constructors for {0} because one of the methods references a type that could not be loaded. Exception: {1} -Could_Not_Reflect_Fields_ERROR_=IWAE0004E Could not reflect fields for {0} because one of the fields is a type that could not be loaded. Exception: {1} -Error_Looking_Up_Type_ERROR_=IWAE0005E Error looking up type {0}. Exception: {1} -Error_Introspecting_Flags_ERROR_=IWAE0006E Error introspecting flags on {0}. Exception: {1} -Error_Setting_GenFlag_ERROR_=IWAE0007E Error setting the generated flag on {0}. Exception: {1} -Java_Inh_Cycle_ERROR_=IWAE0008E Detected an inheritance cycle when {0} trys to extend {1}. - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/core/JEMPlugin.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/core/JEMPlugin.java deleted file mode 100644 index 48a219a..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/core/JEMPlugin.java +++ /dev/null
@@ -1,52 +0,0 @@ -package org.eclipse.jem.internal.core; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JEMPlugin.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/24 19:33:42 $ - */ -import org.eclipse.core.runtime.*; -import org.eclipse.core.runtime.IPluginDescriptor; -import org.eclipse.core.runtime.Plugin; - -import com.ibm.wtp.common.logger.proxy.Logger; -import com.ibm.wtp.logger.proxyrender.EclipseLogger; - -/** - * org.eclipse.jem plugin - */ -public class JEMPlugin extends Plugin { - - private static JEMPlugin PLUGIN; - private Logger logger; - - public JEMPlugin(IPluginDescriptor descriptor) { - super(descriptor); - PLUGIN = this; - } - - public static JEMPlugin getPlugin() { - return PLUGIN; - } - - /* (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#startup() - */ - public void startup() throws CoreException { - super.startup(); - logger = EclipseLogger.getEclipseLogger(this); - } - - public Logger getLogger() { - return logger; - } - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/IJavaClassAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/IJavaClassAdaptor.java deleted file mode 100644 index 23f6985..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/IJavaClassAdaptor.java +++ /dev/null
@@ -1,35 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IJavaClassAdaptor.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ -/** - * Insert the type's description here. - * Creation date: (8/27/2001 1:17:46 PM) - * @author: Administrator - */ -public interface IJavaClassAdaptor { -/** - * Return true if the sourceType is null or if - * it is a binary type. - */ -boolean isSourceTypeFromBinary() ; -/** - * Return true if the sourceType can be found. - */ -boolean sourceTypeExists() ; -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/IJavaReflectionKeyExtension.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/IJavaReflectionKeyExtension.java deleted file mode 100644 index 4fca1fb..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/IJavaReflectionKeyExtension.java +++ /dev/null
@@ -1,34 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IJavaReflectionKeyExtension.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ -/** - * Interface for JavaReflectionKeyExtensions. - * They are registered with the JavaXMIFactoryImpl. - * - * @version 1.0 - * @author R. L. Kulp - */ -public interface IJavaReflectionKeyExtension { - - /** - * Return object for the given id. Return null if this extension doesn't - * process this type of id. - */ - public Object getObject(String id, JavaReflectionKey reflectionKey); - -} - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/InternalReadAdaptable.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/InternalReadAdaptable.java deleted file mode 100644 index 73eedad..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/InternalReadAdaptable.java +++ /dev/null
@@ -1,34 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InternalReadAdaptable.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ - -public interface InternalReadAdaptable extends org.eclipse.emf.common.notify.Notifier { -/** - * Implementers of this interface need to contain the following method - * implementations: - * public Object primRefValue(EObject a) { - * return super.getValue(a); - * } - * public Object getValue(EObject a) { - * return ReflectionAdaptor.getValue(this, a); - * } - */ -//public Object primRefValue(EObject a); -void setReflected(boolean aBoolean); -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java deleted file mode 100644 index 21cce55..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java +++ /dev/null
@@ -1,166 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaReflectionAdapterFactory.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.jem.java.JavaRefPackage; -public abstract class JavaReflectionAdapterFactory extends AdapterFactoryImpl { - // Maintain a mapping of the source objects to the adaptors which have - // relfected from them. This allows a flush operation to force those - // adapters to re-reflect. - protected HashMap reflected = new HashMap(); - protected static final String TYPE_NAME = ReadAdaptor.TYPE_KEY; - protected boolean isBusyIteratingReflected = false; - protected Map registerQueue; - protected List unregisterQueue; -/** - * JavaReflectionAdapterFactory constructor comment. - */ -public JavaReflectionAdapterFactory() { - super(); -} -public Adapter createAdapter(Notifier target) { - ReflectionAdaptor adapter = null; - EObject object = (EObject) target; - JavaRefPackage pack = getJavaRefPackage(); - if (object.eClass() == pack.getJavaClass()) - adapter = createJavaClassAdaptor(target); - else - if (object.eClass() == pack.getArrayType()) - adapter = createArrayTypeAdaptor(target); - else - if (object.eClass() == pack.getMethod()) - adapter = createJavaMethodAdaptor(target); - else - if (object.eClass() == pack.getField()) - adapter = createJavaFieldAdaptor(target); - return adapter; -} -protected ReflectionAdaptor createArrayTypeAdaptor(Notifier target) { - // temporary implementation, placeholder to later optimize - // Array reflection. For now, do class reflection. - return createJavaClassAdaptor(target); -} -protected abstract ReflectionAdaptor createJavaClassAdaptor(Notifier target) ; -protected abstract ReflectionAdaptor createJavaFieldAdaptor(Notifier target) ; -protected abstract ReflectionAdaptor createJavaMethodAdaptor(Notifier target) ; -// Flush the adapter for a source object -public Notification disAssociateSource(String source) { - return disAssociateSource(source, true); -} - -public Notification disAssociateSource(String source, boolean doNotify) { - JavaReflectionAdaptor a = (JavaReflectionAdaptor) reflected.get(source); - Notification notification = null; - if (a != null) { - if (doNotify) - a.releaseSourceType(); - else - notification = a.releaseSourceTypeNoNotification(); - } - return notification; -} -public void flushAll() {} -// Flush the adapter for a source object -public void flushReflection(String source) {} -protected JavaRefPackage getJavaRefPackage() { - return (JavaRefPackage) EPackage.Registry.INSTANCE.getEPackage(JavaRefPackage.eNS_URI); -} -public void registerReflection(String source, ReflectionAdaptor adapter) { - if (isBusyIteratingReflected) { - if (registerQueue == null) - registerQueue = new HashMap(); - registerQueue.put(source, adapter); - } else - reflected.put(source, adapter); -} -public void unregisterReflection(String source) { - if (isBusyIteratingReflected) { - if (unregisterQueue == null) - unregisterQueue = new ArrayList(); - unregisterQueue.add(source); - } else - reflected.remove(source); -} -public void disAssociateSourcePlusInner(String source) { - disAssociateSourcePlusInner(source, true); -} - -public Notification disAssociateSourcePlusInner(String source, boolean doNotify) { - isBusyIteratingReflected = true; - Notification notification = null; - try { - String innerName = source + '$'; - Iterator it = reflected.entrySet().iterator(); - Map.Entry entry; - String key; - JavaReflectionAdaptor adaptor; - while (it.hasNext()) { - entry = (Map.Entry) it.next(); - key = (String) entry.getKey(); - if (key.equals(source) || key.startsWith(innerName)) { - adaptor = (JavaReflectionAdaptor) reflected.get(key); - if (adaptor != null) { - if (doNotify) - adaptor.releaseSourceType(); - else - notification = adaptor.releaseSourceTypeNoNotification(); - } - } - } - } finally { - finishedIteratingReflected(); - } - return notification; -} - -protected void finishedIteratingReflected() { - isBusyIteratingReflected = false; - if (unregisterQueue != null && !unregisterQueue.isEmpty()) { - for (int i = 0; i < unregisterQueue.size(); i++) { - reflected.remove(unregisterQueue.get(i)); - } - unregisterQueue.clear(); - } - if (registerQueue != null && !registerQueue.isEmpty()) { - Iterator it = registerQueue.entrySet().iterator(); - Map.Entry entry; - while (it.hasNext()) { - entry = (Map.Entry) it.next(); - reflected.put(entry.getKey(), entry.getValue()); - } - registerQueue.clear(); - } -} -} - - - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdaptor.java deleted file mode 100644 index 4afb597..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdaptor.java +++ /dev/null
@@ -1,260 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaReflectionAdaptor.java,v $ - * $Revision: 1.4 $ $Date: 2004/02/24 19:33:42 $ - */ -import java.util.List; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import com.ibm.wtp.common.logger.proxy.Logger; - -import org.eclipse.jem.java.*; - -/** - * - */ -public abstract class JavaReflectionAdaptor extends ReflectionAdaptor { - private static final String C_METHOD_DEFAULT_CTOR = String.valueOf(C_METHOD_PARM_DELIMITER) + S_CONSTRUCTOR_TOKEN; - protected static final String LEFT_BRACKET = "[";//$NON-NLS-1$ - public static final EAttribute FLUSH_REFLECTION_SF = EcorePackage.eINSTANCE.getEcoreFactory().createEAttribute(); - public static final EAttribute FLUSH_NEW_REFLECTION_SF = EcorePackage.eINSTANCE.getEcoreFactory().createEAttribute(); - - static { - FLUSH_REFLECTION_SF.setName("flushReflectedValues"); //$NON-NLS-1$ - FLUSH_NEW_REFLECTION_SF.setName("flushNewReflectedValues"); //$NON-NLS-1$ - } - protected boolean hasFlushed = false; - protected boolean isFlushing = false; -/** - * JavaReflectionAdapter constructor comment. - */ -public JavaReflectionAdaptor() { - super(); -} -/** - * JavaReflectionAdapter constructor comment. - * @param target org.eclipse.emf.common.notify.Notifier - */ -public JavaReflectionAdaptor(org.eclipse.emf.common.notify.Notifier target) { - super(target); -} -/** - * createBlock - instantiate a Block containing the passed source - */ -public Block createBlock(String name, String sourceString) { - Block newBlock = getJavaFactory().createBlock(); - newBlock.setName(name + "_" + "block");//$NON-NLS-2$//$NON-NLS-1$ - newBlock.setSource(sourceString); - return newBlock; -} -/** - * setSuper - set our supertype here, implemented interface are handled separately - */ -public JavaClass createJavaClassRef(String targetName) { - JavaClass ref = org.eclipse.jem.java.impl.JavaRefFactoryImpl.getActiveFactory().createJavaClass(); - JavaURL javaurl = new JavaURL(targetName); - ((InternalEObject) ref).eSetProxyURI(URI.createURI(javaurl.getFullString())); - return ref; -} -/** - * createJavaParameter - instantiate a Java Parameter based on the passed name and type name (a simple name, NOT A SIGNATURE!!!) - * The id for a parameter has to be complex in order to be parsable into class, method, and parm. - * It is created by appending the parm name to the method id, with a known separator. - * It will look something like "Foo.doSomething(java.lang.Integer-arg0" - */ -public JavaParameter createJavaParameter(Method parentMethod, String parmName, String parmTypeName) { - JavaParameter newParm = getJavaFactory().createJavaParameter(); - newParm.setName(parmName); -// ((InternalEObject)newParm).eSetID(parentMethod.eID() + C_METHODID_PARMID_DELIMITER + parmName); - String classRefString = parmTypeName; - newParm.setEType(createJavaClassRef(classRefString)); - return newParm; -} -/** - * This method will return a List of dimensions for a typeName. - * For example "foo[][]" would return a List of Integers - * 1, 1. At some point we may want to actually capture the size - * for Fields but we would need the initializer source to determine that. - */ -public List getArrayDimensions(String typeName) { - List dimensions = new java.util.ArrayList(); - if (typeName != null) { - int begin = 0; - int index = -1; - while (begin < typeName.length()) { - index = typeName.indexOf(LEFT_BRACKET, begin); - if (index > -1) { - dimensions.add(new Integer(1)); - begin = index + 1; - } else { - begin = typeName.length(); - } - } - } - return dimensions; -} -/* Get the Java Factory - */ -protected static JavaRefFactory getJavaFactory() { - return ((org.eclipse.jem.java.JavaRefPackage)EPackage.Registry.INSTANCE.getEPackage(org.eclipse.jem.java.JavaRefPackage.eNS_URI)).getJavaRefFactory(); -} -public abstract Object getReflectionSource(); -/** - * getTypeNamesFromMethodUUID - Pull the parm type names out of a method ID - * It will be in the form: "simpleclass.methodName(com.fronk.Parm1_type,parm2type" - */ -protected static String[] getTypeNamesFromMethodID(String methodID) { - if (methodID.charAt(methodID.length()-1) == C_METHOD_PARM_DELIMITER || methodID.endsWith(C_METHOD_DEFAULT_CTOR)) - return emptyStringArray; - - // Count the parms first. The number of parms is the number of occurrences of ',' + 1 - int numParms = 1; - int pos = -1; - // Skip the '.' after classname - pos = methodID.indexOf(C_CLASS_MEMBER_DELIMITER, ++pos); - // Look for the start of the parms - int parmPos = methodID.indexOf(C_METHOD_PARM_DELIMITER, ++pos); - pos = parmPos; - while ((pos = methodID.indexOf(C_PARM_PARM_DELIMITER, ++pos)) != -1) - numParms++; - String[] parmTypeNames = new String[numParms]; - // now collect the parm names - // skip the method name - pos = parmPos; - int i = 0, end; - do { - end = methodID.indexOf(C_PARM_PARM_DELIMITER, pos + 1); - // This is the last parameter, we may need to strip a trailing &V for a constructor - if (end == -1) - end = methodID.indexOf(S_CONSTRUCTOR_TOKEN, pos + 1); - // otherwise take the rest of the ID - if (end == -1) - end = methodID.length(); - parmTypeNames[i++] = methodID.substring(pos + 1, end); - } while ((pos = methodID.indexOf(C_PARM_PARM_DELIMITER, ++pos)) != -1); - return parmTypeNames; -} -public boolean hasReflectionSource() { - return (getReflectionSource() != null); -} - -/** - * Subclasses should override. - * - */ -public void releaseSourceType(){ -} - -/** - * Subclasses should override. - * @return - */ -public Notification releaseSourceTypeNoNotification() { - return null; -} - -public static void releaseSourceType(JavaClass javaClass) { - if (javaClass == null) - return; - - JavaReflectionAdaptor existing = (JavaReflectionAdaptor) retrieveAdaptorFrom(javaClass); - if (existing != null) - existing.releaseSourceType(); -} -/* - * This method is called by a Field Adaptor to set the type of aField - * to be aTypeName. aTypeName may contain array brackets which need - * to be detected in order to set the array dimensions on aField. - */ -protected void setFieldType(Field aField, String aTypeName) { - if (aField != null && aTypeName != null) { - String classRefString = aTypeName; - aField.setEType(createJavaClassRef(classRefString)); - } -} -public final boolean flushReflectedValuesIfNecessary() { - return flushReflectedValuesIfNecessary(false); -} -public final boolean flushReflectedValuesIfNecessary(boolean clearCachedModelObject) { - Notification not = flushReflectedValuesIfNecessaryNoNotification(clearCachedModelObject); - if (not != null) - getTarget().eNotify(not); - return hasFlushed; -} - -public Notification flushReflectedValuesIfNecessaryNoNotification(boolean clearCachedModelObject) { - if (!hasFlushed && !isFlushing) { - boolean isExisting = hasReflectionSource(); - try { - isFlushing = true; - hasReflected = false; - hasFlushed = flushReflectedValues(clearCachedModelObject); - } catch (Throwable e) { - hasFlushed = false; - Logger.getLogger().log(e); - if (e instanceof RuntimeException) - throw (RuntimeException) e; - else if (e instanceof Error) - throw (Error) e; - else - throw new RuntimeException(e.getMessage()); - } finally { - isFlushing = false; - postFlushReflectedValuesIfNecessary(isExisting); - } - return createFlushNotification(isExisting); - } - return null; -} - -/** - * @param isExisting - * @return - */ -protected Notification createFlushNotification(boolean isExisting) { - EStructuralFeature feature = isExisting ? FLUSH_REFLECTION_SF : FLUSH_NEW_REFLECTION_SF; - return new ENotificationImpl((InternalEObject)getTarget(),Notification.SET, feature, null, null); -} -protected void postFlushReflectedValuesIfNecessary(boolean isExisting) { -} -/** - * Subclasses should override to perform the actual clearing of the values. - */ -protected boolean flushReflectedValues(boolean clearCachedModelObject) { - return true; -} -/** - * Return a boolean indicating whether reflection had occurred. - */ -public boolean reflectValuesIfNecessary() { - if (isFlushing) - return false; - return super.reflectValuesIfNecessary(); -} - -/** - * reflectValues - template method, subclasses override to pump values into target - */ -public boolean reflectValues() { - hasFlushed = false; - return true; -} -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionKey.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionKey.java deleted file mode 100644 index 58c956d..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionKey.java +++ /dev/null
@@ -1,434 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaReflectionKey.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import java.util.*; - -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.xmi.XMIResource; - -import org.eclipse.jem.java.*; - -/** - * This key handles Java Reflection. It creates the appropriate type of entries if - * they are not already in the resource. There is an extension mechanism for other - * types of ids that are not recognized by this key. They are registered with the - * JavaXMIFactory that is used to create these keys, and the factory will pass in - * a List of these registered extension processers (IJavaReflectionKeyExtension). - * - * Creation date: (10/4/2000 8:24:36 AM) - * @author: Administrator - */ -public class JavaReflectionKey { - /* Constants for the primitive type names - * These are the values which are used to refer to a primitive type, - * i.e. new JavaURL("int") or new URL("java://#int") - * These types are cached by pre-loading documents for the primitives, - * in "java://", and for the java.lang (Object and String) classes - */ - static final public String N_VOID = "void"; //$NON-NLS-1$ - static final public String N_INT = "int";//$NON-NLS-1$ - static final public String N_BOOLEAN = "boolean";//$NON-NLS-1$ - static final public String N_CHAR = "char";//$NON-NLS-1$ - static final public String N_BYTE = "byte";//$NON-NLS-1$ - static final public String N_LONG = "long";//$NON-NLS-1$ - static final public String N_FLOAT = "float";//$NON-NLS-1$ - static final public String N_DOUBLE = "double";//$NON-NLS-1$ - static final public String N_SHORT = "short";//$NON-NLS-1$ - private static final Collection PRIMITIVES = new ArrayList(8); - - static { initializePrimitivesCollection(); } - - protected XMIResource resource; //FB - protected List extensions; -//FB /** -//FB * JavaReflectionKey constructor comment. -//FB */ -//FB public JavaReflectionKey() { -//FB super(); -//FB } - -//FB /** -//FB * Method JavaReflectionKey. -//FB * @param extensions -//FB */ -//FB public JavaReflectionKey(List extensions) { -//FB super(); -//FB setExtensions(extensions); -//FB } - -//FB /** -//FB * Method JavaReflectionKey. -//FB * @param extensions -//FB * @param extent -//FB */ -//FB public JavaReflectionKey(List extensions, Extent extent) { -//FB this(extent); -//FB setExtensions(extensions); -//FB } - -//FB /** -//FB * JavaReflectionKey constructor comment. -//FB * @param e com.ibm.etools.emf.ref.Extent -//FB */ -//FB public JavaReflectionKey(com.ibm.etools.emf.ref.Extent e) { -//FB super(e); -//FB } -//FB /** -//FB * Set the extensions to use. Typically only called by JavaXMIFactoryImpl. -//FB */ -//FB public void setExtensions(List extensions) { -//FB this.extensions = extensions; -//FB } - -//FB ADDED -public JavaReflectionKey(List extensions, XMIResource resource) { - this.extensions = extensions; - this.resource = resource; -} -//FB END - -/* - * Create an ArrayType instance in the current document - * Handles the push and pop of the current document. - */ -public ArrayType createArrayType() { - return getJavaFactory().createArrayType(); -} -/* - * Create a JavaClass instance in the current document - * Handles the push and pop of the current document. - */ -public JavaClass createJavaClass() { - return getJavaFactory().createJavaClass(); -} -/** - * Create a data type and put it in the primitives resource - */ -protected EClassifier getJavaDataType(String typeName) { - JavaDataType result = getJavaFactory().createJavaDataType(); - result.setName(typeName); - // ((InternalEObject)result).eSetID(typeName); - //result.eSetUUID((UUID) null); - //result.setEPackage(getPackage()); - getPackage().getEClassifiers().add(result); - resource.setID(result, typeName); - return result; -} -/* - * Create a Field instance in the current document - * Handles the push and pop of the current document. - */ -public Field createJavaField() { - return getJavaFactory().createField(); -} -/* - * Create a Method instance in the current document - * Handles the push and pop of the current document. - */ -public Method createJavaMethod() { - return getJavaFactory().createMethod(); -} -/* - * Create a JavaParameter instance in the current document - */ -public JavaParameter createJavaParameter() { - return getJavaFactory().createJavaParameter(); -} -//FB/** -//FB * Override to try to introspect objects -//FB * that aren't found using the default mechanism. -//FB */ -//FBpublic Object get(Object key) { -//FB Object javaObject = super.get(key); -//FB if (javaObject == null) { -//FB javaObject = getObjectFromExtensions((String) key); -//FB if (javaObject == null) -//FB javaObject = getJavaObject((String) key); -//FB } -//FB return javaObject; -//FB} - -//FB ADDED -public Object get(String key) { - Object javaObject = getObjectFromExtensions(key); - if (javaObject == null) - javaObject = getJavaObject(key); - return javaObject; -} -//FB END - -/* - * Instantiate the named class. - * If we make it to this point, the class has not yet been instantiated or reflected. - */ -public EClassifier getArrayType(String typeName) { - ArrayType arrayType = this.createArrayType(); - arrayType.setName(typeName); - // ((InternalEObject)arrayType).eSetID(typeName); - //arrayType.eSetUUID((UUID) null); - int pos = -1, braces = 0; - do { - pos = typeName.indexOf("[", pos+1);//$NON-NLS-1$ - if (pos != -1) - braces++; - } while (pos != -1); - arrayType.setArrayDimensions(braces); - //arrayType.setEPackage(getPackage()); - getPackage().getEClassifiers().add(arrayType); - resource.setID(arrayType, typeName); - return arrayType; -} -/* - * Instantiate the named class. - * If we make it to this point, teh class has not yet been instantiated or reflected. - */ -public EClassifier getJavaClass(String typeName) { - JavaClass javaClass = this.createJavaClass(); - javaClass.setName(typeName); - // ((InternalEObject)javaClass).eSetID(javaClass.getName()); - //javaClass.eSetUUID((UUID) null); - // javaClass.setEPackage(getPackage()); - getPackage().getEClassifiers().add(javaClass); - resource.setID(javaClass, typeName); - return javaClass; -} -/* Get the Java Factory - */ -protected static JavaRefFactory getJavaFactory() { - return JavaRefFactory.eINSTANCE; -} -/** - * This allows for the direct retrieval of fields with the following notation: - * field: java:/com.ibm.foo#Test.foo - * - */ -protected Field getJavaField(String keyValue) { - Field result = null; - String className, memberName; - int memberDelimiter = keyValue.indexOf(ReflectionAdaptor.C_CLASS_MEMBER_DELIMITER); - className = keyValue.substring(0, memberDelimiter); - memberName = keyValue.substring(memberDelimiter + 1); - EClassifier javaClass = (EClassifier) primGet(className); - // if we haven't already instantiated the containing class, then go do it. - if (javaClass == null) - javaClass = getJavaType(className); - if ((javaClass != null) && !((JavaHelpers) javaClass).isPrimitive()) { - // We have a class. Now we need to force reflection, this will cause - // the JavaReflectionKey to be updated and have the member added to the - // list. - ((JavaClass) javaClass).getFields(); - //FB result = (Field) super.get(keyValue); // It should now be registered. - result = (Field) primGet(keyValue); // It should now be registered. - - if (result == null) { - Field tempField = createJavaField(); - tempField.setName(memberName); - // ((InternalEObject)tempField).eSetID(keyValue); - //tempField.eSetUUID((UUID) null); - ((JavaClass) javaClass).getFields().add(tempField); - result = tempField; - } - } - return result; -} -/** - * This allows for the retrieval of methods with the following notation: - * method: java:/com.ibm.foo#Test.foofoo( - * - */ -protected Method getJavaMethod(String keyValue) { - Method result = null; - String className, memberName; - int memberDelimiter = keyValue.indexOf(ReflectionAdaptor.C_CLASS_MEMBER_DELIMITER); - className = keyValue.substring(0, memberDelimiter); - int parmDelimiter = keyValue.indexOf(ReflectionAdaptor.C_METHOD_PARM_DELIMITER, memberDelimiter); - memberName = keyValue.substring(memberDelimiter + 1, parmDelimiter); - EClassifier javaClass = (EClassifier) primGet(className); - // if we haven't already instantiated the containing class, then go do it. - if (javaClass == null) - javaClass = getJavaType(className); - if ((javaClass != null) && !((JavaHelpers) javaClass).isPrimitive()) { - // We have a class. Now we need to force reflection, this will cause - // the JavaReflectionKey to be updated and have the member added to the - // list. - ((JavaClass) javaClass).getMethods(); - result = (Method) primGet(keyValue); // It should now be registered. - - if (result == null) { - Method tempMethod = createJavaMethod(); - tempMethod.setName(memberName); - resource.setID(tempMethod, keyValue); - ((JavaClass) javaClass).getMethods().add(tempMethod); - result = tempMethod; - } - } - return result; -} -/** - * This allows for the retrieval of attributes/methods with the following notation: - * field: java:/com.ibm.foo#Test.foo - * method: java:/com.ibm.foo#Test.foofoo( - * parameter: java:/com.ibm.foo#Test.foofoo(-arg0 - * - */ -public EObject getJavaObject(String keyValue) { - EObject result = null; - int index = keyValue.indexOf(ReflectionAdaptor.C_CLASS_MEMBER_DELIMITER); - if (index > 0) { - // The reference is to a member: field, method, or parameter. - // Take the most specific case first, a parameter. - // Only a parameter should contain the methodID to parmID delimiter. - boolean isParameter = (keyValue.indexOf(ReflectionAdaptor.C_METHODID_PARMID_DELIMITER, index) != -1); - if (isParameter) { - result = getJavaParameter(keyValue); - } else { - // The target is a field or method. If it has a "(", then it is a method. - // If it is not found, then we will create a temporary object. - int parmStart = keyValue.indexOf(ReflectionAdaptor.C_METHOD_PARM_DELIMITER, index); - boolean isField = parmStart == -1; - if (isField) { - result = getJavaField(keyValue); - } else { - result = getJavaMethod(keyValue); - } - } - } else { - result = (EObject) getJavaType(keyValue); - } - return result; -} - -/** - * See if the extensions can resolve this first. - */ -protected Object getObjectFromExtensions(String keyValue) { - if (extensions != null) { - for (Iterator iter = extensions.iterator(); iter.hasNext();) { - IJavaReflectionKeyExtension extension = (IJavaReflectionKeyExtension) iter.next(); - Object obj = extension.getObject(keyValue, this); - if (obj != null) - return obj; - } - } - - return null; -} -/** - * This allows for the retrieval of parameters with the following notation: - * parameter: java:/com.ibm.foo#Test.foofoo(-arg0 - * - */ -protected JavaParameter getJavaParameter(String keyValue) { - JavaParameter result = null; - String parmName; - int memberDelimiter = keyValue.indexOf(ReflectionAdaptor.C_CLASS_MEMBER_DELIMITER); - int parmDelimiter = keyValue.indexOf(ReflectionAdaptor.C_METHODID_PARMID_DELIMITER, memberDelimiter); - parmName = keyValue.substring(parmDelimiter + 1); - // getMethod() will find or create a method - Method method = this.getJavaMethod(keyValue.substring(parmDelimiter)); - if (method != null) { - result = method.getParameter(parmName); - if (result == null) { - JavaParameter tempParameter = createJavaParameter(); - tempParameter.setName(parmName); - // ((InternalEObject)tempParameter).eSetID(keyValue); - // tempParameter.eSetUUID((UUID) null); - method.getParameters().add(tempParameter); - result = tempParameter; - } - } - return result; -} -/** - * Insert the method's description here. - * Creation date: (10/4/2000 9:52:28 AM) - * @return org.eclipse.emf.ecore.EClassifier - * @param typeName java.lang.String - */ -public EClassifier getJavaType(String typeName) { - if (isPrimitive(typeName)) - return getJavaDataType(typeName); - else if (isArray(typeName)) - return getArrayType(typeName); - else if (isValidJavaIdentifier(typeName)) - return getJavaClass(typeName); - return null; -} - -protected boolean isValidJavaIdentifier(String typeName) { - if (typeName.length() > 0) { - if (Character.isJavaIdentifierStart(typeName.charAt(0))) { - // Starts with a valid java identifier character. - // Now see if the rest are valid. - for (int i = 1; i < typeName.length(); i++) { - if (!Character.isJavaIdentifierPart(typeName.charAt(i))) - return false; // Not valid - } - return true; - } - } - return false; -} - -/** - * Get the object from the key but don't do any - * tries at creation of the key if not found. - * The Key must be an ID for it to be found. - */ -public Object primGet(String key) { - return resource.getIDToEObjectMap().get(key); -} -protected EPackage getPackage() { - //FB return (EPackage) super.get(JavaPackage.PACKAGE_ID); - // return (EPackage) resource.getEObject(JavaPackage.PACKAGE_ID); //FB - //return (EPackage) resource.getEObject(JavaPackage.PACKAGE_ID); //FB - return (EPackage)EcoreUtil.getObjectByType(resource.getContents(), EcorePackage.eINSTANCE.getEPackage()); -} -/** - * Insert the method's description here. - * Creation date: (10/4/2000 9:56:53 AM) - */ -private static void initializePrimitivesCollection() { - PRIMITIVES.add(N_VOID); - PRIMITIVES.add(N_BOOLEAN); - PRIMITIVES.add(N_BYTE); - PRIMITIVES.add(N_CHAR); - PRIMITIVES.add(N_DOUBLE); - PRIMITIVES.add(N_FLOAT); - PRIMITIVES.add(N_INT); - PRIMITIVES.add(N_LONG); - PRIMITIVES.add(N_SHORT); -} -/** - * Return true if the passed type represents a Java Array type - */ -public boolean isArray(String typeName) { - return typeName.endsWith("[]");//$NON-NLS-1$ -} -/** - * Insert the method's description here. - * Creation date: (10/4/2000 9:54:23 AM) - * @return boolean - * @param typeName java.lang.String - */ -private boolean isPrimitive(String typeName) { - return PRIMITIVES.contains(typeName); -} -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaXMIFactoryImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaXMIFactoryImpl.java deleted file mode 100644 index f770989..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaXMIFactoryImpl.java +++ /dev/null
@@ -1,148 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaXMIFactoryImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/03/22 23:49:26 $ - */ -import java.io.IOException; -import java.util.*; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.XMIResource; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl; -import org.eclipse.jem.java.JavaPackage; -import org.eclipse.jem.java.JavaRefFactory; -import org.eclipse.jem.java.impl.JavaFactoryImpl; - -/** - * Factory to create the Resource for the Java protocol. - * - * It allows extensions to the reflection key to be registered with it. - * - * Creation date: (10/4/2000 8:22:23 AM) - * @author: Administrator - */ -public class JavaXMIFactoryImpl extends XMIResourceFactoryImpl { - private static final String SCHEMA_SEPERATOR = ":/"; //$NON-NLS-1$ - public static final String SCHEME = "java"; //$NON-NLS-1$ - - protected List extensions = new ArrayList(); - - public static final JavaXMIFactoryImpl INSTANCE = new JavaXMIFactoryImpl(); - - /** - * JavaXMIFactoryImpl constructor comment. - */ - public JavaXMIFactoryImpl() { - super(); - } - - /** - * Register an extension for java reflection key processing. - */ - public void registerReflectionKeyExtension(IJavaReflectionKeyExtension extension) { - extensions.add(extension); - } - - /** - * Deregister an extension for java reflection key processing. - */ - public void deregisterReflectionKeyExtension(IJavaReflectionKeyExtension extension) { - extensions.remove(extension); - } - - protected void createJavaPackage(String packageName, String xmiuri, Resource resource) { - // changed to allow a zero-length package name - // for the special case of "java:/#int", etc. - JavaRefFactory jfac = JavaRefFactory.eINSTANCE; - JavaPackage pack = jfac.createJavaPackage(); - // Need to create and add special JavaFactory for instantiation to work. - JavaFactoryImpl fact = new JavaFactoryImpl(); - pack.setEFactoryInstance(fact); - if (packageName.length() > 0) { - // Standard Java package - pack.setNsPrefix(packageName); - pack.setName(packageName); - } else { - // Primitive package - pack.setNsPrefix(JavaPackage.PRIMITIVE_PACKAGE_NAME); - pack.setName(JavaPackage.PRIMITIVE_PACKAGE_NAME); - } - - pack.setNsURI(xmiuri); - resource.getContents().add(pack); - ((XMIResource) pack.eResource()).setID(pack, JavaPackage.PACKAGE_ID); - } - public static class JavaXMIResource extends XMIResourceImpl { - protected JavaReflectionKey reflectionKey; - - public JavaXMIResource(URI uri) { - super(uri); - } - - public void setReflectionKey(JavaReflectionKey key) { - reflectionKey = key; - } - - public void load(Map options) throws IOException { - try { - super.load(options); - } catch (Exception exception) { - } - } - - public EObject getEObject(String uriFragment) { - EObject result = super.getEObject(uriFragment); - if (result == null && reflectionKey != null) { - result = (EObject) reflectionKey.get(uriFragment); - } - return result; - } - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl#useIDAttributes() - */ - protected boolean useIDAttributes() { - return false; - } - - } - - public Resource createResource(URI uri) { - JavaXMIResource resource = new JavaXMIResource(uri); - resource.setReflectionKey(new JavaReflectionKey(extensions, resource)); - - String uriString = uri.toString(); - createJavaPackage(stripScheme(uriString), uriString, resource); - - return resource; - } - - public static void register() { - Resource.Factory.Registry.INSTANCE.getProtocolToFactoryMap().put(SCHEME, INSTANCE); - } - - /** - * Strip the trailing identifier, if any, from the uri. An identifier - * begins with # or |. - */ - private String stripScheme(String uri) { - int index = uri.indexOf(SCHEMA_SEPERATOR); - if (index != -1) - return uri.substring(index + SCHEMA_SEPERATOR.length(), uri.length()); - else - return uri; - } - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/ReadAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/ReadAdaptor.java deleted file mode 100644 index 92fa2fe..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/ReadAdaptor.java +++ /dev/null
@@ -1,32 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ReadAdaptor.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ - -import org.eclipse.emf.ecore.EObject; -/** - * Extended Adaptor interface which adds support for an adapter - * providing default values for attributes. - * Creation date: (6/6/2000 4:41:19 PM) - * @author: Scott Rich - */ -public interface ReadAdaptor extends org.eclipse.emf.common.notify.Adapter { - public static final String TYPE_KEY = "JavaReflection"; - public Object getValueIn(EObject object, EObject attribute); - public boolean reflectValuesIfNecessary(); //FB -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/ReflectionAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/ReflectionAdaptor.java deleted file mode 100644 index 94e8e63..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/ReflectionAdaptor.java +++ /dev/null
@@ -1,142 +0,0 @@ -package org.eclipse.jem.internal.java.adapters; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ReflectionAdaptor.java,v $ - * $Revision: 1.3 $ $Date: 2004/02/24 19:33:42 $ - */ -import java.util.logging.Level; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.util.EcoreUtil; - -import com.ibm.wtp.common.logger.proxy.Logger; - -import org.eclipse.jem.internal.java.adapters.nls.ResourceHandler; -/** - * ReflectionAdaptor - a read adaptor base implementation which does a bulk - * load of relflected values on the first request. - * Subclasses can optimize to defer some properties. - * Properties may also be deferred by setting their values with proxy references, - * for example, for supertype and other referenced types. - * Creation date: (6/6/2000 4:42:50 PM) - * @author: Administrator - */ -public abstract class ReflectionAdaptor extends org.eclipse.emf.common.notify.impl.AdapterImpl implements ReadAdaptor { - public static final char C_CLASS_MEMBER_DELIMITER = '.'; - public static final char C_METHOD_PARM_DELIMITER = '('; - public static final char C_METHODID_PARMID_DELIMITER = '-'; - public static final char C_PARM_PARM_DELIMITER = ','; - public static final char PATH_DELIMITER = '/'; - // SW id contains & in xml file casues exception throw during load - // public static final String S_CONSTRUCTOR_TOKEN = "&V";//$NON-NLS-1$ - public static final String S_CONSTRUCTOR_TOKEN = "_V";//$NON-NLS-1$ // SW - // cache a static empty String[] for no parm methods - protected static String[] emptyStringArray = new String[0]; - public static final EAttribute REFLECTION_SF = ((org.eclipse.emf.ecore.EcorePackage)EPackage.Registry.INSTANCE.getEPackage(org.eclipse.emf.ecore.EcorePackage.eNS_URI)).getEcoreFactory().createEAttribute(); - - static {REFLECTION_SF.setName("reflectValues");} - protected boolean hasReflected = false; - protected boolean isReflecting = false; -public ReflectionAdaptor() { - super(); -} -public ReflectionAdaptor(Notifier target) { - super(); - setTarget(target); -} -/** - * Helper method to ensure full initialization of the target. Required - * for serialization. - */ -public static void forceDeferredReadFor(EObject target) { - ReflectionAdaptor adaptor = retrieveAdaptorFrom(target); - if (adaptor != null) { - adaptor.reflectValuesIfNecessary(); - } -} -protected Resource getTargetResource() { - if (getTarget() != null) - return ((org.eclipse.emf.ecore.EObject) getTarget()).eResource(); - return null; -} -/** - * Helper method to fetch the adaptor from the object, and if it exists, get the adapted - * value for the attribute. Overloaded for many-sided attributes where the return value would - * otherwise be an enumeration; in this case will return an Array instead. - */ -public static Object getValue(EObject object, EReference attribute) { -//FB ReflectionAdaptor adaptor = retrieveAdaptorFrom(object); -//FB if (adaptor != null) -//FB return adaptor.getValueIn(object, attribute); -//FB return ((IReadAdaptable) object).primRefValue(attribute); - return object.eGet((EStructuralFeature)attribute); //FB - -} -/*Helper method to fetch the adaptor from the object, and if it exists, get the adapted - *value for the attribute. - */ -public static Object getValue(EObject object, EObject attribute) { -//FB ReflectionAdaptor adaptor = retrieveAdaptorFrom(object); -//FB if (adaptor != null) -//FB return adaptor.getValueIn(object, attribute); -//FB return ((IReadAdaptable) object).primRefValue(attribute); - return object.eGet((EStructuralFeature)attribute); //FB -} -/** - * getValueIn method comment. - */ -public Object getValueIn(EObject object, EObject attribute) { -//FB reflectValuesIfNecessary(); -//FB return ((IReadAdaptable) object).primRefValue(attribute); - return object.eGet((EStructuralFeature)attribute); //FB -} -/** - * isAdaptorForType method comment. - */ -public boolean isAdapterForType(Object type) { - return (type == ReadAdaptor.TYPE_KEY); -} -/** - * reflectValues - template method, subclasses override to pump values into target - */ -public abstract boolean reflectValues(); -/** - * Return a boolean indicating whether reflection had occurred. - */ -public boolean reflectValuesIfNecessary() { - if (!hasReflected && !isReflecting) { - try { - isReflecting = true; - hasReflected = reflectValues(); - } catch (Throwable e) { - hasReflected = false; - Logger.getLogger().log(ResourceHandler.getString("Failed_reflecting_values_ERROR_"), Level.WARNING); //$NON-NLS-1$ = "Failed reflecting values!!!" - Logger.getLogger().log(e); - } finally { - isReflecting = false; - getTarget().eNotify(new ENotificationImpl((InternalEObject)getTarget(), Notification.SET, REFLECTION_SF, null, null, Notification.NO_INDEX)); - } - } - return hasReflected; -} -public static ReflectionAdaptor retrieveAdaptorFrom(EObject object) { - return (ReflectionAdaptor)EcoreUtil.getRegisteredAdapter(object, ReadAdaptor.TYPE_KEY); -} -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JDKAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JDKAdaptor.java deleted file mode 100644 index 5dde389..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JDKAdaptor.java +++ /dev/null
@@ -1,312 +0,0 @@ -package org.eclipse.jem.internal.java.adapters.jdk; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JDKAdaptor.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ - -import java.lang.reflect.Array; - -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.ecore.xmi.XMIResource; -import org.eclipse.jem.java.*; -import org.eclipse.jem.internal.java.adapters.JavaReflectionAdaptor; -/** - * Insert the type's description here. - * Creation date: (6/6/2000 4:42:50 PM) - * @author: Administrator - */ -public abstract class JDKAdaptor extends JavaReflectionAdaptor { - public JavaJDKAdapterFactory adapterFactory; - public JDKAdaptor(Notifier target, JavaJDKAdapterFactory anAdapterFactory) { - super(target); - setAdapterFactory(anAdapterFactory); - } - /** - * computeMethodID - generate the unique ID to be used to identify a constructor. - * Similar to a Signature, but hopefully more readable. - * The name format will be: - * simpleClassName.simpleClassName(com.fronk.ParmType1_parmType2&V - * Note: This implementation is tightly coupled with ReflectionAdapter.getTypeNamesFromMethodID(). - * - * It has to be done separately for JDK because Constructors and Methods are different classes. - * However, in the Java Model they are both just Methods with a flag indicating Constructor. - */ - public static String computeMethodID(java.lang.reflect.Constructor jdkConstructor) { - StringBuffer out = new StringBuffer(); - String className = getSimpleName(jdkConstructor.getDeclaringClass().getName()); - out.append(className); - out.append(C_CLASS_MEMBER_DELIMITER); - out.append(computeMethodName(jdkConstructor)); - out.append(C_METHOD_PARM_DELIMITER); - Class[] parmTypes = jdkConstructor.getParameterTypes(); - for (int i = 0; i < parmTypes.length; i++) { - out.append(parmTypes[i].getName()); - if (i < parmTypes.length - 1) - out.append(C_PARM_PARM_DELIMITER); - } - out.append(S_CONSTRUCTOR_TOKEN); //It's a constructor - return out.toString(); - } - /** - * computeMethodID - generate the unique ID to be used to identify a method. - * Similar to a Signature, but hopefully more readable. - * If there are no parms, it will end with a "(" so that it can be distictive from a field. - * The name format will be: - * simpleClassName.methodName(com.fronk.ParmType1_parmType2 - * Note: This implementation is tightly coupled with ReflectionAdapter.getTypeNamesFromMethodID(). - */ - public static String computeMethodID(java.lang.reflect.Method jdkMethod) { - StringBuffer out = new StringBuffer(); - String className = getSimpleName(jdkMethod.getDeclaringClass().getName()); - out.append(className); - out.append(C_CLASS_MEMBER_DELIMITER); - out.append(computeMethodName(jdkMethod)); - out.append(C_METHOD_PARM_DELIMITER); - Class[] parmTypes = jdkMethod.getParameterTypes(); - for (int i = 0; i < parmTypes.length; i++) { - out.append(parmTypes[i].getName()); - if (i < parmTypes.length - 1) - out.append(C_PARM_PARM_DELIMITER); - } - if (jdkMethod.getDeclaringClass().getName().equals(jdkMethod.getName())) - out.append(S_CONSTRUCTOR_TOKEN); //It's a constructor - return out.toString(); - } - /** - * computeMethodName - generate the name to be used to identify a constructor. - * For the moment, names are simple, and UUID's are complex. - * - * It has to be done separately for JDK because Constructors and Methods are different classes. - * However, in the Java Model they are both just Methods with a flag indicating Constructor. - */ - public static String computeMethodName(java.lang.reflect.Constructor jdkConstructor) { - return getSimpleName(jdkConstructor.getName()); // CTOR names come back fully-qualified with package. - } - /** - * computeMethodName - generate the name to be used to identify a method. - * For the moment, names are simple, and UUID's are complex. - */ - public static String computeMethodName(java.lang.reflect.Method jdkMethod) { - return jdkMethod.getName(); - } - /** - * createJavaField - instantiate a Java Field based on the passed Field - * We are deferring field contents assuming that its adaptor will reflect its details. - */ - public Field createJavaField(java.lang.reflect.Field reflectedField, XMIResource resource) { - Field newField = getJavaFactory().createField(); - newField.setName(reflectedField.getName()); - String className = getSimpleName(reflectedField.getDeclaringClass().getName()); - resource.setID(newField, className + C_CLASS_MEMBER_DELIMITER + reflectedField.getName()); - return newField; - } - /** - * createJavaMethod - instantiate a Java Method based on the passed Java Reflection Constructor - * We are deferring method contents assuming that its adaptor will reflect its details. - * We need to store enough info in the empty Method to find its Java source. - * The ID will eventually hold enough info to identify the source, so we use it. - */ - public Method createJavaMethod(java.lang.reflect.Constructor jdkConstructor, XMIResource resource) { - Method newMethod = getJavaFactory().createMethod(); - // We use a simple name, but a complex ID - newMethod.setName(computeMethodName(jdkConstructor)); - resource.setID(newMethod, computeMethodID(jdkConstructor)); - return newMethod; - } - /** - * createJavaMethod - instantiate a Java Method based on the passed Java Reflection Method - * We are deferring method contents assuming that its adaptor will reflect its details. - * We need to store enough info in the empty Method to find its Java source. - * The ID will eventually hold enough info to identify the source, so we use it. - */ - public Method createJavaMethod(java.lang.reflect.Method jdkMethod, XMIResource resource) { - Method newMethod = getJavaFactory().createMethod(); - // We use a simple name, but a complex ID - newMethod.setName(computeMethodName(jdkMethod)); - resource.setID(newMethod, computeMethodID(jdkMethod)); - return newMethod; - } - /** - * Insert the method's description here. - * Creation date: (11/07/00 3:43:55 PM) - * @return org.eclipse.jem.java.adapters.JavaJDKAdapterFactory - */ - public JavaJDKAdapterFactory getAdapterFactory() { - return adapterFactory; - } - public ClassLoader getAlternateClassLoader() { - return getAdapterFactory().getContextClassLoader(); - } - /***************************************************************************** - * Method to convert the textual form of a primitive type into its Class object - * - * @param type The primitive type's textual representation - */ - public static Class getPrimitiveType(String type) { - Class c = null; - - if (type.equals(byte.class.getName())) { - c = byte.class; - } else if (type.equals(short.class.getName())) { - c = short.class; - } else if (type.equals(int.class.getName())) { - c = int.class; - } else if (type.equals(long.class.getName())) { - c = long.class; - } else if (type.equals(float.class.getName())) { - c = float.class; - } else if (type.equals(double.class.getName())) { - c = double.class; - } else if (type.equals(boolean.class.getName())) { - c = boolean.class; - } else if (type.equals(char.class.getName())) { - c = char.class; - } else if (type.equals(void.class.getName())) { - c = void.class; - } - - return c; - } - /** - * Returns the last segment of a '.'-separated qualified name. - * Returns the given name if it is not qualified. - * For example: - * <pre> - * getSimpleName("java.lang.Object") -> "Object" - * </pre> - */ - public static String getSimpleName(String name) { - int lastDot = name.lastIndexOf('.'); - if (lastDot == -1) - return name; - return name.substring(lastDot + 1); - } - public Class getType(JavaHelpers modelClass) { - Class result = null; - if (modelClass.isArray()) { - ArrayType arrayType = (ArrayType) modelClass; - Class componentClass = getType(arrayType.getFinalComponentType()); - result = (Array.newInstance(componentClass, new int[arrayType.getArrayDimensions()])).getClass(); - } else if (modelClass.isPrimitive()) { - result = getType(modelClass.getQualifiedName()); - } else { - result = getType(((JavaClass) modelClass).getQualifiedNameForReflection()); - } - return result; - } - public Class getType(String qualifiedName) { - // Try for a primitive type ("int","char",etc.) first - Class result = getPrimitiveType(qualifiedName); - if (result == null) { - ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); - if (contextClassLoader != null) { - try { - result = Thread.currentThread().getContextClassLoader().loadClass(qualifiedName); - } catch (ClassNotFoundException e) { - } - } - if (result == null) { - try { - result = loadFromAlternateClassLoader(qualifiedName); - } catch (ClassNotFoundException e2) { - result = null; - } - } - } - return result; - } - /* - * Utility routine to paper over array type names - * Borrowed from a package-visibility helper on java.lang.reflect.Field - */ - static String getTypeName(Class type) { - if (type.isArray()) { - try { - Class cl = type; - int dimensions = 0; - while (cl.isArray()) { - dimensions++; - cl = cl.getComponentType(); - } - StringBuffer sb = new StringBuffer(); - sb.append(cl.getName()); - for (int i = 0; i < dimensions; i++) { - sb.append("[]"); //$NON-NLS-1$ - } - return sb.toString(); - } catch (Throwable e) { /*FALLTHRU*/ - } - } - return type.getName(); - } - /** - * Try to load a Class with a @qualifiedName using the alternateClassLoader if - * available. If no alternateClassLoader is available, use Class.forName(). - * Use only the alternateClassLoader if its parent is the same as the System ClassLoader - * so we do not try the System ClassLoader twice. If not, use Class.forName() first - * before trying the alternateClassLoader. - */ - protected Class loadFromAlternateClassLoader(String qualifiedName) throws ClassNotFoundException { - if (getAlternateClassLoader() != null) { - if (getAlternateClassLoader().getParent() == ClassLoader.getSystemClassLoader()) { - return getAlternateClassLoader().loadClass(qualifiedName); - } else { - try { - return Class.forName(qualifiedName); - } catch (ClassNotFoundException cnfe2) { - return getAlternateClassLoader().loadClass(qualifiedName); - } - } - } - return Class.forName(qualifiedName); - } - /***************************************************************************** - * Method to convert the textual form of a primitive type into its Class object - * - * @param type The primitive type's textual representation - */ - public static Class primitiveForName(String type) { - Class c = null; - - if (type.equals(byte.class.getName())) { - c = byte.class; - } else if (type.equals(short.class.getName())) { - c = short.class; - } else if (type.equals(int.class.getName())) { - c = int.class; - } else if (type.equals(long.class.getName())) { - c = long.class; - } else if (type.equals(float.class.getName())) { - c = float.class; - } else if (type.equals(double.class.getName())) { - c = double.class; - } else if (type.equals(boolean.class.getName())) { - c = boolean.class; - } else if (type.equals(char.class.getName())) { - c = char.class; - } else if (type.equals(void.class.getName())) { - c = void.class; - } - - return c; - } - - /** - * Insert the method's description here. - * Creation date: (11/07/00 3:43:55 PM) - * @param newAdapterFactory org.eclipse.jem.java.adapters.JavaJDKAdapterFactory - */ - public void setAdapterFactory(JavaJDKAdapterFactory newAdapterFactory) { - adapterFactory = newAdapterFactory; - } -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaClassJDKAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaClassJDKAdaptor.java deleted file mode 100644 index 8dc84bd..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaClassJDKAdaptor.java +++ /dev/null
@@ -1,308 +0,0 @@ -package org.eclipse.jem.internal.java.adapters.jdk; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaClassJDKAdaptor.java,v $ - * $Revision: 1.5 $ $Date: 2004/02/24 19:33:42 $ - */ -import java.util.List; -import java.util.logging.Level; - -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.xmi.XMIResource; - -import com.ibm.wtp.common.logger.proxy.Logger; - -import org.eclipse.jem.internal.java.adapters.IJavaClassAdaptor; -import org.eclipse.jem.internal.java.adapters.nls.ResourceHandler; -import org.eclipse.jem.java.*; -import org.eclipse.jem.java.impl.JavaClassImpl; - -/** - * Insert the type's description here. - * Creation date: (6/6/2000 4:42:50 PM) - * @author: Administrator - */ -public class JavaClassJDKAdaptor extends JDKAdaptor implements IJavaClassAdaptor { - protected Class sourceType = null; -public JavaClassJDKAdaptor(Notifier target, JavaJDKAdapterFactory anAdapterFactory) { - super(target, anAdapterFactory); -} -/** - * addFields - reflect our fields - */ -protected void addFields() { - XMIResource resource = (XMIResource) getJavaClassTarget().eResource(); - List targetFields = getJavaClassTarget().getFieldsGen(); - targetFields.clear(); - java.lang.reflect.Field[] fields = {}; - try { - fields = getSourceType().getDeclaredFields(); - } catch (NoClassDefFoundError error) { - System.out.println(ResourceHandler.getString("Could_Not_Reflect_Fields_ERROR_", new Object[] {getJavaClassTarget().getQualifiedName(), error.getMessage()})); //$NON-NLS-1$ - } - for (int i = 0; i < fields.length; i++) { - targetFields.add(createJavaField(fields[i], resource)); - } -} -/** - * addMethods - reflect our methods - */ -protected void addMethods() { - // We need to first do methods and then do constructors because the JDK treats them as two - // different objects, which the Java Model treats them as both Method's. - XMIResource resource = (XMIResource) getJavaClassTarget().eResource(); - List targetMethods = getJavaClassTarget().getMethodsGen(); - targetMethods.clear(); - java.lang.reflect.Method[] methods = {}; - try { - methods = getSourceType().getDeclaredMethods(); - } catch (NoClassDefFoundError error) { - Logger.getLogger().log(ResourceHandler.getString("Could_Not_Reflect_Methods_ERROR_", new Object[] {getJavaClassTarget().getQualifiedName(), error.toString()}), Level.WARNING); //$NON-NLS-1$ - } - for (int i = 0; i < methods.length; i++) { - targetMethods.add(createJavaMethod(methods[i], resource)); - } - - // Now do the constructors - java.lang.reflect.Constructor[] ctors = {}; - try { - ctors = getSourceType().getDeclaredConstructors(); - } catch (NoClassDefFoundError error) { - Logger.getLogger().log(ResourceHandler.getString("Could_Not_Reflect_Constructors_ERROR_", new Object[] {getJavaClassTarget().getQualifiedName(), error.getMessage()}), Level.WARNING); //$NON-NLS-1$ - } - for (int i = 0; i < ctors.length; i++) { - targetMethods.add(createJavaMethod(ctors[i], resource)); - } - -} -/** - * Clear the reflected fields list. - */ -protected boolean flushFields() { - getJavaClassTarget().getFieldsGen().clear(); - return true; -} -/** - * Clear the implements list. - */ -protected boolean flushImplements() { - getJavaClassTarget().getImplementsInterfacesGen().clear(); - return true; -} -/** - * Clear the reflected methods list. - */ -protected boolean flushMethods() { - getJavaClassTarget().getMethodsGen().clear(); - return true; -} -protected boolean flushInnerClasses() { - getJavaClassTarget().getDeclaredClassesGen().clear(); - return true; -} -protected boolean flushModifiers() { - JavaClass javaClassTarget = (JavaClass) getTarget(); - javaClassTarget.setAbstract(false); - javaClassTarget.setFinal(false); - javaClassTarget.setPublic(false); - javaClassTarget.setKind(TypeKind.UNDEFINED_LITERAL); - return true; -} - -/** - * @see org.eclipse.jem.java.adapters.JavaReflectionAdaptor#flushReflectedValues(boolean) - */ -protected boolean flushReflectedValues(boolean clearCachedModelObject) { - boolean result = flushModifiers(); - result &= flushSuper(); - result &= flushImplements(); - result &= flushMethods(); - result &= flushFields(); - result &= flushInnerClasses(); - return result; -} - -/** - * @see org.eclipse.jem.java.adapters.JavaReflectionAdaptor#postFlushReflectedValuesIfNecessary() - */ -protected void postFlushReflectedValuesIfNecessary(boolean isExisting) { - getJavaClassTarget().setReflected(false); - super.postFlushReflectedValuesIfNecessary(isExisting); -} - -/** - * Set the supertype to be null. - */ -protected boolean flushSuper() { - List targetSupers = getJavaClassTarget().getESuperTypesGen(); - targetSupers.clear(); - return true; -} -/** - * Return the target typed to a JavaClass. - */ -protected JavaClassImpl getJavaClassTarget() { - return (JavaClassImpl) getTarget(); -} -public Object getReflectionSource() { - return getSourceType(); -} -/** - * getSourceType - return the java.lang.Class which describes our existing Java class - */ -protected Class getSourceType() { - if (sourceType == null) { - sourceType = getType((JavaClass) getTarget()); - } - return sourceType; -} -/** - * getValueIn method comment. - */ -public Object getValueIn(EObject object, EObject attribute) { - // At this point, this adapter does not dynamically compute any values, - // all values are pushed back into the target on the initial call. - return super.getValueIn(object, attribute); -} -/** - * Return true if the sourceType is null or if - * it is a binary type. - * Reflection from the JDK is always from binary. - */ -public boolean isSourceTypeFromBinary() { - return true; -} -/** - * reflectValues - template method, subclasses override to pump values into target. - * on entry: name, containing package (and qualified name), and document must be set. - * Return true if successful - * JavaClass adaptor: - * - set modifiers - * - set name - * - set reference to super - * - create methods - * - create fields - * - add imports - */ -public boolean reflectValues() { - super.reflectValues(); - try { - if (getSourceType() != null) { - setModifiers(); - setNaming(); - try { - setSuper(); - } catch (InheritanceCycleException e) { - Logger.getLogger().log(e); - } - setImplements(); - addMethods(); - addFields(); - reflectInnerClasses(); - getAdapterFactory().registerReflection(getSourceType().getName(), this); - // addImports(); - return true; - } - return false; - } finally { - //Don't cache the class beyond the operation of reflect values; - //this enables dynamic swapping of the alternate class loader - //for java reflection, as well as avoids potential memory leakage - sourceType = null; - } -} -/** - * - */ -protected void reflectInnerClasses() { - Class[] innerClasses = getSourceType().getClasses(); - if (innerClasses.length != 0) { - List declaredClasses = getJavaClassTarget().getDeclaredClassesGen(); - JavaClass inner; - ResourceSet set = getTargetResource().getResourceSet(); - for (int i = 0; i < innerClasses.length; i++) { - inner = (JavaClass) JavaRefFactory.eINSTANCE.reflectType(innerClasses[i].getName(), set); - declaredClasses.add(inner); - } - } - -} -/** - * setImplements - set our implemented/super interfaces here - * For an interface, these are superclasses. - * For a class, these are implemented interfaces. - */ -protected void setImplements() { - Class[] interfaces = getSourceType().getInterfaces(); - // needs work, the names above will be simple names if we are relfecting from a source file - JavaClassImpl javaClassTarget = (JavaClassImpl) getTarget(); - JavaClass ref; - List intList = javaClassTarget.getImplementsInterfacesGen(); - intList.clear(); - for (int i = 0; i < interfaces.length; i++) { - ref = createJavaClassRef(interfaces[i].getName()); - intList.add(ref); - } -} -/** - * setModifiers - set the attribute values related to modifiers here - */ -protected void setModifiers() { - JavaClass javaClassTarget = (JavaClass) getTarget(); - javaClassTarget.setAbstract(java.lang.reflect.Modifier.isAbstract(getSourceType().getModifiers())); - javaClassTarget.setFinal(java.lang.reflect.Modifier.isFinal(getSourceType().getModifiers())); - javaClassTarget.setPublic(java.lang.reflect.Modifier.isPublic(getSourceType().getModifiers())); - // Set type to class or interface, not yet handling EXCEPTION - if (getSourceType().isInterface()) - javaClassTarget.setKind(TypeKind.INTERFACE_LITERAL); - else - javaClassTarget.setKind(TypeKind.CLASS_LITERAL); -} -/** - * setNaming - set the naming values here - * - qualified name (package name + name) must be set first, that is the path to the real Java class - * - ID - simple name, identity within a package document - * - NO UUID!!! - */ -protected void setNaming() { -// JavaClass javaClassTarget = (JavaClass) getTarget(); -// javaClassTarget.refSetUUID((String) null); -// ((XMIResource)javaClassTarget.eResource()).setID(javaClassTarget,getSimpleName(getSourceType().getName())); -} -/** - * setSuper - set our supertype here, implemented interface are handled separately - */ -protected void setSuper() throws InheritanceCycleException { - Class superClass = null; - superClass = getSourceType().getSuperclass(); - if (superClass != null) { - JavaClass javaClassTarget = (JavaClass) getTarget(); - javaClassTarget.setSupertype(createJavaClassRef(superClass.getName())); - } -} -/** - * Return true if the sourceType can be found. - */ -public boolean sourceTypeExists() { - return getSourceType() != null; -} -} - - - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaFieldJDKAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaFieldJDKAdaptor.java deleted file mode 100644 index 16f3188..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaFieldJDKAdaptor.java +++ /dev/null
@@ -1,143 +0,0 @@ -package org.eclipse.jem.internal.java.adapters.jdk; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaFieldJDKAdaptor.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.jem.java.*; -import org.eclipse.jem.internal.java.adapters.ReadAdaptor; -/** - * Insert the type's description here. - * Creation date: (6/6/2000 4:42:50 PM) - * @author: Administrator - */ -public class JavaFieldJDKAdaptor extends JDKAdaptor { - protected java.lang.reflect.Field sourceField = null; - protected Class parentType = null; - public JavaFieldJDKAdaptor(Notifier target, JavaJDKAdapterFactory anAdapterFactory) { - super(target, anAdapterFactory); - } - /** - * getParentType - return the Class which corresponds to our parent JavaClass - * we're going to do this a lot, so cache it. - */ - protected Class getParentType() { - if (parentType == null) { - Field targetField = (Field) getTarget(); - JavaClass parentJavaClass = (JavaClass) targetField.getJavaClass(); - JavaClassJDKAdaptor pa = (JavaClassJDKAdaptor) EcoreUtil.getAdapter(parentJavaClass.eAdapters(), ReadAdaptor.TYPE_KEY); - if (pa != null) - parentType = pa.getSourceType(); - } - return parentType; - } - public Object getReflectionSource() { - return getSourceField(); - } - /** - * getSourceField - return the java.lang.reflect.Field which describes our implementing field - */ - protected java.lang.reflect.Field getSourceField() { - if (sourceField == null) { - Class parent = this.getParentType(); - if (parent != null) { - try { - sourceField = parent.getDeclaredField(((Field) getTarget()).getName()); - } catch (NoSuchFieldException e) { - // OK, carry on - } - } - } - return sourceField; - } - public Field getTargetField() { - return (Field) getTarget(); - } - /** - * getValueIn method comment. - */ - public Object getValueIn(EObject object, EObject attribute) { - // At this point, this adapter does not dynamically compute any values, - // all values are pushed back into the target on the initial call. - return super.getValueIn(object, attribute); - } - /** - * reflectValues - template method, subclasses override to pump values into target. - * on entry: name, containing package (and qualified name), and document must be set. - * JavaClass adaptor: - * - set modifiers - * - set name - * - set type - */ - public boolean reflectValues() { - if (getSourceField() != null) { - setModifiers(); - setType(); - setInitializerIfPossible(); - return true; - } - return false; - } - /** - * Used for the very narrow case of final static Strings - */ - protected void setInitializerIfPossible() { - if (!(getTargetField().isStatic() && getTargetField().isFinal() && "java.lang.String".equals(((JavaHelpers) getTargetField().getEType()).getQualifiedName()))) //$NON-NLS-1$ - return; - - String value = null; - try { - value = (String) getSourceField().get(null); - } catch (IllegalAccessException ex) { - return; - } - - if (value == null) - return; - else - value = "\"".concat(value).concat("\""); //$NON-NLS-2$//$NON-NLS-1$ - - Block aBlock = createBlock(getTargetField().getName(), value); - getTargetField().setInitializer(aBlock); - } - /** - * setModifiers - set the attribute values related to modifiers here - */ - protected void setModifiers() { - Field javaFieldTarget = (Field) getTarget(); - // For JDK reflection, I don't think we can set the initializer - int modifiers = getSourceField().getModifiers(); - javaFieldTarget.setStatic(java.lang.reflect.Modifier.isStatic(modifiers)); - javaFieldTarget.setTransient(java.lang.reflect.Modifier.isTransient(modifiers)); - javaFieldTarget.setVolatile(java.lang.reflect.Modifier.isVolatile(modifiers)); - javaFieldTarget.setFinal(java.lang.reflect.Modifier.isFinal(modifiers)); - // Set visibility - if (java.lang.reflect.Modifier.isPublic(modifiers)) - javaFieldTarget.setJavaVisibility(JavaVisibilityKind.PUBLIC_LITERAL); - else if (java.lang.reflect.Modifier.isPrivate(modifiers)) - javaFieldTarget.setJavaVisibility(JavaVisibilityKind.PRIVATE_LITERAL); - else if (java.lang.reflect.Modifier.isProtected(modifiers)) - javaFieldTarget.setJavaVisibility(JavaVisibilityKind.PROTECTED_LITERAL); - else - javaFieldTarget.setJavaVisibility(JavaVisibilityKind.PACKAGE_LITERAL); - } - /** - * setType - set our type here - */ - protected void setType() { - String typeName = getTypeName(getSourceField().getType()); - setFieldType(getTargetField(), typeName); - } -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java deleted file mode 100644 index 28b74f0..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java +++ /dev/null
@@ -1,87 +0,0 @@ -package org.eclipse.jem.internal.java.adapters.jdk; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaJDKAdapterFactory.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ -import java.util.Iterator; - -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.jem.internal.java.adapters.JavaReflectionAdapterFactory; -import org.eclipse.jem.internal.java.adapters.ReflectionAdaptor; -/** - * Insert the type's description here. - * Creation date: (6/13/2000 1:20:31 PM) - * @author: Administrator - */ -public class JavaJDKAdapterFactory extends JavaReflectionAdapterFactory { - protected ClassLoader contextClassLoader; - /** - * JavaJDOMAdapterFactory constructor comment. - */ - public JavaJDKAdapterFactory() { - super(); - //adapterKey = TYPE_NAME; - } - /** - * JavaJDOMAdapterFactory constructor comment. - */ - public JavaJDKAdapterFactory(ClassLoader aClassLoader) { - this(); - setContextClassLoader(aClassLoader); - } - protected ReflectionAdaptor createJavaClassAdaptor(Notifier target) { - return new JavaClassJDKAdaptor(target, this); - } - protected ReflectionAdaptor createJavaFieldAdaptor(Notifier target) { - return new JavaFieldJDKAdaptor(target, this); - } - protected ReflectionAdaptor createJavaMethodAdaptor(Notifier target) { - return new JavaMethodJDKAdaptor(target, this); - } - // Flush ALL adapters, worst case - public void flushAll() { - isBusyIteratingReflected = true; - try { - Iterator i = reflected.values().iterator(); - while (i.hasNext()) - ((JavaClassJDKAdaptor) i.next()).flushReflectedValuesIfNecessary(); - } finally { - finishedIteratingReflected(); - } - } - // Flush the adapter for a source object - public void flushReflection(String source) { - JavaClassJDKAdaptor a = (JavaClassJDKAdaptor) reflected.get(source); - if (a != null) - a.flushReflectedValuesIfNecessary(); - } - /** - * Insert the method's description here. - * Creation date: (11/07/00 3:38:12 PM) - * @return java.lang.ClassLoader - */ - public java.lang.ClassLoader getContextClassLoader() { - return contextClassLoader; - } - public boolean isFactoryForType(Object type) { - return type.equals(TYPE_NAME); - } - /** - * Insert the method's description here. - * Creation date: (11/07/00 3:38:12 PM) - * @param newContextClassLoader java.lang.ClassLoader - */ - public void setContextClassLoader(java.lang.ClassLoader newContextClassLoader) { - contextClassLoader = newContextClassLoader; - } -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaMethodJDKAdaptor.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaMethodJDKAdaptor.java deleted file mode 100644 index f3af811..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaMethodJDKAdaptor.java +++ /dev/null
@@ -1,223 +0,0 @@ -package org.eclipse.jem.internal.java.adapters.jdk; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaMethodJDKAdaptor.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ - -import java.util.List; - -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.xmi.XMIResource; -import org.eclipse.jem.java.*; -import org.eclipse.jem.internal.java.adapters.ReadAdaptor; -import org.eclipse.jem.java.impl.MethodImpl; -/** - * Insert the type's description here. - * Creation date: (6/6/2000 4:42:50 PM) - * @author: Administrator - */ -public class JavaMethodJDKAdaptor extends JDKAdaptor { - protected java.lang.reflect.AccessibleObject sourceAccessible = null; // Could be method or ctor. - protected Class parentType = null; - // cache a static empty Class[] for no parm methods - protected static Class[] emptyClassArray = new Class[0]; - // cache a static empty String[], too - protected static String[] emptyStringArray = new String[0]; - public JavaMethodJDKAdaptor(Notifier target, JavaJDKAdapterFactory anAdapterFactory) { - super(target, anAdapterFactory); - } - /** - * addExceptions - reflect our exception list - */ - protected void addExceptions() { - Class[] exceptions = - (getSourceAccessible() instanceof java.lang.reflect.Method) - ? ((java.lang.reflect.Method) getSourceAccessible()).getExceptionTypes() - : ((java.lang.reflect.Constructor) getSourceAccessible()).getExceptionTypes(); - // EList exList = (EList) javaMethodTarget.primRefValue(JavaRefPackage.eINSTANCE.getMethod_JavaExceptions()); - List exList = getMethodTarget().getJavaExceptionsGen(); - for (int i = 0; i < exceptions.length; i++) { - exList.add(createJavaClassRef(exceptions[i].getName())); - } - } - - protected MethodImpl getMethodTarget() { - return (MethodImpl) getTarget(); - } - /** - * addParameters - reflect our parms - */ - protected void addParameters() { - Class[] parmTypes = - (getSourceAccessible() instanceof java.lang.reflect.Method) - ? ((java.lang.reflect.Method) getSourceAccessible()).getParameterTypes() - : ((java.lang.reflect.Constructor) getSourceAccessible()).getParameterTypes(); - MethodImpl javaMethodTarget = getMethodTarget(); - // List pList = (List) javaMethodTarget.primRefValue(JavaRefPackage.eINSTANCE.getMethod_Parameters()); - List pList = javaMethodTarget.getParametersGen(); - for (int i = 0; i < parmTypes.length; i++) { - pList.add(createJavaParameter(javaMethodTarget, "arg" + i, getTypeName(parmTypes[i]))); //$NON-NLS-1$ - } - } - protected JavaClass getContainingJavaClass() { - return ((Method) getTarget()).getContainingJavaClass(); - } - /** - * getParentType - return the Class which corresponds to our parent JavaClass - * we're going to do this a lot, so cache it. - */ - protected Class getParentType() { - if (parentType == null) { - Method targetMethod = (Method) getTarget(); - JavaClass parentJavaClass = targetMethod.getContainingJavaClass(); - JavaClassJDKAdaptor pa = (JavaClassJDKAdaptor) EcoreUtil.getAdapter(parentJavaClass.eAdapters(), ReadAdaptor.TYPE_KEY); - if (pa != null) - parentType = pa.getSourceType(); - } - return parentType; - } - /** - * getParmTypeSignatures - return an array of Classes for our parameter types - * For reflection purposes, we can only rely on our ID, since our parms may - * not yet be known. - */ - protected Class[] getParmTypes() { - Method javaMethodTarget = (Method) getTarget(); - String id = ((XMIResource) javaMethodTarget.eResource()).getID(javaMethodTarget); - String[] typeNames = getTypeNamesFromMethodID(id); - if (typeNames == null) - return emptyClassArray; - int n = typeNames.length; - if (n == 0) - return emptyClassArray; - Class[] types = new Class[n]; - for (int i = 0; i < n; ++i) { - types[i] = getType(typeNames[i]); - } - return types; - } - public Object getReflectionSource() { - return getSourceAccessible(); - } - /** - * getsourceMethod - return the java.lang.reflect.Method which describes our implementing method - */ - protected java.lang.reflect.AccessibleObject getSourceAccessible() { - if (sourceAccessible == null) { - Class parent = this.getParentType(); - if (parent != null) { - Class[] parmTypes = this.getParmTypes(); - try { - sourceAccessible = parent.getDeclaredMethod(((Method) getTarget()).getName(), parmTypes); - } catch (NoSuchMethodException e) { - // OK, can't reflect it - } - - if (sourceAccessible == null) { - // It wasn't a method, try for constructor. - try { - sourceAccessible = parent.getDeclaredConstructor(parmTypes); - } catch (NoSuchMethodException e) { - // OK, can't reflect it - } - } - } - } - return sourceAccessible; - } - /** - * getValueIn method comment. - */ - public Object getValueIn(EObject object, EObject attribute) { - // At this point, this adapter does not dynamically compute any values, - // all values are pushed back into the target on the initial call. - return super.getValueIn(object, attribute); - } - /** - * reflectValues - template method, subclasses override to pump values into target. - * on entry: UUID, name, containing package (and qualified name), and document must be set. - * Method adaptor: - * - set modifiers - * - set name - * - set return type - * - add parameters - * - add exceptions - */ - public boolean reflectValues() { - if (getSourceAccessible() != null) { - setModifiers(); - setNaming(); - setReturnType(); - addParameters(); - addExceptions(); - return true; - } - return false; - } - /** - * setModifiers - set the attribute values related to modifiers here - */ - protected void setModifiers() { - Method methodTarget = (Method) getTarget(); - int modifiers = - (getSourceAccessible() instanceof java.lang.reflect.Method) - ? ((java.lang.reflect.Method) getSourceAccessible()).getModifiers() - : ((java.lang.reflect.Constructor) getSourceAccessible()).getModifiers(); - methodTarget.setAbstract(java.lang.reflect.Modifier.isAbstract(modifiers)); - methodTarget.setFinal(java.lang.reflect.Modifier.isFinal(modifiers)); - methodTarget.setNative(java.lang.reflect.Modifier.isNative(modifiers)); - methodTarget.setStatic(java.lang.reflect.Modifier.isStatic(modifiers)); - methodTarget.setSynchronized(java.lang.reflect.Modifier.isSynchronized(modifiers)); - methodTarget.setConstructor(getSourceAccessible() instanceof java.lang.reflect.Constructor); - // Set visibility - JavaClass javaClass = getContainingJavaClass(); - if ((javaClass.getKind() == TypeKind.INTERFACE_LITERAL) || (java.lang.reflect.Modifier.isPublic(modifiers))) - methodTarget.setJavaVisibility(JavaVisibilityKind.PUBLIC_LITERAL); - else if (java.lang.reflect.Modifier.isPrivate(modifiers)) - methodTarget.setJavaVisibility(JavaVisibilityKind.PRIVATE_LITERAL); - else if (java.lang.reflect.Modifier.isProtected(modifiers)) - methodTarget.setJavaVisibility(JavaVisibilityKind.PROTECTED_LITERAL); - else - //Visibility must be package - methodTarget.setJavaVisibility(JavaVisibilityKind.PACKAGE_LITERAL); - } - /** - * setNaming - set the naming values here - * - qualified name must be set first, that is the path to the real Java class - * - ID - * - name-based UUID - */ - protected void setNaming() { - // - // naming is currently a no-op since the name and UUID must be set prior to reflection - // ...and ID is redundant with UUID. - // javaFieldTarget.setID(parent.getQualifiedName() + "_" + javaFieldTarget.getName()); - } - /** - * setType - set our return type here - */ - protected void setReturnType() { - if (getSourceAccessible() instanceof java.lang.reflect.Method) { - Class type = ((java.lang.reflect.Method) getSourceAccessible()).getReturnType(); - Method javaMethodTarget = (Method) getTarget(); - /* - JavaParameter newParameter = createJavaParameter(javaMethodTarget, "result", getTypeName(type));//$NON-NLS-1$ - newParameter.setParameterKind(MetaJavaParameterKind.RETURN); - javaMethodTarget.getParameters().add(newParameter); - */ - javaMethodTarget.setEType(createJavaClassRef(getTypeName(type))); - } - } -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/nls/ResourceHandler.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/nls/ResourceHandler.java deleted file mode 100644 index 81ad0a2..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/nls/ResourceHandler.java +++ /dev/null
@@ -1,62 +0,0 @@ -package org.eclipse.jem.internal.java.adapters.nls; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ResourceHandler.java,v $ - * $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ - */ -import java.util.MissingResourceException; -import java.util.ResourceBundle; -import java.text.MessageFormat; - -public class ResourceHandler { - - private static ResourceBundle fgResourceBundle; - - /** - * Returns the resource bundle used by all classes in this Project - */ - public static ResourceBundle getResourceBundle() { - try { - return ResourceBundle.getBundle("javaadapters");//$NON-NLS-1$ - } catch (MissingResourceException e) { - // does nothing - this method will return null and - // getString(String, String) will return the key - // it was called with - } - return null; - } - public static String getString(String key) { - if (fgResourceBundle == null) { - fgResourceBundle= getResourceBundle(); - } - - if (fgResourceBundle != null) { - try { - return fgResourceBundle.getString(key); - } catch (MissingResourceException e) { - return "!" + key + "!";//$NON-NLS-2$//$NON-NLS-1$ - } - } else { - return "!" + key + "!";//$NON-NLS-2$//$NON-NLS-1$ - } - } -public static String getString(String key, Object[] args) { - - try {return MessageFormat.format(getString(key), args);} - catch (IllegalArgumentException e) {return getString(key);} - -} -} - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/beaninfo/IIntrospectionAdapter.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/beaninfo/IIntrospectionAdapter.java deleted file mode 100644 index 2f68e7d..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/beaninfo/IIntrospectionAdapter.java +++ /dev/null
@@ -1,39 +0,0 @@ -package org.eclipse.jem.internal.java.beaninfo; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IIntrospectionAdapter.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; - - -/** - * The interface for the Beaninfo adapter. The actual implementation - * is in a separate project so that beaninfo code will not be loaded - * unless it needs to be. - */ - -public interface IIntrospectionAdapter extends org.eclipse.emf.common.notify.Adapter { - public static final Class ADAPTER_KEY = IIntrospectionAdapter.class; - public void introspect(); - public void introspectIfNecessary(); - public boolean isStale(); - public EList getEStructuralFeatures(); - public EList getEOperations(); - public BasicEList getEAllOperations(); - public EList getEvents(); - public EList getAllEvents(); - public EList getAllProperties(); -} - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/init/JavaInit.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/init/JavaInit.java deleted file mode 100644 index b3e3be2..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/init/JavaInit.java +++ /dev/null
@@ -1,75 +0,0 @@ -package org.eclipse.jem.internal.java.init; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaInit.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.internal.java.adapters.JavaXMIFactoryImpl; - -/** - * Initialize the Java Reflection mechanisms. - */ -public class JavaInit { - protected static boolean initialized = false; - protected static boolean plugin_initialized = false; - - public static void init() { - init(true); - } - - public static void init(boolean shouldPreRegisterPackages) { - if (!initialized) { - initialized = true; - if (shouldPreRegisterPackages) { - preRegisterPackages(); - setDefaultResourceFactory(); - } - //Register resource factory - JavaXMIFactoryImpl.register(); - } - } - - private static void preRegisterPackages() { - //ecore - if (!EPackage.Registry.INSTANCE.containsKey("ecore.xmi")) - EPackage.Registry.INSTANCE.put("ecore.xmi", new EPackage.Descriptor() { - public EPackage getEPackage() { - return EcorePackage.eINSTANCE; - } - }); - //java - if (!EPackage.Registry.INSTANCE.containsKey("java.xmi")) - EPackage.Registry.INSTANCE.put("java.xmi", new EPackage.Descriptor() { - public EPackage getEPackage() { - return JavaRefPackage.eINSTANCE; - } - }); - } - protected static void setDefaultResourceFactory() { - //This is not done outside of Eclipse - if (Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().get(Resource.Factory.Registry.DEFAULT_EXTENSION) == null) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - Resource.Factory.Registry.DEFAULT_EXTENSION, - new XMIResourceFactoryImpl()); - } - - public static void setPluginInit(boolean bPluginInit) { - // Here's where the configuration file would be read. - plugin_initialized = bPluginInit; - } - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationHandler.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationHandler.java deleted file mode 100644 index 94d0b15..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationHandler.java +++ /dev/null
@@ -1,47 +0,0 @@ -package org.eclipse.jem.internal.java.instantiation; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IInstantiationHandler.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.*; - -import org.eclipse.jem.java.JavaDataType; - -/** - * The interface for the Instantiation handler. The actual implementation - * is in a separate project so that instantiation code will not be loaded - * unless it needs to be. - */ - -public interface IInstantiationHandler { - /** - * Answers whether the adapter handles the datatype - * or whether the standard EFactory does. - */ - public boolean handlesDataType(JavaDataType type); - - /** - * Answers whether the adapter handles the EClass or the - * standard EFactory does. - */ - public boolean handlesClass(EClass type); - - /** - * If adapterHandlesInstance returns true, then - * this method will be called to create the instance. - */ - public EObject create(EClass javaClass); - -} - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationHandlerFactoryAdapter.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationHandlerFactoryAdapter.java deleted file mode 100644 index 89fef25..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationHandlerFactoryAdapter.java +++ /dev/null
@@ -1,35 +0,0 @@ -package org.eclipse.jem.internal.java.instantiation; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IInstantiationHandlerFactoryAdapter.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.common.notify.Adapter; - -import org.eclipse.jem.java.impl.JavaFactoryImpl; - -/** - * This adapter is a factory for IInstantiationHandler's. It is attached as - * an adapter on the ResourceSet that contains the java model. JavaXMIFactory - * will use it to retrieve its IInstantiationHandler. If the adapter is not - * found, then no instantiation handler exists. - */ -public interface IInstantiationHandlerFactoryAdapter extends Adapter { - - public final static Class ADAPTER_KEY = IInstantiationHandlerFactoryAdapter.class; - - /** - * Return an IInstantiationHandler. - */ - public IInstantiationHandler getInstantiationHandler(JavaFactoryImpl factory); - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationInstance.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationInstance.java deleted file mode 100644 index aefc944..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/instantiation/IInstantiationInstance.java +++ /dev/null
@@ -1,29 +0,0 @@ -package org.eclipse.jem.internal.java.instantiation; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: IInstantiationInstance.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.jem.java.JavaHelpers; - -/** - * The interface for an instance. The actual implementation - * is in a separate project so that instantiation code will not be loaded - * unless it needs to be. - */ -public interface IInstantiationInstance { - /** - * @return The JavaHelpers for the java type of the instance. - */ - public JavaHelpers getJavaType(); - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/ArrayType.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/ArrayType.java deleted file mode 100644 index a9e8b05..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/ArrayType.java +++ /dev/null
@@ -1,97 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ArrayType.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ - -import org.eclipse.emf.ecore.EClassifier; -/** - * Describes a Java Array type - * For multi-dimensional arrays, it is unlikely that the component type will be - * specified directly. This would require instantiating a chain of component types - * such as String[][][][]->String[][][]->String[][]->String[]->String. - * - * The component type relationship will be computed if the finalComponentType - * and array dimensions is specified. - * - * For this reason, the preferred way to create is through the JavaRefFactory factory method: - * createArrayType(JavaClass finalComponentType, int dimensions) - */ -public interface ArrayType extends JavaClass{ - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the ArrayDimensions attribute - */ - int getArrayDimensions(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the ArrayDimensions attribute - */ - void setArrayDimensions(int value); - - /** - * @generated This field/method will be replaced during code generation - * @return The ComponentType reference - */ - EClassifier getComponentType(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.ArrayType#getComponentType <em>Component Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Component Type</em>' reference. - * @see #getComponentType() - * @generated - */ - void setComponentType(EClassifier value); - - /** - * @generated This field/method will be replaced during code generation - * Get the final component type for this Array Type. - * - * In order to ensure a unique instance, we will resolve this type using - * reflection. It turns out to be most efficient to just do this by trimming the - * name. - */ - JavaHelpers getFinalComponentType(); - - /** - * @generated This field/method will be replaced during code generation - * Get the component type of this array. - * - * If this is a multi-dimensional array, the component type will be the nested - * array type. - */ - JavaHelpers getComponentTypeAsHelper(); - - /** - * @generated This field/method will be replaced during code generation - * Is this an array of java primitives - */ - boolean isPrimitiveArray(); - - /** - * @generated This field/method will be replaced during code generation - * Set the component type. - */ - void setComponentType(JavaHelpers helperComponentType); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Block.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Block.java deleted file mode 100644 index 5fc46c8..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Block.java +++ /dev/null
@@ -1,60 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: Block.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -/** - * @generated - */ -public interface Block extends EObject{ - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Source attribute - */ - String getSource(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Source attribute - */ - void setSource(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Name attribute - */ - String getName(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Name attribute - */ - void setName(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Contents references - */ - EList getContents(); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Comment.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Comment.java deleted file mode 100644 index ac1fc4f..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Comment.java +++ /dev/null
@@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: Comment.java,v $ - * $Revision: 1.2 $ $Date: 2004/02/03 23:18:28 $ - */ -package org.eclipse.jem.java; - - -/** - * @generated - */ -public interface Comment extends Block { - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Field.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Field.java deleted file mode 100644 index bd6c4ce..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Field.java +++ /dev/null
@@ -1,174 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: Field.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/14 00:16:44 $ - */ -import org.eclipse.emf.ecore.ETypedElement; - -/** - * @generated - */ -public interface Field extends ETypedElement { - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsFinal attribute - */ - boolean isFinal(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#isFinal <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Final</em>' attribute. - * @see #isFinal() - * @generated - */ - void setFinal(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsStatic attribute - */ - boolean isStatic(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#isStatic <em>Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Static</em>' attribute. - * @see #isStatic() - * @generated - */ - void setStatic(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the JavaVisibility attribute - */ - JavaVisibilityKind getJavaVisibility(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#getJavaVisibility <em>Java Visibility</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Java Visibility</em>' attribute. - * @see org.eclipse.jem.java.JavaVisibilityKind - * @see #getJavaVisibility() - * @generated - */ - void setJavaVisibility(JavaVisibilityKind value); - - /** - * Returns the value of the '<em><b>Transient</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Transient</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Transient</em>' attribute. - * @see #setTransient(boolean) - * @see org.eclipse.jem.java.JavaRefPackage#getField_Transient() - * @model - * @generated - */ - boolean isTransient(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#isTransient <em>Transient</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Transient</em>' attribute. - * @see #isTransient() - * @generated - */ - void setTransient(boolean value); - - /** - * Returns the value of the '<em><b>Volatile</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Volatile</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Volatile</em>' attribute. - * @see #setVolatile(boolean) - * @see org.eclipse.jem.java.JavaRefPackage#getField_Volatile() - * @model - * @generated - */ - boolean isVolatile(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#isVolatile <em>Volatile</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Volatile</em>' attribute. - * @see #isVolatile() - * @generated - */ - void setVolatile(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The JavaClass reference - */ - JavaClass getJavaClass(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#getJavaClass <em>Java Class</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Java Class</em>' container reference. - * @see #getJavaClass() - * @generated - */ - void setJavaClass(JavaClass value); - - /** - * @generated This field/method will be replaced during code generation - * @return The Initializer reference - */ - Block getInitializer(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Field#getInitializer <em>Initializer</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Initializer</em>' containment reference. - * @see #getInitializer() - * @generated - */ - void setInitializer(Block value); - - /** - * @generated This field/method will be replaced during code generation - * Get the class that this field is within. - */ - JavaClass getContainingJavaClass(); - - /** - * @generated This field/method will be replaced during code generation - * Is this field an array type. - */ - boolean isArray(); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/InheritanceCycleException.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/InheritanceCycleException.java deleted file mode 100644 index b895cb1..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/InheritanceCycleException.java +++ /dev/null
@@ -1,43 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InheritanceCycleException.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import java.text.MessageFormat; - -import org.eclipse.jem.internal.java.adapters.nls.ResourceHandler; - -/** - * @author DABERG - * - * To change the template for this generated type comment go to - * Window>Preferences>Java>Code Generation>Code and Comments - */ -public class InheritanceCycleException extends Exception { - private static String MSG_PATTERN = ResourceHandler.getString("Java_Inh_Cycle_ERROR_"); - - /** - * - */ - public InheritanceCycleException(JavaClass aSubclass, JavaClass aSuperclass) { - this(MessageFormat.format(MSG_PATTERN, new String[]{aSubclass.getQualifiedName(), aSuperclass.getQualifiedName()})); - } - - /** - * @param s - */ - public InheritanceCycleException(String s) { - super(s); - } - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Initializer.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Initializer.java deleted file mode 100644 index f11f75d..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Initializer.java +++ /dev/null
@@ -1,72 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: Initializer.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EObject; -/** - * @generated - */ -public interface Initializer extends EObject{ - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsStatic attribute - */ - Boolean getIsStatic(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the IsStatic attribute - */ - void setIsStatic(Boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The JavaClass reference - */ - JavaClass getJavaClass(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Initializer#getJavaClass <em>Java Class</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Java Class</em>' container reference. - * @see #getJavaClass() - * @generated - */ - void setJavaClass(JavaClass value); - - /** - * @generated This field/method will be replaced during code generation - * @return The Source reference - */ - Block getSource(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Initializer#getSource <em>Source</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Source</em>' reference. - * @see #getSource() - * @generated - */ - void setSource(Block value); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaClass.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaClass.java deleted file mode 100644 index 72ba99c..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaClass.java +++ /dev/null
@@ -1,410 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaClass.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import java.util.List; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -/** - * <!-- begin-user-doc --> - * @extends JavaHelpers - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jem.java.JavaClass#getKind <em>Kind</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#isPublic <em>Public</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#isFinal <em>Final</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getImplementsInterfaces <em>Implements Interfaces</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getClassImport <em>Class Import</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getPackageImports <em>Package Imports</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getFields <em>Fields</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getMethods <em>Methods</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getInitializers <em>Initializers</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getDeclaredClasses <em>Declared Classes</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getDeclaringClass <em>Declaring Class</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getJavaPackage <em>Java Package</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getEvents <em>Events</em>}</li> - * <li>{@link org.eclipse.jem.java.JavaClass#getAllEvents <em>All Events</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jem.java.JavaRefPackage#getJavaClass() - * @model - * @generated - */ -public interface JavaClass extends EClass, JavaHelpers{ - - public static final String DEFAULT_METHOD_NAME = "*"; - /** - * Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It will not look up the supertype hierarchy. - */ - public Method getPublicMethodExtended(String methodName, List parameterTypes) ; - /** - * Returns a filtered list on the methods of this class, having a name equal to that of the parameter. - */ - public List getPublicMethodsExtendedNamed(String name); - - /** - * Return an array listing our Fields, including inherited fields. - * The field relationship is derived from contents. - */ - public Field[] listFieldExtended(); - /** - * Return an array listing our Methods, including inherited methods. - * The method relationship is derived from contents. - */ - public Method[] listMethodExtended(); -//FB /** -//FB * This is required for internal reflection. Do not use. -//FB */ -//FB Object primRefValue(EObject feature); - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Kind attribute - */ - TypeKind getKind(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.JavaClass#getKind <em>Kind</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Kind</em>' attribute. - * @see org.eclipse.jem.java.TypeKind - * @see #getKind() - * @generated - */ - void setKind(TypeKind value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsPublic attribute - */ - boolean isPublic(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.JavaClass#isPublic <em>Public</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Public</em>' attribute. - * @see #isPublic() - * @generated - */ - void setPublic(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsFinal attribute - */ - boolean isFinal(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.JavaClass#isFinal <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Final</em>' attribute. - * @see #isFinal() - * @generated - */ - void setFinal(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of ImplementsInterfaces references - */ - EList getImplementsInterfaces(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of ClassImport references - */ - EList getClassImport(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of PackageImports references - */ - EList getPackageImports(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Fields references - */ - EList getFields(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Methods references - */ - EList getMethods(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Initializers references - */ - EList getInitializers(); - - /** - * @generated This field/method will be replaced during code generation - * @return The DeclaringClass reference - */ - JavaClass getDeclaringClass(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.JavaClass#getDeclaringClass <em>Declaring Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Declaring Class</em>' reference. - * @see #getDeclaringClass() - * @generated - */ - void setDeclaringClass(JavaClass value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of DeclaredClasses references - */ - EList getDeclaredClasses(); - - /** - * @generated This field/method will be replaced during code generation - * @return The JavaPackage reference - */ - JavaPackage getJavaPackage(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Events references - */ - EList getEvents(); - - /** - * Returns the value of the '<em><b>All Events</b></em>' reference list. - * The list contents are of type {@link org.eclipse.jem.java.JavaEvent}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>All Events</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>All Events</em>' reference list. - * @see org.eclipse.jem.java.JavaRefPackage#getJavaClass_AllEvents() - * @model type="org.eclipse.jem.java.JavaEvent" transient="true" volatile="true" - * @generated - */ - EList getAllEvents(); - - /** - * @generated This field/method will be replaced during code generation - */ - boolean isNested(); - - /** - * @generated This field/method will be replaced during code generation - * Return an Field with the passed name, or null. - */ - Field getField(String fieldName); - - /** - * @generated This field/method will be replaced during code generation - * Return an Field with the passed name from this JavaClass or any supertypes. - * - * Return null if a Field named fieldName is not found. - */ - Field getFieldExtended(String fieldName); - - /** - * @generated This field/method will be replaced during code generation - * Return an Field with the passed name, or null. - */ - Field getFieldNamed(String fieldName); - - /** - * @generated This field/method will be replaced during code generation - * Return all fields, including those from supertypes. - */ - List getFieldsExtended(); - - /** - * @generated This field/method will be replaced during code generation - * Get the method of this name and these parameters. It will not look up the - * supertype hierarchy. - */ - Method getMethod(String methodName, List parameterTypes); - - /** - * @generated This field/method will be replaced during code generation - * Return a List of Strings that represent MethodElement signatures from most - * general to most specific. - */ - List getMethodElementSignatures(); - - /** - * @generated This field/method will be replaced during code generation - * Get the method of this name and these parameters. It will look up the supertype - * hierarchy. - */ - Method getMethodExtended(String methodName, List parameterTypes); - - /** - * @generated This field/method will be replaced during code generation - * Return all methods, including those from supertypes. - */ - List getMethodsExtended(); - - /** - * Return all methods, including those from supertypes excluding particular classes and methods. - * @param excludedClasses - A list of JavaClass instances to be ignored. - * @param excludedMethods - A list of Method instances to be ignored. - */ - List getMethodsExtendedWithFilters(List excludedClasses, List excludedMethods) ; - - /** - * @generated This field/method will be replaced during code generation - * Return a List of Methods that begins with @aMethodNamePrefix and is not - * included in the @excludedNames list. If @aMethodNamePrefix is null, all methods - * will be returned. - - */ - List getOnlySpecificMethods(String aMethodNamePrefix, List excludedNames); - - /** - * @generated This field/method will be replaced during code generation - * Return a method matching the name, and non-return parameters with fully - * qualified types matching all the types in the list, if it exists. It will not - * look up the supertype hierarchy. - */ - Method getPublicMethod(String methodName, List parameterTypes); - - /** - * @generated This field/method will be replaced during code generation - * Return all methods, it will not go up the supertype hierarchy. - */ - List getPublicMethods(); - - /** - * @generated This field/method will be replaced during code generation - * Return all public methods, including those from supertypes. - */ - List getPublicMethodsExtended(); - - /** - * @generated This field/method will be replaced during code generation - * Returns a filtered list on the methods of this class, having a name equal to - * that of the parameter. - */ - List getPublicMethodsNamed(String name); - - /** - * @generated This field/method will be replaced during code generation - */ - JavaClass getSupertype(); - - /** - * @generated This field/method will be replaced during code generation - * Test whether the receiver implements the passed interface (or one of its - * supertypes). - */ - boolean implementsInterface(JavaClass interfaceType); - - /** - * @generated This field/method will be replaced during code generation - * Return a string showing our details. - */ - String infoString(); - - /** - * @generated This field/method will be replaced during code generation - * Tests whether this class inherits from the passed in class. - */ - boolean inheritsFrom(JavaClass javaClass); - - /** - * @generated This field/method will be replaced during code generation - * Does this type exist. - */ - boolean isExistingType(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Is this an interface. - * <!-- end-model-doc --> - * @model - * @generated - */ - boolean isInterface(); - - /** - * @generated This field/method will be replaced during code generation - * Set the supertype. - */ - void setSupertype(JavaClass javaclass) throws InheritanceCycleException; - - /** - * Return true if the passed JavaClass can be set as the supertype - * of this JavaClass. This method will test to see if aJavaClass will - * create a cycle in the inheritance structure. Return true if no - * inheritance cycle will be created. - */ - public boolean isValidSupertype(JavaClass aJavaClass) ; - - /** - * Get the EStructuralFeatures that represent the BeanInfo properties for - * just this Java class, not including inherited. It will return any EStructuralFeature - * that was specified as being at this class either through the XMI override document or - * through the BeanInfo. Structural features through the XMI may not be bean properties, - * but they are part of the features available at this class only. - * - * This is a combination of getEAttributes() and getEReferences(). - * - * To retrieve only the Bean Properties, then use Beaninfo - * Utilities.getPropertiesIterator(javaclass.getProperties()) and this will iterate over - * the Bean PropertyDecorators, and filter out the non-bean features. - * - * @return The list of properties (as EStructuralFeature's) for this java class. This list is - * not modifiable. - */ - EList getProperties(); - - /** - * Get all of the EStructuralFeatures that represent the BeanInfo properties for - * just this Java class, including inherited. It will return any EStructuralFeature - * that was specified through the XMI override document or - * through the BeanInfo. Structural features through the XMI may not be bean properties, - * but they are part of the features available. - * - * The is like getEAllStructuralFeatures() except that if BeanInfo hides any bean properties - * from the super class, this list will also hide them, while getEAllStructuralFeatures - * will not. - * - * To retrieve only the Bean Properties, then use Beaninfo - * Utilities.getPropertiesIterator(javaclass.getAllProperties()) and this will iterate over - * the Bean PropertyDecorators, and filter out the non-bean features. - * - * @return The list of all properties, including inherited, (as EStructuralFeature's) for this class. This list is - * not modifiable. - */ - EList getAllProperties(); - - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaDataType.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaDataType.java deleted file mode 100644 index ed56190..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaDataType.java +++ /dev/null
@@ -1,42 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaDataType.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EClass; - -/** - * <!-- begin-user-doc --> - * @extends JavaHelpers - * <!-- end-user-doc --> - * - * - * @see org.eclipse.jem.java.JavaRefPackage#getJavaDataType() - * @model - * @generated - */ -public interface JavaDataType extends EClass, JavaHelpers{ - - /** - * @generated This field/method will be replaced during code generation - * Return the default string representing the default value of the primitive. - */ - String getDefaultValueString(); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaEvent.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaEvent.java deleted file mode 100644 index c13c40a..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaEvent.java +++ /dev/null
@@ -1,29 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaEvent.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EStructuralFeature; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Java Event</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.jem.java.JavaRefPackage#getJavaEvent() - * @model abstract="true" - * @generated - */ -public interface JavaEvent extends EStructuralFeature{ -} \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaHelpers.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaHelpers.java deleted file mode 100644 index f17a95c..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaHelpers.java +++ /dev/null
@@ -1,61 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaHelpers.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; - -/** - * Insert the type's description here. - * Creation date: (6/27/2000 4:42:04 PM) - * @author: Administrator - */ -public interface JavaHelpers extends EClass { - static final String BOOLEAN_NAME = "java.lang.Boolean"; - static final String CHARACTER_NAME = "java.lang.Character"; - static final String BYTE_NAME = "java.lang.Byte"; - static final String DOUBLE_NAME = "java.lang.Double"; - static final String FLOAT_NAME = "java.lang.Float"; - static final String INTEGER_NAME = "java.lang.Integer"; - static final String LONG_NAME = "java.lang.Long"; - static final String SHORT_NAME = "java.lang.Short"; - static final String PRIM_BOOLEAN_NAME = "boolean"; - static final String PRIM_CHARACTER_NAME = "char"; - static final String PRIM_BYTE_NAME = "byte"; - static final String PRIM_DOUBLE_NAME = "double"; - static final String PRIM_FLOAT_NAME = "float"; - static final String PRIM_INTEGER_NAME = "int"; - static final String PRIM_LONG_NAME = "long"; - static final String PRIM_SHORT_NAME = "short"; - public String getJavaName(); - public JavaDataType getPrimitive(); - public String getQualifiedName(); - public JavaClass getWrapper(); - public boolean isArray(); - /** - * Can an object of the passed in class be assigned to an - * object of this class? In other words is this class a - * supertype of the passed in class, or is it superinterface - * of it? Or in the case of primitives, are they the same. - */ - public boolean isAssignableFrom(EClassifier aClass); - public boolean isPrimitive(); - - /** - * To be used by people that need to get the qualified name used for reflection. - * Typically bean info would need to use something like this. - */ - public String getQualifiedNameForReflection() ; -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaPackage.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaPackage.java deleted file mode 100644 index cac2eb7..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaPackage.java +++ /dev/null
@@ -1,41 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaPackage.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EPackage; - -public interface JavaPackage extends EPackage{ - - public static final String PACKAGE_ID = "*package"; // The id (the part that goes after the '#' for a java package.) - // There will only be one package per java resource so it - // can be unique. No java types, methods, fields ids can - // start with an asterick so will be unique. - - public static final String PRIMITIVE_PACKAGE_NAME = "_-javaprim"; - /** - * @generated This field/method will be replaced during code generation - * @return The list of JavaClasses references - */ - EList getJavaClasses(); - - public String getPackageName() ; - -} //JavaPackage - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaParameter.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaParameter.java deleted file mode 100644 index fff2b04..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaParameter.java +++ /dev/null
@@ -1,85 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaParameter.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/14 00:16:44 $ - */ - -import org.eclipse.emf.ecore.EParameter; - -/** - * @generated - */ -public interface JavaParameter extends EParameter { - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsFinal attribute - */ - boolean isFinal(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.JavaParameter#isFinal <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Final</em>' attribute. - * @see #isFinal() - * @generated - */ - void setFinal(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the ParameterKind attribute - */ - JavaParameterKind getParameterKind(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.JavaParameter#getParameterKind <em>Parameter Kind</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Parameter Kind</em>' attribute. - * @see org.eclipse.jem.java.JavaParameterKind - * @see #getParameterKind() - * @generated - */ - void setParameterKind(JavaParameterKind value); - - /** - * @generated This field/method will be replaced during code generation - * Is this parameter type an array type. - */ - boolean isArray(); - - /** - * @generated This field/method will be replaced during code generation - * Is this a return parameter. - */ - boolean isReturn(); - - /** - * @generated This field/method will be replaced during code generation - */ - JavaHelpers getJavaType(); - - /** - * @generated This field/method will be replaced during code generation - */ - String getQualifiedName(); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaParameterKind.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaParameterKind.java deleted file mode 100644 index e301020..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaParameterKind.java +++ /dev/null
@@ -1,202 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaParameterKind.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Java Parameter Kind</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * IN=0 - * OUT=1 - * INOUT=2 - * RETURN=3 - * <!-- end-model-doc --> - * @see org.eclipse.jem.java.JavaRefPackage#getJavaParameterKind() - * @model - * @generated - */ -public final class JavaParameterKind extends AbstractEnumerator -{ - /** - * The '<em><b>IN</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #IN_LITERAL - * @model - * @generated - * @ordered - */ - public static final int IN = 0; - /** - * The '<em><b>OUT</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #OUT_LITERAL - * @model - * @generated - * @ordered - */ - public static final int OUT = 1; - /** - * The '<em><b>INOUT</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #INOUT_LITERAL - * @model - * @generated - * @ordered - */ - public static final int INOUT = 2; - /** - * The '<em><b>RETURN</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #RETURN_LITERAL - * @model - * @generated - * @ordered - */ - public static final int RETURN = 3; - /** - * The '<em><b>IN</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>IN</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #IN - * @generated - * @ordered - */ - public static final JavaParameterKind IN_LITERAL = new JavaParameterKind(IN, "IN"); - - /** - * The '<em><b>OUT</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #OUT - * @generated - * @ordered - */ - public static final JavaParameterKind OUT_LITERAL = new JavaParameterKind(OUT, "OUT"); - - /** - * The '<em><b>INOUT</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #INOUT - * @generated - * @ordered - */ - public static final JavaParameterKind INOUT_LITERAL = new JavaParameterKind(INOUT, "INOUT"); - - /** - * The '<em><b>RETURN</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>RETURN</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #RETURN - * @generated - * @ordered - */ - public static final JavaParameterKind RETURN_LITERAL = new JavaParameterKind(RETURN, "RETURN"); - - /** - * An array of all the '<em><b>Java Parameter Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final JavaParameterKind[] VALUES_ARRAY = - new JavaParameterKind[] { - IN_LITERAL, - OUT_LITERAL, - INOUT_LITERAL, - RETURN_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Java Parameter Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Java Parameter Kind</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JavaParameterKind get(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - JavaParameterKind result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Java Parameter Kind</b></em>' literal with the specified value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JavaParameterKind get(int value) { - switch (value) { - case IN: return IN_LITERAL; - case OUT: return OUT_LITERAL; - case INOUT: return INOUT_LITERAL; - case RETURN: return RETURN_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private JavaParameterKind(int value, String name) { - super(value, name); - } - -} //JavaParameterKind - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaRefFactory.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaRefFactory.java deleted file mode 100644 index 8548b72..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaRefFactory.java +++ /dev/null
@@ -1,181 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaRefFactory.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 21:12:07 $ - */ - -import org.eclipse.emf.ecore.EFactory; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.ResourceSet; -/** - * @generated - */ -public interface JavaRefFactory extends EFactory{ - - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - JavaRefFactory eINSTANCE = new org.eclipse.jem.java.impl.JavaRefFactoryImpl(); - - - /** - * Create a proxy reference to the class name. - * @param targetName Classname to create a proxy reference too. - * @return A proxy reference - * - * @since 1.0.0 - */ - public JavaClass createClassRef(String targetName); - - /** - * reflect - reflect a java type (class or primitive) for a given qualified name. - * <p>If the package or type does not exist, one will be created through - * the reflection mechanism. - * <p>Lookup the JavaClass in the context of the passed object, handling some error cases. - * @param aQualifiedName Fully qualified name of class or primitive (e.g. <code>java.lang.Object</code> or <code>int</code> - * @param relatedObject EObject that it will be related too (it will look through the resource set's project of the EObject) - * @return The type. <code>null</code> if name is not of correct format, relatedObject is not contained by a resource set, or resource set is not associated with a project. - * - * @since 1.0.0 - */ - public JavaHelpers reflectType(String aQualifiedName, EObject relatedObject); - - - /** - * reflect - reflect a java type (class or primitive) for a given qualified name. - * <p>If the package or class does not exist, one will be created through - * the reflection mechanism. - * @param aQualifiedName Fully qualified name of class or primitive (e.g. <code>java.lang.Object</code> or <code>int</code> - * @param set Resource set to use. Its project will be used to find the type. - * @return The type. <code>null</code> if name is not of correct format, or resource set is not associated with a project. - * - * @since 1.0.0 - */ - public JavaHelpers reflectType(String aQualifiedName, ResourceSet set); - - - /** - * reflect - reflect a type for a given package name and class name. - * <p>If the package or class does not exist, one will be created through - * the reflection mechanism. - * @param aPackageName Package name - * @param aTypeName Type name - * @param set Resource set to use. Its project will be used to find the type. - * @return The type. <code>null</code> if name is not of correct format, or resource set is not associated with a project. - * - * @since 1.0.0 - */ - public JavaHelpers reflectType(String aPackageName, String aTypeName, ResourceSet set); - - /** - * reflect - reflect a Java package for a given package name. - * <p>If the package does not exist, one will be created through - * the reflection mechanism. - * @param packageName Name of package - * @param set Resource set to use. Its project will be used to find the package. - * @return The package. <code>null</code> if name is not of correct format, or resource set is not associated with a project. - * - * @since 1.0.0 - */ - public JavaPackage reflectPackage(String packageName, ResourceSet set); - - /** - * @return ArrayType value with an array of the component type - */ - public ArrayType createArrayType(JavaHelpers componentType); - /** - * @return ArrayType value with an array of the specified dimensions and final component type. - */ - public ArrayType createArrayType(JavaHelpers finalComponentType, int dimensions); - /** - * @generated This field/method will be replaced during code generation - * @return Method value - */ - Method createMethod(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaClass value - */ - JavaClass createJavaClass(); - - /** - * @generated This field/method will be replaced during code generation - * @return Field value - */ - Field createField(); - - /** - * @generated This field/method will be replaced during code generation - * @return Block value - */ - Block createBlock(); - - /** - * @generated This field/method will be replaced during code generation - * @return Comment value - */ - Comment createComment(); - - /** - * @generated This field/method will be replaced during code generation - * @return Statement value - */ - Statement createStatement(); - - /** - * @generated This field/method will be replaced during code generation - * @return Initializer value - */ - Initializer createInitializer(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaParameter value - */ - JavaParameter createJavaParameter(); - - /** - * @generated This field/method will be replaced during code generation - * @return ArrayType value - */ - ArrayType createArrayType(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaDataType value - */ - JavaDataType createJavaDataType(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaPackage value - */ - JavaPackage createJavaPackage(); - - /** - * @generated This field/method will be replaced during code generation. - */ - JavaRefPackage getJavaRefPackage(); - -} - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaRefPackage.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaRefPackage.java deleted file mode 100644 index 6379bba..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaRefPackage.java +++ /dev/null
@@ -1,1972 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaRefPackage.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/14 00:16:44 $ - */ -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; - - -/** - * @lastgen interface JavaRefPackage extends EPackage {} - */ -public interface JavaRefPackage extends EPackage{ - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "java"; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS = 0; - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EANNOTATIONS = EcorePackage.ECLASS__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__NAME = EcorePackage.ECLASS__NAME; - /** - * The feature id for the '<em><b>Instance Class Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__INSTANCE_CLASS_NAME = EcorePackage.ECLASS__INSTANCE_CLASS_NAME; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__INSTANCE_CLASS = EcorePackage.ECLASS__INSTANCE_CLASS; - /** - * The feature id for the '<em><b>Default Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__DEFAULT_VALUE = EcorePackage.ECLASS__DEFAULT_VALUE; - - /** - * The feature id for the '<em><b>EPackage</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EPACKAGE = EcorePackage.ECLASS__EPACKAGE; - - /** - * The feature id for the '<em><b>Abstract</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__ABSTRACT = EcorePackage.ECLASS__ABSTRACT; - - /** - * The feature id for the '<em><b>Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__INTERFACE = EcorePackage.ECLASS__INTERFACE; - - /** - * The feature id for the '<em><b>ESuper Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__ESUPER_TYPES = EcorePackage.ECLASS__ESUPER_TYPES; - - /** - * The feature id for the '<em><b>EOperations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EOPERATIONS = EcorePackage.ECLASS__EOPERATIONS; - - /** - * The feature id for the '<em><b>EAll Attributes</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EALL_ATTRIBUTES = EcorePackage.ECLASS__EALL_ATTRIBUTES; - - /** - * The feature id for the '<em><b>EAll References</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EALL_REFERENCES = EcorePackage.ECLASS__EALL_REFERENCES; - - /** - * The feature id for the '<em><b>EReferences</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EREFERENCES = EcorePackage.ECLASS__EREFERENCES; - - /** - * The feature id for the '<em><b>EAttributes</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EATTRIBUTES = EcorePackage.ECLASS__EATTRIBUTES; - - /** - * The feature id for the '<em><b>EAll Containments</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EALL_CONTAINMENTS = EcorePackage.ECLASS__EALL_CONTAINMENTS; - - /** - * The feature id for the '<em><b>EAll Operations</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EALL_OPERATIONS = EcorePackage.ECLASS__EALL_OPERATIONS; - - /** - * The feature id for the '<em><b>EAll Structural Features</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EALL_STRUCTURAL_FEATURES = EcorePackage.ECLASS__EALL_STRUCTURAL_FEATURES; - - /** - * The feature id for the '<em><b>EAll Super Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EALL_SUPER_TYPES = EcorePackage.ECLASS__EALL_SUPER_TYPES; - - /** - * The feature id for the '<em><b>EID Attribute</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__EID_ATTRIBUTE = EcorePackage.ECLASS__EID_ATTRIBUTE; - - /** - * The feature id for the '<em><b>EStructural Features</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__ESTRUCTURAL_FEATURES = EcorePackage.ECLASS__ESTRUCTURAL_FEATURES; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__KIND = EcorePackage.ECLASS_FEATURE_COUNT + 0; - /** - * The feature id for the '<em><b>Public</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__PUBLIC = EcorePackage.ECLASS_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Final</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS__FINAL = EcorePackage.ECLASS_FEATURE_COUNT + 2; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__IMPLEMENTS_INTERFACES = EcorePackage.ECLASS_FEATURE_COUNT + 3; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__CLASS_IMPORT = EcorePackage.ECLASS_FEATURE_COUNT + 4; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__PACKAGE_IMPORTS = EcorePackage.ECLASS_FEATURE_COUNT + 5; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__FIELDS = EcorePackage.ECLASS_FEATURE_COUNT + 6; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__METHODS = EcorePackage.ECLASS_FEATURE_COUNT + 7; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__INITIALIZERS = EcorePackage.ECLASS_FEATURE_COUNT + 8; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__DECLARED_CLASSES = EcorePackage.ECLASS_FEATURE_COUNT + 9; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__DECLARING_CLASS = EcorePackage.ECLASS_FEATURE_COUNT + 10; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__JAVA_PACKAGE = EcorePackage.ECLASS_FEATURE_COUNT + 11; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__EVENTS = EcorePackage.ECLASS_FEATURE_COUNT + 12; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_CLASS__ALL_EVENTS = EcorePackage.ECLASS_FEATURE_COUNT + 13; - /** - * The number of structural features of the the '<em>Java Class</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_CLASS_FEATURE_COUNT = EcorePackage.ECLASS_FEATURE_COUNT + 14; - - /** - * @generated This field/method will be replaced during code generation. - */ - int FIELD = 4; - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD = 3; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PARAMETER = 2; - /** - * @generated This field/method will be replaced during code generation. - */ - - - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE = 10; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_DATA_TYPE = 9; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_EVENT = 11; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PACKAGE = 8; - /** - * @generated This field/method will be replaced during code generation. - */ - int BLOCK = 5; - /** - * @generated This field/method will be replaced during code generation. - */ - int COMMENT = 6; - /** - * @generated This field/method will be replaced during code generation. - */ - int STATEMENT = 7; - /** - * @generated This field/method will be replaced during code generation. - */ - int INITIALIZER = 1; - /** - * @generated This field/method will be replaced during code generation. - */ - int INITIALIZER__IS_STATIC = 0; - /** - * @generated This field/method will be replaced during code generation. - */ - int INITIALIZER__JAVA_CLASS = 1; - /** - * @generated This field/method will be replaced during code generation. - */ - int INITIALIZER__SOURCE = 2; - - /** - * The number of structural features of the the '<em>Initializer</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INITIALIZER_FEATURE_COUNT = 3; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__EANNOTATIONS = EcorePackage.EPARAMETER__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PARAMETER__NAME = EcorePackage.EPARAMETER__NAME; - /** - * The feature id for the '<em><b>Ordered</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__ORDERED = EcorePackage.EPARAMETER__ORDERED; - - /** - * The feature id for the '<em><b>Unique</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__UNIQUE = EcorePackage.EPARAMETER__UNIQUE; - - /** - * The feature id for the '<em><b>Lower Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__LOWER_BOUND = EcorePackage.EPARAMETER__LOWER_BOUND; - - /** - * The feature id for the '<em><b>Upper Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__UPPER_BOUND = EcorePackage.EPARAMETER__UPPER_BOUND; - - /** - * The feature id for the '<em><b>Many</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__MANY = EcorePackage.EPARAMETER__MANY; - - /** - * The feature id for the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__REQUIRED = EcorePackage.EPARAMETER__REQUIRED; - - /** - * The feature id for the '<em><b>EType</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__ETYPE = EcorePackage.EPARAMETER__ETYPE; - - /** - * The feature id for the '<em><b>EOperation</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__EOPERATION = EcorePackage.EPARAMETER__EOPERATION; - - /** - * The feature id for the '<em><b>Final</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER__FINAL = EcorePackage.EPARAMETER_FEATURE_COUNT + 0; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PARAMETER__PARAMETER_KIND = EcorePackage.EPARAMETER_FEATURE_COUNT + 1; - /** - * The number of structural features of the the '<em>Java Parameter</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PARAMETER_FEATURE_COUNT = EcorePackage.EPARAMETER_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__EANNOTATIONS = EcorePackage.EOPERATION__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD__NAME = EcorePackage.EOPERATION__NAME; - /** - * The feature id for the '<em><b>Ordered</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__ORDERED = EcorePackage.EOPERATION__ORDERED; - - /** - * The feature id for the '<em><b>Unique</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__UNIQUE = EcorePackage.EOPERATION__UNIQUE; - - /** - * The feature id for the '<em><b>Lower Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__LOWER_BOUND = EcorePackage.EOPERATION__LOWER_BOUND; - - /** - * The feature id for the '<em><b>Upper Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__UPPER_BOUND = EcorePackage.EOPERATION__UPPER_BOUND; - - /** - * The feature id for the '<em><b>Many</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__MANY = EcorePackage.EOPERATION__MANY; - - /** - * The feature id for the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__REQUIRED = EcorePackage.EOPERATION__REQUIRED; - - /** - * The feature id for the '<em><b>EType</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__ETYPE = EcorePackage.EOPERATION__ETYPE; - - /** - * The feature id for the '<em><b>EContaining Class</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__ECONTAINING_CLASS = EcorePackage.EOPERATION__ECONTAINING_CLASS; - - /** - * The feature id for the '<em><b>EParameters</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__EPARAMETERS = EcorePackage.EOPERATION__EPARAMETERS; - - /** - * The feature id for the '<em><b>EExceptions</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__EEXCEPTIONS = EcorePackage.EOPERATION__EEXCEPTIONS; - - /** - * The feature id for the '<em><b>Abstract</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__ABSTRACT = EcorePackage.EOPERATION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Native</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__NATIVE = EcorePackage.EOPERATION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Synchronized</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__SYNCHRONIZED = EcorePackage.EOPERATION_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Final</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__FINAL = EcorePackage.EOPERATION_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Constructor</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__CONSTRUCTOR = EcorePackage.EOPERATION_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Static</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD__STATIC = EcorePackage.EOPERATION_FEATURE_COUNT + 5; - - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD__JAVA_VISIBILITY = EcorePackage.EOPERATION_FEATURE_COUNT + 6; - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD__PARAMETERS = EcorePackage.EOPERATION_FEATURE_COUNT + 7; - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD__JAVA_EXCEPTIONS = EcorePackage.EOPERATION_FEATURE_COUNT + 8; - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD__JAVA_CLASS = EcorePackage.EOPERATION_FEATURE_COUNT + 9; - /** - * @generated This field/method will be replaced during code generation. - */ - int METHOD__SOURCE = EcorePackage.EOPERATION_FEATURE_COUNT + 10; - /** - * The number of structural features of the the '<em>Method</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METHOD_FEATURE_COUNT = EcorePackage.EOPERATION_FEATURE_COUNT + 11; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__EANNOTATIONS = EcorePackage.ETYPED_ELEMENT__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int FIELD__NAME = EcorePackage.ETYPED_ELEMENT__NAME; - /** - * The feature id for the '<em><b>Ordered</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__ORDERED = EcorePackage.ETYPED_ELEMENT__ORDERED; - - /** - * The feature id for the '<em><b>Unique</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__UNIQUE = EcorePackage.ETYPED_ELEMENT__UNIQUE; - - /** - * The feature id for the '<em><b>Lower Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__LOWER_BOUND = EcorePackage.ETYPED_ELEMENT__LOWER_BOUND; - - /** - * The feature id for the '<em><b>Upper Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__UPPER_BOUND = EcorePackage.ETYPED_ELEMENT__UPPER_BOUND; - - /** - * The feature id for the '<em><b>Many</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__MANY = EcorePackage.ETYPED_ELEMENT__MANY; - - /** - * The feature id for the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__REQUIRED = EcorePackage.ETYPED_ELEMENT__REQUIRED; - - /** - * The feature id for the '<em><b>EType</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__ETYPE = EcorePackage.ETYPED_ELEMENT__ETYPE; - - /** - * The feature id for the '<em><b>Final</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__FINAL = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Static</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__STATIC = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 1; - - /** - * @generated This field/method will be replaced during code generation. - */ - int FIELD__JAVA_VISIBILITY = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 2; - /** - * The feature id for the '<em><b>Transient</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__TRANSIENT = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Volatile</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD__VOLATILE = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 4; - - /** - * @generated This field/method will be replaced during code generation. - */ - int FIELD__JAVA_CLASS = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 5; - /** - * @generated This field/method will be replaced during code generation. - */ - int FIELD__INITIALIZER = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 6; - /** - * The number of structural features of the the '<em>Field</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FIELD_FEATURE_COUNT = EcorePackage.ETYPED_ELEMENT_FEATURE_COUNT + 7; - - /** - * @generated This field/method will be replaced during code generation. - */ - int BLOCK__SOURCE = 0; - /** - * @generated This field/method will be replaced during code generation. - */ - int BLOCK__NAME = 1; - /** - * @generated This field/method will be replaced during code generation. - */ - int BLOCK__CONTENTS = 2; - - /** - * The number of structural features of the the '<em>Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK_FEATURE_COUNT = 3; - - /** - * @generated This field/method will be replaced during code generation. - */ - int COMMENT__SOURCE = BLOCK__SOURCE; - /** - * @generated This field/method will be replaced during code generation. - */ - int COMMENT__NAME = BLOCK__NAME; - /** - * @generated This field/method will be replaced during code generation. - */ - int COMMENT__CONTENTS = BLOCK__CONTENTS; - - /** - * The number of structural features of the the '<em>Comment</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMMENT_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 0; - - /** - * @generated This field/method will be replaced during code generation. - */ - int STATEMENT__SOURCE = BLOCK__SOURCE; - /** - * @generated This field/method will be replaced during code generation. - */ - int STATEMENT__NAME = BLOCK__NAME; - /** - * @generated This field/method will be replaced during code generation. - */ - int STATEMENT__CONTENTS = BLOCK__CONTENTS; - - /** - * The number of structural features of the the '<em>Statement</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int STATEMENT_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE__EANNOTATIONS = EcorePackage.EPACKAGE__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PACKAGE__NAME = EcorePackage.EPACKAGE__NAME; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PACKAGE__NS_URI = EcorePackage.EPACKAGE__NS_URI; - /** - * The feature id for the '<em><b>Ns Prefix</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE__NS_PREFIX = EcorePackage.EPACKAGE__NS_PREFIX; - - /** - * The feature id for the '<em><b>EFactory Instance</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE__EFACTORY_INSTANCE = EcorePackage.EPACKAGE__EFACTORY_INSTANCE; - - /** - * The feature id for the '<em><b>EClassifiers</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE__ECLASSIFIERS = EcorePackage.EPACKAGE__ECLASSIFIERS; - - /** - * The feature id for the '<em><b>ESubpackages</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE__ESUBPACKAGES = EcorePackage.EPACKAGE__ESUBPACKAGES; - - /** - * The feature id for the '<em><b>ESuper Package</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE__ESUPER_PACKAGE = EcorePackage.EPACKAGE__ESUPER_PACKAGE; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PACKAGE__JAVA_CLASSES = EcorePackage.EPACKAGE_FEATURE_COUNT + 0; - /** - * The number of structural features of the the '<em>Java Package</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_PACKAGE_FEATURE_COUNT = EcorePackage.EPACKAGE_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EANNOTATIONS = EcorePackage.ECLASS__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_DATA_TYPE__NAME = EcorePackage.ECLASS__NAME; - /** - * The feature id for the '<em><b>Instance Class Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__INSTANCE_CLASS_NAME = EcorePackage.ECLASS__INSTANCE_CLASS_NAME; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_DATA_TYPE__INSTANCE_CLASS = EcorePackage.ECLASS__INSTANCE_CLASS; - /** - * The feature id for the '<em><b>Default Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__DEFAULT_VALUE = EcorePackage.ECLASS__DEFAULT_VALUE; - - /** - * The feature id for the '<em><b>EPackage</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EPACKAGE = EcorePackage.ECLASS__EPACKAGE; - - /** - * The feature id for the '<em><b>Abstract</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__ABSTRACT = EcorePackage.ECLASS__ABSTRACT; - - /** - * The feature id for the '<em><b>Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__INTERFACE = EcorePackage.ECLASS__INTERFACE; - - /** - * The feature id for the '<em><b>ESuper Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__ESUPER_TYPES = EcorePackage.ECLASS__ESUPER_TYPES; - - /** - * The feature id for the '<em><b>EOperations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EOPERATIONS = EcorePackage.ECLASS__EOPERATIONS; - - /** - * The feature id for the '<em><b>EAll Attributes</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EALL_ATTRIBUTES = EcorePackage.ECLASS__EALL_ATTRIBUTES; - - /** - * The feature id for the '<em><b>EAll References</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EALL_REFERENCES = EcorePackage.ECLASS__EALL_REFERENCES; - - /** - * The feature id for the '<em><b>EReferences</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EREFERENCES = EcorePackage.ECLASS__EREFERENCES; - - /** - * The feature id for the '<em><b>EAttributes</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EATTRIBUTES = EcorePackage.ECLASS__EATTRIBUTES; - - /** - * The feature id for the '<em><b>EAll Containments</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EALL_CONTAINMENTS = EcorePackage.ECLASS__EALL_CONTAINMENTS; - - /** - * The feature id for the '<em><b>EAll Operations</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EALL_OPERATIONS = EcorePackage.ECLASS__EALL_OPERATIONS; - - /** - * The feature id for the '<em><b>EAll Structural Features</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EALL_STRUCTURAL_FEATURES = EcorePackage.ECLASS__EALL_STRUCTURAL_FEATURES; - - /** - * The feature id for the '<em><b>EAll Super Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EALL_SUPER_TYPES = EcorePackage.ECLASS__EALL_SUPER_TYPES; - - /** - * The feature id for the '<em><b>EID Attribute</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__EID_ATTRIBUTE = EcorePackage.ECLASS__EID_ATTRIBUTE; - - /** - * The feature id for the '<em><b>EStructural Features</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES = EcorePackage.ECLASS__ESTRUCTURAL_FEATURES; - - /** - * The number of structural features of the the '<em>Java Data Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_DATA_TYPE_FEATURE_COUNT = EcorePackage.ECLASS_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EANNOTATIONS = JAVA_CLASS__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__NAME = JAVA_CLASS__NAME; - /** - * The feature id for the '<em><b>Instance Class Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__INSTANCE_CLASS_NAME = JAVA_CLASS__INSTANCE_CLASS_NAME; - - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__INSTANCE_CLASS = JAVA_CLASS__INSTANCE_CLASS; - /** - * The feature id for the '<em><b>Default Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__DEFAULT_VALUE = JAVA_CLASS__DEFAULT_VALUE; - - /** - * The feature id for the '<em><b>EPackage</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EPACKAGE = JAVA_CLASS__EPACKAGE; - - /** - * The feature id for the '<em><b>Abstract</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__ABSTRACT = JAVA_CLASS__ABSTRACT; - - /** - * The feature id for the '<em><b>Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__INTERFACE = JAVA_CLASS__INTERFACE; - - /** - * The feature id for the '<em><b>ESuper Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__ESUPER_TYPES = JAVA_CLASS__ESUPER_TYPES; - - /** - * The feature id for the '<em><b>EOperations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EOPERATIONS = JAVA_CLASS__EOPERATIONS; - - /** - * The feature id for the '<em><b>EAll Attributes</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EALL_ATTRIBUTES = JAVA_CLASS__EALL_ATTRIBUTES; - - /** - * The feature id for the '<em><b>EAll References</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EALL_REFERENCES = JAVA_CLASS__EALL_REFERENCES; - - /** - * The feature id for the '<em><b>EReferences</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EREFERENCES = JAVA_CLASS__EREFERENCES; - - /** - * The feature id for the '<em><b>EAttributes</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EATTRIBUTES = JAVA_CLASS__EATTRIBUTES; - - /** - * The feature id for the '<em><b>EAll Containments</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EALL_CONTAINMENTS = JAVA_CLASS__EALL_CONTAINMENTS; - - /** - * The feature id for the '<em><b>EAll Operations</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EALL_OPERATIONS = JAVA_CLASS__EALL_OPERATIONS; - - /** - * The feature id for the '<em><b>EAll Structural Features</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EALL_STRUCTURAL_FEATURES = JAVA_CLASS__EALL_STRUCTURAL_FEATURES; - - /** - * The feature id for the '<em><b>EAll Super Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EALL_SUPER_TYPES = JAVA_CLASS__EALL_SUPER_TYPES; - - /** - * The feature id for the '<em><b>EID Attribute</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__EID_ATTRIBUTE = JAVA_CLASS__EID_ATTRIBUTE; - - /** - * The feature id for the '<em><b>EStructural Features</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__ESTRUCTURAL_FEATURES = JAVA_CLASS__ESTRUCTURAL_FEATURES; - - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__KIND = JAVA_CLASS__KIND; - /** - * The feature id for the '<em><b>Public</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__PUBLIC = JAVA_CLASS__PUBLIC; - - /** - * The feature id for the '<em><b>Final</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE__FINAL = JAVA_CLASS__FINAL; - - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__IMPLEMENTS_INTERFACES = JAVA_CLASS__IMPLEMENTS_INTERFACES; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__CLASS_IMPORT = JAVA_CLASS__CLASS_IMPORT; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__PACKAGE_IMPORTS = JAVA_CLASS__PACKAGE_IMPORTS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__FIELDS = JAVA_CLASS__FIELDS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__METHODS = JAVA_CLASS__METHODS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__INITIALIZERS = JAVA_CLASS__INITIALIZERS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__DECLARED_CLASSES = JAVA_CLASS__DECLARED_CLASSES; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__DECLARING_CLASS = JAVA_CLASS__DECLARING_CLASS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__JAVA_PACKAGE = JAVA_CLASS__JAVA_PACKAGE; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__EVENTS = JAVA_CLASS__EVENTS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__ALL_EVENTS = JAVA_CLASS__ALL_EVENTS; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__ARRAY_DIMENSIONS = JAVA_CLASS_FEATURE_COUNT + 0; - /** - * @generated This field/method will be replaced during code generation. - */ - int ARRAY_TYPE__COMPONENT_TYPE = JAVA_CLASS_FEATURE_COUNT + 1; - /** - * The number of structural features of the the '<em>Array Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARRAY_TYPE_FEATURE_COUNT = JAVA_CLASS_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__EANNOTATIONS = EcorePackage.ESTRUCTURAL_FEATURE__EANNOTATIONS; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_EVENT__NAME = EcorePackage.ESTRUCTURAL_FEATURE__NAME; - /** - * The feature id for the '<em><b>Ordered</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__ORDERED = EcorePackage.ESTRUCTURAL_FEATURE__ORDERED; - - /** - * The feature id for the '<em><b>Unique</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__UNIQUE = EcorePackage.ESTRUCTURAL_FEATURE__UNIQUE; - - /** - * The feature id for the '<em><b>Lower Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__LOWER_BOUND = EcorePackage.ESTRUCTURAL_FEATURE__LOWER_BOUND; - - /** - * The feature id for the '<em><b>Upper Bound</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__UPPER_BOUND = EcorePackage.ESTRUCTURAL_FEATURE__UPPER_BOUND; - - /** - * The feature id for the '<em><b>Many</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__MANY = EcorePackage.ESTRUCTURAL_FEATURE__MANY; - - /** - * The feature id for the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__REQUIRED = EcorePackage.ESTRUCTURAL_FEATURE__REQUIRED; - - /** - * The feature id for the '<em><b>EType</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__ETYPE = EcorePackage.ESTRUCTURAL_FEATURE__ETYPE; - - /** - * The feature id for the '<em><b>Changeable</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__CHANGEABLE = EcorePackage.ESTRUCTURAL_FEATURE__CHANGEABLE; - - /** - * The feature id for the '<em><b>Volatile</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__VOLATILE = EcorePackage.ESTRUCTURAL_FEATURE__VOLATILE; - - /** - * The feature id for the '<em><b>Transient</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__TRANSIENT = EcorePackage.ESTRUCTURAL_FEATURE__TRANSIENT; - - /** - * The feature id for the '<em><b>Default Value Literal</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__DEFAULT_VALUE_LITERAL = EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL; - - /** - * The feature id for the '<em><b>Default Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__DEFAULT_VALUE = EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE; - - /** - * The feature id for the '<em><b>Unsettable</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__UNSETTABLE = EcorePackage.ESTRUCTURAL_FEATURE__UNSETTABLE; - - /** - * The feature id for the '<em><b>Derived</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__DERIVED = EcorePackage.ESTRUCTURAL_FEATURE__DERIVED; - - /** - * The feature id for the '<em><b>EContaining Class</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT__ECONTAINING_CLASS = EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS; - - /** - * The number of structural features of the the '<em>Java Event</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JAVA_EVENT_FEATURE_COUNT = EcorePackage.ESTRUCTURAL_FEATURE_FEATURE_COUNT + 0; - - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_VISIBILITY_KIND = 13; - /** - * @generated This field/method will be replaced during code generation. - */ - int JAVA_PARAMETER_KIND = 14; - /** - * The meta object id for the '<em>JType Java Helpers</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jem.java.JavaHelpers - * @see org.eclipse.jem.java.impl.JavaRefPackageImpl#getJTypeJavaHelpers() - * @generated - */ - int JTYPE_JAVA_HELPERS = 15; - - /** - * The meta object id for the '<em>JType List</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.util.List - * @see org.eclipse.jem.java.impl.JavaRefPackageImpl#getJTypeList() - * @generated - */ - int JTYPE_LIST = 16; - - - /** - * @generated This field/method will be replaced during code generation. - */ - int TYPE_KIND = 12; - /** - * @generated This field/method will be replaced during code generation. - */ - String eNS_URI = "java.xmi"; - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "org.eclipse.jem.internal.java"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - JavaRefPackage eINSTANCE = org.eclipse.jem.java.impl.JavaRefPackageImpl.init(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaClass object - */ - EClass getJavaClass(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getJavaClass_Kind(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.JavaClass#isPublic <em>Public</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Public</em>'. - * @see org.eclipse.jem.java.JavaClass#isPublic() - * @see #getJavaClass() - * @generated - */ - EAttribute getJavaClass_Public(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.JavaClass#isFinal <em>Final</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Final</em>'. - * @see org.eclipse.jem.java.JavaClass#isFinal() - * @see #getJavaClass() - * @generated - */ - EAttribute getJavaClass_Final(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_ImplementsInterfaces(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_ClassImport(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_PackageImports(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_Fields(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_Methods(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_Initializers(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_DeclaringClass(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_DeclaredClasses(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_JavaPackage(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_Events(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaClass_AllEvents(); - - /** - * @generated This field/method will be replaced during code generation - * @return Field object - */ - EClass getField(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Field#isFinal <em>Final</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Final</em>'. - * @see org.eclipse.jem.java.Field#isFinal() - * @see #getField() - * @generated - */ - EAttribute getField_Final(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Field#isStatic <em>Static</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Static</em>'. - * @see org.eclipse.jem.java.Field#isStatic() - * @see #getField() - * @generated - */ - EAttribute getField_Static(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getField_JavaVisibility(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Field#isTransient <em>Transient</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Transient</em>'. - * @see org.eclipse.jem.java.Field#isTransient() - * @see #getField() - * @generated - */ - EAttribute getField_Transient(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Field#isVolatile <em>Volatile</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Volatile</em>'. - * @see org.eclipse.jem.java.Field#isVolatile() - * @see #getField() - * @generated - */ - EAttribute getField_Volatile(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getField_JavaClass(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getField_Initializer(); - - /** - * @generated This field/method will be replaced during code generation - * @return Method object - */ - EClass getMethod(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Method#isAbstract <em>Abstract</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Abstract</em>'. - * @see org.eclipse.jem.java.Method#isAbstract() - * @see #getMethod() - * @generated - */ - EAttribute getMethod_Abstract(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Method#isNative <em>Native</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Native</em>'. - * @see org.eclipse.jem.java.Method#isNative() - * @see #getMethod() - * @generated - */ - EAttribute getMethod_Native(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Method#isSynchronized <em>Synchronized</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Synchronized</em>'. - * @see org.eclipse.jem.java.Method#isSynchronized() - * @see #getMethod() - * @generated - */ - EAttribute getMethod_Synchronized(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Method#isFinal <em>Final</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Final</em>'. - * @see org.eclipse.jem.java.Method#isFinal() - * @see #getMethod() - * @generated - */ - EAttribute getMethod_Final(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Method#isConstructor <em>Constructor</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Constructor</em>'. - * @see org.eclipse.jem.java.Method#isConstructor() - * @see #getMethod() - * @generated - */ - EAttribute getMethod_Constructor(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.Method#isStatic <em>Static</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Static</em>'. - * @see org.eclipse.jem.java.Method#isStatic() - * @see #getMethod() - * @generated - */ - EAttribute getMethod_Static(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getMethod_JavaVisibility(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getMethod_Parameters(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getMethod_JavaExceptions(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getMethod_JavaClass(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getMethod_Source(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaParameter object - */ - EClass getJavaParameter(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jem.java.JavaParameter#isFinal <em>Final</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Final</em>'. - * @see org.eclipse.jem.java.JavaParameter#isFinal() - * @see #getJavaParameter() - * @generated - */ - EAttribute getJavaParameter_Final(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getJavaParameter_ParameterKind(); - - /** - * @generated This field/method will be replaced during code generation - * @return ArrayType object - */ - EClass getArrayType(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getArrayType_ArrayDimensions(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getArrayType_ComponentType(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaDataType object - */ - EClass getJavaDataType(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaEvent object - */ - EClass getJavaEvent(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaPackage object - */ - EClass getJavaPackage(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getJavaPackage_JavaClasses(); - - /** - * @generated This field/method will be replaced during code generation - * @return Block object - */ - EClass getBlock(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getBlock_Source(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getBlock_Name(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getBlock_Contents(); - - /** - * @generated This field/method will be replaced during code generation - * @return Comment object - */ - EClass getComment(); - - /** - * @generated This field/method will be replaced during code generation - * @return Statement object - */ - EClass getStatement(); - - /** - * @generated This field/method will be replaced during code generation - * @return Initializer object - */ - EClass getInitializer(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EAttribute getInitializer_IsStatic(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getInitializer_JavaClass(); - - /** - * @generated This field/method will be replaced during code generation. - */ - EReference getInitializer_Source(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaVisibilityKind object - */ - EEnum getJavaVisibilityKind(); - - /** - * @generated This field/method will be replaced during code generation - * @return JavaParameterKind object - */ - EEnum getJavaParameterKind(); - - /** - * @generated This field/method will be replaced during code generation - * @return TypeKind object - */ - EEnum getTypeKind(); - - /** - * @generated This field/method will be replaced during code generation - * @return JTypeList object - */ - EDataType getJTypeList(); - - /** - * @generated This field/method will be replaced during code generation - * @return JTypeJavaHelpers object - */ - EDataType getJTypeJavaHelpers(); - - /** - * @generated This field/method will be replaced during code generation. - */ - JavaRefFactory getJavaRefFactory(); - -} //JavaRefPackage - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaURL.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaURL.java deleted file mode 100644 index 38e4613..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaURL.java +++ /dev/null
@@ -1,91 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaURL.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ - - -public class JavaURL extends org.eclipse.jem.java.impl.URL { - public static final String JAVA_PROTOCOL_URI_PREFIX = "java:/"; - /** - * JavaURL constructor comment. - * @param urlString java.lang.String - */ - public JavaURL(String urlString) { - super(urlString); - } - /** - * JavaURL constructor comment. - * @param nameSpaceName java.lang.String - * @param iD java.lang.String - */ - public JavaURL(String nameSpaceName, String iD) { - super(null, null); - initializeNamespaceString(nameSpaceName); - this.ID = iD; - } - public String getClassName() { - return ID; - } - /** - * This method was created in VisualAge. - * @return java.lang.String - */ - public String getFullString() { - StringBuffer buf = new StringBuffer(); - if (namespaceName != null) { - buf.append(namespaceName); - if (ID != null) - buf.append("#"); - } - if (ID != null) - buf.append(ID); - return buf.toString(); - } - public String getPackageName() { - String internalName = namespaceName.substring(JAVA_PROTOCOL_URI_PREFIX.length(), namespaceName.length()); - return JavaPackage.PRIMITIVE_PACKAGE_NAME.equals(internalName) ? "" : internalName; - } - /* If we don't have a # sign to delimit the start of the java package us the inherited behavior - */ - public void initializeFromString(String url) { - if (url.indexOf("#") != -1) - super.initializeFromString(url); - else { - int endOfPackageName = url.lastIndexOf('.'); - if (endOfPackageName == -1) - initializeNamespaceString(null); - else - initializeNamespaceString(url.substring(0, endOfPackageName)); - ID = url.substring(endOfPackageName + 1); - } - - } - /* - */ - public void initializeNamespaceString(String aNamespaceName) { - if (aNamespaceName == null) - namespaceName = JAVA_PROTOCOL_URI_PREFIX; - else - namespaceName = JAVA_PROTOCOL_URI_PREFIX + aNamespaceName; - } - public static boolean isJavaURL(String aUrlString) { - if (aUrlString == null) - return false; - return aUrlString.startsWith(JAVA_PROTOCOL_URI_PREFIX); - } - - public String toString() { - return "URL(" + getFullString() + ")"; - } -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaVisibilityKind.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaVisibilityKind.java deleted file mode 100644 index d52cfa1..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/JavaVisibilityKind.java +++ /dev/null
@@ -1,203 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaVisibilityKind.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Java Visibility Kind</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * PACKAGE=1 - * PUBLIC=2 - * PRIVATE=3 - * PROTECTED=4 - * <!-- end-model-doc --> - * @see org.eclipse.jem.java.JavaRefPackage#getJavaVisibilityKind() - * @model - * @generated - */ -public final class JavaVisibilityKind extends AbstractEnumerator -{ - /** - * The '<em><b>PUBLIC</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PUBLIC_LITERAL - * @model - * @generated - * @ordered - */ - public static final int PUBLIC = 0; - - /** - * The '<em><b>PRIVATE</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PRIVATE_LITERAL - * @model - * @generated - * @ordered - */ - public static final int PRIVATE = 1; - - /** - * The '<em><b>PROTECTED</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PROTECTED_LITERAL - * @model - * @generated - * @ordered - */ - public static final int PROTECTED = 2; - - /** - * The '<em><b>PACKAGE</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PACKAGE_LITERAL - * @model - * @generated - * @ordered - */ - public static final int PACKAGE = 3; - - /** - * The '<em><b>PUBLIC</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PUBLIC - * @generated - * @ordered - */ - public static final JavaVisibilityKind PUBLIC_LITERAL = new JavaVisibilityKind(PUBLIC, "PUBLIC"); - - /** - * The '<em><b>PRIVATE</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PRIVATE - * @generated - * @ordered - */ - public static final JavaVisibilityKind PRIVATE_LITERAL = new JavaVisibilityKind(PRIVATE, "PRIVATE"); - - /** - * The '<em><b>PROTECTED</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>PROTECTED</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PROTECTED - * @generated - * @ordered - */ - public static final JavaVisibilityKind PROTECTED_LITERAL = new JavaVisibilityKind(PROTECTED, "PROTECTED"); - - /** - * The '<em><b>PACKAGE</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>PACKAGE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PACKAGE - * @generated - * @ordered - */ - public static final JavaVisibilityKind PACKAGE_LITERAL = new JavaVisibilityKind(PACKAGE, "PACKAGE"); - - /** - * An array of all the '<em><b>Java Visibility Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final JavaVisibilityKind[] VALUES_ARRAY = - new JavaVisibilityKind[] { - PUBLIC_LITERAL, - PRIVATE_LITERAL, - PROTECTED_LITERAL, - PACKAGE_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Java Visibility Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Java Visibility Kind</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JavaVisibilityKind get(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - JavaVisibilityKind result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Java Visibility Kind</b></em>' literal with the specified value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JavaVisibilityKind get(int value) { - switch (value) { - case PUBLIC: return PUBLIC_LITERAL; - case PRIVATE: return PRIVATE_LITERAL; - case PROTECTED: return PROTECTED_LITERAL; - case PACKAGE: return PACKAGE_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private JavaVisibilityKind(int value, String name) { - super(value, name); - } - -} //JavaVisibilityKind
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Method.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Method.java deleted file mode 100644 index e1cfa76..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Method.java +++ /dev/null
@@ -1,279 +0,0 @@ -package org.eclipse.jem.java; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: Method.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/14 00:16:44 $ - */ -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EOperation; - -/** - * @generated - */ -public interface Method extends EOperation{ - - public static final String GENERATED_COMMENT_TAG = "@generated"; - /** - * Lists all the parameters, excluding the return type - */ - public JavaParameter[] listParametersWithoutReturn(); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsAbstract attribute - */ - boolean isAbstract(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#isAbstract <em>Abstract</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Abstract</em>' attribute. - * @see #isAbstract() - * @generated - */ - void setAbstract(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsNative attribute - */ - boolean isNative(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#isNative <em>Native</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Native</em>' attribute. - * @see #isNative() - * @generated - */ - void setNative(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsSynchronized attribute - */ - boolean isSynchronized(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#isSynchronized <em>Synchronized</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Synchronized</em>' attribute. - * @see #isSynchronized() - * @generated - */ - void setSynchronized(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsFinal attribute - */ - boolean isFinal(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#isFinal <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Final</em>' attribute. - * @see #isFinal() - * @generated - */ - void setFinal(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsConstructor attribute - */ - boolean isConstructor(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#isConstructor <em>Constructor</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Constructor</em>' attribute. - * @see #isConstructor() - * @generated - */ - void setConstructor(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the IsStatic attribute - */ - boolean isStatic(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#isStatic <em>Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Static</em>' attribute. - * @see #isStatic() - * @generated - */ - void setStatic(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the JavaVisibility attribute - */ - JavaVisibilityKind getJavaVisibility(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#getJavaVisibility <em>Java Visibility</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Java Visibility</em>' attribute. - * @see org.eclipse.jem.java.JavaVisibilityKind - * @see #getJavaVisibility() - * @generated - */ - void setJavaVisibility(JavaVisibilityKind value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Parameters references - */ - EList getParameters(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of JavaExceptions references - */ - EList getJavaExceptions(); - - /** - * @generated This field/method will be replaced during code generation - * @return The JavaClass reference - */ - JavaClass getJavaClass(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#getJavaClass <em>Java Class</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Java Class</em>' container reference. - * @see #getJavaClass() - * @generated - */ - void setJavaClass(JavaClass value); - - /** - * @generated This field/method will be replaced during code generation - * @return The Source reference - */ - Block getSource(); - - /** - * Sets the value of the '{@link org.eclipse.jem.java.Method#getSource <em>Source</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Source</em>' reference. - * @see #getSource() - * @generated - */ - void setSource(Block value); - - /** - * @generated This field/method will be replaced during code generation - * Return the java class that this method is defined in. - */ - JavaClass getContainingJavaClass(); - - /** - * @generated This field/method will be replaced during code generation - * Return a String with the the method name and its parameters. e.g. <code> - * setFirstName(java.lang.String) <//code> . - * - */ - String getMethodElementSignature(); - - /** - * @generated This field/method will be replaced during code generation - * Return a Parameter with the passed name, or null. - */ - JavaParameter getParameter(String parameterName); - - /** - * @generated This field/method will be replaced during code generation - * Get the return type. - */ - JavaHelpers getReturnType(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Set the return type - * <!-- end-model-doc --> - * @model parameters="org.eclipse.jem.java.JTypeJavaHelpers" - * @generated - */ - void setReturnType(JavaHelpers type); - - /** - * @generated This field/method will be replaced during code generation - * Replicate the functionality of java.lang.reflect.Method.toString(). - * - * Returns a string describing this Method. The string is formatted as the method - * access modifiers, if any, followed by the method return type, followed by a - * space, followed by the class declaring the method, followed by a period, - * followed by the method name, followed by a parenthesized, comma-separated list - * of the method's formal parameter types. If the method throws checked - * exceptions, the parameter list is followed by a space, followed by the word - * throws followed by a comma-separated list of the thrown exception types. - * - * For example: - * - * public boolean java.lang.Object.equals(java.lang.Object) - * - * The access modifiers are placed in canonical order as specified by "The Java - * Language Specification". This is public, <tt>protected<//tt> or - * <tt>private<//tt> first, and then other modifiers in the following order: - * <tt>abstract<//tt>, <tt>static<//tt>, <tt>final<//tt>, <tt>synchronized<//tt> - * <tt>native<//tt>. - - */ - String getSignature(); - - /** - * @generated This field/method will be replaced during code generation - * Returns true if the method is system generated. - * This is usually determined by the @generated tag in the comment. - */ - boolean isGenerated(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Set the isGenerated flag. - * <!-- end-model-doc --> - * @model - * @generated - */ - void setIsGenerated(boolean generated); - - /** - * @generated This field/method will be replaced during code generation - * Is this a void return type method. - */ - boolean isVoid(); - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Statement.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Statement.java deleted file mode 100644 index 52b4137..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/Statement.java +++ /dev/null
@@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: Statement.java,v $ - * $Revision: 1.2 $ $Date: 2004/02/03 23:18:28 $ - */ -package org.eclipse.jem.java; - -/** - * @generated - */ -public interface Statement extends Block { - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/TypeKind.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/TypeKind.java deleted file mode 100644 index 8386035..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/TypeKind.java +++ /dev/null
@@ -1,200 +0,0 @@ -package org.eclipse.jem.java; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: TypeKind.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Type Kind</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * UNDEFINED=1 CLASS=2 INTERFACE=3 EXCEPTION=4 - * <!-- end-model-doc --> - * @see org.eclipse.jem.java.JavaRefPackage#getTypeKind() - * @model - * @generated - */ -public final class TypeKind extends AbstractEnumerator -{ - /** - * The '<em><b>UNDEFINED</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #UNDEFINED_LITERAL - * @model - * @generated - * @ordered - */ - public static final int UNDEFINED = 0; - - /** - * The '<em><b>CLASS</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #CLASS_LITERAL - * @model - * @generated - * @ordered - */ - public static final int CLASS = 1; - - /** - * The '<em><b>INTERFACE</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #INTERFACE_LITERAL - * @model - * @generated - * @ordered - */ - public static final int INTERFACE = 2; - - /** - * The '<em><b>EXCEPTION</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #EXCEPTION_LITERAL - * @model - * @generated - * @ordered - */ - public static final int EXCEPTION = 3; - - /** - * The '<em><b>UNDEFINED</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>UNDEFINED</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #UNDEFINED - * @generated - * @ordered - */ - public static final TypeKind UNDEFINED_LITERAL = new TypeKind(UNDEFINED, "UNDEFINED"); - - /** - * The '<em><b>CLASS</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>CLASS</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #CLASS - * @generated - * @ordered - */ - public static final TypeKind CLASS_LITERAL = new TypeKind(CLASS, "CLASS"); - - /** - * The '<em><b>INTERFACE</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>INTERFACE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #INTERFACE - * @generated - * @ordered - */ - public static final TypeKind INTERFACE_LITERAL = new TypeKind(INTERFACE, "INTERFACE"); - - /** - * The '<em><b>EXCEPTION</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>EXCEPTION</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #EXCEPTION - * @generated - * @ordered - */ - public static final TypeKind EXCEPTION_LITERAL = new TypeKind(EXCEPTION, "EXCEPTION"); - - /** - * An array of all the '<em><b>Type Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final TypeKind[] VALUES_ARRAY = - new TypeKind[] { - UNDEFINED_LITERAL, - CLASS_LITERAL, - INTERFACE_LITERAL, - EXCEPTION_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Type Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Type Kind</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TypeKind get(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - TypeKind result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Type Kind</b></em>' literal with the specified value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TypeKind get(int value) { - switch (value) { - case UNDEFINED: return UNDEFINED_LITERAL; - case CLASS: return CLASS_LITERAL; - case INTERFACE: return INTERFACE_LITERAL; - case EXCEPTION: return EXCEPTION_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private TypeKind(int value, String name) { - super(value, name); - } - -} //TypeKind
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/ArrayTypeImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/ArrayTypeImpl.java deleted file mode 100644 index d19b4e4..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/ArrayTypeImpl.java +++ /dev/null
@@ -1,667 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: ArrayTypeImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/13 21:12:07 $ - */ - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.*; -import org.eclipse.jem.java.ArrayType; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaHelpers; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.TypeKind; - -/** - * Describes a Java Array type - * For multi-dimensional arrays, it is unlikely that the component type will be - * specified directly. This would require instantiating a chain of component types - * such as String[][][][]->String[][][]->String[][]->String[]->String. - * - * The component type relationship will be computed if the finalComponentType - * and array dimensions is specified. - * - * For this reason, the preferred way to create is through the JavaRefFactory factory method: - * createArrayType(JavaClass finalComponentType, int dimensions) - */ -public class ArrayTypeImpl extends JavaClassImpl implements ArrayType, JavaClass{ - - /** - * The default value of the '{@link #getArrayDimensions() <em>Array Dimensions</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArrayDimensions() - * @generated - * @ordered - */ - protected static final int ARRAY_DIMENSIONS_EDEFAULT = 0; - - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected int arrayDimensions = ARRAY_DIMENSIONS_EDEFAULT; - /** - * The cached value of the '{@link #getComponentType() <em>Component Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getComponentType() - * @generated - * @ordered - */ - protected EClassifier componentType = null; - - protected ArrayTypeImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getArrayType(); - } - - /** - * Compute the component type for this array type from our type name. - * The component type of this array type is essentially: new ArrayTypeImpl(finalComponentType, arrayDimensions-1) - * unless our array dimension is 1, in which case it is only our final component type. - * - * In order to ensure a unique instance, we will resolve this type using reflection. - * "java.lang.String[][]" component type is "java.lang.String[]" - * - */ - public JavaHelpers computeComponentType() { - String componentName = getQualifiedName(); - // Strip the last [] form my name to get my component type's name - componentName = componentName.substring(0, componentName.length() - 2); - return JavaRefFactory.eINSTANCE.reflectType(componentName, this); - } -/** - * Override to perform some lazy initialization - */ - public EClassifier getComponentType() { - // If we do not have a component type set, but we have a name (which contains our component type name) - // we can compute the component type. - if ((this.getComponentTypeGen() == null) && (this.getName() != null)) { - componentType = (EClassifier) computeComponentType(); - } - return componentType; - } - /** - * Get the component type of this array. - * - * If this is a multi-dimensional array, the component type will be the nested array type. - */ - public JavaHelpers getComponentTypeAsHelper() { - EClassifier componentClassifier = getComponentType(); - return (JavaHelpers) componentClassifier; - } - /** - * Get the final component type for this Array Type. - * - * In order to ensure a unique instance, we will resolve this type using reflection. It turns out to be most efficient to just do this by trimming the name. - */ - public JavaHelpers getFinalComponentType() { - String componentName = getQualifiedName(); - // Strip all the [] from my name to get my FINAL component type's name - componentName = componentName.substring(0, componentName.indexOf("[")); - return JavaRefFactory.eINSTANCE.reflectType(componentName, this); - } - /** - * (JavaHelpers)isArray - ArrayTypes are arrays - * Override from JavaClass. - */ - public boolean isArray() { - return true; - } -/** - * Does this type exist. - */ -public boolean isExistingType() { - JavaHelpers component = getComponentTypeAsHelper(); - if (component != null) { - if (component.isPrimitive()) - return true; - else - return ((JavaClass) component).isExistingType(); - } else - return false; -} - /** - * Is this an array of java primitives - */ - public boolean isPrimitiveArray() { - return getFinalComponentType().isPrimitive(); - } - /** - * Set the component type. - */ - public void setComponentType(JavaHelpers helperComponentType) { - setComponentType((EClassifier) helperComponentType); - } - /** - * @generated This field/method will be replaced during code generation - */ - public int getArrayDimensions() { - return arrayDimensions; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setArrayDimensions(int newArrayDimensions) { - int oldArrayDimensions = arrayDimensions; - arrayDimensions = newArrayDimensions; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.ARRAY_TYPE__ARRAY_DIMENSIONS, oldArrayDimensions, arrayDimensions)); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.ARRAY_TYPE__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.ARRAY_TYPE__INSTANCE_CLASS_NAME: - return INSTANCE_CLASS_NAME_EDEFAULT == null ? instanceClassName != null : !INSTANCE_CLASS_NAME_EDEFAULT.equals(instanceClassName); - case JavaRefPackage.ARRAY_TYPE__INSTANCE_CLASS: - return getInstanceClass() != null; - case JavaRefPackage.ARRAY_TYPE__DEFAULT_VALUE: - return getDefaultValue() != null; - case JavaRefPackage.ARRAY_TYPE__EPACKAGE: - return getEPackage() != null; - case JavaRefPackage.ARRAY_TYPE__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case JavaRefPackage.ARRAY_TYPE__INTERFACE: - return interface_ != INTERFACE_EDEFAULT; - case JavaRefPackage.ARRAY_TYPE__ESUPER_TYPES: - return eSuperTypes != null && !eSuperTypes.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EOPERATIONS: - return eOperations != null && !eOperations.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EALL_ATTRIBUTES: - return !getEAllAttributes().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EALL_REFERENCES: - return !getEAllReferences().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EREFERENCES: - return !getEReferences().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EATTRIBUTES: - return !getEAttributes().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EALL_CONTAINMENTS: - return !getEAllContainments().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EALL_OPERATIONS: - return !getEAllOperations().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EALL_STRUCTURAL_FEATURES: - return !getEAllStructuralFeatures().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EALL_SUPER_TYPES: - return !getEAllSuperTypes().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__EID_ATTRIBUTE: - return getEIDAttribute() != null; - case JavaRefPackage.ARRAY_TYPE__ESTRUCTURAL_FEATURES: - return eStructuralFeatures != null && !eStructuralFeatures.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__KIND: - return kind != KIND_EDEFAULT; - case JavaRefPackage.ARRAY_TYPE__PUBLIC: - return public_ != PUBLIC_EDEFAULT; - case JavaRefPackage.ARRAY_TYPE__FINAL: - return final_ != FINAL_EDEFAULT; - case JavaRefPackage.ARRAY_TYPE__IMPLEMENTS_INTERFACES: - return implementsInterfaces != null && !implementsInterfaces.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__CLASS_IMPORT: - return classImport != null && !classImport.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__PACKAGE_IMPORTS: - return packageImports != null && !packageImports.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__FIELDS: - return fields != null && !fields.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__METHODS: - return methods != null && !methods.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__INITIALIZERS: - return initializers != null && !initializers.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__DECLARED_CLASSES: - return declaredClasses != null && !declaredClasses.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__DECLARING_CLASS: - return declaringClass != null; - case JavaRefPackage.ARRAY_TYPE__JAVA_PACKAGE: - return basicGetJavaPackage() != null; - case JavaRefPackage.ARRAY_TYPE__EVENTS: - return events != null && !events.isEmpty(); - case JavaRefPackage.ARRAY_TYPE__ALL_EVENTS: - return !getAllEvents().isEmpty(); - case JavaRefPackage.ARRAY_TYPE__ARRAY_DIMENSIONS: - return arrayDimensions != ARRAY_DIMENSIONS_EDEFAULT; - case JavaRefPackage.ARRAY_TYPE__COMPONENT_TYPE: - return componentType != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.ARRAY_TYPE__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__NAME: - setName((String)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__INSTANCE_CLASS_NAME: - setInstanceClassName((String)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__ABSTRACT: - setAbstract(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.ARRAY_TYPE__INTERFACE: - setInterface(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.ARRAY_TYPE__ESUPER_TYPES: - getESuperTypes().clear(); - getESuperTypes().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__EOPERATIONS: - getEOperations().clear(); - getEOperations().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__ESTRUCTURAL_FEATURES: - getEStructuralFeatures().clear(); - getEStructuralFeatures().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__KIND: - setKind((TypeKind)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__PUBLIC: - setPublic(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.ARRAY_TYPE__FINAL: - setFinal(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.ARRAY_TYPE__IMPLEMENTS_INTERFACES: - getImplementsInterfaces().clear(); - getImplementsInterfaces().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__CLASS_IMPORT: - getClassImport().clear(); - getClassImport().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__PACKAGE_IMPORTS: - getPackageImports().clear(); - getPackageImports().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__FIELDS: - getFields().clear(); - getFields().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__METHODS: - getMethods().clear(); - getMethods().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__INITIALIZERS: - getInitializers().clear(); - getInitializers().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__DECLARED_CLASSES: - getDeclaredClasses().clear(); - getDeclaredClasses().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__DECLARING_CLASS: - setDeclaringClass((JavaClass)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__EVENTS: - getEvents().clear(); - getEvents().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__ALL_EVENTS: - getAllEvents().clear(); - getAllEvents().addAll((Collection)newValue); - return; - case JavaRefPackage.ARRAY_TYPE__ARRAY_DIMENSIONS: - setArrayDimensions(((Integer)newValue).intValue()); - return; - case JavaRefPackage.ARRAY_TYPE__COMPONENT_TYPE: - setComponentType((EClassifier)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.ARRAY_TYPE__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__INSTANCE_CLASS_NAME: - setInstanceClassName(INSTANCE_CLASS_NAME_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__INTERFACE: - setInterface(INTERFACE_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__ESUPER_TYPES: - getESuperTypes().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__EOPERATIONS: - getEOperations().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__ESTRUCTURAL_FEATURES: - getEStructuralFeatures().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__KIND: - setKind(KIND_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__PUBLIC: - setPublic(PUBLIC_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__FINAL: - setFinal(FINAL_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__IMPLEMENTS_INTERFACES: - getImplementsInterfaces().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__CLASS_IMPORT: - getClassImport().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__PACKAGE_IMPORTS: - getPackageImports().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__FIELDS: - getFields().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__METHODS: - getMethods().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__INITIALIZERS: - getInitializers().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__DECLARED_CLASSES: - getDeclaredClasses().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__DECLARING_CLASS: - setDeclaringClass((JavaClass)null); - return; - case JavaRefPackage.ARRAY_TYPE__EVENTS: - getEvents().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__ALL_EVENTS: - getAllEvents().clear(); - return; - case JavaRefPackage.ARRAY_TYPE__ARRAY_DIMENSIONS: - setArrayDimensions(ARRAY_DIMENSIONS_EDEFAULT); - return; - case JavaRefPackage.ARRAY_TYPE__COMPONENT_TYPE: - setComponentType((EClassifier)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (arrayDimensions: "); - result.append(arrayDimensions); - result.append(')'); - return result.toString(); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EClassifier getComponentTypeGen() { - if (componentType != null && componentType.eIsProxy()) { - EClassifier oldComponentType = componentType; - componentType = (EClassifier)eResolveProxy((InternalEObject)componentType); - if (componentType != oldComponentType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, JavaRefPackage.ARRAY_TYPE__COMPONENT_TYPE, oldComponentType, componentType)); - } - } - return componentType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClassifier basicGetComponentType() { - return componentType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setComponentType(EClassifier newComponentType) { - EClassifier oldComponentType = componentType; - componentType = newComponentType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.ARRAY_TYPE__COMPONENT_TYPE, oldComponentType, componentType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.ARRAY_TYPE__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__EPACKAGE: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.ARRAY_TYPE__EPACKAGE, msgs); - case JavaRefPackage.ARRAY_TYPE__EOPERATIONS: - return ((InternalEList)getEOperations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__ESTRUCTURAL_FEATURES: - return ((InternalEList)getEStructuralFeatures()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__FIELDS: - return ((InternalEList)getFields()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__METHODS: - return ((InternalEList)getMethods()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__INITIALIZERS: - return ((InternalEList)getInitializers()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__DECLARED_CLASSES: - return ((InternalEList)getDeclaredClasses()).basicAdd(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__DECLARING_CLASS: - if (declaringClass != null) - msgs = ((InternalEObject)declaringClass).eInverseRemove(this, JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES, JavaClass.class, msgs); - return basicSetDeclaringClass((JavaClass)otherEnd, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.ARRAY_TYPE__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__EPACKAGE: - return eBasicSetContainer(null, JavaRefPackage.ARRAY_TYPE__EPACKAGE, msgs); - case JavaRefPackage.ARRAY_TYPE__EOPERATIONS: - return ((InternalEList)getEOperations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__ESTRUCTURAL_FEATURES: - return ((InternalEList)getEStructuralFeatures()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__FIELDS: - return ((InternalEList)getFields()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__METHODS: - return ((InternalEList)getMethods()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__INITIALIZERS: - return ((InternalEList)getInitializers()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__DECLARED_CLASSES: - return ((InternalEList)getDeclaredClasses()).basicRemove(otherEnd, msgs); - case JavaRefPackage.ARRAY_TYPE__DECLARING_CLASS: - return basicSetDeclaringClass(null, msgs); - case JavaRefPackage.ARRAY_TYPE__EVENTS: - return ((InternalEList)getEvents()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.ARRAY_TYPE__EPACKAGE: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.EPACKAGE__ECLASSIFIERS, EPackage.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.ARRAY_TYPE__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.ARRAY_TYPE__NAME: - return getName(); - case JavaRefPackage.ARRAY_TYPE__INSTANCE_CLASS_NAME: - return getInstanceClassName(); - case JavaRefPackage.ARRAY_TYPE__INSTANCE_CLASS: - return getInstanceClass(); - case JavaRefPackage.ARRAY_TYPE__DEFAULT_VALUE: - return getDefaultValue(); - case JavaRefPackage.ARRAY_TYPE__EPACKAGE: - return getEPackage(); - case JavaRefPackage.ARRAY_TYPE__ABSTRACT: - return isAbstract() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.ARRAY_TYPE__INTERFACE: - return isInterface() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.ARRAY_TYPE__ESUPER_TYPES: - return getESuperTypes(); - case JavaRefPackage.ARRAY_TYPE__EOPERATIONS: - return getEOperations(); - case JavaRefPackage.ARRAY_TYPE__EALL_ATTRIBUTES: - return getEAllAttributes(); - case JavaRefPackage.ARRAY_TYPE__EALL_REFERENCES: - return getEAllReferences(); - case JavaRefPackage.ARRAY_TYPE__EREFERENCES: - return getEReferences(); - case JavaRefPackage.ARRAY_TYPE__EATTRIBUTES: - return getEAttributes(); - case JavaRefPackage.ARRAY_TYPE__EALL_CONTAINMENTS: - return getEAllContainments(); - case JavaRefPackage.ARRAY_TYPE__EALL_OPERATIONS: - return getEAllOperations(); - case JavaRefPackage.ARRAY_TYPE__EALL_STRUCTURAL_FEATURES: - return getEAllStructuralFeatures(); - case JavaRefPackage.ARRAY_TYPE__EALL_SUPER_TYPES: - return getEAllSuperTypes(); - case JavaRefPackage.ARRAY_TYPE__EID_ATTRIBUTE: - return getEIDAttribute(); - case JavaRefPackage.ARRAY_TYPE__ESTRUCTURAL_FEATURES: - return getEStructuralFeatures(); - case JavaRefPackage.ARRAY_TYPE__KIND: - return getKind(); - case JavaRefPackage.ARRAY_TYPE__PUBLIC: - return isPublic() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.ARRAY_TYPE__FINAL: - return isFinal() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.ARRAY_TYPE__IMPLEMENTS_INTERFACES: - return getImplementsInterfaces(); - case JavaRefPackage.ARRAY_TYPE__CLASS_IMPORT: - return getClassImport(); - case JavaRefPackage.ARRAY_TYPE__PACKAGE_IMPORTS: - return getPackageImports(); - case JavaRefPackage.ARRAY_TYPE__FIELDS: - return getFields(); - case JavaRefPackage.ARRAY_TYPE__METHODS: - return getMethods(); - case JavaRefPackage.ARRAY_TYPE__INITIALIZERS: - return getInitializers(); - case JavaRefPackage.ARRAY_TYPE__DECLARED_CLASSES: - return getDeclaredClasses(); - case JavaRefPackage.ARRAY_TYPE__DECLARING_CLASS: - if (resolve) return getDeclaringClass(); - return basicGetDeclaringClass(); - case JavaRefPackage.ARRAY_TYPE__JAVA_PACKAGE: - if (resolve) return getJavaPackage(); - return basicGetJavaPackage(); - case JavaRefPackage.ARRAY_TYPE__EVENTS: - return getEvents(); - case JavaRefPackage.ARRAY_TYPE__ALL_EVENTS: - return getAllEvents(); - case JavaRefPackage.ARRAY_TYPE__ARRAY_DIMENSIONS: - return new Integer(getArrayDimensions()); - case JavaRefPackage.ARRAY_TYPE__COMPONENT_TYPE: - if (resolve) return getComponentType(); - return basicGetComponentType(); - } - return eDynamicGet(eFeature, resolve); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/BlockImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/BlockImpl.java deleted file mode 100644 index 557e331..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/BlockImpl.java +++ /dev/null
@@ -1,243 +0,0 @@ -package org.eclipse.jem.java.impl; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: BlockImpl.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.Block; -import org.eclipse.jem.java.JavaRefPackage; - -/** - * @generated - */ -public class BlockImpl extends EObjectImpl implements Block{ - - /** - * The default value of the '{@link #getSource() <em>Source</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSource() - * @generated - * @ordered - */ - protected static final String SOURCE_EDEFAULT = null; - - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected String source = SOURCE_EDEFAULT; - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected String name = NAME_EDEFAULT; - /** - * The cached value of the '{@link #getContents() <em>Contents</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getContents() - * @generated - * @ordered - */ - protected EList contents = null; - - protected BlockImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getBlock(); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public String getSource() { - return source; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setSource(String newSource) { - String oldSource = source; - source = newSource; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.BLOCK__SOURCE, oldSource, source)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public String getName() { - return name; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.BLOCK__NAME, oldName, name)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EList getContents() { - if (contents == null) { - contents = new EObjectContainmentEList(Block.class, this, JavaRefPackage.BLOCK__CONTENTS); - } - return contents; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.BLOCK__CONTENTS: - return ((InternalEList)getContents()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.BLOCK__SOURCE: - return getSource(); - case JavaRefPackage.BLOCK__NAME: - return getName(); - case JavaRefPackage.BLOCK__CONTENTS: - return getContents(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.BLOCK__SOURCE: - return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source); - case JavaRefPackage.BLOCK__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.BLOCK__CONTENTS: - return contents != null && !contents.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.BLOCK__SOURCE: - setSource((String)newValue); - return; - case JavaRefPackage.BLOCK__NAME: - setName((String)newValue); - return; - case JavaRefPackage.BLOCK__CONTENTS: - getContents().clear(); - getContents().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.BLOCK__SOURCE: - setSource(SOURCE_EDEFAULT); - return; - case JavaRefPackage.BLOCK__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.BLOCK__CONTENTS: - getContents().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (source: "); - result.append(source); - result.append(", name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/CommentImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/CommentImpl.java deleted file mode 100644 index e6ad768..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/CommentImpl.java +++ /dev/null
@@ -1,143 +0,0 @@ -package org.eclipse.jem.java.impl; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: CommentImpl.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.Comment; -import org.eclipse.jem.java.JavaRefPackage; -/** - * @generated - */ -public class CommentImpl extends BlockImpl implements Comment{ - - - protected CommentImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getComment(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.COMMENT__CONTENTS: - return ((InternalEList)getContents()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.COMMENT__SOURCE: - return getSource(); - case JavaRefPackage.COMMENT__NAME: - return getName(); - case JavaRefPackage.COMMENT__CONTENTS: - return getContents(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.COMMENT__SOURCE: - setSource((String)newValue); - return; - case JavaRefPackage.COMMENT__NAME: - setName((String)newValue); - return; - case JavaRefPackage.COMMENT__CONTENTS: - getContents().clear(); - getContents().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.COMMENT__SOURCE: - setSource(SOURCE_EDEFAULT); - return; - case JavaRefPackage.COMMENT__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.COMMENT__CONTENTS: - getContents().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.COMMENT__SOURCE: - return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source); - case JavaRefPackage.COMMENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.COMMENT__CONTENTS: - return contents != null && !contents.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/FieldImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/FieldImpl.java deleted file mode 100644 index 0f94128..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/FieldImpl.java +++ /dev/null
@@ -1,706 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: FieldImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/14 00:16:44 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.ETypedElementImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.Block; -import org.eclipse.jem.java.Field; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaHelpers; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.JavaURL; -import org.eclipse.jem.java.JavaVisibilityKind; -import org.eclipse.jem.internal.java.adapters.ReadAdaptor; - -/** - * @generated - */ -public class FieldImpl extends ETypedElementImpl implements Field{ - - /** - * The default value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected static final boolean FINAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected boolean final_ = FINAL_EDEFAULT; - - /** - * The default value of the '{@link #isStatic() <em>Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isStatic() - * @generated - * @ordered - */ - protected static final boolean STATIC_EDEFAULT = false; - - /** - * The cached value of the '{@link #isStatic() <em>Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isStatic() - * @generated - * @ordered - */ - protected boolean static_ = STATIC_EDEFAULT; - - /** - * The default value of the '{@link #getJavaVisibility() <em>Java Visibility</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaVisibility() - * @generated - * @ordered - */ - protected static final JavaVisibilityKind JAVA_VISIBILITY_EDEFAULT = JavaVisibilityKind.PUBLIC_LITERAL; - - - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaVisibilityKind javaVisibility = JAVA_VISIBILITY_EDEFAULT; - /** - * The default value of the '{@link #isTransient() <em>Transient</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isTransient() - * @generated - * @ordered - */ - protected static final boolean TRANSIENT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTransient() <em>Transient</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isTransient() - * @generated - * @ordered - */ - protected boolean transient_ = TRANSIENT_EDEFAULT; - - /** - * The default value of the '{@link #isVolatile() <em>Volatile</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isVolatile() - * @generated - * @ordered - */ - protected static final boolean VOLATILE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isVolatile() <em>Volatile</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isVolatile() - * @generated - * @ordered - */ - protected boolean volatile_ = VOLATILE_EDEFAULT; - - /** - * The cached value of the '{@link #getInitializer() <em>Initializer</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitializer() - * @generated - * @ordered - */ - protected Block initializer = null; - - protected FieldImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getField(); - } - - /** - * createFieldRef - return a JavaURL reference to the named field in the named Java class - * in the form "package.class_field" - */ - public static Field createFieldRef(String className, String fieldName) { - Field ref = JavaRefFactoryImpl.getActiveFactory().createField(); - JavaURL javaurl = new JavaURL(className + "/" + fieldName); - ((InternalEObject) ref).eSetProxyURI(URI.createURI(javaurl.getFullString())); - return ref; - } - /** - * Get the class that this field is within. - */ - public JavaClass getContainingJavaClass() { - return (JavaClass) this.getJavaClass(); - } - /** - * Overrides to perform lazy initializations/reflection. - */ - public EClassifier getEType() { - if (!hasReflected) reflectValues(); - return super.getEType(); - } - public Block getInitializer() { - if (!hasReflected) reflectValues(); - return getInitializerGen(); - } - public boolean isFinal() { - if (!hasReflected) reflectValues(); - return isFinalGen(); - } - public boolean isStatic() { - if (!hasReflected) reflectValues(); - return isStaticGen(); - } - public JavaHelpers getJavaType() { - return (JavaHelpers)getEType(); - } - public JavaVisibilityKind getJavaVisibility() { - if (!hasReflected) reflectValues(); - return getJavaVisibilityGen(); - } -protected ReadAdaptor getReadAdaptor() { - return (ReadAdaptor)EcoreUtil.getRegisteredAdapter(this, ReadAdaptor.TYPE_KEY); - } - -//FB protected Object getReadAdaptorValue(EObject attribute) { -//FB if (getReadAdaptor() != null) -//FB return readAdaptor.getValueIn(this, attribute); -//FB return null; -//FB } - -//FB BEGIN - protected boolean hasReflected = false; - - protected void reflectValues() - { - ReadAdaptor readAdaptor = getReadAdaptor(); - if (readAdaptor != null) hasReflected = readAdaptor.reflectValuesIfNecessary(); - } - - /** - * Is this field an array type. - */ - public boolean isArray() { - return getJavaType().isArray(); - } - - /** - * Overridden to prevent the reflection of the class. - */ - public EList eContents() { - EList results = new BasicEList(); -//FB -//FB EList containments = eClass().getEAllContainments(); -//FB if (containments != null) { -//FB Iterator i = containments.iterator(); -//FB while (i.hasNext()) { -//FB EStructuralFeature sf = (EStructuralFeature) i.next(); -//FB //Change from super to primRefValue -//FB Object value = primRefValue(sf); -//FB //EndChange -//FB if (value != null) -//FB if (sf.isMany()) -//FB results.addAll((Collection) value); -//FB else -//FB results.add(value); -//FB } -//FB } - if (getInitializerGen() != null) results.add(getInitializerGen()); //FB - return results; - } - - public String toString() { - return getClass().getName() + " " + "(" + getName() + ")"; - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaVisibilityKind getJavaVisibilityGen() { - return javaVisibility; - } - - /** - * @generated This field/method will be replaced during code generation - */ - public boolean isFinalGen() { - return final_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFinal(boolean newFinal) { - boolean oldFinal = final_; - final_ = newFinal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__FINAL, oldFinal, final_)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public boolean isStaticGen() { - return static_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStatic(boolean newStatic) { - boolean oldStatic = static_; - static_ = newStatic; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__STATIC, oldStatic, static_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaVisibility(JavaVisibilityKind newJavaVisibility) { - JavaVisibilityKind oldJavaVisibility = javaVisibility; - javaVisibility = newJavaVisibility == null ? JAVA_VISIBILITY_EDEFAULT : newJavaVisibility; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__JAVA_VISIBILITY, oldJavaVisibility, javaVisibility)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isTransient() { - return transient_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTransient(boolean newTransient) { - boolean oldTransient = transient_; - transient_ = newTransient; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__TRANSIENT, oldTransient, transient_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isVolatile() { - return volatile_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVolatile(boolean newVolatile) { - boolean oldVolatile = volatile_; - volatile_ = newVolatile; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__VOLATILE, oldVolatile, volatile_)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JavaClass getJavaClass() { - if (eContainerFeatureID != JavaRefPackage.FIELD__JAVA_CLASS) return null; - return (JavaClass)eContainer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaClass(JavaClass newJavaClass) { - if (newJavaClass != eContainer || (eContainerFeatureID != JavaRefPackage.FIELD__JAVA_CLASS && newJavaClass != null)) { - if (EcoreUtil.isAncestor(this, newJavaClass)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newJavaClass != null) - msgs = ((InternalEObject)newJavaClass).eInverseAdd(this, JavaRefPackage.JAVA_CLASS__FIELDS, JavaClass.class, msgs); - msgs = eBasicSetContainer((InternalEObject)newJavaClass, JavaRefPackage.FIELD__JAVA_CLASS, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__JAVA_CLASS, newJavaClass, newJavaClass)); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.FIELD__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.FIELD__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.FIELD__ORDERED: - return ordered != ORDERED_EDEFAULT; - case JavaRefPackage.FIELD__UNIQUE: - return unique != UNIQUE_EDEFAULT; - case JavaRefPackage.FIELD__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case JavaRefPackage.FIELD__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case JavaRefPackage.FIELD__MANY: - return isMany() != false; - case JavaRefPackage.FIELD__REQUIRED: - return isRequired() != false; - case JavaRefPackage.FIELD__ETYPE: - return eType != null; - case JavaRefPackage.FIELD__FINAL: - return final_ != FINAL_EDEFAULT; - case JavaRefPackage.FIELD__STATIC: - return static_ != STATIC_EDEFAULT; - case JavaRefPackage.FIELD__JAVA_VISIBILITY: - return javaVisibility != JAVA_VISIBILITY_EDEFAULT; - case JavaRefPackage.FIELD__TRANSIENT: - return transient_ != TRANSIENT_EDEFAULT; - case JavaRefPackage.FIELD__VOLATILE: - return volatile_ != VOLATILE_EDEFAULT; - case JavaRefPackage.FIELD__JAVA_CLASS: - return getJavaClass() != null; - case JavaRefPackage.FIELD__INITIALIZER: - return initializer != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.FIELD__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.FIELD__NAME: - setName((String)newValue); - return; - case JavaRefPackage.FIELD__ORDERED: - setOrdered(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.FIELD__UNIQUE: - setUnique(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.FIELD__LOWER_BOUND: - setLowerBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.FIELD__UPPER_BOUND: - setUpperBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.FIELD__ETYPE: - setEType((EClassifier)newValue); - return; - case JavaRefPackage.FIELD__FINAL: - setFinal(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.FIELD__STATIC: - setStatic(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.FIELD__JAVA_VISIBILITY: - setJavaVisibility((JavaVisibilityKind)newValue); - return; - case JavaRefPackage.FIELD__TRANSIENT: - setTransient(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.FIELD__VOLATILE: - setVolatile(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.FIELD__JAVA_CLASS: - setJavaClass((JavaClass)newValue); - return; - case JavaRefPackage.FIELD__INITIALIZER: - setInitializer((Block)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.FIELD__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.FIELD__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.FIELD__ORDERED: - setOrdered(ORDERED_EDEFAULT); - return; - case JavaRefPackage.FIELD__UNIQUE: - setUnique(UNIQUE_EDEFAULT); - return; - case JavaRefPackage.FIELD__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case JavaRefPackage.FIELD__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case JavaRefPackage.FIELD__ETYPE: - setEType((EClassifier)null); - return; - case JavaRefPackage.FIELD__FINAL: - setFinal(FINAL_EDEFAULT); - return; - case JavaRefPackage.FIELD__STATIC: - setStatic(STATIC_EDEFAULT); - return; - case JavaRefPackage.FIELD__JAVA_VISIBILITY: - setJavaVisibility(JAVA_VISIBILITY_EDEFAULT); - return; - case JavaRefPackage.FIELD__TRANSIENT: - setTransient(TRANSIENT_EDEFAULT); - return; - case JavaRefPackage.FIELD__VOLATILE: - setVolatile(VOLATILE_EDEFAULT); - return; - case JavaRefPackage.FIELD__JAVA_CLASS: - setJavaClass((JavaClass)null); - return; - case JavaRefPackage.FIELD__INITIALIZER: - setInitializer((Block)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public Block getInitializerGen() { - return initializer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetInitializer(Block newInitializer, NotificationChain msgs) { - Block oldInitializer = initializer; - initializer = newInitializer; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__INITIALIZER, oldInitializer, newInitializer); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInitializer(Block newInitializer) { - if (newInitializer != initializer) { - NotificationChain msgs = null; - if (initializer != null) - msgs = ((InternalEObject)initializer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaRefPackage.FIELD__INITIALIZER, null, msgs); - if (newInitializer != null) - msgs = ((InternalEObject)newInitializer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaRefPackage.FIELD__INITIALIZER, null, msgs); - msgs = basicSetInitializer(newInitializer, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.FIELD__INITIALIZER, newInitializer, newInitializer)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.FIELD__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.FIELD__JAVA_CLASS: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.FIELD__JAVA_CLASS, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.FIELD__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.FIELD__JAVA_CLASS: - return eBasicSetContainer(null, JavaRefPackage.FIELD__JAVA_CLASS, msgs); - case JavaRefPackage.FIELD__INITIALIZER: - return basicSetInitializer(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.FIELD__JAVA_CLASS: - return ((InternalEObject)eContainer).eInverseRemove(this, JavaRefPackage.JAVA_CLASS__FIELDS, JavaClass.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.FIELD__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.FIELD__NAME: - return getName(); - case JavaRefPackage.FIELD__ORDERED: - return isOrdered() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__UNIQUE: - return isUnique() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__LOWER_BOUND: - return new Integer(getLowerBound()); - case JavaRefPackage.FIELD__UPPER_BOUND: - return new Integer(getUpperBound()); - case JavaRefPackage.FIELD__MANY: - return isMany() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__REQUIRED: - return isRequired() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__ETYPE: - if (resolve) return getEType(); - return basicGetEType(); - case JavaRefPackage.FIELD__FINAL: - return isFinal() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__STATIC: - return isStatic() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__JAVA_VISIBILITY: - return getJavaVisibility(); - case JavaRefPackage.FIELD__TRANSIENT: - return isTransient() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__VOLATILE: - return isVolatile() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.FIELD__JAVA_CLASS: - return getJavaClass(); - case JavaRefPackage.FIELD__INITIALIZER: - return getInitializer(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toStringGen() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (final: "); - result.append(final_); - result.append(", static: "); - result.append(static_); - result.append(", javaVisibility: "); - result.append(javaVisibility); - result.append(", transient: "); - result.append(transient_); - result.append(", volatile: "); - result.append(volatile_); - result.append(')'); - return result.toString(); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/InitializerImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/InitializerImpl.java deleted file mode 100644 index 2a9b812..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/InitializerImpl.java +++ /dev/null
@@ -1,297 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: InitializerImpl.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EcoreUtil; - -import org.eclipse.jem.java.Block; -import org.eclipse.jem.java.Initializer; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaRefPackage; -/** - * @generated - */ -public class InitializerImpl extends EObjectImpl implements Initializer{ - - /** - * The default value of the '{@link #getIsStatic() <em>Is Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIsStatic() - * @generated - * @ordered - */ - protected static final Boolean IS_STATIC_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected Boolean isStatic = IS_STATIC_EDEFAULT; - /** - * The cached value of the '{@link #getSource() <em>Source</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSource() - * @generated - * @ordered - */ - protected Block source = null; - - protected InitializerImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getInitializer(); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public Boolean getIsStatic() { - return isStatic; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setIsStatic(Boolean newIsStatic) { - Boolean oldIsStatic = isStatic; - isStatic = newIsStatic; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.INITIALIZER__IS_STATIC, oldIsStatic, isStatic)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JavaClass getJavaClass() { - if (eContainerFeatureID != JavaRefPackage.INITIALIZER__JAVA_CLASS) return null; - return (JavaClass)eContainer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaClass(JavaClass newJavaClass) { - if (newJavaClass != eContainer || (eContainerFeatureID != JavaRefPackage.INITIALIZER__JAVA_CLASS && newJavaClass != null)) { - if (EcoreUtil.isAncestor(this, newJavaClass)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newJavaClass != null) - msgs = ((InternalEObject)newJavaClass).eInverseAdd(this, JavaRefPackage.JAVA_CLASS__INITIALIZERS, JavaClass.class, msgs); - msgs = eBasicSetContainer((InternalEObject)newJavaClass, JavaRefPackage.INITIALIZER__JAVA_CLASS, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.INITIALIZER__JAVA_CLASS, newJavaClass, newJavaClass)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public Block getSource() { - if (source != null && source.eIsProxy()) { - Block oldSource = source; - source = (Block)eResolveProxy((InternalEObject)source); - if (source != oldSource) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, JavaRefPackage.INITIALIZER__SOURCE, oldSource, source)); - } - } - return source; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Block basicGetSource() { - return source; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSource(Block newSource) { - Block oldSource = source; - source = newSource; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.INITIALIZER__SOURCE, oldSource, source)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.INITIALIZER__JAVA_CLASS, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - return eBasicSetContainer(null, JavaRefPackage.INITIALIZER__JAVA_CLASS, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - return ((InternalEObject)eContainer).eInverseRemove(this, JavaRefPackage.JAVA_CLASS__INITIALIZERS, JavaClass.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.INITIALIZER__IS_STATIC: - return getIsStatic(); - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - return getJavaClass(); - case JavaRefPackage.INITIALIZER__SOURCE: - if (resolve) return getSource(); - return basicGetSource(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.INITIALIZER__IS_STATIC: - return IS_STATIC_EDEFAULT == null ? isStatic != null : !IS_STATIC_EDEFAULT.equals(isStatic); - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - return getJavaClass() != null; - case JavaRefPackage.INITIALIZER__SOURCE: - return source != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.INITIALIZER__IS_STATIC: - setIsStatic((Boolean)newValue); - return; - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - setJavaClass((JavaClass)newValue); - return; - case JavaRefPackage.INITIALIZER__SOURCE: - setSource((Block)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.INITIALIZER__IS_STATIC: - setIsStatic(IS_STATIC_EDEFAULT); - return; - case JavaRefPackage.INITIALIZER__JAVA_CLASS: - setJavaClass((JavaClass)null); - return; - case JavaRefPackage.INITIALIZER__SOURCE: - setSource((Block)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (isStatic: "); - result.append(isStatic); - result.append(')'); - return result.toString(); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaClassImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaClassImpl.java deleted file mode 100644 index db91a3a..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaClassImpl.java +++ /dev/null
@@ -1,1777 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaClassImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/13 21:12:07 $ - */ - -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.ECollections; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.EClassImpl; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.ESuperAdapter; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.*; -import org.eclipse.jem.java.Field; -import org.eclipse.jem.java.InheritanceCycleException; -import org.eclipse.jem.java.Initializer; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaDataType; -import org.eclipse.jem.java.JavaEvent; -import org.eclipse.jem.java.JavaHelpers; -import org.eclipse.jem.java.JavaPackage; -import org.eclipse.jem.java.JavaParameter; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.JavaURL; -import org.eclipse.jem.java.JavaVisibilityKind; -import org.eclipse.jem.java.Method; -import org.eclipse.jem.java.TypeKind; -import org.eclipse.jem.internal.java.adapters.InternalReadAdaptable; -import org.eclipse.jem.internal.java.adapters.JavaReflectionAdaptor; -import org.eclipse.jem.internal.java.adapters.ReadAdaptor; -import org.eclipse.jem.internal.java.beaninfo.IIntrospectionAdapter; -import org.eclipse.jem.internal.java.instantiation.IInstantiationInstance; -/** - * <!-- begin-user-doc --> - * @implements InternalReadAdaptable - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getKind <em>Kind</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#isPublic <em>Public</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#isFinal <em>Final</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getImplementsInterfaces <em>Implements Interfaces</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getClassImport <em>Class Import</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getPackageImports <em>Package Imports</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getFields <em>Fields</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getMethods <em>Methods</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getInitializers <em>Initializers</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getDeclaredClasses <em>Declared Classes</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getDeclaringClass <em>Declaring Class</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getJavaPackage <em>Java Package</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getEvents <em>Events</em>}</li> - * <li>{@link org.eclipse.jem.java.impl.JavaClassImpl#getAllEvents <em>All Events</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaClassImpl extends EClassImpl implements JavaClass, InternalReadAdaptable { - /** - * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getKind() - * @generated - * @ordered - */ - protected static final TypeKind KIND_EDEFAULT = TypeKind.UNDEFINED_LITERAL; - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected TypeKind kind = KIND_EDEFAULT; - /** - * The default value of the '{@link #isPublic() <em>Public</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isPublic() - * @generated - * @ordered - */ - protected static final boolean PUBLIC_EDEFAULT = false; - /** - * The cached value of the '{@link #isPublic() <em>Public</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isPublic() - * @generated - * @ordered - */ - protected boolean public_ = PUBLIC_EDEFAULT; - /** - * The default value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected static final boolean FINAL_EDEFAULT = false; - /** - * The cached value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected boolean final_ = FINAL_EDEFAULT; - /** - * The cached value of the '{@link #getImplementsInterfaces() <em>Implements Interfaces</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImplementsInterfaces() - * @generated - * @ordered - */ - protected EList implementsInterfaces = null; - - /** - * The cached value of the '{@link #getClassImport() <em>Class Import</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClassImport() - * @generated - * @ordered - */ - protected EList classImport = null; - - /** - * The cached value of the '{@link #getPackageImports() <em>Package Imports</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPackageImports() - * @generated - * @ordered - */ - protected EList packageImports = null; - - /** - * The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFields() - * @generated - * @ordered - */ - protected EList fields = 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 methods = null; - - /** - * The cached value of the '{@link #getInitializers() <em>Initializers</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitializers() - * @generated - * @ordered - */ - protected EList initializers = null; - - /** - * The cached value of the '{@link #getDeclaredClasses() <em>Declared Classes</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDeclaredClasses() - * @generated - * @ordered - */ - protected EList declaredClasses = null; - - /** - * The cached value of the '{@link #getDeclaringClass() <em>Declaring Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDeclaringClass() - * @generated - * @ordered - */ - protected JavaClass declaringClass = null; - - /** - * The cached value of the '{@link #getEvents() <em>Events</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEvents() - * @generated - * @ordered - */ - protected EList events = null; - - protected JavaClassImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getJavaClass(); - } - - /** - * Protected helper methods. - */ - protected void collectFieldsExtended(List fields) { - fields.addAll(getFields()); - Iterator it; - it = getExtendedLookupIterator(); - while (it.hasNext()) - ((JavaClassImpl) it.next()).collectFieldsExtended(fields); - } - protected void collectMethodsExtended(Map methods, boolean onlyPublic, List excludedClasses, List excludedMethods) { - Iterator it1, it2; - it2 = getExtendedLookupIterator(); - JavaClassImpl javaClass; - while (it2.hasNext()) { - javaClass = (JavaClassImpl) it2.next(); - if (!excludedClasses.contains(javaClass)) - javaClass.collectMethodsExtended(methods, onlyPublic, excludedClasses, excludedMethods); - } - it1 = onlyPublic ? getPublicMethods().iterator() : getMethods().iterator(); - Method nextMethod; - while (it1.hasNext()) { - nextMethod = (Method) it1.next(); - if (!excludedMethods.contains(nextMethod)) - methods.put(nextMethod.getMethodElementSignature(), nextMethod); - } - } - /** - * createClassRef - return a JavaURL reference to the named Java class - * @deprecated - * @see org.eclipse.jem.java.JavaRefFactory#createClassRef(java.lang.String) - */ - public static JavaClass createClassRef(String targetName) { - return JavaRefFactory.eINSTANCE.createClassRef(targetName); - } - - /** - * Get the method of this name and these parameters. It will look up the supertype hierarchy. - */ - protected Method findClassMethodExtended(String methodName, List parameterTypes) { - Method method = getMethod(methodName, parameterTypes); - if (method != null) - return method; - else { - JavaClassImpl mySuper; - mySuper = (JavaClassImpl) getSupertype(); - if (mySuper != null) - return mySuper.findClassMethodExtended(methodName, parameterTypes); - } - return null; - } - /** - * Get the method of this name and these parameters. It will look up the supertype hierarchy. - */ - protected Method findInterfaceMethodExtended(String methodName, List parameterTypes) { - Method method = getMethod(methodName, parameterTypes); - if (method != null) - return method; - else { - JavaClassImpl superInterface; - List list = getImplementsInterfaces(); - for (int i = 0; i < list.size(); i++) { - superInterface = (JavaClassImpl) list.get(i); - method = superInterface.findInterfaceMethodExtended(methodName, parameterTypes); - if (method != null) - return method; - } - } - return null; - } - - public EList getAllSupertypes() { - getESuperTypes(); //Force reflection, if needed, before getting all supertypes. - return super.getEAllSuperTypes(); - } - /** - * Overrides to perform reflection if necessary - */ - public EList getClassImport() { - if (!hasReflected) - reflectValues(); - return getClassImportGen(); - } - - /** - * MOF41, attribute, reference are changed to volatile - * Because of this we need to re-implement it here to do the - * merge within the introspection adapter instead. - * The merge done in EClassImpl and above doesn't - * necessarily do what we need. - */ - public EList getEAllOperations() { - IIntrospectionAdapter ia = getIntrospectionAdapter(); - if (ia == null) - return super.getEAllOperations(); // No introspection, do normal. - ESuperAdapter a = getESuperAdapter(); - if (eAllOperations == null || a.isAllOperationsCollectionModified()) - eAllOperations = ia.getEAllOperations(); - return eAllOperations; - } - - public EList getEOperations() { - IIntrospectionAdapter adapter = getIntrospectionAdapter(); - if (adapter != null) - return adapter.getEOperations(); - return super.getEOperations(); - } - - public EList getEOperationsGen() { - // An internal method for returning actual wo fluffing up. - return super.getEOperations(); - } - - - public EList getEAnnotations() { - IIntrospectionAdapter adapter = getIntrospectionAdapter(); - if (adapter != null) - adapter.introspectIfNecessary(); // To cause introspection so the appropriate decorator is added. - return super.getEAnnotations(); - } - - public EList getEStructuralFeatures() { - IIntrospectionAdapter adapter = getIntrospectionAdapter(); - if (adapter != null) - return adapter.getEStructuralFeatures(); - return super.getEStructuralFeatures(); - } - - public EList getEStructuralFeaturesGen() { - // An internal method for returning actual wo fluffing up. - return super.getEStructuralFeatures(); - } - - /** - * Return an Iterator on the implemntsInferface List if this - * is an interface class or on the super List if it is a class. - */ - protected Iterator getExtendedLookupIterator() { - if (isInterface()) - return getImplementsInterfaces().iterator(); - else - return getESuperTypes().iterator(); - } - /** - * Return an Field with the passed name, or null. - */ - public Field getField(String fieldName) { - java.util.List fields = getFields(); - Field field; - for (int i = 0; i < fields.size(); i++) { - field = (Field) fields.get(i); - if (field.getName().equals(fieldName)) - return field; - } - return null; - } - /** - * Return an Field with the passed name from this JavaClass or any supertypes. - * - * Return null if a Field named fieldName is not found. - */ - public Field getFieldExtended(String fieldName) { - Field field = getFieldNamed(fieldName); - if (field != null) - return field; - Iterator it = getExtendedLookupIterator(); - while (it.hasNext()) { - Field result = ((JavaClass) it.next()).getFieldExtended(fieldName); - if (result != null) - return result; - } - return null; - } - /** - * Return an Field with the passed name, or null. - */ - public Field getFieldNamed(String fieldName) { - return getField(fieldName); - } - public EList getFields() { - if (!hasReflected) - reflectValues(); - return getFieldsGen(); - } - /** - * Return all fields, including those from supertypes. - */ - public List getFieldsExtended() { - List fields = new ArrayList(); - collectFieldsExtended(fields); - return fields; - } - public EList getImplementsInterfaces() { - if (!hasReflected) - reflectValues(); - return getImplementsInterfacesGen(); - } - /** - * Return an IntrospectionAdaptor which can introspect our Java properties - */ - protected IIntrospectionAdapter getIntrospectionAdapter() { - return (IIntrospectionAdapter) EcoreUtil.getRegisteredAdapter(this, IIntrospectionAdapter.ADAPTER_KEY); - } - - public String getJavaName() { - return getQualifiedName(); - } - /** - * getJavaPackage. This is a derived relationship, so - * we must implement it here to get the EPackage that - * this object is contained in. - */ - public JavaPackage getJavaPackage() { - return (JavaPackage) getEPackage(); - } - /** - * Get the method of this name and these parameters. It will not look up the supertype hierarchy. - */ - public Method getMethod(String methodName, List parameterTypes) { - return getMethod(methodName, parameterTypes, getMethods()); - } - protected Method getMethod(String name, List parameterTypes, List methodList) { - boolean found = false; - Method method; - for (int i = 0; i < methodList.size(); i++) { - method = (Method) methodList.get(i); - JavaParameter[] params; - if (method.getName().equals(name)) { - params = method.listParametersWithoutReturn(); - if (params.length == parameterTypes.size()) { - found = true; //Maybe; we need more info - for (int j = 0; j < params.length; j++) { - //if any one of the parameters doesn't match then flip back to false - JavaHelpers jh = (JavaHelpers) params[j].getEType(); - if (!jh.getQualifiedName().equals(parameterTypes.get(j))) { - found = false; - break; - } // end if params equal - } // end compare all params - if (found) //short circuit out of this loop and return the winner - return method; - } // end compare lengths - } // end compare names - } // end loop through all methodList - return null; - } - /** - * Return a List of Strings that represent MethodElement signatures from most general to most specific. - */ - public List getMethodElementSignatures() { - List methods, signatures, sameNames; - methods = getMethodsExtended(); - sameNames = new ArrayList(); - signatures = new ArrayList(methods.size() + 1); - signatures.add(DEFAULT_METHOD_NAME); - Iterator it = methods.iterator(); - Method aMethod; - String methodName; - while (it.hasNext()) { - aMethod = (Method) it.next(); - methodName = aMethod.getName(); - if (sameNames.contains(methodName)) { - if (!signatures.contains(methodName)) - signatures.add(methodName); - } else - sameNames.add(methodName); - signatures.add(aMethod.getMethodElementSignature()); - } - Collections.sort(signatures); - return signatures; - } - /** - * Get the method of this name and these parameters. It will look up the supertype hierarchy. - */ - public Method getMethodExtended(String methodName, List parameterTypes) { - if (isInterface()) - return findInterfaceMethodExtended(methodName, parameterTypes); - else - return findClassMethodExtended(methodName, parameterTypes); - } - public EList getMethods() { - if (!hasReflected) - reflectValues(); - return getMethodsGen(); - } - /** - * Return all methods, including those from supertypes. - */ - public List getMethodsExtended() { - Map methods = new HashMap(); - collectMethodsExtended(methods, false, Collections.EMPTY_LIST, Collections.EMPTY_LIST); - return new ArrayList(methods.values()); - } - - /* - * @see getMethodsExtendedWithFilters(List, List) on JavaClass. - */ - public List getMethodsExtendedWithFilters(List excludedClasses, List excludedMethods) { - Map methods = new HashMap(); - collectMethodsExtended(methods, false, excludedClasses, excludedMethods); - return new ArrayList(methods.values()); - } - - public String getName() { - String result = this.primGetName(); - if (result == null && eIsProxy()) { - JavaURL url = new JavaURL(eProxyURI().toString()); - result = url.getClassName(); - if (result != null) - result = result.replace('$', '.'); - } - return result; - } - /** - * Return a List of Methods that begins with @aMethodNamePrefix and is not included in the @excludedNames list. If @aMethodNamePrefix is null, all methods will be returned. - - */ - public List getOnlySpecificMethods(String aMethodNamePrefix, List excludedNames) { - List methods, specific; - methods = getMethodsExtended(); - specific = new ArrayList(methods.size()); - Iterator it = methods.iterator(); - Method aMethod; - String methodName; - while (it.hasNext()) { - aMethod = (Method) it.next(); - methodName = aMethod.getName(); - if (aMethodNamePrefix != null && methodName.startsWith(aMethodNamePrefix) && excludedNames != null && !excludedNames.contains(methodName)) - specific.add(aMethod); - } - return specific; - } - public EList getPackageImports() { - if (!hasReflected) - reflectValues(); - return getPackageImportsGen(); - } - /** - * getPrimitive method comment. - */ - public JavaDataType getPrimitive() { - String primitiveName = getPrimitiveName(); - if (primitiveName != null) { - Resource res = eResource(); - return (JavaDataType) JavaClassImpl.reflect(primitiveName, res.getResourceSet()); - } - return null; - } - /** - * Return the primitive name for this type if one exists. - */ - protected String getPrimitiveName() { - String myName = getQualifiedName(); - if (myName.equals(INTEGER_NAME)) - return PRIM_INTEGER_NAME; - if (myName.equals(BOOLEAN_NAME)) - return PRIM_BOOLEAN_NAME; - if (myName.equals(BYTE_NAME)) - return PRIM_BYTE_NAME; - if (myName.equals(SHORT_NAME)) - return PRIM_SHORT_NAME; - if (myName.equals(LONG_NAME)) - return PRIM_LONG_NAME; - if (myName.equals(FLOAT_NAME)) - return PRIM_FLOAT_NAME; - if (myName.equals(DOUBLE_NAME)) - return PRIM_DOUBLE_NAME; - if (myName.equals(CHARACTER_NAME)) - return PRIM_CHARACTER_NAME; - return null; - } - /** - * Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It will not look up the supertype hierarchy. - */ - public Method getPublicMethod(String methodName, List parameterTypes) { - return getMethod(methodName, parameterTypes, getPublicMethods()); - } - /** - * Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It will not look up the supertype hierarchy. - */ - public Method getPublicMethodExtended(String methodName, List parameterTypes) { - return getMethod(methodName, parameterTypes, getPublicMethodsExtended()); - } - /** - * Return all methods, it will not go up the supertype hierarchy. - */ - public List getPublicMethods() { - List publicMethods = new ArrayList(); - List theMethods = getMethods(); - for (int i = 0; i < theMethods.size(); i++) { - Method m = (Method) theMethods.get(i); - if (JavaVisibilityKind.PUBLIC_LITERAL == m.getJavaVisibility()) - publicMethods.add(m); - } - return publicMethods; - } - /** - * Return all public methods, including those from supertypes. - */ - public List getPublicMethodsExtended() { - Map methods = new HashMap(); - collectMethodsExtended(methods, true, Collections.EMPTY_LIST, Collections.EMPTY_LIST); - return new ArrayList(methods.values()); - } - /** - * Returns a filtered list on the methods of this class, having a name equal to that of the parameter. - */ - public List getPublicMethodsExtendedNamed(String name) { - List publicMethods = new ArrayList(); - List theMethods = getPublicMethodsExtended(); - for (int i = 0; i < theMethods.size(); i++) { - Method m = (Method) theMethods.get(i); - if (m.getName().equals(name)) - publicMethods.add(m); - } - return publicMethods; - } - /** - * Returns a filtered list on the methods of this class, having a name equal to that of the parameter. - */ - public List getPublicMethodsNamed(String name) { - List publicMethods = new ArrayList(); - List theMethods = getPublicMethods(); - for (int i = 0; i < theMethods.size(); i++) { - Method m = (Method) theMethods.get(i); - if (m.getName().equals(name)) - publicMethods.add(m); - } - return publicMethods; - } - public String getQualifiedName() { - String result = null; - if (eIsProxy()) { - JavaURL url = new JavaURL(eProxyURI().toString()); - String internalName = url.getPackageName(); - if (internalName != null && internalName.length() > 0) - result = internalName + "." + url.getClassName(); - else - result = url.getClassName(); - } else { - result = primGetQualifiedName(); - } - if (result != null) - result = result.replace('$', '.'); - return result; - } - /** - * To be used by people that need to get the qualified name used for reflection. - * Typically bean info would need to use something like this. - */ - public String getQualifiedNameForReflection() { - return primGetQualifiedName(); - } - /** - * Return a ReadAdaptor which can reflect our Java properties - */ - protected ReadAdaptor getReadAdaptor() { - return (ReadAdaptor) EcoreUtil.getRegisteredAdapter(this, ReadAdaptor.TYPE_KEY); - } - - protected boolean hasReflected = false; - - protected void reflectValues() { - ReadAdaptor readAdaptor = getReadAdaptor(); - if (readAdaptor != null) - hasReflected = readAdaptor.reflectValuesIfNecessary(); - } - - public JavaClass getSupertype() { - List list = getESuperTypes(); - if (!list.isEmpty()) - return (JavaClass) list.get(0); - return null; - } - - public JavaClass getWrapper() { - return this; - } - /** - * Test whether the receiver implements the passed interface (or one of its supertypes). - */ - public boolean implementsInterface(JavaClass interfaceType) { - if (this == interfaceType) - return true; - EList implemented = getImplementsInterfaces(); - JavaClass anInterface; - for (int i = 0; i < implemented.size(); i++) { - anInterface = (JavaClass) implemented.get(i); - if (anInterface.implementsInterface(interfaceType)) - return true; - } - if (getSupertype() != null) - return getSupertype().implementsInterface(interfaceType); - else - return false; - } - /** - * Return a string showing our details. - */ - public String infoString() { - StringBuffer out = new StringBuffer(); - // trip class reflection - //FB this.eGet(JavaRefPackage.eINSTANCE.getJavaClass_Public()); - if (!hasReflected) - reflectValues(); //FB - out.append("Java class: " + getQualifiedName() + "\n"); - out.append(" superclass: " + this.getSupertype() + "\n"); - EList fields = getFields(); - Field field; - if (fields.size() > 0) { - out.append(" Fields:\n"); - for (int i = 0; i < fields.size(); i++) { - field = (Field) fields.get(i); - out.append(" " + ((JavaHelpers) field.getEType()).getJavaName() + " " + field.getName() + "\n"); - } - } - EList methods = getMethods(); - Method method; - if (methods.size() > 0) { - out.append(" Methods:\n"); - for (int i = 0; i < methods.size(); i++) { - method = (Method) methods.get(i); - // trip method reflection - method.isStatic(); - if (method.getReturnType() != null) - out.append(" " + ((JavaHelpers) method.getReturnType()).getJavaName() + " "); - else - out.append(" void "); - out.append(method.getName() + "("); - EList parms = method.getParameters(); - JavaParameter parm; - if (parms.size() > 0) { - for (int ii = 0; ii < parms.size(); ii++) { - parm = (JavaParameter) parms.get(ii); - //FB if (!parm.isReturn()) { - out.append(((JavaHelpers) parm.getEType()).getJavaName() + " " + parm.getName()); - if (ii < parms.size() - 1) - out.append(", "); - //FB } - } - } - out.append(")\n"); - } - } - return out.toString(); - } - /** - * Tests whether this class inherits from the passed in class. - */ - public boolean inheritsFrom(JavaClass javaClass) { - if (this == javaClass) - return true; - else if (getSupertype() != null) - return getSupertype().inheritsFrom(javaClass); - else - return false; - } - public boolean isArray() { - return false; - } - /** - * Can an object of the passed in class be assigned to an - * object of this class. In other words is this class a - * supertype of the passed in class, or is it superinterface - * of it. - */ - public boolean isAssignableFrom(EClassifier aClass) { - if (aClass instanceof JavaClass) { - JavaClass theClass = (JavaClass) aClass; - // If either this class or aClass kind is unknown then it isn't assignableFrom. - if (getKind() == TypeKind.UNDEFINED_LITERAL || theClass.getKind() == TypeKind.UNDEFINED_LITERAL) - return false; - // If the "aClass" is not a JavaClass (i.e. it is either a JavaDatatype or - // some other kind of MOF classifier), then it cannot be - // assigned to something of this class. - if (getKind() != TypeKind.INTERFACE_LITERAL) - if (theClass.getKind() != TypeKind.INTERFACE_LITERAL) - return theClass.inheritsFrom(this); - else { - // aClass is an interface, so it is assignable only if - // "this" is "java.lang.Object". - return getQualifiedName().equals("java.lang.Object"); - } - else - return theClass.implementsInterface(this); - } - return false; - } - /** - * Does this type exist. - */ - public boolean isExistingType() { - // Note: Temporary, inefficient implementation - return ((JavaReflectionAdaptor) EcoreUtil.getRegisteredAdapter(this, ReadAdaptor.TYPE_KEY)).hasReflectionSource(); - } - /** - * See if this is valid object of this type. - */ - public boolean isInstance(Object o) { - return o instanceof IInstantiationInstance ? isAssignableFrom(((IInstantiationInstance) o).getJavaType()) : false; - } - /** - * Is this an interface. - */ - public boolean isInterface() { - return getKind() == TypeKind.INTERFACE_LITERAL; - } - public boolean isNested() { - return getDeclaringClass() != null; - } - public boolean isPrimitive() { - return false; - } - /** - * Return an array listing our fields, including inherited fields. - * The field relationship is derived from contents. - * This implementation depends on the assumption that supertypes above JavaClass - * will hold Attributes rather than Fields. - */ - public Field[] listFieldExtended() { - List fields = getFieldsExtended(); - Field[] result = new Field[fields.size()]; - fields.toArray(result); - return result; - } - /** - * Return an array listing our Methods, including inherited methods. - * The method relationship is derived from contents. - * This implementation depends on the assumption that supertypes above JavaClass - * will hold Operations rather than Methods. - */ - public Method[] listMethodExtended() { - java.util.List methods = getMethodsExtended(); - Method[] result = new Method[methods.size()]; - methods.toArray(result); - return result; - } - - /** - * This is required for internal reflection do not use. - */ - public String primGetName() { - return super.getName(); - } - /** - * This is required for internal reflection do not use. - */ - public String primGetQualifiedName() { - String result = ""; - JavaPackage pack = getJavaPackage(); - if (pack != null && pack.getPackageName().length() != 0) - result = pack.getPackageName() + "." + this.primGetName(); - else - result = this.getName(); - return result; - } - /** - * reflect - reflect a JavaClass for a given qualified name. - * If the package or class does not exist, one will be created through - * the reflection mechanism. - * Lookup the JavaClass in the context of the passed object, handling some error cases. - * @deprecated - * @see org.eclipse.jem.java.JavaRefFactory#reflectType(java.lang.String, org.eclipse.emf.ecore.EObject) - * - */ - public static JavaHelpers reflect(String aQualifiedName, EObject relatedObject) { - return JavaRefFactory.eINSTANCE.reflectType(aQualifiedName, relatedObject); - } - - /** - * reflect - reflect a JavaClass for a given qualified name. - * If the package or class does not exist, one will be created through - * the reflection mechanism. - * @deprecated - * @see org.eclipse.jem.java.JavaRefFactory#reflectType(java.lang.String, org.eclipse.emf.ecore.resource.ResourceSet) - */ - public static JavaHelpers reflect(String aQualifiedName, ResourceSet set) { - return JavaRefFactory.eINSTANCE.reflectType(aQualifiedName, set); - } - - /** - * reflect - reflect a JavaClass for a given package name or class name. - * If the package or class does not exist, one will be created through - * the reflection mechanism. - * @deprecated - * @see org.eclipse.jem.java.JavaRefFactory#reflectType(java.lang.String, java.lang.String, org.eclipse.emf.ecore.resource.ResourceSet) - */ - public static JavaHelpers reflect(String aPackageName, String aClassName, ResourceSet set) { - return JavaRefFactory.eINSTANCE.reflectType(aPackageName, aClassName, set); - } - - public void setSupertype(JavaClass aJavaClass) throws InheritanceCycleException { - validateSupertype(aJavaClass); - List s = super.getESuperTypes(); - s.clear(); - if (aJavaClass != null) - s.add(aJavaClass); - } - /** - * Check to make sure that the passed JavaClass is a valid super class - * (i.e., it does not create any cycles in the inheritance. - * @param aJavaClass - */ - protected void validateSupertype(JavaClass aJavaClass) throws InheritanceCycleException { - if (!isValidSupertype(aJavaClass)) - throw new InheritanceCycleException(this, aJavaClass); - } - - public boolean isValidSupertype(JavaClass aJavaClass) { - if (aJavaClass != null) { - if (this.equals(aJavaClass)) - return false; - return extendedIsValidSupertype(getSubtypes(), aJavaClass); - } - return true; - } - /** - * @param subtypes - * @param aJavaClass - */ - private boolean extendedIsValidSupertype(List subtypes, JavaClass aJavaClass) { - if (!basicIsValidSupertype(subtypes, aJavaClass)) - return false; - JavaClass subtype; - for (int i = 0; i < subtypes.size(); i++) { - subtype = (JavaClass) subtypes.get(i); - if (!subtype.isValidSupertype(aJavaClass)) - return false; - } - return true; - } - private boolean basicIsValidSupertype(List subtypes, JavaClass aJavaClass) { - JavaClass subtype; - for (int i = 0; i < subtypes.size(); i++) { - subtype = (JavaClass) subtypes.get(i); - if (subtype.equals(aJavaClass)) - return false; - } - return true; - } - protected List getSubtypes() { - ESuperAdapter adapter = ESuperAdapter.getESuperAdapter(this); - if (adapter != null) - return adapter.getSubclasses(); - return Collections.EMPTY_LIST; - } - public String toString() { - return getClass().getName() + "(" + getQualifiedName() + ")"; - } - public TypeKind getKind() { - if (!hasReflected) - reflectValues(); - return getKindGen(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setKind(TypeKind newKind) { - TypeKind oldKind = kind; - kind = newKind == null ? KIND_EDEFAULT : newKind; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_CLASS__KIND, oldKind, kind)); - } - - public boolean isPublic() { - if (!hasReflected) - reflectValues(); - return isPublicGen(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPublic(boolean newPublic) { - boolean oldPublic = public_; - public_ = newPublic; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_CLASS__PUBLIC, oldPublic, public_)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public boolean isFinal() { - return final_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFinal(boolean newFinal) { - boolean oldFinal = final_; - final_ = newFinal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_CLASS__FINAL, oldFinal, final_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TypeKind getKindGen() { - return kind; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isPublicGen() { - return public_; - } - - public boolean isFinalGen() { - return final_; - } - public EList getInitializers() { - if (initializers == null) { - initializers = new EObjectContainmentWithInverseEList(Initializer.class, this, JavaRefPackage.JAVA_CLASS__INITIALIZERS, JavaRefPackage.INITIALIZER__JAVA_CLASS); - } - return initializers; - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDeclaringClass(JavaClass newDeclaringClass) { - if (newDeclaringClass != declaringClass) { - NotificationChain msgs = null; - if (declaringClass != null) - msgs = ((InternalEObject)declaringClass).eInverseRemove(this, JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES, JavaClass.class, msgs); - if (newDeclaringClass != null) - msgs = ((InternalEObject)newDeclaringClass).eInverseAdd(this, JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES, JavaClass.class, msgs); - msgs = basicSetDeclaringClass(newDeclaringClass, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_CLASS__DECLARING_CLASS, newDeclaringClass, newDeclaringClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass getDeclaringClass() { - if (declaringClass != null && declaringClass.eIsProxy()) { - JavaClass oldDeclaringClass = declaringClass; - declaringClass = (JavaClass)eResolveProxy((InternalEObject)declaringClass); - if (declaringClass != oldDeclaringClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, JavaRefPackage.JAVA_CLASS__DECLARING_CLASS, oldDeclaringClass, declaringClass)); - } - } - return declaringClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetDeclaringClass() { - return declaringClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDeclaringClass(JavaClass newDeclaringClass, NotificationChain msgs) { - JavaClass oldDeclaringClass = declaringClass; - declaringClass = newDeclaringClass; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_CLASS__DECLARING_CLASS, oldDeclaringClass, newDeclaringClass); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - public EList getDeclaredClasses() { - if (!hasReflected) - reflectValues(); - return getDeclaredClassesGen(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDeclaredClassesGen() { - if (declaredClasses == null) { - declaredClasses = new EObjectWithInverseResolvingEList(JavaClass.class, this, JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES, JavaRefPackage.JAVA_CLASS__DECLARING_CLASS); - } - return declaredClasses; - } - - public EList getProperties() { - return getEStructuralFeatures(); // As of EMF 2.0, local properties are the local features. Used to be a merge of eattributes and ereferences. - } - - public EList getEvents() { - IIntrospectionAdapter adapter = getIntrospectionAdapter(); - if (adapter != null) - return adapter.getEvents(); - return getEventsGen(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getEventsGen() { - if (events == null) { - events = new EObjectContainmentEList(JavaEvent.class, this, JavaRefPackage.JAVA_CLASS__EVENTS); - } - return events; - } - - private EList allEvents; - public EList getAllEvents() { - IIntrospectionAdapter ia = getIntrospectionAdapter(); - if (ia == null) - return ECollections.EMPTY_ELIST; // No introspection, do normal. - return allEvents = ia.getAllEvents(); - } - - public EList getAllEventsGen() { - return allEvents; - } - - private EList allProperties; - public EList getAllProperties() { - IIntrospectionAdapter ia = getIntrospectionAdapter(); - if (ia == null) - return ECollections.EMPTY_ELIST; // No introspection, do normal. - return allProperties = ia.getAllProperties(); - } - - public EList getAllPropertiesGen() { - return allProperties; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_CLASS__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.JAVA_CLASS__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.JAVA_CLASS__INSTANCE_CLASS_NAME: - return INSTANCE_CLASS_NAME_EDEFAULT == null ? instanceClassName != null : !INSTANCE_CLASS_NAME_EDEFAULT.equals(instanceClassName); - case JavaRefPackage.JAVA_CLASS__INSTANCE_CLASS: - return getInstanceClass() != null; - case JavaRefPackage.JAVA_CLASS__DEFAULT_VALUE: - return getDefaultValue() != null; - case JavaRefPackage.JAVA_CLASS__EPACKAGE: - return getEPackage() != null; - case JavaRefPackage.JAVA_CLASS__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case JavaRefPackage.JAVA_CLASS__INTERFACE: - return interface_ != INTERFACE_EDEFAULT; - case JavaRefPackage.JAVA_CLASS__ESUPER_TYPES: - return eSuperTypes != null && !eSuperTypes.isEmpty(); - case JavaRefPackage.JAVA_CLASS__EOPERATIONS: - return eOperations != null && !eOperations.isEmpty(); - case JavaRefPackage.JAVA_CLASS__EALL_ATTRIBUTES: - return !getEAllAttributes().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EALL_REFERENCES: - return !getEAllReferences().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EREFERENCES: - return !getEReferences().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EATTRIBUTES: - return !getEAttributes().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EALL_CONTAINMENTS: - return !getEAllContainments().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EALL_OPERATIONS: - return !getEAllOperations().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EALL_STRUCTURAL_FEATURES: - return !getEAllStructuralFeatures().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EALL_SUPER_TYPES: - return !getEAllSuperTypes().isEmpty(); - case JavaRefPackage.JAVA_CLASS__EID_ATTRIBUTE: - return getEIDAttribute() != null; - case JavaRefPackage.JAVA_CLASS__ESTRUCTURAL_FEATURES: - return eStructuralFeatures != null && !eStructuralFeatures.isEmpty(); - case JavaRefPackage.JAVA_CLASS__KIND: - return kind != KIND_EDEFAULT; - case JavaRefPackage.JAVA_CLASS__PUBLIC: - return public_ != PUBLIC_EDEFAULT; - case JavaRefPackage.JAVA_CLASS__FINAL: - return final_ != FINAL_EDEFAULT; - case JavaRefPackage.JAVA_CLASS__IMPLEMENTS_INTERFACES: - return implementsInterfaces != null && !implementsInterfaces.isEmpty(); - case JavaRefPackage.JAVA_CLASS__CLASS_IMPORT: - return classImport != null && !classImport.isEmpty(); - case JavaRefPackage.JAVA_CLASS__PACKAGE_IMPORTS: - return packageImports != null && !packageImports.isEmpty(); - case JavaRefPackage.JAVA_CLASS__FIELDS: - return fields != null && !fields.isEmpty(); - case JavaRefPackage.JAVA_CLASS__METHODS: - return methods != null && !methods.isEmpty(); - case JavaRefPackage.JAVA_CLASS__INITIALIZERS: - return initializers != null && !initializers.isEmpty(); - case JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES: - return declaredClasses != null && !declaredClasses.isEmpty(); - case JavaRefPackage.JAVA_CLASS__DECLARING_CLASS: - return declaringClass != null; - case JavaRefPackage.JAVA_CLASS__JAVA_PACKAGE: - return basicGetJavaPackage() != null; - case JavaRefPackage.JAVA_CLASS__EVENTS: - return events != null && !events.isEmpty(); - case JavaRefPackage.JAVA_CLASS__ALL_EVENTS: - return !getAllEvents().isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_CLASS__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__NAME: - setName((String)newValue); - return; - case JavaRefPackage.JAVA_CLASS__INSTANCE_CLASS_NAME: - setInstanceClassName((String)newValue); - return; - case JavaRefPackage.JAVA_CLASS__ABSTRACT: - setAbstract(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_CLASS__INTERFACE: - setInterface(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_CLASS__ESUPER_TYPES: - getESuperTypes().clear(); - getESuperTypes().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__EOPERATIONS: - getEOperations().clear(); - getEOperations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__ESTRUCTURAL_FEATURES: - getEStructuralFeatures().clear(); - getEStructuralFeatures().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__KIND: - setKind((TypeKind)newValue); - return; - case JavaRefPackage.JAVA_CLASS__PUBLIC: - setPublic(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_CLASS__FINAL: - setFinal(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_CLASS__IMPLEMENTS_INTERFACES: - getImplementsInterfaces().clear(); - getImplementsInterfaces().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__CLASS_IMPORT: - getClassImport().clear(); - getClassImport().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__PACKAGE_IMPORTS: - getPackageImports().clear(); - getPackageImports().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__FIELDS: - getFields().clear(); - getFields().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__METHODS: - getMethods().clear(); - getMethods().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__INITIALIZERS: - getInitializers().clear(); - getInitializers().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES: - getDeclaredClasses().clear(); - getDeclaredClasses().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__DECLARING_CLASS: - setDeclaringClass((JavaClass)newValue); - return; - case JavaRefPackage.JAVA_CLASS__EVENTS: - getEvents().clear(); - getEvents().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_CLASS__ALL_EVENTS: - getAllEvents().clear(); - getAllEvents().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_CLASS__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.JAVA_CLASS__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__INSTANCE_CLASS_NAME: - setInstanceClassName(INSTANCE_CLASS_NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__INTERFACE: - setInterface(INTERFACE_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__ESUPER_TYPES: - getESuperTypes().clear(); - return; - case JavaRefPackage.JAVA_CLASS__EOPERATIONS: - getEOperations().clear(); - return; - case JavaRefPackage.JAVA_CLASS__ESTRUCTURAL_FEATURES: - getEStructuralFeatures().clear(); - return; - case JavaRefPackage.JAVA_CLASS__KIND: - setKind(KIND_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__PUBLIC: - setPublic(PUBLIC_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__FINAL: - setFinal(FINAL_EDEFAULT); - return; - case JavaRefPackage.JAVA_CLASS__IMPLEMENTS_INTERFACES: - getImplementsInterfaces().clear(); - return; - case JavaRefPackage.JAVA_CLASS__CLASS_IMPORT: - getClassImport().clear(); - return; - case JavaRefPackage.JAVA_CLASS__PACKAGE_IMPORTS: - getPackageImports().clear(); - return; - case JavaRefPackage.JAVA_CLASS__FIELDS: - getFields().clear(); - return; - case JavaRefPackage.JAVA_CLASS__METHODS: - getMethods().clear(); - return; - case JavaRefPackage.JAVA_CLASS__INITIALIZERS: - getInitializers().clear(); - return; - case JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES: - getDeclaredClasses().clear(); - return; - case JavaRefPackage.JAVA_CLASS__DECLARING_CLASS: - setDeclaringClass((JavaClass)null); - return; - case JavaRefPackage.JAVA_CLASS__EVENTS: - getEvents().clear(); - return; - case JavaRefPackage.JAVA_CLASS__ALL_EVENTS: - getAllEvents().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - */ - public EList getImplementsInterfacesGen() { - if (implementsInterfaces == null) { - implementsInterfaces = new EObjectResolvingEList(JavaClass.class, this, JavaRefPackage.JAVA_CLASS__IMPLEMENTS_INTERFACES) { - public Object get(int index) { - if (isInterface()) - getInterfaceSuperTypes().get(index); //force resolution so the ESuperAdapter will be updated correctly - return super.get(index); - } - - public void clear() { - super.clear(); - if (isInterface()) - getInterfaceSuperTypes().clear(); - } - - public Object remove(int index) { - Object result = super.remove(index); - if (isInterface()) - getInterfaceSuperTypes().remove(index); - return result; - - } - - public boolean removeAll(Collection collection) { - boolean result = super.removeAll(collection); - if (isInterface()) - getInterfaceSuperTypes().removeAll(collection); - return result; - } - - public void add(int index, Object object) { - super.add(index, object); - if (isInterface()) - getInterfaceSuperTypes().add(index, object); - } - - public boolean add(Object object) { - boolean result = super.add(object); - if (isInterface()) - getInterfaceSuperTypes().add(object); - return result; - } - - public boolean addAll(Collection collection) { - boolean result = super.addAll(collection); - if (isInterface()) - getInterfaceSuperTypes().addAll(collection); - return result; - } - - public boolean addAll(int index, Collection collection) { - boolean result = super.addAll(index, collection); - if (isInterface()) - getInterfaceSuperTypes().addAll(index, collection); - return result; - } - }; - } - return implementsInterfaces; - } - - private EList getInterfaceSuperTypes() { - return super.getESuperTypes(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getClassImportGen() { - if (classImport == null) { - classImport = new EObjectResolvingEList(JavaClass.class, this, JavaRefPackage.JAVA_CLASS__CLASS_IMPORT); - } - return classImport; - } - - public EList getEAllSuperTypes() { - if (!hasReflected) - reflectValues();//Force reflection, if needed, before getting all supertypes. - return super.getEAllSuperTypes(); - } - - public EList getESuperTypes() { - if (!hasReflected) - reflectValues(); - return super.getESuperTypes(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getPackageImportsGen() { - if (packageImports == null) { - packageImports = new EObjectResolvingEList(JavaPackage.class, this, JavaRefPackage.JAVA_CLASS__PACKAGE_IMPORTS); - } - return packageImports; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getFieldsGen() { - if (fields == null) { - fields = new EObjectContainmentWithInverseEList(Field.class, this, JavaRefPackage.JAVA_CLASS__FIELDS, JavaRefPackage.FIELD__JAVA_CLASS); - } - return fields; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getMethodsGen() { - if (methods == null) { - methods = new EObjectContainmentWithInverseEList(Method.class, this, JavaRefPackage.JAVA_CLASS__METHODS, JavaRefPackage.METHOD__JAVA_CLASS); - } - return methods; - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JavaPackage getJavaPackageGen() { - JavaPackage javaPackage = basicGetJavaPackage(); - return javaPackage == null ? null : (JavaPackage)eResolveProxy((InternalEObject)javaPackage); - } - - /* - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - */ - public JavaPackage basicGetJavaPackage() { - return getJavaPackage(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_CLASS__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__EPACKAGE: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.JAVA_CLASS__EPACKAGE, msgs); - case JavaRefPackage.JAVA_CLASS__EOPERATIONS: - return ((InternalEList)getEOperations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__ESTRUCTURAL_FEATURES: - return ((InternalEList)getEStructuralFeatures()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__FIELDS: - return ((InternalEList)getFields()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__METHODS: - return ((InternalEList)getMethods()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__INITIALIZERS: - return ((InternalEList)getInitializers()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES: - return ((InternalEList)getDeclaredClasses()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__DECLARING_CLASS: - if (declaringClass != null) - msgs = ((InternalEObject)declaringClass).eInverseRemove(this, JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES, JavaClass.class, msgs); - return basicSetDeclaringClass((JavaClass)otherEnd, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_CLASS__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__EPACKAGE: - return eBasicSetContainer(null, JavaRefPackage.JAVA_CLASS__EPACKAGE, msgs); - case JavaRefPackage.JAVA_CLASS__EOPERATIONS: - return ((InternalEList)getEOperations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__ESTRUCTURAL_FEATURES: - return ((InternalEList)getEStructuralFeatures()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__FIELDS: - return ((InternalEList)getFields()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__METHODS: - return ((InternalEList)getMethods()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__INITIALIZERS: - return ((InternalEList)getInitializers()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES: - return ((InternalEList)getDeclaredClasses()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_CLASS__DECLARING_CLASS: - return basicSetDeclaringClass(null, msgs); - case JavaRefPackage.JAVA_CLASS__EVENTS: - return ((InternalEList)getEvents()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.JAVA_CLASS__EPACKAGE: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.EPACKAGE__ECLASSIFIERS, EPackage.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_CLASS__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.JAVA_CLASS__NAME: - return getName(); - case JavaRefPackage.JAVA_CLASS__INSTANCE_CLASS_NAME: - return getInstanceClassName(); - case JavaRefPackage.JAVA_CLASS__INSTANCE_CLASS: - return getInstanceClass(); - case JavaRefPackage.JAVA_CLASS__DEFAULT_VALUE: - return getDefaultValue(); - case JavaRefPackage.JAVA_CLASS__EPACKAGE: - return getEPackage(); - case JavaRefPackage.JAVA_CLASS__ABSTRACT: - return isAbstract() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_CLASS__INTERFACE: - return isInterface() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_CLASS__ESUPER_TYPES: - return getESuperTypes(); - case JavaRefPackage.JAVA_CLASS__EOPERATIONS: - return getEOperations(); - case JavaRefPackage.JAVA_CLASS__EALL_ATTRIBUTES: - return getEAllAttributes(); - case JavaRefPackage.JAVA_CLASS__EALL_REFERENCES: - return getEAllReferences(); - case JavaRefPackage.JAVA_CLASS__EREFERENCES: - return getEReferences(); - case JavaRefPackage.JAVA_CLASS__EATTRIBUTES: - return getEAttributes(); - case JavaRefPackage.JAVA_CLASS__EALL_CONTAINMENTS: - return getEAllContainments(); - case JavaRefPackage.JAVA_CLASS__EALL_OPERATIONS: - return getEAllOperations(); - case JavaRefPackage.JAVA_CLASS__EALL_STRUCTURAL_FEATURES: - return getEAllStructuralFeatures(); - case JavaRefPackage.JAVA_CLASS__EALL_SUPER_TYPES: - return getEAllSuperTypes(); - case JavaRefPackage.JAVA_CLASS__EID_ATTRIBUTE: - return getEIDAttribute(); - case JavaRefPackage.JAVA_CLASS__ESTRUCTURAL_FEATURES: - return getEStructuralFeatures(); - case JavaRefPackage.JAVA_CLASS__KIND: - return getKind(); - case JavaRefPackage.JAVA_CLASS__PUBLIC: - return isPublic() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_CLASS__FINAL: - return isFinal() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_CLASS__IMPLEMENTS_INTERFACES: - return getImplementsInterfaces(); - case JavaRefPackage.JAVA_CLASS__CLASS_IMPORT: - return getClassImport(); - case JavaRefPackage.JAVA_CLASS__PACKAGE_IMPORTS: - return getPackageImports(); - case JavaRefPackage.JAVA_CLASS__FIELDS: - return getFields(); - case JavaRefPackage.JAVA_CLASS__METHODS: - return getMethods(); - case JavaRefPackage.JAVA_CLASS__INITIALIZERS: - return getInitializers(); - case JavaRefPackage.JAVA_CLASS__DECLARED_CLASSES: - return getDeclaredClasses(); - case JavaRefPackage.JAVA_CLASS__DECLARING_CLASS: - if (resolve) return getDeclaringClass(); - return basicGetDeclaringClass(); - case JavaRefPackage.JAVA_CLASS__JAVA_PACKAGE: - if (resolve) return getJavaPackage(); - return basicGetJavaPackage(); - case JavaRefPackage.JAVA_CLASS__EVENTS: - return getEvents(); - case JavaRefPackage.JAVA_CLASS__ALL_EVENTS: - return getAllEvents(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toStringGen() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (kind: "); - result.append(kind); - result.append(", public: "); - result.append(public_); - result.append(", final: "); - result.append(final_); - result.append(')'); - return result.toString(); - } - - /** - * @see org.eclipse.jem.java.adapters.InternalReadAdaptable#setReflected(boolean) - */ - public void setReflected(boolean aBoolean) { - hasReflected = aBoolean; - } -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaDataTypeImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaDataTypeImpl.java deleted file mode 100644 index fb15825..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaDataTypeImpl.java +++ /dev/null
@@ -1,392 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaDataTypeImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/13 21:12:07 $ - */ - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.EClassImpl; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.*; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaDataType; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.internal.java.instantiation.IInstantiationInstance; -/** - * @generated - */ -public class JavaDataTypeImpl extends EClassImpl implements JavaDataType{ - - - static final String FALSE = "false"; - static final String DOUBLE_ZERO = "0.0"; - static final String FLOAT_ZERO = "0.0f"; - static final String CHAR_ZERO = "'0'"; - static final String ZERO = "0"; - protected JavaDataTypeImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getJavaDataType(); - } - - /** - * Return the default string representing the default value of the primitive. - */ - public String getDefaultValueString() { - String typeName = getJavaName(); - if (typeName.equals(Boolean.TYPE.getName())) - return FALSE; - if (typeName.equals(Double.TYPE.getName())) - return DOUBLE_ZERO; - if (typeName.equals(Float.TYPE.getName())) - return FLOAT_ZERO; - if (typeName.equals(Character.TYPE.getName())) - return CHAR_ZERO; - return ZERO; - } - /** - * (JavaHelpers)javaName - return the String which represents the Java name for this type - */ - public String getJavaName() { - return getName(); - } - public JavaDataType getPrimitive() { - return this; - } - public String getQualifiedName() { - return getJavaName(); - } - public JavaClass getWrapper() { - String wrapperName = getWrapperQualifiedName(); - if (wrapperName != null) { - return (JavaClass) JavaRefFactory.eINSTANCE.reflectType(wrapperName, this); - } - return null; - } - /** - * getWrapper method comment. - */ - protected String getWrapperQualifiedName() { - String myName = getJavaName(); - if (myName.equals(PRIM_INTEGER_NAME)) - return INTEGER_NAME; - if(myName.equals(PRIM_CHARACTER_NAME)) - return CHARACTER_NAME; - if(myName.equals(PRIM_BOOLEAN_NAME)) - return BOOLEAN_NAME; - if(myName.equals(PRIM_BYTE_NAME)) - return BYTE_NAME; - if(myName.equals(PRIM_SHORT_NAME)) - return SHORT_NAME; - if(myName.equals(PRIM_LONG_NAME)) - return LONG_NAME; - if(myName.equals(PRIM_FLOAT_NAME)) - return FLOAT_NAME; - if(myName.equals(PRIM_DOUBLE_NAME)) - return DOUBLE_NAME; - return null; - } - /* - * JavaHelpers.isArray() - array types are always JavaClasses, even if their component type is - * a primitive data type. Return false. - */ - public boolean isArray() { - return false; - } - /** - * Can an object of the passed in class be assigned to an - * object of this class? In the case of primitives, are they the same. - */ - public boolean isAssignableFrom(EClassifier aClass) { - return this == aClass; - } - /** - * See if this is valid object of this type. - */ - public boolean isInstance(Object o) { - return o instanceof IInstantiationInstance ? isAssignableFrom(((IInstantiationInstance) o).getJavaType()) : false; - } - public boolean isPrimitive() { - return true; - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_DATA_TYPE__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE, msgs); - case JavaRefPackage.JAVA_DATA_TYPE__EOPERATIONS: - return ((InternalEList)getEOperations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES: - return ((InternalEList)getEStructuralFeatures()).basicAdd(otherEnd, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_DATA_TYPE__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE: - return eBasicSetContainer(null, JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE, msgs); - case JavaRefPackage.JAVA_DATA_TYPE__EOPERATIONS: - return ((InternalEList)getEOperations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES: - return ((InternalEList)getEStructuralFeatures()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.EPACKAGE__ECLASSIFIERS, EPackage.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_DATA_TYPE__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.JAVA_DATA_TYPE__NAME: - return getName(); - case JavaRefPackage.JAVA_DATA_TYPE__INSTANCE_CLASS_NAME: - return getInstanceClassName(); - case JavaRefPackage.JAVA_DATA_TYPE__INSTANCE_CLASS: - return getInstanceClass(); - case JavaRefPackage.JAVA_DATA_TYPE__DEFAULT_VALUE: - return getDefaultValue(); - case JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE: - return getEPackage(); - case JavaRefPackage.JAVA_DATA_TYPE__ABSTRACT: - return isAbstract() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_DATA_TYPE__INTERFACE: - return isInterface() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_DATA_TYPE__ESUPER_TYPES: - return getESuperTypes(); - case JavaRefPackage.JAVA_DATA_TYPE__EOPERATIONS: - return getEOperations(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_ATTRIBUTES: - return getEAllAttributes(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_REFERENCES: - return getEAllReferences(); - case JavaRefPackage.JAVA_DATA_TYPE__EREFERENCES: - return getEReferences(); - case JavaRefPackage.JAVA_DATA_TYPE__EATTRIBUTES: - return getEAttributes(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_CONTAINMENTS: - return getEAllContainments(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_OPERATIONS: - return getEAllOperations(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_STRUCTURAL_FEATURES: - return getEAllStructuralFeatures(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_SUPER_TYPES: - return getEAllSuperTypes(); - case JavaRefPackage.JAVA_DATA_TYPE__EID_ATTRIBUTE: - return getEIDAttribute(); - case JavaRefPackage.JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES: - return getEStructuralFeatures(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_DATA_TYPE__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_DATA_TYPE__NAME: - setName((String)newValue); - return; - case JavaRefPackage.JAVA_DATA_TYPE__INSTANCE_CLASS_NAME: - setInstanceClassName((String)newValue); - return; - case JavaRefPackage.JAVA_DATA_TYPE__ABSTRACT: - setAbstract(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_DATA_TYPE__INTERFACE: - setInterface(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_DATA_TYPE__ESUPER_TYPES: - getESuperTypes().clear(); - getESuperTypes().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_DATA_TYPE__EOPERATIONS: - getEOperations().clear(); - getEOperations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES: - getEStructuralFeatures().clear(); - getEStructuralFeatures().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_DATA_TYPE__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.JAVA_DATA_TYPE__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_DATA_TYPE__INSTANCE_CLASS_NAME: - setInstanceClassName(INSTANCE_CLASS_NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_DATA_TYPE__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case JavaRefPackage.JAVA_DATA_TYPE__INTERFACE: - setInterface(INTERFACE_EDEFAULT); - return; - case JavaRefPackage.JAVA_DATA_TYPE__ESUPER_TYPES: - getESuperTypes().clear(); - return; - case JavaRefPackage.JAVA_DATA_TYPE__EOPERATIONS: - getEOperations().clear(); - return; - case JavaRefPackage.JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES: - getEStructuralFeatures().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_DATA_TYPE__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.JAVA_DATA_TYPE__INSTANCE_CLASS_NAME: - return INSTANCE_CLASS_NAME_EDEFAULT == null ? instanceClassName != null : !INSTANCE_CLASS_NAME_EDEFAULT.equals(instanceClassName); - case JavaRefPackage.JAVA_DATA_TYPE__INSTANCE_CLASS: - return getInstanceClass() != null; - case JavaRefPackage.JAVA_DATA_TYPE__DEFAULT_VALUE: - return getDefaultValue() != null; - case JavaRefPackage.JAVA_DATA_TYPE__EPACKAGE: - return getEPackage() != null; - case JavaRefPackage.JAVA_DATA_TYPE__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case JavaRefPackage.JAVA_DATA_TYPE__INTERFACE: - return interface_ != INTERFACE_EDEFAULT; - case JavaRefPackage.JAVA_DATA_TYPE__ESUPER_TYPES: - return eSuperTypes != null && !eSuperTypes.isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EOPERATIONS: - return eOperations != null && !eOperations.isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_ATTRIBUTES: - return !getEAllAttributes().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_REFERENCES: - return !getEAllReferences().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EREFERENCES: - return !getEReferences().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EATTRIBUTES: - return !getEAttributes().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_CONTAINMENTS: - return !getEAllContainments().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_OPERATIONS: - return !getEAllOperations().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_STRUCTURAL_FEATURES: - return !getEAllStructuralFeatures().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EALL_SUPER_TYPES: - return !getEAllSuperTypes().isEmpty(); - case JavaRefPackage.JAVA_DATA_TYPE__EID_ATTRIBUTE: - return getEIDAttribute() != null; - case JavaRefPackage.JAVA_DATA_TYPE__ESTRUCTURAL_FEATURES: - return eStructuralFeatures != null && !eStructuralFeatures.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.JavaHelpers#getQualifiedNameForReflection() - */ - public String getQualifiedNameForReflection() { - return getJavaName(); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaEventImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaEventImpl.java deleted file mode 100644 index 0a2ca20..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaEventImpl.java +++ /dev/null
@@ -1,309 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaEventImpl.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.EStructuralFeatureImpl; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.JavaEvent; -import org.eclipse.jem.java.JavaRefPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java Event</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public abstract class JavaEventImpl extends EStructuralFeatureImpl implements JavaEvent { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaEventImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getJavaEvent(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_EVENT__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_EVENT__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS: - return eBasicSetContainer(null, JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.ECLASS__ESTRUCTURAL_FEATURES, EClass.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_EVENT__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.JAVA_EVENT__NAME: - return getName(); - case JavaRefPackage.JAVA_EVENT__ORDERED: - return isOrdered() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__UNIQUE: - return isUnique() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__LOWER_BOUND: - return new Integer(getLowerBound()); - case JavaRefPackage.JAVA_EVENT__UPPER_BOUND: - return new Integer(getUpperBound()); - case JavaRefPackage.JAVA_EVENT__MANY: - return isMany() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__REQUIRED: - return isRequired() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__ETYPE: - if (resolve) return getEType(); - return basicGetEType(); - case JavaRefPackage.JAVA_EVENT__CHANGEABLE: - return isChangeable() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__VOLATILE: - return isVolatile() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__TRANSIENT: - return isTransient() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__DEFAULT_VALUE_LITERAL: - return getDefaultValueLiteral(); - case JavaRefPackage.JAVA_EVENT__DEFAULT_VALUE: - return getDefaultValue(); - case JavaRefPackage.JAVA_EVENT__UNSETTABLE: - return isUnsettable() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__DERIVED: - return isDerived() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS: - return getEContainingClass(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_EVENT__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_EVENT__NAME: - setName((String)newValue); - return; - case JavaRefPackage.JAVA_EVENT__ORDERED: - setOrdered(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_EVENT__UNIQUE: - setUnique(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_EVENT__LOWER_BOUND: - setLowerBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.JAVA_EVENT__UPPER_BOUND: - setUpperBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.JAVA_EVENT__ETYPE: - setEType((EClassifier)newValue); - return; - case JavaRefPackage.JAVA_EVENT__CHANGEABLE: - setChangeable(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_EVENT__VOLATILE: - setVolatile(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_EVENT__TRANSIENT: - setTransient(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_EVENT__DEFAULT_VALUE_LITERAL: - setDefaultValueLiteral((String)newValue); - return; - case JavaRefPackage.JAVA_EVENT__UNSETTABLE: - setUnsettable(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_EVENT__DERIVED: - setDerived(((Boolean)newValue).booleanValue()); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_EVENT__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.JAVA_EVENT__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__ORDERED: - setOrdered(ORDERED_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__UNIQUE: - setUnique(UNIQUE_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__ETYPE: - setEType((EClassifier)null); - return; - case JavaRefPackage.JAVA_EVENT__CHANGEABLE: - setChangeable(CHANGEABLE_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__VOLATILE: - setVolatile(VOLATILE_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__TRANSIENT: - setTransient(TRANSIENT_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__DEFAULT_VALUE_LITERAL: - setDefaultValueLiteral(DEFAULT_VALUE_LITERAL_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__UNSETTABLE: - setUnsettable(UNSETTABLE_EDEFAULT); - return; - case JavaRefPackage.JAVA_EVENT__DERIVED: - setDerived(DERIVED_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_EVENT__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.JAVA_EVENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.JAVA_EVENT__ORDERED: - return ordered != ORDERED_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__UNIQUE: - return unique != UNIQUE_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__MANY: - return isMany() != false; - case JavaRefPackage.JAVA_EVENT__REQUIRED: - return isRequired() != false; - case JavaRefPackage.JAVA_EVENT__ETYPE: - return eType != null; - case JavaRefPackage.JAVA_EVENT__CHANGEABLE: - return changeable != CHANGEABLE_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__VOLATILE: - return volatile_ != VOLATILE_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__TRANSIENT: - return transient_ != TRANSIENT_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__DEFAULT_VALUE_LITERAL: - return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral); - case JavaRefPackage.JAVA_EVENT__DEFAULT_VALUE: - return getDefaultValue() != null; - case JavaRefPackage.JAVA_EVENT__UNSETTABLE: - return unsettable != UNSETTABLE_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__DERIVED: - return derived != DERIVED_EDEFAULT; - case JavaRefPackage.JAVA_EVENT__ECONTAINING_CLASS: - return getEContainingClass() != null; - } - return eDynamicIsSet(eFeature); - } - -} \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaFactoryImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaFactoryImpl.java deleted file mode 100644 index 46a514f..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaFactoryImpl.java +++ /dev/null
@@ -1,68 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaFactoryImpl.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EcoreUtil; - -import org.eclipse.jem.internal.java.instantiation.IInstantiationHandler; -import org.eclipse.jem.internal.java.instantiation.IInstantiationHandlerFactoryAdapter; - -/** - * The factory to use JavaRef packages. It will use the - * IInstantiationHandler, if there is one, to do the - * factory requests. Else it will let the superclass handle it. - */ -public class JavaFactoryImpl extends EFactoryImpl { - - private IInstantiationHandler instantiationHandler; - private boolean retrievedHandler; - - /** - * Constructor for JavaFactoryImpl. - */ - public JavaFactoryImpl() { - super(); - } - - protected IInstantiationHandler getInstantiationHandler() { - if (!retrievedHandler) { - // Need to retrieve handler lazily because when factory is created it does not yet know what ResourceSet it is in. - // Can't know that until the first time we need a handler. - ResourceSet rset = getEPackage().eResource().getResourceSet(); - if (rset != null) { - retrievedHandler = true; - IInstantiationHandlerFactoryAdapter factory = (IInstantiationHandlerFactoryAdapter) EcoreUtil.getExistingAdapter(rset, IInstantiationHandlerFactoryAdapter.ADAPTER_KEY); - if (factory != null) - instantiationHandler = factory.getInstantiationHandler(this); - } - } - return instantiationHandler; - } - - /** - * @see org.eclipse.emf.ecore.EFactory#create(EClass) - */ - public EObject create(EClass eClass) { - IInstantiationHandler ia = getInstantiationHandler(); - if (ia == null || !ia.handlesClass(eClass)) - return super.create(eClass); - else - return ia.create(eClass); - } - -}
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaPackageImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaPackageImpl.java deleted file mode 100644 index c3f7248..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaPackageImpl.java +++ /dev/null
@@ -1,319 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaPackageImpl.java,v $ - * $Revision: 1.4 $ $Date: 2004/01/14 00:16:44 $ - */ - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.ECollections; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EFactory; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.JavaPackage; -import org.eclipse.jem.java.JavaRefPackage; - -import org.eclipse.jem.java.*; - -public class JavaPackageImpl extends EPackageImpl implements JavaPackage, EPackage { - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaPackageImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getJavaPackage(); - } - - /** - * Get the list of classes that this package contains. - * Since this is a derived relationship, we need to implement - * it here. It will get the metaobjects list. These are the - * java classes this package contains. - * - * If this is the primitives package, then it must return - * an empty list because it doesn't contain any classes. - */ - public EList getJavaClasses() { - return !PRIMITIVE_PACKAGE_NAME.equals(getName()) ? - ECollections.unmodifiableEList(getEClassifiers()) : - ECollections.EMPTY_ELIST; - } -/** - * Return the name for this package. - * We do not want to expose the .javaprim package - * since this is the name of the default package. - */ -public String getName() { - if (isDefault()) - return ""; - else - return super.getName(); -} - public String getPackageName() { - - String internalName = super.getName() ; - return JavaPackage.PRIMITIVE_PACKAGE_NAME.equals(internalName) ? "" : internalName ; -} -protected boolean isDefault() { - return JavaPackage.PRIMITIVE_PACKAGE_NAME.equals(super.getName()); -} - /** - * Since classes are loaded dynamically and not from a schema, a - * class could be asked for through this method, and if not yet reflected, - * it wouldn't be found. We need to make sure that any class asked for - * in this package is found (i.e. poofed up). Otherwise loading an instance - * document that refers to java class through namespaces won't be found. - */ - public EClassifier getEClassifier(String className) { - // Try to get the class from the resource that this package is in. - // This will create it if not found. This works because the - // structure is there is one java package per resource, and - // the id of the class is the class name without the package - // portion, which is what className above is. - Object result = eResource().getEObject(className); - return (result instanceof EClassifier) ? (EClassifier) result : null; - } - - /** - * reflect - reflect a Java package for a given package name. - * If the package does not exist, one will be created through - * the reflection mechanism. - * @deprecated - * @see org.eclipse.jem.java.JavaRefFactory#reflectPackage(java.lang.String, org.eclipse.emf.ecore.resource.ResourceSet) - */ - public static JavaPackage reflect(String packageName, ResourceSet set) { - return JavaRefFactory.eINSTANCE.reflectPackage(packageName, set); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_PACKAGE__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__EFACTORY_INSTANCE: - if (eFactoryInstance != null) - msgs = ((InternalEObject)eFactoryInstance).eInverseRemove(this, EcorePackage.EFACTORY__EPACKAGE, EFactory.class, msgs); - return basicSetEFactoryInstance((EFactory)otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__ECLASSIFIERS: - return ((InternalEList)getEClassifiers()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__ESUBPACKAGES: - return ((InternalEList)getESubpackages()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_PACKAGE__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__EFACTORY_INSTANCE: - return basicSetEFactoryInstance(null, msgs); - case JavaRefPackage.JAVA_PACKAGE__ECLASSIFIERS: - return ((InternalEList)getEClassifiers()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__ESUBPACKAGES: - return ((InternalEList)getESubpackages()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE: - return eBasicSetContainer(null, JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.EPACKAGE__ESUBPACKAGES, EPackage.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PACKAGE__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.JAVA_PACKAGE__NAME: - return getName(); - case JavaRefPackage.JAVA_PACKAGE__NS_URI: - return getNsURI(); - case JavaRefPackage.JAVA_PACKAGE__NS_PREFIX: - return getNsPrefix(); - case JavaRefPackage.JAVA_PACKAGE__EFACTORY_INSTANCE: - return getEFactoryInstance(); - case JavaRefPackage.JAVA_PACKAGE__ECLASSIFIERS: - return getEClassifiers(); - case JavaRefPackage.JAVA_PACKAGE__ESUBPACKAGES: - return getESubpackages(); - case JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE: - return getESuperPackage(); - case JavaRefPackage.JAVA_PACKAGE__JAVA_CLASSES: - return getJavaClasses(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PACKAGE__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_PACKAGE__NAME: - setName((String)newValue); - return; - case JavaRefPackage.JAVA_PACKAGE__NS_URI: - setNsURI((String)newValue); - return; - case JavaRefPackage.JAVA_PACKAGE__NS_PREFIX: - setNsPrefix((String)newValue); - return; - case JavaRefPackage.JAVA_PACKAGE__EFACTORY_INSTANCE: - setEFactoryInstance((EFactory)newValue); - return; - case JavaRefPackage.JAVA_PACKAGE__ECLASSIFIERS: - getEClassifiers().clear(); - getEClassifiers().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_PACKAGE__ESUBPACKAGES: - getESubpackages().clear(); - getESubpackages().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PACKAGE__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.JAVA_PACKAGE__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_PACKAGE__NS_URI: - setNsURI(NS_URI_EDEFAULT); - return; - case JavaRefPackage.JAVA_PACKAGE__NS_PREFIX: - setNsPrefix(NS_PREFIX_EDEFAULT); - return; - case JavaRefPackage.JAVA_PACKAGE__EFACTORY_INSTANCE: - setEFactoryInstance((EFactory)null); - return; - case JavaRefPackage.JAVA_PACKAGE__ECLASSIFIERS: - getEClassifiers().clear(); - return; - case JavaRefPackage.JAVA_PACKAGE__ESUBPACKAGES: - getESubpackages().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PACKAGE__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.JAVA_PACKAGE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.JAVA_PACKAGE__NS_URI: - return NS_URI_EDEFAULT == null ? nsURI != null : !NS_URI_EDEFAULT.equals(nsURI); - case JavaRefPackage.JAVA_PACKAGE__NS_PREFIX: - return NS_PREFIX_EDEFAULT == null ? nsPrefix != null : !NS_PREFIX_EDEFAULT.equals(nsPrefix); - case JavaRefPackage.JAVA_PACKAGE__EFACTORY_INSTANCE: - return eFactoryInstance != null; - case JavaRefPackage.JAVA_PACKAGE__ECLASSIFIERS: - return eClassifiers != null && !eClassifiers.isEmpty(); - case JavaRefPackage.JAVA_PACKAGE__ESUBPACKAGES: - return eSubpackages != null && !eSubpackages.isEmpty(); - case JavaRefPackage.JAVA_PACKAGE__ESUPER_PACKAGE: - return getESuperPackage() != null; - case JavaRefPackage.JAVA_PACKAGE__JAVA_CLASSES: - return !getJavaClasses().isEmpty(); - } - return eDynamicIsSet(eFeature); - } - -} //JavaPackageImpl - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaParameterImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaParameterImpl.java deleted file mode 100644 index 3977598..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaParameterImpl.java +++ /dev/null
@@ -1,366 +0,0 @@ -package org.eclipse.jem.java.impl; - -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaParameterImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/14 00:16:44 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EParameterImpl; -import org.eclipse.emf.ecore.util.InternalEList; - - -import org.eclipse.jem.java.JavaHelpers; -import org.eclipse.jem.java.JavaParameter; -import org.eclipse.jem.java.JavaParameterKind; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.Method; - -/** - * @generated - */ -public class JavaParameterImpl extends EParameterImpl implements JavaParameter{ - - /** - * The default value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected static final boolean FINAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected boolean final_ = FINAL_EDEFAULT; - - /** - * The default value of the '{@link #getParameterKind() <em>Parameter Kind</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParameterKind() - * @generated - * @ordered - */ - protected static final JavaParameterKind PARAMETER_KIND_EDEFAULT = JavaParameterKind.IN_LITERAL; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaParameterKind parameterKind = PARAMETER_KIND_EDEFAULT; - protected JavaParameterImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getJavaParameter(); - } - - public JavaHelpers getJavaType() { - return (JavaHelpers)getEType(); - } - public String getQualifiedName() { - return (eContainer() instanceof Method) ? ((Method)eContainer()).getName() + "." + this.getName() : this.getName(); - } - /** - * Is this parameter type an array type. - */ - public boolean isArray() { - return getJavaType().isArray(); - } - /** - * Is this a return parameter. - */ - public boolean isReturn() { - return JavaParameterKind.RETURN == getParameterKind().getValue(); - } - /** - * @generated This field/method will be replaced during code generation - */ - public boolean isFinal() { - return final_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFinal(boolean newFinal) { - boolean oldFinal = final_; - final_ = newFinal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_PARAMETER__FINAL, oldFinal, final_)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JavaParameterKind getParameterKind() { - return parameterKind; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParameterKind(JavaParameterKind newParameterKind) { - JavaParameterKind oldParameterKind = parameterKind; - parameterKind = newParameterKind == null ? PARAMETER_KIND_EDEFAULT : newParameterKind; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.JAVA_PARAMETER__PARAMETER_KIND, oldParameterKind, parameterKind)); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PARAMETER__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.JAVA_PARAMETER__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.JAVA_PARAMETER__ORDERED: - return ordered != ORDERED_EDEFAULT; - case JavaRefPackage.JAVA_PARAMETER__UNIQUE: - return unique != UNIQUE_EDEFAULT; - case JavaRefPackage.JAVA_PARAMETER__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case JavaRefPackage.JAVA_PARAMETER__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case JavaRefPackage.JAVA_PARAMETER__MANY: - return isMany() != false; - case JavaRefPackage.JAVA_PARAMETER__REQUIRED: - return isRequired() != false; - case JavaRefPackage.JAVA_PARAMETER__ETYPE: - return eType != null; - case JavaRefPackage.JAVA_PARAMETER__EOPERATION: - return getEOperation() != null; - case JavaRefPackage.JAVA_PARAMETER__FINAL: - return final_ != FINAL_EDEFAULT; - case JavaRefPackage.JAVA_PARAMETER__PARAMETER_KIND: - return parameterKind != PARAMETER_KIND_EDEFAULT; - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PARAMETER__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.JAVA_PARAMETER__NAME: - setName((String)newValue); - return; - case JavaRefPackage.JAVA_PARAMETER__ORDERED: - setOrdered(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_PARAMETER__UNIQUE: - setUnique(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_PARAMETER__LOWER_BOUND: - setLowerBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.JAVA_PARAMETER__UPPER_BOUND: - setUpperBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.JAVA_PARAMETER__ETYPE: - setEType((EClassifier)newValue); - return; - case JavaRefPackage.JAVA_PARAMETER__FINAL: - setFinal(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.JAVA_PARAMETER__PARAMETER_KIND: - setParameterKind((JavaParameterKind)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PARAMETER__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.JAVA_PARAMETER__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.JAVA_PARAMETER__ORDERED: - setOrdered(ORDERED_EDEFAULT); - return; - case JavaRefPackage.JAVA_PARAMETER__UNIQUE: - setUnique(UNIQUE_EDEFAULT); - return; - case JavaRefPackage.JAVA_PARAMETER__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case JavaRefPackage.JAVA_PARAMETER__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case JavaRefPackage.JAVA_PARAMETER__ETYPE: - setEType((EClassifier)null); - return; - case JavaRefPackage.JAVA_PARAMETER__FINAL: - setFinal(FINAL_EDEFAULT); - return; - case JavaRefPackage.JAVA_PARAMETER__PARAMETER_KIND: - setParameterKind(PARAMETER_KIND_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (final: "); - result.append(final_); - result.append(", parameterKind: "); - result.append(parameterKind); - result.append(')'); - return result.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_PARAMETER__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.JAVA_PARAMETER__EOPERATION: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.JAVA_PARAMETER__EOPERATION, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.JAVA_PARAMETER__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.JAVA_PARAMETER__EOPERATION: - return eBasicSetContainer(null, JavaRefPackage.JAVA_PARAMETER__EOPERATION, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.JAVA_PARAMETER__EOPERATION: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.EOPERATION__EPARAMETERS, EOperation.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.JAVA_PARAMETER__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.JAVA_PARAMETER__NAME: - return getName(); - case JavaRefPackage.JAVA_PARAMETER__ORDERED: - return isOrdered() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_PARAMETER__UNIQUE: - return isUnique() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_PARAMETER__LOWER_BOUND: - return new Integer(getLowerBound()); - case JavaRefPackage.JAVA_PARAMETER__UPPER_BOUND: - return new Integer(getUpperBound()); - case JavaRefPackage.JAVA_PARAMETER__MANY: - return isMany() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_PARAMETER__REQUIRED: - return isRequired() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_PARAMETER__ETYPE: - if (resolve) return getEType(); - return basicGetEType(); - case JavaRefPackage.JAVA_PARAMETER__EOPERATION: - return getEOperation(); - case JavaRefPackage.JAVA_PARAMETER__FINAL: - return isFinal() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.JAVA_PARAMETER__PARAMETER_KIND: - return getParameterKind(); - } - return eDynamicGet(eFeature, resolve); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaRefFactoryImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaRefFactoryImpl.java deleted file mode 100644 index 25fc02f..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaRefFactoryImpl.java +++ /dev/null
@@ -1,372 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaRefFactoryImpl.java,v $ - * $Revision: 1.4 $ $Date: 2004/01/14 00:16:44 $ - */ -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.*; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; - -import org.eclipse.jem.java.*; -import org.eclipse.jem.internal.java.adapters.jdk.JavaJDKAdapterFactory; - - - -/** - * @generated - */ -public class JavaRefFactoryImpl extends EFactoryImpl implements JavaRefFactory { - - - protected static Class ReflectionFactoryClass = JavaJDKAdapterFactory.class; - public JavaRefFactoryImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case JavaRefPackage.JAVA_CLASS: return createJavaClass(); - case JavaRefPackage.INITIALIZER: return createInitializer(); - case JavaRefPackage.JAVA_PARAMETER: return createJavaParameter(); - case JavaRefPackage.METHOD: return createMethod(); - case JavaRefPackage.FIELD: return createField(); - case JavaRefPackage.BLOCK: return createBlock(); - case JavaRefPackage.COMMENT: return createComment(); - case JavaRefPackage.STATEMENT: return createStatement(); - case JavaRefPackage.JAVA_PACKAGE: return createJavaPackage(); - case JavaRefPackage.JAVA_DATA_TYPE: return createJavaDataType(); - case JavaRefPackage.ARRAY_TYPE: return createArrayType(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case JavaRefPackage.TYPE_KIND: - return TypeKind.get(initialValue); - case JavaRefPackage.JAVA_VISIBILITY_KIND: - return JavaVisibilityKind.get(initialValue); - case JavaRefPackage.JAVA_PARAMETER_KIND: - return JavaParameterKind.get(initialValue); - case JavaRefPackage.JTYPE_JAVA_HELPERS: - return createJTypeJavaHelpersFromString(eDataType, initialValue); - case JavaRefPackage.JTYPE_LIST: - return createJTypeListFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case JavaRefPackage.TYPE_KIND: - return instanceValue == null ? null : instanceValue.toString(); - case JavaRefPackage.JAVA_VISIBILITY_KIND: - return instanceValue == null ? null : instanceValue.toString(); - case JavaRefPackage.JAVA_PARAMETER_KIND: - return instanceValue == null ? null : instanceValue.toString(); - case JavaRefPackage.JTYPE_JAVA_HELPERS: - return convertJTypeJavaHelpersToString(eDataType, instanceValue); - case JavaRefPackage.JTYPE_LIST: - return convertJTypeListToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - public ArrayType createArrayType(JavaHelpers componentType) { - ArrayType at = createArrayType(); - - String computedName = componentType.getQualifiedName() + "[]"; - at.setName(computedName); - return at; - } - public ArrayType createArrayType(JavaHelpers finalComponentType, int dimensions) { - ArrayType at = createArrayType(); - - String computedName = finalComponentType.getQualifiedName(); - for (int i = 0; i < dimensions; i++){ - computedName = computedName + "[]"; - } - at.setName(computedName); - return at; - } - public static ResourceSet createJavaContext() { - org.eclipse.jem.internal.java.init.JavaInit.init(); - ResourceSet set = new ResourceSetImpl(); - set.getAdapterFactories().add(createJavaReflectionAdapterFactory()); - return set; - } - protected static AdapterFactory createJavaReflectionAdapterFactory() { - AdapterFactory factoryInstance = null; - try { - if (getReflectionAdapterFactoryClass() != null) - factoryInstance = (AdapterFactory) getReflectionAdapterFactoryClass().newInstance(); - } catch (Exception e) { - // Reflection or instantiation problems. - // OK, can't do Java Model reflection - } - return factoryInstance; - } - /** - * Return the Class for the Java refection adapter factory. - */ - public static Class getReflectionAdapterFactoryClass() { - return ReflectionFactoryClass; - } - /** - * Set the Class for the Java refection adapter factory. - * - * @see JavaPlugin.startup() - */ - public static void setReflectionAdapterFactoryClass(Class javaReflectionFactoryClass) { - ReflectionFactoryClass = javaReflectionFactoryClass; - } - /** - * @generated This field/method will be replaced during code generation. - */ - public Method createMethod() { - MethodImpl method = new MethodImpl(); - return method; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JavaClass createJavaClass() { - JavaClassImpl javaClass = new JavaClassImpl(); - return javaClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Field createField() { - FieldImpl field = new FieldImpl(); - return field; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Block createBlock() { - BlockImpl block = new BlockImpl(); - return block; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Comment createComment() { - CommentImpl comment = new CommentImpl(); - return comment; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Statement createStatement() { - StatementImpl statement = new StatementImpl(); - return statement; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Initializer createInitializer() { - InitializerImpl initializer = new InitializerImpl(); - return initializer; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JavaParameter createJavaParameter() { - JavaParameterImpl javaParameter = new JavaParameterImpl(); - return javaParameter; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public ArrayType createArrayType() { - ArrayTypeImpl arrayType = new ArrayTypeImpl(); - return arrayType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaHelpers createJTypeJavaHelpersFromString(EDataType eDataType, String initialValue) { - return (JavaHelpers)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJTypeJavaHelpersToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List createJTypeListFromString(EDataType eDataType, String initialValue) { - return (List)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJTypeListToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JavaDataType createJavaDataType() { - JavaDataTypeImpl javaDataType = new JavaDataTypeImpl(); - return javaDataType; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JavaPackage createJavaPackage() { - JavaPackageImpl javaPackage = new JavaPackageImpl(); - return javaPackage; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JavaRefPackage getJavaRefPackage() { - return (JavaRefPackage)getEPackage(); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public static JavaRefPackage getPackage() { - return JavaRefPackage.eINSTANCE; - } - public static JavaRefFactory getActiveFactory() { - return JavaRefFactory.eINSTANCE; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jem.java.JavaRefFactory#createClassRef(java.lang.String) - */ - public JavaClass createClassRef(String targetName) { - JavaClass ref = createJavaClass(); - JavaURL javaurl = new JavaURL(targetName); - ((InternalEObject) ref).eSetProxyURI(URI.createURI(javaurl.getFullString())); - return ref; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.JavaRefFactory#reflectType(java.lang.String, org.eclipse.emf.ecore.EObject) - */ - public JavaHelpers reflectType(String aQualifiedName, EObject relatedObject) { - Resource r = relatedObject.eResource(); - if (r != null) { - ResourceSet rs = r.getResourceSet(); - if (rs != null) { - return reflectType(aQualifiedName, rs); - } - } - return null; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.JavaRefFactory#reflectType(java.lang.String, org.eclipse.emf.ecore.resource.ResourceSet) - */ - public JavaHelpers reflectType(String aQualifiedName, ResourceSet set) { - if (aQualifiedName != null) { - int index = aQualifiedName.lastIndexOf("."); - if (index > 0) - return reflectType(aQualifiedName.substring(0, index), aQualifiedName.substring(index + 1, aQualifiedName.length()), set); - else - return reflectType("", aQualifiedName, set); - } - return null; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.JavaRefFactory#reflectType(java.lang.String, java.lang.String, org.eclipse.emf.ecore.resource.ResourceSet) - */ - public JavaHelpers reflectType(String aPackageName, String aTypeName, ResourceSet set) { - if (aTypeName != null && aPackageName != null) { - org.eclipse.jem.internal.java.init.JavaInit.init(); - JavaURL url = new JavaURL(aPackageName, aTypeName); - return (JavaHelpers) set.getEObject(URI.createURI(url.getFullString()), true); - } - return null; - } - - /* (non-Javadoc) - * @see org.eclipse.jem.java.JavaRefFactory#reflectPackage(java.lang.String, org.eclipse.emf.ecore.resource.ResourceSet) - */ - public JavaPackage reflectPackage(String packageName, ResourceSet set) { - if (packageName != null) { - org.eclipse.jem.internal.java.init.JavaInit.init(); - JavaURL url = new JavaURL(packageName, JavaPackage.PACKAGE_ID); - return (JavaPackage) set.getEObject(URI.createURI(url.getFullString()), true); - } - return null; - } - -} - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaRefPackageImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaRefPackageImpl.java deleted file mode 100644 index 6613082..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/JavaRefPackageImpl.java +++ /dev/null
@@ -1,1000 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaRefPackageImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/14 00:16:44 $ - */ -import java.util.List; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.impl.EcorePackageImpl; - - -import org.eclipse.jem.java.ArrayType; -import org.eclipse.jem.java.Block; -import org.eclipse.jem.java.Comment; -import org.eclipse.jem.java.Field; -import org.eclipse.jem.java.Initializer; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaDataType; -import org.eclipse.jem.java.JavaEvent; -import org.eclipse.jem.java.JavaHelpers; -import org.eclipse.jem.java.JavaPackage; -import org.eclipse.jem.java.JavaParameter; -import org.eclipse.jem.java.JavaParameterKind; -import org.eclipse.jem.java.JavaRefFactory; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.JavaVisibilityKind; -import org.eclipse.jem.java.Method; -import org.eclipse.jem.java.Statement; -import org.eclipse.jem.java.TypeKind; - - -/** - * @lastgen class JavaRefPackageImpl extends EPackageImpl implements JavaRefPackage, EPackage {} - */ -public class JavaRefPackageImpl extends EPackageImpl implements JavaRefPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaClassEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass initializerEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaParameterEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass methodEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass fieldEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass blockEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass commentEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass statementEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaPackageEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaDataTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass arrayTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaEventEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum typeKindEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum javaVisibilityKindEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum javaParameterKindEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType jTypeJavaHelpersEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType jTypeListEDataType = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - private JavaRefPackageImpl() { - super(eNS_URI, JavaRefFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * @generated This field/method will be replaced during code generation. - */ - public static JavaRefPackage init() { - if (isInited) return (JavaRefPackage)EPackage.Registry.INSTANCE.get(JavaRefPackage.eNS_URI); - - // Obtain or create and register package. - JavaRefPackageImpl theJavaRefPackage = (JavaRefPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new JavaRefPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackageImpl.init(); - - // Obtain or create and register interdependencies - - // Step 1: create meta-model objects - theJavaRefPackage.createPackageContents(); - - // Step 2: complete initialization - theJavaRefPackage.initializePackageContents(); - - return theJavaRefPackage; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJavaClass() { - return javaClassEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJavaClass_Kind() { - return (EAttribute)javaClassEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaClass_Public() { - return (EAttribute)javaClassEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaClass_Final() { - return (EAttribute)javaClassEClass.getEStructuralFeatures().get(2); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_ImplementsInterfaces() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(3); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_ClassImport() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(4); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_PackageImports() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(5); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_Fields() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(6); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_Methods() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(7); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_Initializers() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(8); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_DeclaringClass() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(10); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_DeclaredClasses() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(9); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_JavaPackage() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(11); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_Events() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(12); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaClass_AllEvents() { - return (EReference)javaClassEClass.getEStructuralFeatures().get(13); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getField() { - return fieldEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getField_Final() { - return (EAttribute)fieldEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getField_Static() { - return (EAttribute)fieldEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getField_JavaVisibility() { - return (EAttribute)fieldEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getField_Transient() { - return (EAttribute)fieldEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getField_Volatile() { - return (EAttribute)fieldEClass.getEStructuralFeatures().get(4); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getField_JavaClass() { - return (EReference)fieldEClass.getEStructuralFeatures().get(5); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getField_Initializer() { - return (EReference)fieldEClass.getEStructuralFeatures().get(6); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getMethod() { - return methodEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethod_Abstract() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethod_Native() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethod_Synchronized() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethod_Final() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethod_Constructor() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethod_Static() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(5); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getMethod_JavaVisibility() { - return (EAttribute)methodEClass.getEStructuralFeatures().get(6); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getMethod_Parameters() { - return (EReference)methodEClass.getEStructuralFeatures().get(7); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getMethod_JavaExceptions() { - return (EReference)methodEClass.getEStructuralFeatures().get(8); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getMethod_JavaClass() { - return (EReference)methodEClass.getEStructuralFeatures().get(9); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getMethod_Source() { - return (EReference)methodEClass.getEStructuralFeatures().get(10); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJavaParameter() { - return javaParameterEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaParameter_Final() { - return (EAttribute)javaParameterEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJavaParameter_ParameterKind() { - return (EAttribute)javaParameterEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getArrayType() { - return arrayTypeEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getArrayType_ArrayDimensions() { - return (EAttribute)arrayTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getArrayType_ComponentType() { - return (EReference)arrayTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJavaDataType() { - return javaDataTypeEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJavaEvent() { - return javaEventEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJavaPackage() { - return javaPackageEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJavaPackage_JavaClasses() { - return (EReference)javaPackageEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getBlock() { - return blockEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getBlock_Source() { - return (EAttribute)blockEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getBlock_Name() { - return (EAttribute)blockEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getBlock_Contents() { - return (EReference)blockEClass.getEStructuralFeatures().get(2); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getComment() { - return commentEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getStatement() { - return statementEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getInitializer() { - return initializerEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getInitializer_IsStatic() { - return (EAttribute)initializerEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getInitializer_JavaClass() { - return (EReference)initializerEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getInitializer_Source() { - return (EReference)initializerEClass.getEStructuralFeatures().get(2); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EEnum getJavaVisibilityKind() { - return javaVisibilityKindEEnum; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EEnum getJavaParameterKind() { - return javaParameterKindEEnum; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EEnum getTypeKind() { - return typeKindEEnum; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EDataType getJTypeList() { - return jTypeListEDataType; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EDataType getJTypeJavaHelpers() { - return jTypeJavaHelpersEDataType; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JavaRefFactory getJavaRefFactory() { - return (JavaRefFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - javaClassEClass = createEClass(JAVA_CLASS); - createEAttribute(javaClassEClass, JAVA_CLASS__KIND); - createEAttribute(javaClassEClass, JAVA_CLASS__PUBLIC); - createEAttribute(javaClassEClass, JAVA_CLASS__FINAL); - createEReference(javaClassEClass, JAVA_CLASS__IMPLEMENTS_INTERFACES); - createEReference(javaClassEClass, JAVA_CLASS__CLASS_IMPORT); - createEReference(javaClassEClass, JAVA_CLASS__PACKAGE_IMPORTS); - createEReference(javaClassEClass, JAVA_CLASS__FIELDS); - createEReference(javaClassEClass, JAVA_CLASS__METHODS); - createEReference(javaClassEClass, JAVA_CLASS__INITIALIZERS); - createEReference(javaClassEClass, JAVA_CLASS__DECLARED_CLASSES); - createEReference(javaClassEClass, JAVA_CLASS__DECLARING_CLASS); - createEReference(javaClassEClass, JAVA_CLASS__JAVA_PACKAGE); - createEReference(javaClassEClass, JAVA_CLASS__EVENTS); - createEReference(javaClassEClass, JAVA_CLASS__ALL_EVENTS); - - initializerEClass = createEClass(INITIALIZER); - createEAttribute(initializerEClass, INITIALIZER__IS_STATIC); - createEReference(initializerEClass, INITIALIZER__JAVA_CLASS); - createEReference(initializerEClass, INITIALIZER__SOURCE); - - javaParameterEClass = createEClass(JAVA_PARAMETER); - createEAttribute(javaParameterEClass, JAVA_PARAMETER__FINAL); - createEAttribute(javaParameterEClass, JAVA_PARAMETER__PARAMETER_KIND); - - methodEClass = createEClass(METHOD); - createEAttribute(methodEClass, METHOD__ABSTRACT); - createEAttribute(methodEClass, METHOD__NATIVE); - createEAttribute(methodEClass, METHOD__SYNCHRONIZED); - createEAttribute(methodEClass, METHOD__FINAL); - createEAttribute(methodEClass, METHOD__CONSTRUCTOR); - createEAttribute(methodEClass, METHOD__STATIC); - createEAttribute(methodEClass, METHOD__JAVA_VISIBILITY); - createEReference(methodEClass, METHOD__PARAMETERS); - createEReference(methodEClass, METHOD__JAVA_EXCEPTIONS); - createEReference(methodEClass, METHOD__JAVA_CLASS); - createEReference(methodEClass, METHOD__SOURCE); - - fieldEClass = createEClass(FIELD); - createEAttribute(fieldEClass, FIELD__FINAL); - createEAttribute(fieldEClass, FIELD__STATIC); - createEAttribute(fieldEClass, FIELD__JAVA_VISIBILITY); - createEAttribute(fieldEClass, FIELD__TRANSIENT); - createEAttribute(fieldEClass, FIELD__VOLATILE); - createEReference(fieldEClass, FIELD__JAVA_CLASS); - createEReference(fieldEClass, FIELD__INITIALIZER); - - blockEClass = createEClass(BLOCK); - createEAttribute(blockEClass, BLOCK__SOURCE); - createEAttribute(blockEClass, BLOCK__NAME); - createEReference(blockEClass, BLOCK__CONTENTS); - - commentEClass = createEClass(COMMENT); - - statementEClass = createEClass(STATEMENT); - - javaPackageEClass = createEClass(JAVA_PACKAGE); - createEReference(javaPackageEClass, JAVA_PACKAGE__JAVA_CLASSES); - - javaDataTypeEClass = createEClass(JAVA_DATA_TYPE); - - arrayTypeEClass = createEClass(ARRAY_TYPE); - createEAttribute(arrayTypeEClass, ARRAY_TYPE__ARRAY_DIMENSIONS); - createEReference(arrayTypeEClass, ARRAY_TYPE__COMPONENT_TYPE); - - javaEventEClass = createEClass(JAVA_EVENT); - - // Create enums - typeKindEEnum = createEEnum(TYPE_KIND); - javaVisibilityKindEEnum = createEEnum(JAVA_VISIBILITY_KIND); - javaParameterKindEEnum = createEEnum(JAVA_PARAMETER_KIND); - - // Create data types - jTypeJavaHelpersEDataType = createEDataType(JTYPE_JAVA_HELPERS); - jTypeListEDataType = createEDataType(JTYPE_LIST); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - - // Add supertypes to classes - javaClassEClass.getESuperTypes().add(theEcorePackage.getEClass()); - javaParameterEClass.getESuperTypes().add(theEcorePackage.getEParameter()); - methodEClass.getESuperTypes().add(theEcorePackage.getEOperation()); - fieldEClass.getESuperTypes().add(theEcorePackage.getETypedElement()); - commentEClass.getESuperTypes().add(this.getBlock()); - statementEClass.getESuperTypes().add(this.getBlock()); - javaPackageEClass.getESuperTypes().add(theEcorePackage.getEPackage()); - javaDataTypeEClass.getESuperTypes().add(theEcorePackage.getEClass()); - arrayTypeEClass.getESuperTypes().add(this.getJavaClass()); - javaEventEClass.getESuperTypes().add(theEcorePackage.getEStructuralFeature()); - - // Initialize classes and features; add operations and parameters - initEClass(javaClassEClass, JavaClass.class, "JavaClass", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getJavaClass_Kind(), this.getTypeKind(), "kind", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getJavaClass_Public(), ecorePackage.getEBoolean(), "public", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getJavaClass_Final(), ecorePackage.getEBoolean(), "final", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_ImplementsInterfaces(), this.getJavaClass(), null, "implementsInterfaces", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_ClassImport(), this.getJavaClass(), null, "classImport", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_PackageImports(), this.getJavaPackage(), null, "packageImports", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_Fields(), this.getField(), this.getField_JavaClass(), "fields", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_Methods(), this.getMethod(), this.getMethod_JavaClass(), "methods", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_Initializers(), this.getInitializer(), this.getInitializer_JavaClass(), "initializers", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_DeclaredClasses(), this.getJavaClass(), this.getJavaClass_DeclaringClass(), "declaredClasses", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_DeclaringClass(), this.getJavaClass(), this.getJavaClass_DeclaredClasses(), "declaringClass", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_JavaPackage(), this.getJavaPackage(), this.getJavaPackage_JavaClasses(), "javaPackage", null, 0, 1, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_Events(), this.getJavaEvent(), null, "events", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getJavaClass_AllEvents(), this.getJavaEvent(), null, "allEvents", null, 0, -1, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - addEOperation(javaClassEClass, ecorePackage.getEBoolean(), "isNested"); - - EOperation op = addEOperation(javaClassEClass, this.getField(), "getField"); - addEParameter(op, ecorePackage.getEString(), "fieldName"); - - op = addEOperation(javaClassEClass, this.getField(), "getFieldExtended"); - addEParameter(op, ecorePackage.getEString(), "fieldName"); - - op = addEOperation(javaClassEClass, this.getField(), "getFieldNamed"); - addEParameter(op, ecorePackage.getEString(), "fieldName"); - - addEOperation(javaClassEClass, this.getJTypeList(), "getFieldsExtended"); - - op = addEOperation(javaClassEClass, this.getMethod(), "getMethod"); - addEParameter(op, ecorePackage.getEString(), "methodName"); - addEParameter(op, this.getJTypeList(), "parameterTypes"); - - addEOperation(javaClassEClass, this.getJTypeList(), "getMethodElementSignatures"); - - op = addEOperation(javaClassEClass, this.getMethod(), "getMethodExtended"); - addEParameter(op, ecorePackage.getEString(), "methodName"); - addEParameter(op, this.getJTypeList(), "parameterTypes"); - - addEOperation(javaClassEClass, this.getJTypeList(), "getMethodsExtended"); - - op = addEOperation(javaClassEClass, this.getJTypeList(), "getOnlySpecificMethods"); - addEParameter(op, ecorePackage.getEString(), "aMethodNamePrefix"); - addEParameter(op, this.getJTypeList(), "excludedNames"); - - op = addEOperation(javaClassEClass, this.getMethod(), "getPublicMethod"); - addEParameter(op, ecorePackage.getEString(), "methodName"); - addEParameter(op, this.getJTypeList(), "parameterTypes"); - - addEOperation(javaClassEClass, this.getJTypeList(), "getPublicMethods"); - - addEOperation(javaClassEClass, this.getJTypeList(), "getPublicMethodsExtended"); - - op = addEOperation(javaClassEClass, this.getJTypeList(), "getPublicMethodsNamed"); - addEParameter(op, ecorePackage.getEString(), "name"); - - addEOperation(javaClassEClass, this.getJavaClass(), "getSupertype"); - - op = addEOperation(javaClassEClass, ecorePackage.getEBoolean(), "implementsInterface"); - addEParameter(op, this.getJavaClass(), "interfaceType"); - - addEOperation(javaClassEClass, ecorePackage.getEString(), "infoString"); - - op = addEOperation(javaClassEClass, ecorePackage.getEBoolean(), "inheritsFrom"); - addEParameter(op, this.getJavaClass(), "javaClass"); - - addEOperation(javaClassEClass, ecorePackage.getEBoolean(), "isExistingType"); - - addEOperation(javaClassEClass, ecorePackage.getEBoolean(), "isInterface"); - - op = addEOperation(javaClassEClass, null, "setSupertype"); - addEParameter(op, this.getJavaClass(), "javaclass"); - - initEClass(initializerEClass, Initializer.class, "Initializer", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getInitializer_IsStatic(), ecorePackage.getEBooleanObject(), "isStatic", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getInitializer_JavaClass(), this.getJavaClass(), this.getJavaClass_Initializers(), "javaClass", null, 0, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getInitializer_Source(), this.getBlock(), null, "source", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(javaParameterEClass, JavaParameter.class, "JavaParameter", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getJavaParameter_Final(), ecorePackage.getEBoolean(), "final", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getJavaParameter_ParameterKind(), this.getJavaParameterKind(), "parameterKind", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - - addEOperation(javaParameterEClass, ecorePackage.getEBoolean(), "isArray"); - - addEOperation(javaParameterEClass, ecorePackage.getEBoolean(), "isReturn"); - - addEOperation(javaParameterEClass, this.getJTypeJavaHelpers(), "getJavaType"); - - addEOperation(javaParameterEClass, ecorePackage.getEString(), "getQualifiedName"); - - initEClass(methodEClass, Method.class, "Method", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getMethod_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getMethod_Native(), ecorePackage.getEBoolean(), "native", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getMethod_Synchronized(), ecorePackage.getEBoolean(), "synchronized", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getMethod_Final(), ecorePackage.getEBoolean(), "final", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getMethod_Constructor(), ecorePackage.getEBoolean(), "constructor", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getMethod_Static(), ecorePackage.getEBoolean(), "static", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getMethod_JavaVisibility(), this.getJavaVisibilityKind(), "javaVisibility", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getMethod_Parameters(), this.getJavaParameter(), null, "parameters", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getMethod_JavaExceptions(), this.getJavaClass(), null, "javaExceptions", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getMethod_JavaClass(), this.getJavaClass(), this.getJavaClass_Methods(), "javaClass", null, 0, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getMethod_Source(), this.getBlock(), null, "source", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - addEOperation(methodEClass, this.getJavaClass(), "getContainingJavaClass"); - - addEOperation(methodEClass, ecorePackage.getEString(), "getMethodElementSignature"); - - op = addEOperation(methodEClass, this.getJavaParameter(), "getParameter"); - addEParameter(op, ecorePackage.getEString(), "parameterName"); - - addEOperation(methodEClass, this.getJTypeJavaHelpers(), "getReturnType"); - - op = addEOperation(methodEClass, null, "setReturnType"); - addEParameter(op, this.getJTypeJavaHelpers(), "type"); - - addEOperation(methodEClass, ecorePackage.getEString(), "getSignature"); - - addEOperation(methodEClass, ecorePackage.getEBoolean(), "isGenerated"); - - op = addEOperation(methodEClass, null, "setIsGenerated"); - addEParameter(op, ecorePackage.getEBoolean(), "generated"); - - addEOperation(methodEClass, ecorePackage.getEBoolean(), "isVoid"); - - initEClass(fieldEClass, Field.class, "Field", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getField_Final(), ecorePackage.getEBoolean(), "final", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getField_Static(), ecorePackage.getEBoolean(), "static", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getField_JavaVisibility(), this.getJavaVisibilityKind(), "javaVisibility", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getField_Transient(), ecorePackage.getEBoolean(), "transient", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getField_Volatile(), ecorePackage.getEBoolean(), "volatile", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getField_JavaClass(), this.getJavaClass(), this.getJavaClass_Fields(), "javaClass", null, 0, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - initEReference(getField_Initializer(), this.getBlock(), null, "initializer", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - addEOperation(fieldEClass, this.getJavaClass(), "getContainingJavaClass"); - - addEOperation(fieldEClass, ecorePackage.getEBoolean(), "isArray"); - - initEClass(blockEClass, Block.class, "Block", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getBlock_Source(), ecorePackage.getEString(), "source", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEAttribute(getBlock_Name(), ecorePackage.getEString(), "name", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getBlock_Contents(), this.getBlock(), null, "contents", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(commentEClass, Comment.class, "Comment", !IS_ABSTRACT, !IS_INTERFACE); - - initEClass(statementEClass, Statement.class, "Statement", !IS_ABSTRACT, !IS_INTERFACE); - - initEClass(javaPackageEClass, JavaPackage.class, "JavaPackage", !IS_ABSTRACT, !IS_INTERFACE); - initEReference(getJavaPackage_JavaClasses(), this.getJavaClass(), this.getJavaClass_JavaPackage(), "javaClasses", null, 0, -1, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - initEClass(javaDataTypeEClass, JavaDataType.class, "JavaDataType", !IS_ABSTRACT, !IS_INTERFACE); - - addEOperation(javaDataTypeEClass, ecorePackage.getEString(), "getDefaultValueString"); - - initEClass(arrayTypeEClass, ArrayType.class, "ArrayType", !IS_ABSTRACT, !IS_INTERFACE); - initEAttribute(getArrayType_ArrayDimensions(), ecorePackage.getEInt(), "arrayDimensions", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED); - initEReference(getArrayType_ComponentType(), theEcorePackage.getEClassifier(), null, "componentType", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED); - - addEOperation(arrayTypeEClass, this.getJTypeJavaHelpers(), "getFinalComponentType"); - - addEOperation(arrayTypeEClass, this.getJTypeJavaHelpers(), "getComponentTypeAsHelper"); - - addEOperation(arrayTypeEClass, ecorePackage.getEBoolean(), "isPrimitiveArray"); - - op = addEOperation(arrayTypeEClass, null, "setComponentType"); - addEParameter(op, this.getJTypeJavaHelpers(), "helperComponentType"); - - initEClass(javaEventEClass, JavaEvent.class, "JavaEvent", IS_ABSTRACT, !IS_INTERFACE); - - // Initialize enums and add enum literals - initEEnum(typeKindEEnum, TypeKind.class, "TypeKind"); - addEEnumLiteral(typeKindEEnum, TypeKind.UNDEFINED_LITERAL); - addEEnumLiteral(typeKindEEnum, TypeKind.CLASS_LITERAL); - addEEnumLiteral(typeKindEEnum, TypeKind.INTERFACE_LITERAL); - addEEnumLiteral(typeKindEEnum, TypeKind.EXCEPTION_LITERAL); - - initEEnum(javaVisibilityKindEEnum, JavaVisibilityKind.class, "JavaVisibilityKind"); - addEEnumLiteral(javaVisibilityKindEEnum, JavaVisibilityKind.PUBLIC_LITERAL); - addEEnumLiteral(javaVisibilityKindEEnum, JavaVisibilityKind.PRIVATE_LITERAL); - addEEnumLiteral(javaVisibilityKindEEnum, JavaVisibilityKind.PROTECTED_LITERAL); - addEEnumLiteral(javaVisibilityKindEEnum, JavaVisibilityKind.PACKAGE_LITERAL); - - initEEnum(javaParameterKindEEnum, JavaParameterKind.class, "JavaParameterKind"); - addEEnumLiteral(javaParameterKindEEnum, JavaParameterKind.IN_LITERAL); - addEEnumLiteral(javaParameterKindEEnum, JavaParameterKind.OUT_LITERAL); - addEEnumLiteral(javaParameterKindEEnum, JavaParameterKind.INOUT_LITERAL); - addEEnumLiteral(javaParameterKindEEnum, JavaParameterKind.RETURN_LITERAL); - - // Initialize data types - initEDataType(jTypeJavaHelpersEDataType, JavaHelpers.class, "JTypeJavaHelpers", IS_SERIALIZABLE); - initEDataType(jTypeListEDataType, List.class, "JTypeList", IS_SERIALIZABLE); - - // Create resource - createResource(eNS_URI); - } -} //JavaRefPackageImpl - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/MethodImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/MethodImpl.java deleted file mode 100644 index d33abc8..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/MethodImpl.java +++ /dev/null
@@ -1,1062 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: MethodImpl.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/14 00:16:44 $ - */ - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EOperationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - - -import org.eclipse.jem.java.Block; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jem.java.JavaHelpers; -import org.eclipse.jem.java.JavaParameter; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.JavaVisibilityKind; -import org.eclipse.jem.java.Method; -import org.eclipse.jem.internal.java.adapters.ReadAdaptor; - -/** - * @generated - */ -public class MethodImpl extends EOperationImpl implements Method{ - protected String signature; - - /** - * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isAbstract() - * @generated - * @ordered - */ - protected static final boolean ABSTRACT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isAbstract() - * @generated - * @ordered - */ - protected boolean abstract_ = ABSTRACT_EDEFAULT; - - /** - * The default value of the '{@link #isNative() <em>Native</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isNative() - * @generated - * @ordered - */ - protected static final boolean NATIVE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNative() <em>Native</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isNative() - * @generated - * @ordered - */ - protected boolean native_ = NATIVE_EDEFAULT; - - /** - * The default value of the '{@link #isSynchronized() <em>Synchronized</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSynchronized() - * @generated - * @ordered - */ - protected static final boolean SYNCHRONIZED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isSynchronized() <em>Synchronized</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSynchronized() - * @generated - * @ordered - */ - protected boolean synchronized_ = SYNCHRONIZED_EDEFAULT; - - /** - * The default value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected static final boolean FINAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFinal() <em>Final</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFinal() - * @generated - * @ordered - */ - protected boolean final_ = FINAL_EDEFAULT; - - /** - * The default value of the '{@link #isConstructor() <em>Constructor</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isConstructor() - * @generated - * @ordered - */ - protected static final boolean CONSTRUCTOR_EDEFAULT = false; - - /** - * The cached value of the '{@link #isConstructor() <em>Constructor</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isConstructor() - * @generated - * @ordered - */ - protected boolean constructor = CONSTRUCTOR_EDEFAULT; - - /** - * The default value of the '{@link #isStatic() <em>Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isStatic() - * @generated - * @ordered - */ - protected static final boolean STATIC_EDEFAULT = false; - - /** - * The cached value of the '{@link #isStatic() <em>Static</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isStatic() - * @generated - * @ordered - */ - protected boolean static_ = STATIC_EDEFAULT; - - /** - * The default value of the '{@link #getJavaVisibility() <em>Java Visibility</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaVisibility() - * @generated - * @ordered - */ - protected static final JavaVisibilityKind JAVA_VISIBILITY_EDEFAULT = JavaVisibilityKind.PUBLIC_LITERAL; - - public static final String copyright = "(c) Copyright IBM Corporation 2001."; - private transient boolean isGenerated = false; - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaVisibilityKind javaVisibility = JAVA_VISIBILITY_EDEFAULT; - /** - * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParameters() - * @generated - * @ordered - */ - protected EList parameters = null; - - /** - * The cached value of the '{@link #getJavaExceptions() <em>Java Exceptions</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaExceptions() - * @generated - * @ordered - */ - protected EList javaExceptions = null; - - /** - * The cached value of the '{@link #getSource() <em>Source</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSource() - * @generated - * @ordered - */ - protected Block source = null; - - protected MethodImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getMethod(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isAbstractGen() { - return abstract_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAbstract(boolean newAbstract) { - boolean oldAbstract = abstract_; - abstract_ = newAbstract; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__ABSTRACT, oldAbstract, abstract_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isNativeGen() { - return native_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNative(boolean newNative) { - boolean oldNative = native_; - native_ = newNative; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__NATIVE, oldNative, native_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSynchronizedGen() { - return synchronized_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSynchronized(boolean newSynchronized) { - boolean oldSynchronized = synchronized_; - synchronized_ = newSynchronized; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__SYNCHRONIZED, oldSynchronized, synchronized_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isFinalGen() { - return final_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFinal(boolean newFinal) { - boolean oldFinal = final_; - final_ = newFinal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__FINAL, oldFinal, final_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isConstructorGen() { - return constructor; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConstructor(boolean newConstructor) { - boolean oldConstructor = constructor; - constructor = newConstructor; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__CONSTRUCTOR, oldConstructor, constructor)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isStaticGen() { - return static_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStatic(boolean newStatic) { - boolean oldStatic = static_; - static_ = newStatic; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__STATIC, oldStatic, static_)); - } - - /** - * Return the java class that this method is defined in. - */ - public JavaClass getContainingJavaClass() { - return this.getJavaClass(); - } - /** - * Overrides to ensure reflection is done. - */ - public boolean isAbstract() { - if (!hasReflected) reflectValues(); - return isAbstractGen(); - } - public boolean isConstructor() { - if (!hasReflected) reflectValues(); - return isConstructorGen(); - } - public boolean isFinal() { - if (!hasReflected) reflectValues(); - return isFinalGen(); - } - public boolean isNative() { - if (!hasReflected) reflectValues(); - return isNativeGen(); - } - public boolean isStatic() { - if (!hasReflected) reflectValues(); - return isStaticGen(); - } - public boolean isSynchronized() { - if (!hasReflected) reflectValues(); - return isSynchronizedGen(); - } - public EList getJavaExceptions() { - if (!hasReflected) reflectValues(); - return getJavaExceptionsGen(); - } - public JavaVisibilityKind getJavaVisibility() { - if (!hasReflected) reflectValues(); - return getJavaVisibilityGen(); - } - public EList getParameters() { - if (!hasReflected) reflectValues(); - return getParametersGen(); - } - - /** - * @see org.eclipse.emf.ecore.ETypedElement#getEType() - */ - public EClassifier getEType() { - if (!hasReflected) reflectValues(); - return getETypeGen(); - } - - public EClassifier getETypeGen() { - return super.getEType(); - } - - - /** - * Return a String with the the method name and its parameters. e.g. <code> setFirstName(java.lang.String) <//code> . - * - */ - public String getMethodElementSignature() { - StringBuffer sb = new StringBuffer(75); - sb.append(getName()); - sb.append("("); - List params = getParameters(); - JavaParameter param; - int parmSize = params.size(); - int commaTest = 0; - for (int j = 0; j < parmSize; j++) { - if (j > commaTest) { - sb.append(","); - } - param = (JavaParameter) params.get(j); -//FB if (param.isReturn()) { -//FB commaTest ++; -//FB continue; -//FB } - sb.append(((JavaHelpers) param.getEType()).getQualifiedName()); - } - sb.append(")"); - return sb.toString(); - } - /** - * Return a Parameter with the passed name, or null. - */ - public JavaParameter getParameter(String parameterName) { - List parms = getParameters(); - JavaParameter parm; - int parmSize = parms.size(); - for (int j = 0; j < parmSize; j++) { - parm = (JavaParameter) parms.get(j); - if (parm.getName().equals(parameterName)) - return parm; - } - return null; - } - - /** - * Return a ReadAdaptor which can reflect our Java properties - */ - protected ReadAdaptor getReadAdaptor() { - return (ReadAdaptor)EcoreUtil.getRegisteredAdapter(this, ReadAdaptor.TYPE_KEY); - } - - protected boolean hasReflected = false; - - protected void reflectValues() - { - ReadAdaptor readAdaptor = getReadAdaptor(); - if (readAdaptor != null) hasReflected = readAdaptor.reflectValuesIfNecessary(); - } - - /** - * Get the return type. - */ - public JavaHelpers getReturnType() { - return (JavaHelpers)getEType(); - } - - public String getSignature() { - if (signature == null) - signature = doGetSignature(); - return signature; - } - - /** - * Replicate the functionality of java.lang.reflect.Method.toString(). - * - * Returns a string describing this Method. The string is formatted as the method access modifiers, if any, followed by the method return type, followed by a space, followed by the class declaring the method, followed by a period, followed by the method name, followed by a parenthesized, comma-separated list of the method's formal parameter types. If the method throws checked exceptions, the parameter list is followed by a space, followed by the word throws followed by a comma-separated list of the thrown exception types. - * - * For example: - * - * public boolean java.lang.Object.equals(java.lang.Object) - * - * The access modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, <tt>protected<//tt> or <tt>private<//tt> first, and then other modifiers in the following order: <tt>abstract<//tt>, <tt>static<//tt>, <tt>final<//tt>, <tt>synchronized<//tt> <tt>native<//tt>. - - */ - protected String doGetSignature() { - StringBuffer sb = new StringBuffer(); - switch (getJavaVisibility().getValue()) - { - case JavaVisibilityKind.PUBLIC: - sb.append("Public "); - break; - case JavaVisibilityKind.PROTECTED: - sb.append("Protected "); - break; - case JavaVisibilityKind.PRIVATE: - sb.append("Private "); - break; - case JavaVisibilityKind.PACKAGE: - sb.append("Package "); - break; - } - if (isAbstract()) - sb.append("abstract "); - if (isStatic()) - sb.append("static "); - if (isFinal()) - sb.append("final "); - if (isSynchronized()) - sb.append("synchronized "); - if (isNative()) - sb.append("native "); - if (isVoid()) - sb.append("void "); - else - sb.append(((JavaHelpers) getReturnType()).getQualifiedName() + " "); - sb.append(getContainingJavaClass().getJavaName() + "."); - sb.append(getName() + "("); - List params = getParameters(); - JavaParameter param; - int parmSize = params.size(); - for (int j = 0; j < parmSize; j++) { - param = (JavaParameter) params.get(j); -//FB if (param.isReturn()) -//FB continue; // listParameters() includes return type in array - sb.append(((JavaHelpers) param.getEType()).getQualifiedName()); - if (j < (params.size() - 1)) { - sb.append(","); - } - } - sb.append(")"); - List exceptions = getJavaExceptions(); - JavaClass exception; - if (exceptions.size() > 0) { - sb.append(" throws "); - for (int k = 0; k < exceptions.size(); k++) { - exception = (JavaClass) exceptions.get(k); - sb.append(exception.getJavaName()); - if (k < (exceptions.size() - 1)) { - sb.append(","); - } - } - } - return sb.toString(); - } - /** - * Returns true if the method is system generated. - * This is usually determined by the "generated" tag in the comment. - */ - public boolean isGenerated() { - return isGenerated; - } - - /** - * Is this a void return type method. - */ - public boolean isVoid() { -//FB return (getReturnParameter() == null || "void".equals(getReturnType().getName())); - return (getReturnType() == null || "void".equals(getReturnType().getName())); - } - public JavaParameter[] listParametersWithoutReturn() { - Collection v = getParameters(); - JavaParameter[] result = new JavaParameter[v.size()]; - v.toArray(result); - return result; - } - - public EList eContents() { - EList results = new BasicEList(); - results.addAll(getParametersGen()); //FB - return results; - } - /** - * Set the isGenerated flag. - */ - public void setIsGenerated(boolean generated) { - isGenerated = generated; - } - /** - * Set the return type - */ - public void setReturnType(JavaHelpers type) { - this.setEType(type); - } - /** - * @generated This field/method will be replaced during code generation - */ - public JavaVisibilityKind getJavaVisibilityGen() { - return javaVisibility; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaVisibility(JavaVisibilityKind newJavaVisibility) { - JavaVisibilityKind oldJavaVisibility = javaVisibility; - javaVisibility = newJavaVisibility == null ? JAVA_VISIBILITY_EDEFAULT : newJavaVisibility; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__JAVA_VISIBILITY, oldJavaVisibility, javaVisibility)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JavaClass getJavaClass() { - if (eContainerFeatureID != JavaRefPackage.METHOD__JAVA_CLASS) return null; - return (JavaClass)eContainer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaClass(JavaClass newJavaClass) { - if (newJavaClass != eContainer || (eContainerFeatureID != JavaRefPackage.METHOD__JAVA_CLASS && newJavaClass != null)) { - if (EcoreUtil.isAncestor(this, newJavaClass)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newJavaClass != null) - msgs = ((InternalEObject)newJavaClass).eInverseAdd(this, JavaRefPackage.JAVA_CLASS__METHODS, JavaClass.class, msgs); - msgs = eBasicSetContainer((InternalEObject)newJavaClass, JavaRefPackage.METHOD__JAVA_CLASS, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__JAVA_CLASS, newJavaClass, newJavaClass)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public Block getSource() { - if (source != null && source.eIsProxy()) { - Block oldSource = source; - source = (Block)eResolveProxy((InternalEObject)source); - if (source != oldSource) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, JavaRefPackage.METHOD__SOURCE, oldSource, source)); - } - } - return source; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Block basicGetSource() { - return source; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSource(Block newSource) { - Block oldSource = source; - source = newSource; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaRefPackage.METHOD__SOURCE, oldSource, source)); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.METHOD__EANNOTATIONS: - return eAnnotations != null && !eAnnotations.isEmpty(); - case JavaRefPackage.METHOD__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.METHOD__ORDERED: - return ordered != ORDERED_EDEFAULT; - case JavaRefPackage.METHOD__UNIQUE: - return unique != UNIQUE_EDEFAULT; - case JavaRefPackage.METHOD__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case JavaRefPackage.METHOD__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case JavaRefPackage.METHOD__MANY: - return isMany() != false; - case JavaRefPackage.METHOD__REQUIRED: - return isRequired() != false; - case JavaRefPackage.METHOD__ETYPE: - return eType != null; - case JavaRefPackage.METHOD__ECONTAINING_CLASS: - return getEContainingClass() != null; - case JavaRefPackage.METHOD__EPARAMETERS: - return eParameters != null && !eParameters.isEmpty(); - case JavaRefPackage.METHOD__EEXCEPTIONS: - return eExceptions != null && !eExceptions.isEmpty(); - case JavaRefPackage.METHOD__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case JavaRefPackage.METHOD__NATIVE: - return native_ != NATIVE_EDEFAULT; - case JavaRefPackage.METHOD__SYNCHRONIZED: - return synchronized_ != SYNCHRONIZED_EDEFAULT; - case JavaRefPackage.METHOD__FINAL: - return final_ != FINAL_EDEFAULT; - case JavaRefPackage.METHOD__CONSTRUCTOR: - return constructor != CONSTRUCTOR_EDEFAULT; - case JavaRefPackage.METHOD__STATIC: - return static_ != STATIC_EDEFAULT; - case JavaRefPackage.METHOD__JAVA_VISIBILITY: - return javaVisibility != JAVA_VISIBILITY_EDEFAULT; - case JavaRefPackage.METHOD__PARAMETERS: - return parameters != null && !parameters.isEmpty(); - case JavaRefPackage.METHOD__JAVA_EXCEPTIONS: - return javaExceptions != null && !javaExceptions.isEmpty(); - case JavaRefPackage.METHOD__JAVA_CLASS: - return getJavaClass() != null; - case JavaRefPackage.METHOD__SOURCE: - return source != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.METHOD__EANNOTATIONS: - getEAnnotations().clear(); - getEAnnotations().addAll((Collection)newValue); - return; - case JavaRefPackage.METHOD__NAME: - setName((String)newValue); - return; - case JavaRefPackage.METHOD__ORDERED: - setOrdered(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__UNIQUE: - setUnique(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__LOWER_BOUND: - setLowerBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.METHOD__UPPER_BOUND: - setUpperBound(((Integer)newValue).intValue()); - return; - case JavaRefPackage.METHOD__ETYPE: - setEType((EClassifier)newValue); - return; - case JavaRefPackage.METHOD__EPARAMETERS: - getEParameters().clear(); - getEParameters().addAll((Collection)newValue); - return; - case JavaRefPackage.METHOD__EEXCEPTIONS: - getEExceptions().clear(); - getEExceptions().addAll((Collection)newValue); - return; - case JavaRefPackage.METHOD__ABSTRACT: - setAbstract(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__NATIVE: - setNative(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__SYNCHRONIZED: - setSynchronized(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__FINAL: - setFinal(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__CONSTRUCTOR: - setConstructor(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__STATIC: - setStatic(((Boolean)newValue).booleanValue()); - return; - case JavaRefPackage.METHOD__JAVA_VISIBILITY: - setJavaVisibility((JavaVisibilityKind)newValue); - return; - case JavaRefPackage.METHOD__PARAMETERS: - getParameters().clear(); - getParameters().addAll((Collection)newValue); - return; - case JavaRefPackage.METHOD__JAVA_EXCEPTIONS: - getJavaExceptions().clear(); - getJavaExceptions().addAll((Collection)newValue); - return; - case JavaRefPackage.METHOD__JAVA_CLASS: - setJavaClass((JavaClass)newValue); - return; - case JavaRefPackage.METHOD__SOURCE: - setSource((Block)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.METHOD__EANNOTATIONS: - getEAnnotations().clear(); - return; - case JavaRefPackage.METHOD__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.METHOD__ORDERED: - setOrdered(ORDERED_EDEFAULT); - return; - case JavaRefPackage.METHOD__UNIQUE: - setUnique(UNIQUE_EDEFAULT); - return; - case JavaRefPackage.METHOD__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case JavaRefPackage.METHOD__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case JavaRefPackage.METHOD__ETYPE: - setEType((EClassifier)null); - return; - case JavaRefPackage.METHOD__EPARAMETERS: - getEParameters().clear(); - return; - case JavaRefPackage.METHOD__EEXCEPTIONS: - getEExceptions().clear(); - return; - case JavaRefPackage.METHOD__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case JavaRefPackage.METHOD__NATIVE: - setNative(NATIVE_EDEFAULT); - return; - case JavaRefPackage.METHOD__SYNCHRONIZED: - setSynchronized(SYNCHRONIZED_EDEFAULT); - return; - case JavaRefPackage.METHOD__FINAL: - setFinal(FINAL_EDEFAULT); - return; - case JavaRefPackage.METHOD__CONSTRUCTOR: - setConstructor(CONSTRUCTOR_EDEFAULT); - return; - case JavaRefPackage.METHOD__STATIC: - setStatic(STATIC_EDEFAULT); - return; - case JavaRefPackage.METHOD__JAVA_VISIBILITY: - setJavaVisibility(JAVA_VISIBILITY_EDEFAULT); - return; - case JavaRefPackage.METHOD__PARAMETERS: - getParameters().clear(); - return; - case JavaRefPackage.METHOD__JAVA_EXCEPTIONS: - getJavaExceptions().clear(); - return; - case JavaRefPackage.METHOD__JAVA_CLASS: - setJavaClass((JavaClass)null); - return; - case JavaRefPackage.METHOD__SOURCE: - setSource((Block)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (abstract: "); - result.append(abstract_); - result.append(", native: "); - result.append(native_); - result.append(", synchronized: "); - result.append(synchronized_); - result.append(", final: "); - result.append(final_); - result.append(", constructor: "); - result.append(constructor); - result.append(", static: "); - result.append(static_); - result.append(", javaVisibility: "); - result.append(javaVisibility); - result.append(')'); - return result.toString(); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EList getParametersGen() { - if (parameters == null) { - parameters = new EObjectContainmentEList(JavaParameter.class, this, JavaRefPackage.METHOD__PARAMETERS); - } - return parameters; - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EList getJavaExceptionsGen() { - if (javaExceptions == null) { - javaExceptions = new EObjectResolvingEList(JavaClass.class, this, JavaRefPackage.METHOD__JAVA_EXCEPTIONS); - } - return javaExceptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.METHOD__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicAdd(otherEnd, msgs); - case JavaRefPackage.METHOD__ECONTAINING_CLASS: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.METHOD__ECONTAINING_CLASS, msgs); - case JavaRefPackage.METHOD__EPARAMETERS: - return ((InternalEList)getEParameters()).basicAdd(otherEnd, msgs); - case JavaRefPackage.METHOD__JAVA_CLASS: - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, JavaRefPackage.METHOD__JAVA_CLASS, msgs); - default: - return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs); - } - } - if (eContainer != null) - msgs = eBasicRemoveFromContainer(msgs); - return eBasicSetContainer(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.METHOD__EANNOTATIONS: - return ((InternalEList)getEAnnotations()).basicRemove(otherEnd, msgs); - case JavaRefPackage.METHOD__ECONTAINING_CLASS: - return eBasicSetContainer(null, JavaRefPackage.METHOD__ECONTAINING_CLASS, msgs); - case JavaRefPackage.METHOD__EPARAMETERS: - return ((InternalEList)getEParameters()).basicRemove(otherEnd, msgs); - case JavaRefPackage.METHOD__PARAMETERS: - return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); - case JavaRefPackage.METHOD__JAVA_CLASS: - return eBasicSetContainer(null, JavaRefPackage.METHOD__JAVA_CLASS, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) { - if (eContainerFeatureID >= 0) { - switch (eContainerFeatureID) { - case JavaRefPackage.METHOD__ECONTAINING_CLASS: - return ((InternalEObject)eContainer).eInverseRemove(this, EcorePackage.ECLASS__EOPERATIONS, EClass.class, msgs); - case JavaRefPackage.METHOD__JAVA_CLASS: - return ((InternalEObject)eContainer).eInverseRemove(this, JavaRefPackage.JAVA_CLASS__METHODS, JavaClass.class, msgs); - default: - return eDynamicBasicRemoveFromContainer(msgs); - } - } - return ((InternalEObject)eContainer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.METHOD__EANNOTATIONS: - return getEAnnotations(); - case JavaRefPackage.METHOD__NAME: - return getName(); - case JavaRefPackage.METHOD__ORDERED: - return isOrdered() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__UNIQUE: - return isUnique() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__LOWER_BOUND: - return new Integer(getLowerBound()); - case JavaRefPackage.METHOD__UPPER_BOUND: - return new Integer(getUpperBound()); - case JavaRefPackage.METHOD__MANY: - return isMany() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__REQUIRED: - return isRequired() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__ETYPE: - if (resolve) return getEType(); - return basicGetEType(); - case JavaRefPackage.METHOD__ECONTAINING_CLASS: - return getEContainingClass(); - case JavaRefPackage.METHOD__EPARAMETERS: - return getEParameters(); - case JavaRefPackage.METHOD__EEXCEPTIONS: - return getEExceptions(); - case JavaRefPackage.METHOD__ABSTRACT: - return isAbstract() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__NATIVE: - return isNative() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__SYNCHRONIZED: - return isSynchronized() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__FINAL: - return isFinal() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__CONSTRUCTOR: - return isConstructor() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__STATIC: - return isStatic() ? Boolean.TRUE : Boolean.FALSE; - case JavaRefPackage.METHOD__JAVA_VISIBILITY: - return getJavaVisibility(); - case JavaRefPackage.METHOD__PARAMETERS: - return getParameters(); - case JavaRefPackage.METHOD__JAVA_EXCEPTIONS: - return getJavaExceptions(); - case JavaRefPackage.METHOD__JAVA_CLASS: - return getJavaClass(); - case JavaRefPackage.METHOD__SOURCE: - if (resolve) return getSource(); - return basicGetSource(); - } - return eDynamicGet(eFeature, resolve); - } - -} - - - - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/StatementImpl.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/StatementImpl.java deleted file mode 100644 index 71daa4e..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/StatementImpl.java +++ /dev/null
@@ -1,140 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: StatementImpl.java,v $ - * $Revision: 1.2 $ $Date: 2004/01/13 16:25:08 $ - */ -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jem.java.Statement; -/** - * @generated - */ -public class StatementImpl extends BlockImpl implements Statement{ - - protected StatementImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JavaRefPackage.eINSTANCE.getStatement(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case JavaRefPackage.STATEMENT__CONTENTS: - return ((InternalEList)getContents()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.STATEMENT__SOURCE: - return getSource(); - case JavaRefPackage.STATEMENT__NAME: - return getName(); - case JavaRefPackage.STATEMENT__CONTENTS: - return getContents(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.STATEMENT__SOURCE: - setSource((String)newValue); - return; - case JavaRefPackage.STATEMENT__NAME: - setName((String)newValue); - return; - case JavaRefPackage.STATEMENT__CONTENTS: - getContents().clear(); - getContents().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.STATEMENT__SOURCE: - setSource(SOURCE_EDEFAULT); - return; - case JavaRefPackage.STATEMENT__NAME: - setName(NAME_EDEFAULT); - return; - case JavaRefPackage.STATEMENT__CONTENTS: - getContents().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case JavaRefPackage.STATEMENT__SOURCE: - return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source); - case JavaRefPackage.STATEMENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaRefPackage.STATEMENT__CONTENTS: - return contents != null && !contents.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - -} - - - - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/URL.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/URL.java deleted file mode 100644 index be53a28..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/impl/URL.java +++ /dev/null
@@ -1,76 +0,0 @@ -package org.eclipse.jem.java.impl; -/******************************************************************************* - * Copyright (c) 2001, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: URL.java,v $ - * $Revision: 1.1 $ $Date: 2004/01/13 16:16:21 $ - */ -import java.util.ArrayList; -import java.util.List; - -public class URL { - public String namespaceName; - public String ID; - List attributeNames; -/** - * URL constructor comment. - */ -public URL(String urlString) { - initializeFromString(urlString); -} -/** - * URL constructor comment. - */ -public URL(String nameSpaceName, String anID) { - this.namespaceName = nameSpaceName; - this.ID = anID; -} -public List getAttributeNames() { - return attributeNames; -} -public void initializeFromString(String urlString) { - int poundInx = urlString.lastIndexOf('#'); - if (poundInx > -1) { - namespaceName = urlString.substring(0, poundInx); - urlString = urlString.substring(poundInx + 1); - int dotIndex = urlString.indexOf("->"); - if (dotIndex > -1) { - ID = urlString.substring(0, dotIndex); - String attributeNameString = urlString.substring(dotIndex + 2); - attributeNames = new ArrayList(); - do { - dotIndex = attributeNameString.indexOf("->"); - if (dotIndex > -1) { - attributeNames.add(attributeNameString.substring(0, dotIndex)); - attributeNameString = attributeNameString.substring(dotIndex + 2); - } else - attributeNames.add(attributeNameString); - } while (dotIndex > -1); - } else { - ID = urlString; - } - } else { - // assume that any URL string that ends with .xmi is a namespace. - if (urlString.endsWith(".xmi")){ - namespaceName = urlString; - ID = null; - } else { - namespaceName = "?defaultURL?"; - ID = urlString; - } - } -} -public String toString() { - return "URL(" + ((namespaceName == null) ? "" : namespaceName + "#") + ((ID == null) ? "" : ID) + ")"; -} -} - -
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/util/JavaRefAdapterFactory.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/util/JavaRefAdapterFactory.java deleted file mode 100644 index 970d501..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/util/JavaRefAdapterFactory.java +++ /dev/null
@@ -1,478 +0,0 @@ -package org.eclipse.jem.java.util; -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaRefAdapterFactory.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/14 00:16:44 $ - */ -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EModelElement; -import org.eclipse.emf.ecore.ENamedElement; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EParameter; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.ETypedElement; - -import org.eclipse.jem.java.*; - - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jem.java.JavaRefPackage - * @generated - */ -public class JavaRefAdapterFactory extends AdapterFactoryImpl -{ - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JavaRefPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaRefAdapterFactory() { - if (modelPackage == null) { - modelPackage = JavaRefPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaRefSwitch modelSwitch = - new JavaRefSwitch() { - public Object caseJavaClass(JavaClass object) { - return createJavaClassAdapter(); - } - public Object caseInitializer(Initializer object) { - return createInitializerAdapter(); - } - public Object caseJavaParameter(JavaParameter object) { - return createJavaParameterAdapter(); - } - public Object caseMethod(Method object) { - return createMethodAdapter(); - } - public Object caseField(Field object) { - return createFieldAdapter(); - } - public Object caseBlock(Block object) { - return createBlockAdapter(); - } - public Object caseComment(Comment object) { - return createCommentAdapter(); - } - public Object caseStatement(Statement object) { - return createStatementAdapter(); - } - public Object caseJavaPackage(JavaPackage object) { - return createJavaPackageAdapter(); - } - public Object caseJavaDataType(JavaDataType object) { - return createJavaDataTypeAdapter(); - } - public Object caseArrayType(ArrayType object) { - return createArrayTypeAdapter(); - } - public Object caseJavaEvent(JavaEvent object) { - return createJavaEventAdapter(); - } - public Object caseEModelElement(EModelElement object) { - return createEModelElementAdapter(); - } - public Object caseENamedElement(ENamedElement object) { - return createENamedElementAdapter(); - } - public Object caseEClassifier(EClassifier object) { - return createEClassifierAdapter(); - } - public Object caseEClass(EClass object) { - return createEClassAdapter(); - } - public Object caseETypedElement(ETypedElement object) { - return createETypedElementAdapter(); - } - public Object caseEParameter(EParameter object) { - return createEParameterAdapter(); - } - public Object caseEOperation(EOperation object) { - return createEOperationAdapter(); - } - public Object caseEPackage(EPackage object) { - return createEPackageAdapter(); - } - public Object caseEStructuralFeature(EStructuralFeature object) { - return createEStructuralFeatureAdapter(); - } - public Object defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - public Adapter createAdapter(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.JavaClass <em>Java Class</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.JavaClass - * @generated - */ - public Adapter createJavaClassAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.Initializer <em>Initializer</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.Initializer - * @generated - */ - public Adapter createInitializerAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.JavaParameter <em>Java Parameter</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.JavaParameter - * @generated - */ - public Adapter createJavaParameterAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.Method <em>Method</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.Method - * @generated - */ - public Adapter createMethodAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.Field <em>Field</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.Field - * @generated - */ - public Adapter createFieldAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.Block <em>Block</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.Block - * @generated - */ - public Adapter createBlockAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.Comment <em>Comment</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.Comment - * @generated - */ - public Adapter createCommentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.Statement <em>Statement</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.Statement - * @generated - */ - public Adapter createStatementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.JavaPackage <em>Java Package</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.JavaPackage - * @generated - */ - public Adapter createJavaPackageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.JavaDataType <em>Java Data Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.JavaDataType - * @generated - */ - public Adapter createJavaDataTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.ArrayType <em>Array Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.ArrayType - * @generated - */ - public Adapter createArrayTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jem.java.JavaEvent <em>Java Event</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jem.java.JavaEvent - * @generated - */ - public Adapter createJavaEventAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EModelElement - * @generated - */ - public Adapter createEModelElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.ENamedElement <em>ENamed Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.ENamedElement - * @generated - */ - public Adapter createENamedElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EClassifier <em>EClassifier</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EClassifier - * @generated - */ - public Adapter createEClassifierAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EClass <em>EClass</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EClass - * @generated - */ - public Adapter createEClassAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.ETypedElement <em>ETyped Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.ETypedElement - * @generated - */ - public Adapter createETypedElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EParameter <em>EParameter</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EParameter - * @generated - */ - public Adapter createEParameterAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EOperation <em>EOperation</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EOperation - * @generated - */ - public Adapter createEOperationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EStructuralFeature <em>EStructural Feature</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EStructuralFeature - * @generated - */ - public Adapter createEStructuralFeatureAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EPackage <em>EPackage</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.ecore.EPackage - * @generated - */ - public Adapter createEPackageAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //JavaRefAdapterFactory
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/util/JavaRefSwitch.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/util/JavaRefSwitch.java deleted file mode 100644 index 94d706c..0000000 --- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/java/util/JavaRefSwitch.java +++ /dev/null
@@ -1,508 +0,0 @@ -package org.eclipse.jem.java.util; - -/******************************************************************************* - * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * $RCSfile: JavaRefSwitch.java,v $ - * $Revision: 1.3 $ $Date: 2004/01/14 00:16:44 $ - */ -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EModelElement; -import org.eclipse.emf.ecore.ENamedElement; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EParameter; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.ETypedElement; - -import org.eclipse.jem.java.*; - - - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.jem.java.JavaRefPackage - * @generated - */ -public class JavaRefSwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JavaRefPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaRefSwitch() { - if (modelPackage == null) { - modelPackage = JavaRefPackage.eINSTANCE; - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - public Object doSwitch(EObject theEObject) { - EClass theEClass = theEObject.eClass(); - if (theEClass.eContainer() == modelPackage) { - switch (theEClass.getClassifierID()) { - case JavaRefPackage.JAVA_CLASS: { - JavaClass javaClass = (JavaClass)theEObject; - Object result = caseJavaClass(javaClass); - if (result == null) result = caseEClass(javaClass); - if (result == null) result = caseEClassifier(javaClass); - if (result == null) result = caseENamedElement(javaClass); - if (result == null) result = caseEModelElement(javaClass); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.INITIALIZER: { - Initializer initializer = (Initializer)theEObject; - Object result = caseInitializer(initializer); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.JAVA_PARAMETER: { - JavaParameter javaParameter = (JavaParameter)theEObject; - Object result = caseJavaParameter(javaParameter); - if (result == null) result = caseEParameter(javaParameter); - if (result == null) result = caseETypedElement(javaParameter); - if (result == null) result = caseENamedElement(javaParameter); - if (result == null) result = caseEModelElement(javaParameter); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.METHOD: { - Method method = (Method)theEObject; - Object result = caseMethod(method); - if (result == null) result = caseEOperation(method); - if (result == null) result = caseETypedElement(method); - if (result == null) result = caseENamedElement(method); - if (result == null) result = caseEModelElement(method); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.FIELD: { - Field field = (Field)theEObject; - Object result = caseField(field); - if (result == null) result = caseETypedElement(field); - if (result == null) result = caseENamedElement(field); - if (result == null) result = caseEModelElement(field); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.BLOCK: { - Block block = (Block)theEObject; - Object result = caseBlock(block); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.COMMENT: { - Comment comment = (Comment)theEObject; - Object result = caseComment(comment); - if (result == null) result = caseBlock(comment); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.STATEMENT: { - Statement statement = (Statement)theEObject; - Object result = caseStatement(statement); - if (result == null) result = caseBlock(statement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.JAVA_PACKAGE: { - JavaPackage javaPackage = (JavaPackage)theEObject; - Object result = caseJavaPackage(javaPackage); - if (result == null) result = caseEPackage(javaPackage); - if (result == null) result = caseENamedElement(javaPackage); - if (result == null) result = caseEModelElement(javaPackage); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.JAVA_DATA_TYPE: { - JavaDataType javaDataType = (JavaDataType)theEObject; - Object result = caseJavaDataType(javaDataType); - if (result == null) result = caseEClass(javaDataType); - if (result == null) result = caseEClassifier(javaDataType); - if (result == null) result = caseENamedElement(javaDataType); - if (result == null) result = caseEModelElement(javaDataType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaRefPackage.ARRAY_TYPE: { - ArrayType arrayType = (ArrayType)theEObject; - Object result = caseArrayType(arrayType); - if (result == null) result = caseJavaClass(arrayType); - if (result == null) result = caseEClass(arrayType); - if (result == null) result = caseEClassifier(arrayType); - if (result == null) result = caseENamedElement(arrayType); - if (result == null) result = caseEModelElement(arrayType); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - return defaultCase(theEObject); - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java Class</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java Class</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaClass(JavaClass object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Initializer</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Initializer</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseInitializer(Initializer object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java Parameter</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java Parameter</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaParameter(JavaParameter object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Method</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Method</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseMethod(Method object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Field</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Field</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseField(Field object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Block</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Block</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseBlock(Block object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Comment</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Comment</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseComment(Comment object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Statement</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Statement</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseStatement(Statement object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java Package</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java Package</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaPackage(JavaPackage object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java Data Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java Data Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaDataType(JavaDataType object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Array Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Array Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseArrayType(ArrayType object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java Event</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java Event</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaEvent(JavaEvent object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EModel Element</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EModel Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEModelElement(EModelElement object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>ENamed Element</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>ENamed Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseENamedElement(ENamedElement object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EClassifier</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EClassifier</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEClassifier(EClassifier object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EClass</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EClass</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEClass(EClass object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>ETyped Element</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>ETyped Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseETypedElement(ETypedElement object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EParameter</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EParameter</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEParameter(EParameter object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EOperation</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EOperation</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEOperation(EOperation object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EStructural Feature</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EStructural Feature</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEStructuralFeature(EStructuralFeature object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EPackage</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EPackage</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEPackage(EPackage object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public Object defaultCase(EObject object) { - return null; - } - -} //JavaRefSwitch
diff --git a/plugins/org.eclipse.jem/overrides/..ROOT...override b/plugins/org.eclipse.jem/overrides/..ROOT...override deleted file mode 100644 index 8c1ea3a..0000000 --- a/plugins/org.eclipse.jem/overrides/..ROOT...override +++ /dev/null
@@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<event:AddMany 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:event="event.xmi" - featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> -<!-- too remind us that these are need to be done yet in the new allocation scheme. - <addedEObjects xsi:type="ecore:EAttribute" name="instantiateUsing" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <addedEObjects xsi:type="ecore:EAttribute" name="serializeData" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> ---> -</event:AddMany>
diff --git a/plugins/org.eclipse.jem/overrides/java/lang/Object.override b/plugins/org.eclipse.jem/overrides/java/lang/Object.override deleted file mode 100644 index fdbffdc..0000000 --- a/plugins/org.eclipse.jem/overrides/java/lang/Object.override +++ /dev/null
@@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI 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:event="event.xmi"> - - <!-- - This is kind of cheat, but datatypes are never introspected, so we can't get these attributes - added to them in a normal way. By doing it here, when java.lang.Object is introspected, these - will be done at the same time. And since Object needs to be introspected before anything else - can be done, these will be done before anything needs them. --> - - <event:Add notifierURI="java:/#boolean" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#char" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#int" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#float" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#short" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#long" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#double" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> - <event:Add notifierURI="java:/#byte" featureName="eStructuralFeatures"> - <addedEObjects xsi:type="ecore:EReference" name="allocation" containment="true" eType="ecore:EClass http:///org/eclipse/jem/internal/instantiation.ecore#//JavaAllocation"/> - </event:Add> -</xmi:XMI>
diff --git a/plugins/org.eclipse.jem/plugin.properties b/plugins/org.eclipse.jem/plugin.properties deleted file mode 100644 index e446f21..0000000 --- a/plugins/org.eclipse.jem/plugin.properties +++ /dev/null
@@ -1,18 +0,0 @@ -############################################################################### -# Copyright (c) 2003 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Common Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/cpl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -# -# $Source: /cvsroot/webtools/jeetools.move/webtools.javaee.git/plugins/org.eclipse.jem/plugin.properties,v $ -# $Revision: 1.1 $ $Date: 2003/10/27 17:12:30 $ -# - - -pluginName = Java EMF Model -providerName = Eclipse.org \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/plugin.xml b/plugins/org.eclipse.jem/plugin.xml deleted file mode 100644 index 6968031..0000000 --- a/plugins/org.eclipse.jem/plugin.xml +++ /dev/null
@@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<plugin - id="org.eclipse.jem" - name="%pluginName" - version="1.0.0" - provider-name="%providerName" - class="org.eclipse.jem.internal.core.JEMPlugin"> - - <runtime> - <library name="javainst.jar"> - <export name="*"/> - <packages prefixes="org.eclipse.jem.internal.instantiation"/> - </library> - <library name="mofjava.jar"> - <export name="*"/> - <packages prefixes="org.eclipse.jem.internal.core,org.eclipse.jem.internal.java,org.eclipse.jem.java"/> - </library> - </runtime> - <requires> - <import plugin="org.eclipse.emf.ecore.xmi"/> - <import plugin="com.ibm.wtp.common.util"/> - <import plugin="org.eclipse.jem.proxy" optional="true"/> - </requires> - - - <extension - point="org.eclipse.emf.ecore.generated_package"> - <package - uri="http:///org/eclipse/jem/internal/instantiation.ecore" - class="org.eclipse.jem.internal.instantiation.InstantiationPackage"> - </package> - <package - uri="java.xmi" - class="org.eclipse.jem.java.JavaRefPackage"> - </package> - </extension> - <extension - point="org.eclipse.jem.beaninfo.registrations"> - <registration - container="org.eclipse.jdt.launching.JRE_CONTAINER"> - <override - package="java.lang" - path="overrides/java/lang"> - </override> - <override - package="..ROOT.." - path="overrides"> - </override> - </registration> - </extension> - -</plugin>
diff --git a/plugins/org.eclipse.jem/rose/.cvsignore b/plugins/org.eclipse.jem/rose/.cvsignore deleted file mode 100644 index 1be3a37..0000000 --- a/plugins/org.eclipse.jem/rose/.cvsignore +++ /dev/null
@@ -1,2 +0,0 @@ -*.md~ -*.ca~ \ No newline at end of file
diff --git a/plugins/org.eclipse.jem/rose/edocjava2.cat b/plugins/org.eclipse.jem/rose/edocjava2.cat deleted file mode 100644 index 25b1eec..0000000 --- a/plugins/org.eclipse.jem/rose/edocjava2.cat +++ /dev/null
@@ -1,5613 +0,0 @@ - -(object Petal - version 47 - _written "Rose 8.0.0303.1400" - charSet 0) - -(object Class_Category "java" - is_unit TRUE - is_loaded TRUE - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0000-005d9e6adec4:1")) - (object Attribute - tool "Ecore" - name "basePackage" - value (value Text "org.eclipse.jem")) - (object Attribute - tool "Ecore" - name "prefix" - value (value Text "JavaRef")) - (object Attribute - tool "Ecore" - name "nsURI" - value (value Text "java.xmi"))) - quid "36549F2C004E" - documentation -|Changes to synch up with Java3e: -|- deleted JavaElement, BodyElement which didn't add anything useful -|- deleted NestedClass and the association which described nesting, contents can be used instead -|- deleted extends/extendedBy which is replaced with MOF subtype/supertype -|- deleted the clumsy main diagram -|- moved the MOF inheritance details to the MOF binding diagram -|- deleted "final" on JavaParameter, don't know what that was supposed to be -|- deleted the Category junk -|- changed the Block-typed attributes on Field, Method, Initializer to be associations to Block -| -|Outstanding questions/issues: -|- JavaParameterKind should go away if we get the base Parameter kind fixed up -| - - stereotype "metamodel" - visible_categories (list visibility_relationship_list - (object Visibility_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0001-005d9e6adec4:1"))) - quid "381DDF470271" - supplier "Logical View::mof" - quidu "374AA8F9028E") - (object Visibility_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0002-005d9e6adec4:1"))) - quid "39BD366000FE" - supplier "Logical View::ecore" - quidu "39A5ED04004E")) - exportControl "Public" - logical_models (list unit_reference_list - (object Class "JavaClass" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0003-005d9e6adec4:1"))) - quid "36549FCC00FA" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0004-005d9e6adec4:1"))) - quid "3990950000B3" - supplier "Logical View::ecore::EClass" - quidu "3903D5BF000A")) - operations (list Operations - (object Operation "isNested" - quid "3A9D7C2101D6" - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "getField" - quid "3B65B5B30044" - documentation "Return an Field with the passed name, or null." - parameters (list Parameters - (object Parameter "fieldName" - quid "3C62FAB901AA" - type "String")) - result "Field" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AF8F0280") - (object Operation "getFieldExtended" - quid "3B65B625011A" - documentation -| Return an Field with the passed name from this JavaClass or any supertypes. -| -|Return null if a Field named fieldName is not found. - - parameters (list Parameters - (object Parameter "fieldName" - quid "3C62FAB901AC" - type "String")) - result "Field" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AF8F0280") - (object Operation "getFieldNamed" - quid "3B65B6670255" - documentation "Return an Field with the passed name, or null." - parameters (list Parameters - (object Parameter "fieldName" - quid "3C62FAB901AE" - type "String")) - result "Field" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AF8F0280") - (object Operation "getFieldsExtended" - quid "3B65B68A0328" - documentation "Return all fields, including those from supertypes." - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getMethod" - quid "3B65B911021A" - documentation "Get the method of this name and these parameters. It will not look up the supertype hierarchy." - parameters (list Parameters - (object Parameter "methodName" - quid "3C62FAB901B1" - type "String") - (object Parameter "parameterTypes" - quid "3C62FAB901B2" - documentation "List of parameter types." - type "JTypeList" - quidu "3B65B87602C1")) - result "Method" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AE910271") - (object Operation "getMethodElementSignatures" - quid "3B65B9EA03CA" - documentation "Return a List of Strings that represent MethodElement signatures from most general to most specific." - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getMethodExtended" - quid "3B65BA510115" - documentation "Get the method of this name and these parameters. It will look up the supertype hierarchy." - parameters (list Parameters - (object Parameter "methodName" - quid "3C62FAB901B5" - type "String") - (object Parameter "parameterTypes" - quid "3C62FAB901B6" - documentation "List of parameter types." - type "JTypeList" - quidu "3B65B87602C1")) - result "Method" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AE910271") - (object Operation "getMethodsExtended" - quid "3B65BA7D0354" - documentation "Return all methods, including those from supertypes." - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getOnlySpecificMethods" - quid "3B65BAC3021E" - documentation -|Return a List of Methods that begins with @aMethodNamePrefix and is not included in the @excludedNames list. If @aMethodNamePrefix is null, all methods will be returned. -| - - parameters (list Parameters - (object Parameter "aMethodNamePrefix" - quid "3C62FAB901B9" - type "String") - (object Parameter "excludedNames" - quid "3C62FAB901BA" - type "JTypeList" - quidu "3B65B87602C1")) - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getPublicMethod" - quid "3B65BBC90383" - documentation "Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It will not look up the supertype hierarchy." - parameters (list Parameters - (object Parameter "methodName" - quid "3C62FAB901BC" - type "String") - (object Parameter "parameterTypes" - quid "3C62FAB901BD" - documentation "List of parameter types." - type "JTypeList" - quidu "3B65B87602C1")) - result "Method" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AE910271") - (object Operation "getPublicMethods" - quid "3B65BC3D034E" - documentation "Return all methods, it will not go up the supertype hierarchy." - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getPublicMethodsExtended" - quid "3B65BC630320" - documentation "Return all public methods, including those from supertypes." - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getPublicMethodsNamed" - quid "3B65BCAA005B" - documentation "Returns a filtered list on the methods of this class, having a name equal to that of the parameter." - parameters (list Parameters - (object Parameter "name" - quid "3C62FAB901C1" - type "String")) - result "JTypeList" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65B87602C1") - (object Operation "getSupertype" - quid "3B65BCF900CD" - result "JavaClass" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "36549FCC00FA") - (object Operation "implementsInterface" - quid "3B65BD39009D" - documentation "Test whether the receiver implements the passed interface (or one of its supertypes)." - parameters (list Parameters - (object Parameter "interfaceType" - quid "3C62FAB901C4" - type "JavaClass" - quidu "36549FCC00FA")) - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "infoString" - quid "3B65BD8202D3" - documentation "Return a string showing our details." - result "String" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "inheritsFrom" - quid "3B65BD9E02E7" - documentation "Tests whether this class inherits from the passed in class." - parameters (list Parameters - (object Parameter "javaClass" - quid "3C62FAB901C7" - type "JavaClass" - quidu "36549FCC00FA")) - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "isExistingType" - quid "3B65BE110120" - documentation "Does this type exist." - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "isInterface" - quid "3B65BE2F0137" - documentation "Is this an interface." - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "setSupertype" - quid "3B65BE7B00A0" - documentation "Set the supertype." - parameters (list Parameters - (object Parameter "javaclass" - quid "3C62FAB901CB" - type "JavaClass" - quidu "36549FCC00FA")) - result "void" - concurrency "Sequential" - opExportControl "Public" - uid 0)) - class_attributes (list class_attribute_list - (object ClassAttribute "kind" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0005-005d9e6adec4:1"))) - quid "3654A45E0232" - type "TypeKind" - quidu "3654B46002BF" - exportControl "Public") - (object ClassAttribute "public" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0006-005d9e6adec4:1"))) - quid "380F8CE8020C" - type "boolean" - exportControl "Public") - (object ClassAttribute "final" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0008-005d9e6adec4:1"))) - quid "380F8F9C02D7" - type "boolean" - exportControl "Public")) - language "none") - (object Class "Initializer" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0009-005d9e6adec4:1"))) - quid "3654A5DC00BB" - class_attributes (list class_attribute_list - (object ClassAttribute "isStatic" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-000a-005d9e6adec4:1"))) - quid "3654A865000F" - type "Boolean" - exportControl "Public")) - language "none") - (object Class "JavaParameter" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-000b-005d9e6adec4:1"))) - quid "3654AD780280" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3B7818B00186" - supplier "Logical View::ecore::EParameter" - quidu "3903E6150104")) - operations (list Operations - (object Operation "isArray" - quid "3B65BFD4034F" - documentation "Is this parameter type an array type." - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "isReturn" - quid "3B65BFEF0005" - documentation "Is this a return parameter." - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "getJavaType" - quid "3B65C8E7001A" - result "JTypeJavaHelpers" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65ADE403A6") - (object Operation "getQualifiedName" - quid "3B65C926002F" - result "String" - concurrency "Sequential" - opExportControl "Public" - uid 0)) - class_attributes (list class_attribute_list - (object ClassAttribute "final" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-000c-005d9e6adec4:1"))) - quid "3654B64702AF" - type "boolean" - exportControl "Public") - (object ClassAttribute "parameterKind" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-000e-005d9e6adec4:1"))) - quid "391C1EB400C2" - type "JavaParameterKind" - quidu "391C1E8F0123" - exportControl "Public")) - language "none") - (object Class "Method" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-000f-005d9e6adec4:1"))) - quid "3654AE910271" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0010-005d9e6adec4:1"))) - quid "3990953803AD" - supplier "Logical View::ecore::EOperation" - quidu "3904DAA200A0")) - operations (list Operations - (object Operation "getContainingJavaClass" - quid "3B65C04202A3" - documentation "Return the java class that this method is defined in." - result "JavaClass" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "36549FCC00FA") - (object Operation "getMethodElementSignature" - quid "3B65C076013F" - documentation -|Return a String with the the method name and its parameters. e.g. <code> setFirstName(java.lang.String) </code> . -| - - result "String" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "getParameter" - quid "3B65C0B8011C" - documentation "Return a Parameter with the passed name, or null." - parameters (list Parameters - (object Parameter "parameterName" - quid "3C62FAB901E3" - type "String")) - result "JavaParameter" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3654AD780280") - (object Operation "getReturnType" - quid "3B65C1470013" - documentation "Get the return type." - result "JTypeJavaHelpers" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65ADE403A6") - (object Operation "setReturnType" - quid "3B65C27403CE" - documentation "Set the return type" - parameters (list Parameters - (object Parameter "type" - quid "3C62FAB901E8" - type "JTypeJavaHelpers" - quidu "3B65ADE403A6")) - result "void" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "getSignature" - quid "3B65C17D0043" - documentation -|Replicate the functionality of java.lang.reflect.Method.toString(). -| -|Returns a string describing this Method. The string is formatted as the method access modifiers, if any, followed by the method return type, followed by a space, followed by the class declaring the method, followed by a period, followed by the method name, followed by a parenthesized, comma-separated list of the method's formal parameter types. If the method throws checked exceptions, the parameter list is followed by a space, followed by the word throws followed by a comma-separated list of the thrown exception types. -| -|For example: -| -| public boolean java.lang.Object.equals(java.lang.Object) -| -|The access modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, <tt>protected</tt> or <tt>private</tt> first, and then other modifiers in the following order: <tt>abstract</tt>, <tt>static</tt>, <tt>final</tt>, <tt>synchronized</tt> <tt>native</tt>. -| - - result "String" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "isGenerated" - quid "3B65C1FC006E" - documentation -|Returns true if the method is system generated. -|This is usually determined by the @generated tag in the comment. - - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "setIsGenerated" - quid "3B65C244037F" - documentation "Set the isGenerated flag." - parameters (list Parameters - (object Parameter "generated" - quid "3C62FAB901EC" - type "boolean")) - result "void" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "isVoid" - quid "3B65C218038F" - documentation "Is this a void return type method." - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0)) - class_attributes (list class_attribute_list - (object ClassAttribute "abstract" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0011-005d9e6adec4:1"))) - quid "380F90BC022B" - type "boolean" - exportControl "Public") - (object ClassAttribute "native" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0012-005d9e6adec4:1"))) - quid "380F90D10364" - type "boolean" - exportControl "Public") - (object ClassAttribute "synchronized" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0013-005d9e6adec4:1"))) - quid "380F90DB03C1" - type "boolean" - exportControl "Public") - (object ClassAttribute "final" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0014-005d9e6adec4:1"))) - quid "3829C6E00033" - type "boolean" - exportControl "Public") - (object ClassAttribute "constructor" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0015-005d9e6adec4:1"))) - quid "391ADD280245" - type "boolean" - exportControl "Public") - (object ClassAttribute "static" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0016-005d9e6adec4:1"))) - quid "3829C6E40350" - type "boolean" - exportControl "Public") - (object ClassAttribute "javaVisibility" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0017-005d9e6adec4:1"))) - quid "3829C6EB0397" - type "JavaVisibilityKind" - quidu "382333BE032E" - exportControl "Public")) - language "none") - (object Class "Field" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0018-005d9e6adec4:1"))) - quid "3654AF8F0280" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400487F90334" - supplier "Logical View::ecore::ETypedElement" - quidu "3903D4F60398")) - operations (list Operations - (object Operation "getContainingJavaClass" - quid "3B65B5120024" - documentation "Get the class that this field is within." - result "JavaClass" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "36549FCC00FA") - (object Operation "isArray" - quid "3B65B55F01E7" - documentation "Is this field an array type." - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0)) - class_attributes (list class_attribute_list - (object ClassAttribute "final" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-001d-005d9e6adec4:1"))) - quid "3829C6BE026F" - type "boolean" - exportControl "Public") - (object ClassAttribute "static" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-001e-005d9e6adec4:1"))) - quid "3829C6C202ED" - type "boolean" - exportControl "Public") - (object ClassAttribute "javaVisibility" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-001f-005d9e6adec4:1"))) - quid "3829C6C7034F" - type "JavaVisibilityKind" - quidu "382333BE032E" - exportControl "Public") - (object ClassAttribute "transient" - quid "4004880103B8" - type "boolean" - exportControl "Public") - (object ClassAttribute "volatile" - quid "40048808012D" - type "boolean" - exportControl "Public")) - language "none") - (object Class "TypeKind" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0020-005d9e6adec4:1"))) - quid "3654B46002BF" - documentation "UNDEFINED=1 CLASS=2 INTERFACE=3 EXCEPTION=4" - stereotype "enumeration" - class_attributes (list class_attribute_list - (object ClassAttribute "UNDEFINED" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0021-005d9e6adec4:1"))) - quid "380B9E3601A1" - exportControl "Public") - (object ClassAttribute "CLASS" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0022-005d9e6adec4:1"))) - quid "380B9E44025D" - exportControl "Public") - (object ClassAttribute "INTERFACE" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0023-005d9e6adec4:1"))) - quid "380B9E560124" - exportControl "Public") - (object ClassAttribute "EXCEPTION" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0024-005d9e6adec4:1"))) - quid "380B9E6501A1" - exportControl "Public")) - language "none") - (object Class "Block" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0025-005d9e6adec4:1"))) - quid "380F88370150" - class_attributes (list class_attribute_list - (object ClassAttribute "source" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0026-005d9e6adec4:1"))) - quid "3810E7FC0239" - type "String" - exportControl "Public") - (object ClassAttribute "name" - quid "3A6C53E10029" - type "String" - exportControl "Public"))) - (object Class "Comment" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0027-005d9e6adec4:1"))) - quid "380F889B02B8" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0028-005d9e6adec4:1"))) - quid "380F88D600A5" - supplier "Logical View::java::Block" - quidu "380F88370150"))) - (object Class "Statement" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0029-005d9e6adec4:1"))) - quid "380F88B9025A" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-002a-005d9e6adec4:1"))) - quid "380F88DA0056" - supplier "Logical View::java::Block" - quidu "380F88370150"))) - (object Class "JavaPackage" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-002b-005d9e6adec4:1"))) - quid "38108E0301D2" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-002c-005d9e6adec4:1"))) - quid "399094D70046" - supplier "Logical View::ecore::EPackage" - quidu "3905C3F7000A")) - language "Java") - (object Class "JavaVisibilityKind" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0030-005d9e6adec4:1"))) - quid "382333BE032E" - documentation -|PACKAGE=1 -|PUBLIC=2 -|PRIVATE=3 -|PROTECTED=4 - - stereotype "enumeration" - class_attributes (list class_attribute_list - (object ClassAttribute "PUBLIC" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0031-005d9e6adec4:1"))) - quid "382333E2022C" - exportControl "Public") - (object ClassAttribute "PRIVATE" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0032-005d9e6adec4:1"))) - quid "382333E7003E" - exportControl "Public") - (object ClassAttribute "PROTECTED" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0033-005d9e6adec4:1"))) - quid "382333E80389" - exportControl "Public") - (object ClassAttribute "PACKAGE" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0034-005d9e6adec4:1"))) - quid "382333EA038C" - exportControl "Public"))) - (object Class "JavaParameterKind" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0035-005d9e6adec4:1"))) - quid "391C1E8F0123" - documentation -|IN=0 -|OUT=1 -|INOUT=2 -|RETURN=3 - - stereotype "enumeration" - class_attributes (list class_attribute_list - (object ClassAttribute "IN" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0036-005d9e6adec4:1"))) - quid "391C1EFC02EC" - exportControl "Public") - (object ClassAttribute "OUT" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0037-005d9e6adec4:1"))) - quid "391C1EFF016A" - exportControl "Public") - (object ClassAttribute "INOUT" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0038-005d9e6adec4:1"))) - quid "391C1F010040" - exportControl "Public") - (object ClassAttribute "RETURN" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0039-005d9e6adec4:1"))) - quid "391C21940387" - exportControl "Public"))) - (object Class "JavaDataType" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-003a-005d9e6adec4:1"))) - quid "395913340316" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3E5268E201B1" - supplier "Logical View::ecore::EClass" - quidu "3903D5BF000A")) - operations (list Operations - (object Operation "getDefaultValueString" - quid "3B65BF910303" - documentation "Return the default string representing the default value of the primitive." - result "String" - concurrency "Sequential" - opExportControl "Public" - uid 0))) - (object Class "ArrayType" - quid "3A9D79ED01DF" - documentation -|Describes a Java Array type -| For multi-dimensional arrays, it is unlikely that the component type will be -| specified directly. This would require instantiating a chain of component types -| such as String[][][][]->String[][][]->String[][]->String[]->String. -| -| The component type relationship will be computed if the finalComponentType -| and array dimensions is specified. -| -| For this reason, the preferred way to create is through the JavaRefFactory factory method: -| createArrayType(JavaClass finalComponentType, int dimensions) - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3A9D79FD010F" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA")) - operations (list Operations - (object Operation "getFinalComponentType" - quid "3A9D7A820193" - documentation -|Get the final component type for this Array Type. -| -|In order to ensure a unique instance, we will resolve this type using reflection. It turns out to be most efficient to just do this by trimming the name. - - result "JTypeJavaHelpers" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65ADE403A6") - (object Operation "getComponentTypeAsHelper" - quid "3B65AF980136" - documentation -|Get the component type of this array. -| -|If this is a multi-dimensional array, the component type will be the nested array type. - - result "JTypeJavaHelpers" - concurrency "Sequential" - opExportControl "Public" - uid 0 - quidu "3B65ADE403A6") - (object Operation "isPrimitiveArray" - quid "3B65B41702B8" - documentation "Is this an array of java primitives" - result "boolean" - concurrency "Sequential" - opExportControl "Public" - uid 0) - (object Operation "setComponentType" - quid "3B65B45503BC" - documentation "Set the component type." - parameters (list Parameters - (object Parameter "helperComponentType" - quid "3C62FAB90226" - type "JTypeJavaHelpers" - quidu "3B65ADE403A6")) - concurrency "Sequential" - opExportControl "Public" - uid 0)) - class_attributes (list class_attribute_list - (object ClassAttribute "arrayDimensions" - attributes (list Attribute_Set - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Volatile" - value FALSE) - (object Attribute - tool "Java" - name "Transient" - value FALSE) - (object Attribute - tool "Java" - name "IndividualChangeMgt" - value FALSE) - (object Attribute - tool "Java" - name "PropertyType" - value ("BeanProperty_Set" 71)) - (object Attribute - tool "Java" - name "Read/Write" - value ("Read/Write_Set" 81))) - quid "3A9D7AC80284" - type "int" - exportControl "Public")) - language "Java") - (object Class "JTypeJavaHelpers" - quid "3B65ADE403A6" - documentation "This interface is a common interface between JavaClass and JavaDataType plus some common helper methods." - stereotype "datatype" - class_attributes (list class_attribute_list - (object ClassAttribute "org.eclipse.jem.java.JavaHelpers" - quid "3B65AE170269" - stereotype "javaclass" - exportControl "Public"))) - (object Class "JTypeList" - quid "3B65B87602C1" - documentation "java.util.List type" - stereotype "datatype" - class_attributes (list class_attribute_list - (object ClassAttribute "java.util.List" - quid "3B65B88F0399" - stereotype "javaclass" - exportControl "Public"))) - (object Class "JavaEvent" - quid "3C62FAF103C8" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3DF4CE830390" - supplier "Logical View::ecore::EStructuralFeature" - quidu "3903D59D0230")) - abstract TRUE) - (object Association "Implements" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-003c-005d9e6adec4:1"))) - quid "3654A0D70242" - documentation "Constraint - Source of implements is of TypeKind CLASSTYPE and target is INTERFACETYPE" - roles (list role_list - (object Role "implementsInterfaces" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-003d-005d9e6adec4:1"))) - quid "3654A0DA0109" - label "implementsInterfaces" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - is_navigable TRUE) - (object Role "implementedBy" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-003e-005d9e6adec4:1"))) - quid "3654A0DA0138" - label "implementedBy" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n")))) - (object Association "MethodHas" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-003f-005d9e6adec4:1"))) - quid "3654AF0302CE" - roles (list role_list - (object Role "parameters" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0040-005d9e6adec4:1"))) - quid "3654AF080196" - label "parameters" - supplier "Logical View::java::JavaParameter" - quidu "3654AD780280" - client_cardinality (value cardinality "0..n") - Constraints "ordered" - Containment "By Value" - is_navigable TRUE) - (object Role "method" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0041-005d9e6adec4:1"))) - quid "3654AF080197" - label "method" - supplier "Logical View::java::Method" - quidu "3654AE910271" - client_cardinality (value cardinality "0..1") - is_aggregate TRUE))) - (object Association "$UNNAMED$0" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0042-005d9e6adec4:1"))) - quid "3654B08801A5" - roles (list role_list - (object Role "/type" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0043-005d9e6adec4:1"))) - quid "3654B091007D" - label "/type" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - is_navigable TRUE) - (object Role "/typedElement" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0044-005d9e6adec4:1"))) - quid "3654B091008C" - label "/typedElement" - supplier "Logical View::java::JavaParameter" - quidu "3654AD780280" - client_cardinality (value cardinality "1")))) - (object Association "MethodThrows" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0045-005d9e6adec4:1"))) - quid "3810B61B0178" - documentation "Target must be of kind EXCEPTIONTYPE" - roles (list role_list - (object Role "javaExceptions" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0046-005d9e6adec4:1"))) - quid "3810B61E01C3" - label "javaExceptions" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - is_navigable TRUE) - (object Role "method" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0047-005d9e6adec4:1"))) - quid "3810B61E0227" - label "method" - supplier "Logical View::java::Method" - quidu "3654AE910271"))) - (object Association "Contents" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0048-005d9e6adec4:1"))) - quid "3810E6080268" - roles (list role_list - (object Role "containedBy" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0049-005d9e6adec4:1"))) - quid "3810E60E0144" - label "containedBy" - supplier "Logical View::java::Block" - quidu "380F88370150" - client_cardinality (value cardinality "0..1") - is_aggregate TRUE) - (object Role "contents" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-004a-005d9e6adec4:1"))) - quid "3810E60E0162" - label "contents" - supplier "Logical View::java::Block" - quidu "380F88370150" - client_cardinality (value cardinality "0..n") - Containment "By Value" - is_navigable TRUE))) - (object Association "ClassImports" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-004b-005d9e6adec4:1"))) - quid "3829C4BF000D" - roles (list role_list - (object Role "classImport" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-004c-005d9e6adec4:1"))) - quid "3829C4BF000E" - label "classImport" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - Constraints "ordered" - is_navigable TRUE) - (object Role "importedBy" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-004d-005d9e6adec4:1"))) - quid "3829C4BF000F" - label "importedBy" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n")))) - (object Association "PackageImports" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-004e-005d9e6adec4:1"))) - quid "3829C4EC0207" - roles (list role_list - (object Role "packageImports" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-004f-005d9e6adec4:1"))) - quid "3829C4EE00FB" - label "packageImports" - supplier "Logical View::java::JavaPackage" - quidu "38108E0301D2" - client_cardinality (value cardinality "0..n") - Constraints "ordered" - is_navigable TRUE) - (object Role "importedBy" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0050-005d9e6adec4:1"))) - quid "3829C4EE0105" - label "importedBy" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n")))) - (object Association "$UNNAMED$1" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0051-005d9e6adec4:1"))) - quid "382A29BD0219" - roles (list role_list - (object Role "fields" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0052-005d9e6adec4:1"))) - quid "382A29BE0350" - label "fields" - supplier "Logical View::java::Field" - quidu "3654AF8F0280" - client_cardinality (value cardinality "0..n") - Containment "By Value" - is_navigable TRUE) - (object Role "javaClass" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0053-005d9e6adec4:1"))) - quid "382A29BE03BF" - label "javaClass" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - is_navigable TRUE - is_aggregate TRUE))) - (object Association "$UNNAMED$2" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0054-005d9e6adec4:1"))) - quid "382A29C0017D" - roles (list role_list - (object Role "methods" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0055-005d9e6adec4:1"))) - quid "382A29C10174" - label "methods" - supplier "Logical View::java::Method" - quidu "3654AE910271" - client_cardinality (value cardinality "0..n") - Containment "By Value" - is_navigable TRUE) - (object Role "javaClass" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0056-005d9e6adec4:1"))) - quid "382A29C1020A" - label "javaClass" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - is_navigable TRUE - is_aggregate TRUE))) - (object Association "$UNNAMED$3" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0057-005d9e6adec4:1"))) - quid "392A9EB403C6" - roles (list role_list - (object Role "/supertype" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0058-005d9e6adec4:1"))) - quid "392A9EB803B7" - label "/supertype" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "1") - is_navigable TRUE) - (object Role "/subtype" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0059-005d9e6adec4:1"))) - quid "392A9EB90098" - label "/subtype" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n")))) - (object Association "$UNNAMED$4" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-005a-005d9e6adec4:1"))) - quid "392A9F0301AC" - roles (list role_list - (object Role "/supertype" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-005b-005d9e6adec4:1"))) - quid "392A9F090328" - label "/supertype" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - is_navigable TRUE) - (object Role "/subtype" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-005c-005d9e6adec4:1"))) - quid "392A9F0A001C" - label "/subtype" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - is_navigable TRUE))) - (object Association "$UNNAMED$5" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-005d-005d9e6adec4:1"))) - quid "392AA09503E5" - roles (list role_list - (object Role "initializers" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-005e-005d9e6adec4:1"))) - quid "392AA0970153" - label "initializers" - supplier "Logical View::java::Initializer" - quidu "3654A5DC00BB" - client_cardinality (value cardinality "0..n") - Containment "By Value" - is_navigable TRUE) - (object Role "javaClass" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-005f-005d9e6adec4:1"))) - quid "392AA097015D" - label "javaClass" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - is_navigable TRUE - is_aggregate TRUE))) - (object Association "$UNNAMED$6" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0060-005d9e6adec4:1"))) - quid "392AA21200C2" - roles (list role_list - (object Role "declaredClasses" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0061-005d9e6adec4:1"))) - quid "392AA21701D8" - label "declaredClasses" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - is_navigable TRUE) - (object Role "declaringClass" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0062-005d9e6adec4:1"))) - quid "392AA21702DC" - label "declaringClass" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..1") - is_navigable TRUE - is_aggregate TRUE))) - (object Association "$UNNAMED$7" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0063-005d9e6adec4:1"))) - quid "392AA2A701C1" - stereotype "derived" - roles (list role_list - (object Role "javaClasses" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0064-005d9e6adec4:1")) - (object Attribute - tool "Ecore" - name "isTransient" - value TRUE) - (object Attribute - tool "Ecore" - name "isVolatile" - value TRUE) - (object Attribute - tool "Ecore" - name "isChangeable" - value FALSE)) - quid "392AA2A80367" - label "javaClasses" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - client_cardinality (value cardinality "0..n") - is_navigable TRUE) - (object Role "javaPackage" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0065-005d9e6adec4:1")) - (object Attribute - tool "Ecore" - name "isTransient" - value TRUE) - (object Attribute - tool "Ecore" - name "isVolatile" - value TRUE) - (object Attribute - tool "Ecore" - name "isChangeable" - value FALSE)) - quid "392AA2A90083" - label "javaPackage" - supplier "Logical View::java::JavaPackage" - quidu "38108E0301D2" - client_cardinality (value cardinality "0..1") - is_navigable TRUE - is_aggregate TRUE))) - (object Association "$UNNAMED$8" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0066-005d9e6adec4:1"))) - quid "392AAC33036A" - roles (list role_list - (object Role "source" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0067-005d9e6adec4:1"))) - quid "392AAC380140" - label "source" - supplier "Logical View::java::Block" - quidu "380F88370150" - client_cardinality (value cardinality "0..1") - is_navigable TRUE) - (object Role "initializer" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0068-005d9e6adec4:1"))) - quid "392AAC380168" - label "initializer" - supplier "Logical View::java::Initializer" - quidu "3654A5DC00BB"))) - (object Association "$UNNAMED$9" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-0069-005d9e6adec4:1"))) - quid "392AAC5602A2" - roles (list role_list - (object Role "initializer" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-006a-005d9e6adec4:1"))) - quid "392AAC5702DF" - label "initializer" - supplier "Logical View::java::Block" - quidu "380F88370150" - client_cardinality (value cardinality "0..1") - Containment "By Value" - is_navigable TRUE) - (object Role "field" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-006b-005d9e6adec4:1"))) - quid "392AAC570307" - label "field" - supplier "Logical View::java::Field" - quidu "3654AF8F0280" - is_aggregate TRUE))) - (object Association "$UNNAMED$10" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c74525a0-8826-11e1-006c-005d9e6adec4:1"))) - quid "392AACA501E7" - roles (list role_list - (object Role "source" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c746ac40-8826-11e1-0000-005d9e6adec4:1"))) - quid "392AACA7017C" - label "source" - supplier "Logical View::java::Block" - quidu "380F88370150" - client_cardinality (value cardinality "0..1") - is_navigable TRUE) - (object Role "method" - attributes (list Attribute_Set - (object Attribute - tool "IDL" - name "uuid" - value (value Text "DCE:c746ac40-8826-11e1-0001-005d9e6adec4:1"))) - quid "392AACA701B8" - label "method" - supplier "Logical View::java::Method" - quidu "3654AE910271"))) - (object Association "$UNNAMED$11" - quid "3C62FBE00168" - roles (list role_list - (object Role "events" - quid "3C62FBE2008F" - label "events" - supplier "Logical View::java::JavaEvent" - quidu "3C62FAF103C8" - client_cardinality (value cardinality "0..n") - Containment "By Value" - is_navigable TRUE) - (object Role "$UNNAMED$12" - quid "3C62FBE20091" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - is_aggregate TRUE))) - (object Association "$UNNAMED$13" - quid "3C8938770253" - roles (list role_list - (object Role "allEvents" - attributes (list Attribute_Set - (object Attribute - tool "Ecore" - name "isTransient" - value TRUE) - (object Attribute - tool "Ecore" - name "isVolatile" - value TRUE)) - quid "3C89387802CC" - label "allEvents" - supplier "Logical View::java::JavaEvent" - quidu "3C62FAF103C8" - client_cardinality (value cardinality "0..n") - Containment "By Reference" - is_navigable TRUE) - (object Role "$UNNAMED$14" - quid "3C89387802CE" - supplier "Logical View::java::JavaClass" - quidu "36549FCC00FA" - is_aggregate TRUE))) - (object Association "$UNNAMED$15" - quid "3DF4CAAD01A3" - roles (list role_list - (object Role "componentType" - quid "3DF4CAAE01EB" - label "componentType" - supplier "Logical View::ecore::EClassifier" - quidu "3ACE4FEE0371" - client_cardinality (value cardinality "1") - is_navigable TRUE) - (object Role "$UNNAMED$16" - quid "3DF4CAAE01F5" - supplier "Logical View::java::ArrayType" - quidu "3A9D79ED01DF")))) - logical_presentations (list unit_reference_list - (object ClassDiagram "Ecore binding" - quid "38109C0F009B" - title "Ecore binding" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 4094 - items (list diagram_item_list - (object ClassView "Class" "Logical View::java::Field" @1 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (1104, 576) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @1 - location (689, 368) - fill_color 13434879 - nlines 1 - max_width 830 - justify 0 - label "Field") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3654AF8F0280" - compartment (object Compartment - Parent_View @1 - location (689, 424) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 8 - max_width 709) - width 848 - height 438 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JavaPackage" @2 - ShowCompartmentStereotypes TRUE - IncludeOperation TRUE - location (192, 480) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @2 - location (31, 434) - fill_color 13434879 - nlines 1 - max_width 322 - justify 0 - label "JavaPackage") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "38108E0301D2" - width 340 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::ecore::EPackage" @3 - ShowCompartmentStereotypes TRUE - location (192, 144) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @3 - location (103, 45) - nlines 2 - max_width 178 - justify 0 - label "EPackage") - icon_style "Label" - line_color 3342489 - fill_color 16777215 - quidu "3905C3F7000A" - width 196 - height 222 - annotation 8 - autoResize TRUE) - (object InheritView "" @4 - stereotype TRUE - line_color 3342489 - quidu "399094D70046" - client @2 - supplier @3 - line_style 0) - (object ClassView "Class" "Logical View::ecore::EClass" @5 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1728, 1824) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @5 - location (1465, 1615) - nlines 2 - max_width 526 - justify 0 - label "EClass") - icon_style "Label" - line_color 3342489 - fill_color 16777215 - quidu "3903D5BF000A" - compartment (object Compartment - Parent_View @5 - location (1465, 1715) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - anchor 2 - nlines 6 - max_width 452) - width 544 - height 440 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::ecore::EOperation" @6 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2320, 144) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @6 - location (2231, 45) - nlines 2 - max_width 178 - justify 0 - label "EOperation") - icon_style "Label" - line_color 3342489 - fill_color 16777215 - quidu "3904DAA200A0" - width 196 - height 222 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JavaDataType" @7 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (352, 1216) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @7 - location (11, 1143) - fill_color 13434879 - nlines 1 - max_width 682 - justify 0 - label "JavaDataType") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "395913340316" - compartment (object Compartment - Parent_View @7 - location (11, 1199) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 585) - width 700 - height 168 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Method" @8 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (2336, 768) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @8 - location (1736, 357) - fill_color 13434879 - nlines 1 - max_width 1200 - justify 0 - label "Method") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3654AE910271" - compartment (object Compartment - Parent_View @8 - location (1736, 413) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 17 - max_width 1027) - width 1218 - height 844 - annotation 8 - autoResize TRUE) - (object InheritView "" @9 - stereotype TRUE - line_color 3342489 - quidu "3990953803AD" - client @8 - supplier @6 - line_style 3 - origin_attachment (2376, 346) - terminal_attachment (2376, 255)) - (object ClassView "Class" "Logical View::java::JavaClass" @10 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (1312, 2864) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @10 - location (330, 2273) - fill_color 13434879 - nlines 1 - max_width 1964 - justify 0 - label "JavaClass") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "36549FCC00FA" - compartment (object Compartment - Parent_View @10 - location (330, 2329) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 25 - max_width 1680) - width 1982 - height 1204 - annotation 8 - autoResize TRUE) - (object InheritView "" @11 - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3990950000B3" - client @10 - supplier @5 - line_style 3 - origin_attachment (1594, 2262) - terminal_attachment (1594, 2044)) - (object ClassView "Class" "Logical View::java::JavaParameter" @12 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (1008, 1472) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @12 - location (608, 1286) - fill_color 13434879 - nlines 1 - max_width 800 - justify 0 - label "JavaParameter") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3654AD780280" - compartment (object Compartment - Parent_View @12 - location (608, 1342) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 7 - max_width 685) - width 818 - height 394 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::ecore::EParameter" @13 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1008, 960) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @13 - location (919, 861) - nlines 2 - max_width 178 - justify 0 - label "EParameter") - icon_style "Icon" - line_color 3342489 - fill_color 16777215 - quidu "3903E6150104" - width 196 - height 222 - annotation 8 - autoResize TRUE) - (object InheritView "" @14 - stereotype TRUE - line_color 3342489 - quidu "3B7818B00186" - client @12 - supplier @13 - line_style 0) - (object ClassView "Class" "Logical View::ecore::EClass" @15 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (320, 816) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @15 - location (56, 630) - nlines 1 - max_width 528 - justify 0 - label "EClass") - icon_style "Icon" - line_color 3342489 - fill_color 16777215 - quidu "3903D5BF000A" - compartment (object Compartment - Parent_View @15 - location (56, 730) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - anchor 2 - nlines 6 - max_width 452) - width 546 - height 394 - annotation 8 - autoResize TRUE) - (object InheritView "" @16 - stereotype TRUE - line_color 3342489 - quidu "3E5268E201B1" - client @7 - supplier @15 - line_style 0) - (object ClassView "Class" "Logical View::ecore::ETypedElement" @17 - ShowCompartmentStereotypes TRUE - IncludeOperation TRUE - location (1104, 112) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @17 - location (916, 41) - nlines 1 - max_width 376 - justify 0 - label "ETypedElement") - icon_style "Icon" - line_color 3342489 - fill_color 16777215 - quidu "3903D4F60398" - width 394 - height 164 - annotation 8 - autoResize TRUE) - (object InheritView "" @18 - stereotype TRUE - line_color 3342489 - quidu "400487F90334" - client @1 - supplier @17 - line_style 0))) - (object ClassDiagram "Polymorphism" - quid "38109D000373" - title "Polymorphism" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object ClassView "Class" "Logical View::java::JavaClass" @19 - ShowCompartmentStereotypes TRUE - location (496, 576) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @19 - location (365, 530) - fill_color 13434879 - nlines 1 - max_width 262 - justify 0 - label "JavaClass") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "36549FCC00FA" - width 280 - height 114 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "$UNNAMED$3" @20 - location (166, 537) - stereotype TRUE - line_color 3342489 - quidu "392A9EB403C6" - roleview_list (list RoleViews - (object RoleView "/supertype" @21 - Parent_View @20 - location (-330, 217) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @22 - Parent_View @21 - location (234, 480) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 226 - justify 0 - label "+/supertype" - pctDist 0.419192 - height 38 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392A9EB803B7" - client @20 - supplier @19 - vertices (list Points - (166, 537) - (166, 517) - (356, 517)) - line_style 3 - origin_attachment (166, 537) - terminal_attachment (356, 517) - label (object SegLabel @23 - Parent_View @21 - location (334, 464) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "/subtype" @24 - Parent_View @20 - location (-330, 217) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @25 - Parent_View @24 - location (257, 582) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 188 - justify 0 - label "+/subtype" - pctDist 0.532468 - height 24 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "392A9EB90098" - client @20 - supplier @19 - vertices (list Points - (166, 537) - (166, 558) - (356, 558)) - line_style 3 - origin_attachment (166, 537) - terminal_attachment (356, 558) - label (object SegLabel @26 - Parent_View @24 - location (334, 612) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 1)))) - (object ClassView "Class" "Logical View::java::JavaClass" @27 - ShowCompartmentStereotypes TRUE - location (1392, 576) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @27 - location (1261, 530) - fill_color 13434879 - nlines 1 - max_width 262 - justify 0 - label "JavaClass") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "36549FCC00FA" - width 280 - height 114 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "Implements" @28 - location (944, 521) - stereotype TRUE - line_color 3342489 - quidu "3654A0D70242" - roleview_list (list RoleViews - (object RoleView "implementsInterfaces" @29 - Parent_View @28 - location (430, -54) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @30 - Parent_View @29 - location (839, 488) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 407 - justify 0 - label "+implementsInterfaces" - pctDist -0.343558 - height 34 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3654A0DA0109" - client @28 - supplier @27 - line_style 3 - origin_attachment (944, 521) - terminal_attachment (1252, 521) - label (object SegLabel @31 - Parent_View @29 - location (1181, 485) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.773006 - height 37 - orientation 0)) - (object RoleView "implementedBy" @32 - Parent_View @28 - location (430, -54) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @33 - Parent_View @32 - location (1087, 575) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 312 - justify 0 - label "+implementedBy" - pctDist -0.470769 - height 54 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3654A0DA0138" - client @28 - supplier @19 - line_style 3 - origin_attachment (944, 521) - terminal_attachment (636, 521) - label (object SegLabel @34 - Parent_View @32 - location (684, 564) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.843230 - height 43 - orientation 0)))) - (object AssociationViewNew "$UNNAMED$4" @35 - location (1750, 601) - stereotype TRUE - line_color 3342489 - quidu "392A9F0301AC" - roleview_list (list RoleViews - (object RoleView "/supertype" @36 - Parent_View @35 - location (358, 265) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @37 - Parent_View @36 - location (1721, 640) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 226 - justify 0 - label "+/supertype" - pctDist 0.227273 - height 13 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392A9F090328" - client @35 - supplier @27 - vertices (list Points - (1750, 601) - (1750, 627) - (1532, 627)) - line_style 3 - origin_attachment (1750, 601) - terminal_attachment (1532, 627) - label (object SegLabel @38 - Parent_View @36 - location (1557, 574) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 1)) - (object RoleView "/subtype" @39 - Parent_View @35 - location (358, 265) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @40 - Parent_View @39 - location (1626, 553) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 188 - justify 0 - label "+/subtype" - pctDist 0.615970 - height 24 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "392A9F0A001C" - client @35 - supplier @27 - vertices (list Points - (1750, 601) - (1750, 576) - (1532, 576)) - line_style 3 - origin_attachment (1750, 601) - terminal_attachment (1532, 576) - label (object SegLabel @41 - Parent_View @39 - location (1557, 630) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 0)))))) - (object ClassDiagram "Main" - quid "38109F92000B" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 2760 - items (list diagram_item_list - (object NoteView @42 - location (848, 1840) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @42 - location (551, 1718) - fill_color 13434879 - nlines 4 - max_width 559 - label "This should really be JavaClass and JavaDataType, eClassifier is their closest common ancestor.") - line_color 3342489 - fill_color 8421631 - width 619 - height 256) - (object NoteView @43 - location (272, 320) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @43 - location (107, 166) - fill_color 13434879 - nlines 6 - max_width 295 - label "The classes will be contained by the standard EPackage metaObjects relationship.") - line_color 3342489 - fill_color 13434879 - width 355 - height 320) - (object ClassView "Class" "Logical View::java::Field" @44 - ShowCompartmentStereotypes TRUE - location (1776, 480) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @44 - location (1680, 434) - fill_color 13434879 - nlines 1 - max_width 192 - justify 0 - label "Field") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3654AF8F0280" - width 210 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Initializer" @45 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1568, 224) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @45 - location (1363, 151) - fill_color 13434879 - nlines 1 - max_width 410 - justify 0 - label "Initializer") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3654A5DC00BB" - compartment (object Compartment - Parent_View @45 - location (1363, 207) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 345) - width 428 - height 168 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JavaPackage" @46 - ShowCompartmentStereotypes TRUE - IncludeOperation TRUE - location (608, 96) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @46 - location (447, 50) - fill_color 13434879 - nlines 1 - max_width 322 - justify 0 - label "JavaPackage") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "38108E0301D2" - width 340 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JavaParameter" @47 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - location (1744, 1584) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @47 - location (1344, 1488) - fill_color 13434879 - nlines 1 - max_width 800 - justify 0 - label "JavaParameter") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3654AD780280" - compartment (object Compartment - Parent_View @47 - location (1344, 1544) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 3 - max_width 678) - width 818 - height 214 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Method" @48 - ShowCompartmentStereotypes TRUE - location (1712, 992) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @48 - location (1613, 946) - fill_color 13434879 - nlines 1 - max_width 198 - justify 0 - label "Method") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3654AE910271" - width 216 - height 114 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "MethodHas" @49 - location (1700, 1262) - stereotype TRUE - line_color 3342489 - quidu "3654AF0302CE" - roleview_list (list RoleViews - (object RoleView "method" @50 - Parent_View @49 - location (308, 238) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3654AF080197" - client @49 - supplier @48 - line_style 3 - origin_attachment (1700, 1262) - terminal_attachment (1700, 1049) - label (object SegLabel @51 - Parent_View @50 - location (1633, 1097) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..1" - pctDist 0.781659 - height 68 - orientation 0)) - (object RoleView "parameters" @52 - Parent_View @49 - location (308, 238) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @53 - Parent_View @52 - location (1837, 1433) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 235 - justify 0 - label "+parameters" - pctDist 0.803565 - height 137 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3654AF080196" - client @49 - supplier @47 - line_style 3 - origin_attachment (1700, 1262) - terminal_attachment (1700, 1476) - label (object SegLabel @54 - Parent_View @52 - location (1636, 1456) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.905128 - height 65 - orientation 1) - label (object SegLabel @55 - Parent_View @52 - location (1592, 1397) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 3 - anchor_loc 1 - nlines 1 - max_width 159 - justify 0 - label "{ordered}" - pctDist 0.628821 - height 109 - orientation 1)))) - (object ClassView "Class" "Logical View::java::JavaEvent" @56 - ShowCompartmentStereotypes TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (2192, 656) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @56 - location (2064, 607) - fill_color 13434879 - nlines 1 - max_width 256 - justify 0 - label "JavaEvent") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3C62FAF103C8" - width 274 - height 122 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JavaClass" @57 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - location (560, 672) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @57 - location (374, 554) - fill_color 13434879 - nlines 1 - max_width 372 - justify 0 - label "JavaClass") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "36549FCC00FA" - compartment (object Compartment - Parent_View @57 - location (374, 610) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 4 - max_width 313) - width 390 - height 258 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "$UNNAMED$1" @58 - location (1213, 538) - stereotype TRUE - line_color 3342489 - quidu "382A29BD0219" - roleview_list (list RoleViews - (object RoleView "fields" @59 - Parent_View @58 - location (733, 282) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @60 - Parent_View @59 - location (1511, 513) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 192 - justify 0 - label "+fields" - pctDist 0.653017 - height 26 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "382A29BE0350" - client @58 - supplier @44 - line_style 3 - origin_attachment (1213, 538) - terminal_attachment (1671, 538) - label (object SegLabel @61 - Parent_View @59 - location (1624, 485) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "javaClass" @62 - Parent_View @58 - location (733, 282) - stereotype TRUE - line_color 3342489 - quidu "382A29BE03BF" - client @58 - supplier @57 - line_style 3 - origin_attachment (1213, 538) - terminal_attachment (755, 538)))) - (object AssociationViewNew "$UNNAMED$5" @63 - location (916, 307) - stereotype TRUE - line_color 3342489 - quidu "392AA09503E5" - roleview_list (list RoleViews - (object RoleView "initializers" @64 - Parent_View @63 - location (276, 99) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @65 - Parent_View @64 - location (1096, 216) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 212 - justify 0 - label "+initializers" - pctDist 0.410719 - height 92 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AA0970153" - client @63 - supplier @45 - line_style 3 - origin_attachment (916, 307) - terminal_attachment (1354, 307) - label (object SegLabel @66 - Parent_View @64 - location (1345, 368) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.979687 - height 61 - orientation 1)) - (object RoleView "javaClass" @67 - Parent_View @63 - location (276, 99) - stereotype TRUE - line_color 3342489 - quidu "392AA097015D" - client @63 - supplier @57 - vertices (list Points - (916, 307) - (713, 307) - (713, 543)) - line_style 3 - origin_attachment (916, 307) - terminal_attachment (713, 543)))) - (object AssociationViewNew "$UNNAMED$6" @68 - location (206, 642) - stereotype TRUE - line_color 3342489 - quidu "392AA21200C2" - roleview_list (list RoleViews - (object RoleView "declaredClasses" @69 - Parent_View @68 - location (-578, 274) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @70 - Parent_View @69 - location (240, 582) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 325 - justify 0 - label "+declaredClasses" - pctDist 0.343195 - height 31 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AA21701D8" - client @68 - supplier @57 - vertices (list Points - (206, 642) - (206, 612) - (365, 612)) - line_style 3 - origin_attachment (206, 642) - terminal_attachment (365, 612) - label (object SegLabel @71 - Parent_View @69 - location (347, 556) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.902367 - height 57 - orientation 0)) - (object RoleView "declaringClass" @72 - Parent_View @68 - location (-578, 274) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @73 - Parent_View @72 - location (258, 675) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 298 - justify 0 - label "+declaringClass" - pctDist 0.434286 - height 3 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "392AA21702DC" - client @68 - supplier @57 - vertices (list Points - (206, 642) - (206, 672) - (365, 672)) - line_style 3 - origin_attachment (206, 642) - terminal_attachment (365, 672) - label (object SegLabel @74 - Parent_View @72 - location (345, 726) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..1" - pctDist 0.900000 - height 54 - orientation 1)))) - (object AssociationViewNew "$UNNAMED$7" @75 - location (603, 347) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype (object SegLabel @76 - Parent_View @75 - location (603, 228) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 10 - anchor_loc 1 - nlines 1 - max_width 450 - justify 0 - label "<<derived>>" - pctDist 0.500000 - height 120 - orientation 0) - line_color 3342489 - quidu "392AA2A701C1" - roleview_list (list RoleViews - (object RoleView "javaClasses" @77 - Parent_View @75 - location (27, 219) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @78 - Parent_View @77 - location (720, 419) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 248 - justify 0 - label "+javaClasses" - pctDist 0.367521 - height 117 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AA2A80367" - client @75 - supplier @57 - line_style 3 - origin_attachment (603, 347) - terminal_attachment (603, 543) - label (object SegLabel @79 - Parent_View @77 - location (657, 522) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "javaPackage" @80 - Parent_View @75 - location (27, 219) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @81 - Parent_View @80 - location (482, 179) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 263 - justify 0 - label "+javaPackage" - pctDist 0.862903 - height 122 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AA2A90083" - client @75 - supplier @46 - line_style 3 - origin_attachment (603, 347) - terminal_attachment (603, 152) - label (object SegLabel @82 - Parent_View @80 - location (657, 172) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..1" - pctDist 0.900000 - height 54 - orientation 1)))) - (object AttachView "" @83 - stereotype TRUE - line_color 3342489 - client @43 - supplier @75 - line_style 0) - (object AssociationViewNew "$UNNAMED$0" @84 - location (616, 1524) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @85 - Parent_View @84 - location (616, 1465) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - hidden TRUE - anchor 1 - anchor_loc 1 - nlines 1 - max_width 600 - justify 0 - label "" - pctDist 0.500000 - height 60 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3654B08801A5" - roleview_list (list RoleViews - (object RoleView "/typedElement" @86 - Parent_View @84 - location (56, 948) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3654B091008C" - client @84 - supplier @47 - vertices (list Points - (616, 1524) - (616, 1584) - (1335, 1584)) - line_style 3 - origin_attachment (616, 1524) - terminal_attachment (1335, 1584) - label (object SegLabel @87 - Parent_View @86 - location (1256, 1531) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "/type" @88 - Parent_View @84 - location (56, 948) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @89 - Parent_View @88 - location (697, 1099) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 116 - justify 0 - label "+/type" - pctDist 0.588161 - height 81 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3654B091007D" - client @84 - supplier @57 - line_style 3 - origin_attachment (616, 1524) - terminal_attachment (616, 801)))) - (object AssociationViewNew "$UNNAMED$2" @90 - location (1088, 961) - stereotype TRUE - line_color 3342489 - quidu "382A29C0017D" - roleview_list (list RoleViews - (object RoleView "methods" @91 - Parent_View @90 - location (608, 705) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @92 - Parent_View @91 - location (1409, 889) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 192 - justify 0 - label "+methods" - pctDist 0.624023 - height 73 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "382A29C10174" - client @90 - supplier @48 - line_style 3 - origin_attachment (1088, 961) - terminal_attachment (1604, 961) - label (object SegLabel @93 - Parent_View @91 - location (1483, 1017) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.766040 - height 56 - orientation 1)) - (object RoleView "javaClass" @94 - Parent_View @90 - location (608, 705) - stereotype TRUE - line_color 3342489 - quidu "382A29C1020A" - client @90 - supplier @57 - vertices (list Points - (1088, 961) - (732, 961) - (732, 801)) - line_style 3 - origin_attachment (1088, 961) - terminal_attachment (732, 801)))) - (object AssociationViewNew "MethodThrows" @95 - location (1047, 981) - stereotype TRUE - line_color 3342489 - quidu "3810B61B0178" - roleview_list (list RoleViews - (object RoleView "method" @96 - Parent_View @95 - location (487, 405) - stereotype TRUE - line_color 3342489 - quidu "3810B61E0227" - client @95 - supplier @48 - line_style 3 - origin_attachment (1047, 981) - terminal_attachment (1604, 981)) - (object RoleView "javaExceptions" @97 - Parent_View @95 - location (487, 405) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @98 - Parent_View @97 - location (733, 945) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 312 - justify 0 - label "+javaExceptions" - pctDist 0.563664 - height 37 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3810B61E01C3" - client @95 - supplier @57 - vertices (list Points - (1047, 981) - (669, 981) - (669, 801)) - line_style 3 - origin_attachment (1047, 981) - terminal_attachment (669, 801) - label (object SegLabel @99 - Parent_View @97 - location (723, 857) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 1)))) - (object AssociationViewNew "$UNNAMED$11" @100 - location (1541, 806) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3C62FBE00168" - roleview_list (list RoleViews - (object RoleView "events" @101 - Parent_View @100 - location (981, 134) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @102 - Parent_View @101 - location (2169, 765) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 144 - justify 0 - label "+events" - pctDist 0.800000 - height 42 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3C62FBE2008F" - client @100 - supplier @56 - vertices (list Points - (1541, 806) - (2238, 806) - (2238, 717)) - line_style 3 - origin_attachment (1541, 806) - terminal_attachment (2238, 717) - label (object SegLabel @103 - Parent_View @101 - location (2292, 796) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 1)) - (object RoleView "$UNNAMED$12" @104 - Parent_View @100 - location (981, 134) - stereotype TRUE - line_color 3342489 - quidu "3C62FBE20091" - client @100 - supplier @57 - line_style 3 - origin_attachment (1541, 806) - terminal_attachment (755, 806)))) - (object AssociationViewNew "$UNNAMED$13" @105 - location (1405, 663) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3C8938770253" - roleview_list (list RoleViews - (object RoleView "allEvents" @106 - Parent_View @105 - location (845, -9) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @107 - Parent_View @106 - location (1925, 622) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 193 - justify 0 - label "+allEvents" - pctDist 0.800000 - height 42 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3C89387802CC" - client @105 - supplier @56 - line_style 3 - origin_attachment (1405, 663) - terminal_attachment (2055, 663) - label (object SegLabel @108 - Parent_View @106 - location (1975, 702) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.876336 - height 39 - orientation 1)) - (object RoleView "$UNNAMED$14" @109 - Parent_View @105 - location (845, -9) - stereotype TRUE - line_color 3342489 - quidu "3C89387802CE" - client @105 - supplier @57 - line_style 3 - origin_attachment (1405, 663) - terminal_attachment (755, 663)))) - (object ClassView "Class" "Logical View::ecore::EClassifier" @110 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (448, 2256) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @110 - location (130, 2059) - nlines 1 - max_width 636 - justify 0 - label "EClassifier") - icon_style "Icon" - line_color 3342489 - fill_color 16777215 - quidu "3ACE4FEE0371" - compartment (object Compartment - Parent_View @110 - location (130, 2162) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - anchor 2 - nlines 6 - max_width 538) - width 654 - height 418 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::ArrayType" @111 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - location (352, 1328) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @111 - location (112, 1255) - fill_color 13434879 - nlines 1 - max_width 480 - justify 0 - label "ArrayType") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3A9D79ED01DF" - compartment (object Compartment - Parent_View @111 - location (112, 1311) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 405) - width 498 - height 168 - annotation 8 - autoResize TRUE) - (object InheritView "" @112 - stereotype TRUE - line_color 3342489 - quidu "3A9D79FD010F" - client @111 - supplier @57 - line_style 3 - origin_attachment (431, 1243) - terminal_attachment (431, 801)) - (object AssociationViewNew "$UNNAMED$15" @113 - location (393, 1729) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3DF4CAAD01A3" - roleview_list (list RoleViews - (object RoleView "componentType" @114 - Parent_View @113 - location (-55, 385) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @115 - Parent_View @114 - location (378, 1986) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 328 - justify 0 - label "+componentType" - pctDist 0.800000 - height 42 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3DF4CAAE01EB" - client @113 - supplier @110 - line_style 0 - label (object SegLabel @116 - Parent_View @114 - location (477, 2008) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "$UNNAMED$16" @117 - Parent_View @113 - location (-55, 385) - stereotype TRUE - line_color 3342489 - quidu "3DF4CAAE01F5" - client @113 - supplier @111 - line_style 0))) - (object ClassView "Class" "Logical View::ecore::EStructuralFeature" @118 - ShowCompartmentStereotypes TRUE - location (2224, 224) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @118 - location (2033, 145) - nlines 1 - max_width 382 - justify 0 - label "EStructuralFeature") - icon_style "Icon" - line_color 3342489 - fill_color 16777215 - quidu "3903D59D0230" - width 400 - height 182 - annotation 8 - autoResize TRUE) - (object InheritView "" @119 - stereotype TRUE - line_color 3342489 - quidu "3DF4CE830390" - client @56 - supplier @118 - line_style 0))) - (object ClassDiagram "Imports" - quid "3810A0DC015D" - title "Imports" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object ClassView "Class" "Logical View::java::JavaClass" @120 - ShowCompartmentStereotypes TRUE - location (320, 672) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @120 - location (189, 626) - fill_color 13434879 - nlines 1 - max_width 262 - justify 0 - label "JavaClass") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "36549FCC00FA" - width 280 - height 114 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "ClassImports" @121 - location (643, 1115) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @122 - Parent_View @121 - location (677, 1040) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 600 - justify 0 - label "ClassImports" - pctDist 1.066667 - height 76 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3829C4BF000D" - roleview_list (list RoleViews - (object RoleView "classImport" @123 - Parent_View @121 - location (227, 331) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @124 - Parent_View @123 - location (665, 671) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 240 - justify 0 - label "+classImport" - pctDist 0.727154 - height 2 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3829C4BF000E" - client @121 - supplier @120 - vertices (list Points - (643, 1115) - (703, 1115) - (703, 672) - (460, 672)) - line_style 3 - origin_attachment (643, 1115) - terminal_attachment (460, 672) - label (object SegLabel @125 - Parent_View @123 - location (525, 723) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.914676 - height 51 - orientation 0) - label (object SegLabel @126 - Parent_View @123 - location (742, 737) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 3 - anchor_loc 1 - nlines 1 - max_width 159 - justify 0 - label "{ordered}" - pctDist 0.587467 - height 39 - orientation 1)) - (object RoleView "importedBy" @127 - Parent_View @121 - location (227, 331) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @128 - Parent_View @127 - location (330, 936) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 240 - justify 0 - label "+importedBy" - pctDist 0.708040 - height 10 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3829C4BF000F" - client @121 - supplier @120 - vertices (list Points - (643, 1115) - (320, 1115) - (320, 729)) - line_style 3 - origin_attachment (643, 1115) - terminal_attachment (320, 729) - label (object SegLabel @129 - Parent_View @127 - location (280, 802) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.897611 - height 41 - orientation 0)))) - (object ClassView "Class" "Logical View::java::JavaPackage" @130 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1408, 224) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @130 - location (1247, 178) - fill_color 13434879 - nlines 1 - max_width 322 - justify 0 - label "JavaPackage") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "38108E0301D2" - width 340 - height 114 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "PackageImports" @131 - location (1023, 382) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @132 - Parent_View @131 - location (1038, 419) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 600 - justify 0 - label "PackageImports" - pctDist 0.750000 - height 37 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3829C4EC0207" - roleview_list (list RoleViews - (object RoleView "importedBy" @133 - Parent_View @131 - location (-417, -306) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @134 - Parent_View @133 - location (648, 430) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 240 - justify 0 - label "+importedBy" - pctDist 0.646526 - height 41 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3829C4EE0105" - client @131 - supplier @120 - vertices (list Points - (1023, 382) - (1023, 255) - (413, 614)) - line_style 0 - label (object SegLabel @135 - Parent_View @133 - location (512, 618) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "packageImports" @136 - Parent_View @131 - location (-417, -306) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @137 - Parent_View @136 - location (1223, 579) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 312 - justify 0 - label "+packageImports" - pctDist 0.522472 - height 40 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "3829C4EE00FB" - client @131 - supplier @130 - vertices (list Points - (1023, 382) - (1023, 618) - (1265, 618) - (1386, 281)) - line_style 0 - label (object SegLabel @138 - Parent_View @136 - location (1409, 378) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..n" - pctDist 0.900000 - height 54 - orientation 1) - label (object SegLabel @139 - Parent_View @136 - location (1424, 500) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 3 - anchor_loc 1 - nlines 1 - max_width 159 - justify 0 - label "{ordered}" - pctDist 0.769663 - height 109 - orientation 1)))))) - (object ClassDiagram "Source code" - quid "3810A13B0159" - title "Source code" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object ClassView "Class" "Logical View::java::Comment" @140 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (592, 688) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @140 - location (475, 642) - fill_color 13434879 - nlines 1 - max_width 234 - justify 0 - label "Comment") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "380F889B02B8" - width 252 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Statement" @141 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1104, 688) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @141 - location (983, 642) - fill_color 13434879 - nlines 1 - max_width 242 - justify 0 - label "Statement") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "380F88B9025A" - width 260 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Initializer" @142 - ShowCompartmentStereotypes TRUE - IncludeOperation TRUE - location (144, 288) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @142 - location (33, 242) - fill_color 13434879 - nlines 1 - max_width 222 - justify 0 - label "Initializer") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3654A5DC00BB" - width 240 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Field" @143 - ShowCompartmentStereotypes TRUE - location (256, 112) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @143 - location (160, 66) - fill_color 13434879 - nlines 1 - max_width 192 - justify 0 - label "Field") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3654AF8F0280" - width 210 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::Block" @144 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (864, 352) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @144 - location (692, 256) - fill_color 13434879 - nlines 1 - max_width 344 - justify 0 - label "Block") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "380F88370150" - compartment (object Compartment - Parent_View @144 - location (692, 312) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 3 - max_width 290) - width 362 - height 214 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @145 - location (864, 580) - line_color 3342489 - fill_color 13434879 - supplier @144 - vertices (list Points - (864, 580) - (864, 459))) - (object InheritView "" @146 - stereotype TRUE - line_color 3342489 - quidu "380F88D600A5" - client @140 - supplier @144 - line_style 3 - origin_attachment (581, 631) - terminal_attachment (581, 580) - drawSupplier @145) - (object InheritView "" @147 - stereotype TRUE - line_color 3342489 - quidu "380F88DA0056" - client @141 - supplier @144 - line_style 3 - origin_attachment (1121, 630) - terminal_attachment (1121, 580) - drawSupplier @145) - (object AssociationViewNew "$UNNAMED$8" @148 - location (473, 300) - stereotype TRUE - line_color 3342489 - quidu "392AAC33036A" - roleview_list (list RoleViews - (object RoleView "source" @149 - Parent_View @148 - location (153, -388) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @150 - Parent_View @149 - location (599, 267) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 145 - justify 0 - label "+source" - pctDist 0.599393 - height 34 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AAC380140" - client @148 - supplier @144 - line_style 3 - origin_attachment (473, 300) - terminal_attachment (683, 300) - label (object SegLabel @151 - Parent_View @149 - location (605, 334) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..1" - pctDist 0.635266 - height 34 - orientation 1)) - (object RoleView "initializer" @152 - Parent_View @148 - location (153, -388) - stereotype TRUE - line_color 3342489 - quidu "392AAC380168" - client @148 - supplier @142 - line_style 3 - origin_attachment (473, 300) - terminal_attachment (264, 300)))) - (object AssociationViewNew "$UNNAMED$9" @153 - location (671, 114) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @154 - Parent_View @153 - location (671, 55) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - hidden TRUE - anchor 1 - anchor_loc 1 - nlines 1 - max_width 60 - justify 0 - label "" - pctDist 0.500000 - height 60 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AAC5602A2" - roleview_list (list RoleViews - (object RoleView "initializer" @155 - Parent_View @153 - location (319, -334) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @156 - Parent_View @155 - location (954, 210) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 195 - justify 0 - label "+initializer" - pctDist 0.891827 - height 104 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AAC5702DF" - client @153 - supplier @144 - vertices (list Points - (671, 114) - (850, 114) - (850, 245)) - line_style 3 - origin_attachment (671, 114) - terminal_attachment (850, 245) - label (object SegLabel @157 - Parent_View @155 - location (790, 218) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..1" - pctDist 0.913462 - height 61 - orientation 1)) - (object RoleView "field" @158 - Parent_View @153 - location (319, -334) - stereotype TRUE - line_color 3342489 - quidu "392AAC570307" - client @153 - supplier @143 - line_style 3 - origin_attachment (671, 114) - terminal_attachment (361, 114)))) - (object ClassView "Class" "Logical View::java::Method" @159 - ShowCompartmentStereotypes TRUE - location (288, 496) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @159 - location (190, 450) - fill_color 13434879 - nlines 1 - max_width 196 - justify 0 - label "Method") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3654AE910271" - width 214 - height 114 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "$UNNAMED$10" @160 - location (596, 496) - stereotype TRUE - line_color 3342489 - quidu "392AACA501E7" - roleview_list (list RoleViews - (object RoleView "source" @161 - Parent_View @160 - location (276, -448) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @162 - Parent_View @161 - location (690, 463) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 145 - justify 0 - label "+source" - pctDist 0.474777 - height 34 - orientation 0) - stereotype TRUE - line_color 3342489 - quidu "392AACA7017C" - client @160 - supplier @144 - vertices (list Points - (596, 496) - (759, 496) - (759, 459)) - line_style 3 - origin_attachment (596, 496) - terminal_attachment (759, 459) - label (object SegLabel @163 - Parent_View @161 - location (817, 477) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "0..1" - pctDist 0.915367 - height 58 - orientation 1)) - (object RoleView "method" @164 - Parent_View @160 - location (276, -448) - stereotype TRUE - line_color 3342489 - quidu "392AACA701B8" - client @160 - supplier @159 - line_style 3 - origin_attachment (596, 496) - terminal_attachment (395, 496)))))) - (object ClassDiagram "Data Types" - quid "3810A1CE02EB" - title "Data Types" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object ClassView "Class" "Logical View::java::TypeKind" @165 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (240, 224) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @165 - location (77, 84) - fill_color 13434879 - nlines 1 - max_width 326 - justify 0 - label "TypeKind") - stereotype (object ItemLabel - Parent_View @165 - location (77, 39) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 326 - justify 0 - label "<<enumeration>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3654B46002BF" - compartment (object Compartment - Parent_View @165 - location (77, 140) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 5 - max_width 277) - width 344 - height 392 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JavaVisibilityKind" @166 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (240, 640) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @166 - location (68, 500) - fill_color 13434879 - nlines 1 - max_width 344 - justify 0 - label "JavaVisibilityKind") - stereotype (object ItemLabel - Parent_View @166 - location (68, 455) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 344 - justify 0 - label "<<enumeration>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "382333BE032E" - compartment (object Compartment - Parent_View @166 - location (68, 556) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 5 - max_width 292) - width 362 - height 392 - annotation 8 - autoResize TRUE) - (object NoteView @167 - location (1296, 208) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @167 - location (887, 52) - fill_color 13434879 - nlines 6 - max_width 783 - label -|The Java primitive types are instances of JavaDataType. The common parent class with JavaClass is Classifier. The primitive types can be obtained via a JavaURL("int"), which resolves to a reference like: "java:/#int" - ) - line_color 3342489 - fill_color 13434879 - width 843 - height 325) - (object ClassView "Class" "Logical View::java::JavaParameterKind" @168 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (256, 1088) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @168 - location (63, 948) - fill_color 13434879 - nlines 1 - max_width 386 - justify 0 - label "JavaParameterKind") - stereotype (object ItemLabel - Parent_View @168 - location (63, 903) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 386 - justify 0 - label "<<enumeration>>") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "391C1E8F0123" - compartment (object Compartment - Parent_View @168 - location (63, 1004) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 5 - max_width 207) - width 404 - height 392 - annotation 8 - autoResize TRUE) - (object NoteView @169 - location (768, 1120) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @169 - location (574, 1017) - fill_color 13434879 - nlines 4 - max_width 352 - label "Temporary enum for Java parameter kind until we get the base sorted out") - line_color 3342489 - fill_color 13434879 - width 412 - height 219) - (object ClassView "Class" "Logical View::java::JavaDataType" @170 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - ShowOperationSignature TRUE - location (1168, 1408) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @170 - location (999, 1362) - fill_color 13434879 - nlines 1 - max_width 338 - justify 0 - label "JavaDataType") - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "395913340316" - width 356 - height 114 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::ecore::EDataType" @171 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1088, 640) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @171 - location (812, 511) - nlines 2 - max_width 552 - justify 0 - label "EDataType") - icon_style "Label" - line_color 3342489 - fill_color 16777215 - quidu "3903D525033E" - compartment (object Compartment - Parent_View @171 - location (812, 611) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - anchor 2 - nlines 2 - max_width 522) - width 570 - height 282 - annotation 8 - autoResize TRUE) - (object AttachView "" @172 - stereotype TRUE - line_color 3342489 - client @169 - supplier @168 - line_style 0))) - (object ClassDiagram "Java Types" - quid "3B65B823020D" - title "Java Types" - documentation "This class diagram contains the Java Types that are not EMF classes but are referenced in this diagram." - zoom 100 - max_height 28350 - max_width 21600 - origin_x 478 - origin_y 35 - items (list diagram_item_list - (object ClassView "Class" "Logical View::java::JTypeJavaHelpers" @173 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (912, 208) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @173 - location (398, 154) - fill_color 13434879 - nlines 1 - max_width 1028 - justify 0 - label "JTypeJavaHelpers") - stereotype (object ItemLabel - Parent_View @173 - location (398, 109) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 1028 - justify 0 - label "<<datatype>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3B65ADE403A6" - compartment (object Compartment - Parent_View @173 - location (398, 210) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 873) - width 1046 - height 220 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::java::JTypeList" @174 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (880, 576) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @174 - location (628, 523) - fill_color 13434879 - nlines 1 - max_width 504 - justify 0 - label "JTypeList") - stereotype (object ItemLabel - Parent_View @174 - location (628, 478) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 504 - justify 0 - label "<<datatype>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3B65B87602C1" - compartment (object Compartment - Parent_View @174 - location (628, 579) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 507) - width 522 - height 218 - annotation 8 - autoResize TRUE)))))
diff --git a/plugins/org.eclipse.jem/rose/instance.mdl b/plugins/org.eclipse.jem/rose/instance.mdl deleted file mode 100644 index a519898..0000000 --- a/plugins/org.eclipse.jem/rose/instance.mdl +++ /dev/null
@@ -1,8477 +0,0 @@ - -(object Petal - version 47 - _written "Rose 8.0.0303.1400" - charSet 0) - -(object Design "Logical View" - is_unit TRUE - is_loaded TRUE - attributes (list Attribute_Set - (object Attribute - tool "Java" - name "IDE" - value "Internal Editor") - (object Attribute - tool "Java" - name "UserDefineTagName1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply3" - value "")) - quid "3A79EBA50331" - defaults (object defaults - rightMargin 0.250000 - leftMargin 0.250000 - topMargin 0.250000 - bottomMargin 0.500000 - pageOverlap 0.250000 - clipIconLabels TRUE - autoResize TRUE - snapToGrid FALSE - gridX 16 - gridY 16 - defaultFont (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - showMessageNum 1 - showClassOfObject TRUE - notation "Unified") - root_usecase_package (object Class_Category "Use Case View" - quid "3A7999AD0297" - exportControl "Public" - global TRUE - logical_models (list unit_reference_list) - logical_presentations (list unit_reference_list - (object UseCaseDiagram "Main" - quid "3A7999B702F6" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list)))) - root_category (object Class_Category "Logical View" - quid "3A7999AD028E" - exportControl "Public" - global TRUE - subsystem "Component View" - quidu "3B86F172016F" - logical_models (list unit_reference_list - (object Class_Category "instantiation" - is_unit TRUE - is_loaded FALSE - file_name "$WorkspaceRoot\\org.eclipse.jem\\rose\\instantiation.cat" - quid "3B86F1720180") - (object Class_Category "ecore" - is_unit TRUE - is_loaded FALSE - file_name "$WorkspaceRoot\\org.eclipse.emf.ecore\\src\\model\\org.eclipse.emf.Ecore.cat" - quid "39A5ED04004E")) - logical_presentations (list unit_reference_list - (object ClassDiagram "Main" - quid "3B86F1720173" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object CategoryView "Logical View::instantiation" @1 - location (333, 240) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @1 - location (189, 156) - fill_color 13434879 - nlines 2 - max_width 288 - justify 0 - label "instantiation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3B86F1720180" - width 300 - height 180))) - (object ClassDiagram "Dependencies (Don't edit)" - quid "3B86F31F0281" - title "Dependencies (Don't edit)" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object NoteView @2 - location (753, 685) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @2 - location (305, 539) - fill_color 13434879 - nlines 6 - max_width 860 - label "These are the dependencies. They are not to be edited. They must only be edited by their owner models.") - line_color 3342489 - fill_color 8421631 - width 920 - height 305) - (object CategoryView "Logical View::ecore" @3 - location (263, 185) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @3 - location (119, 101) - fill_color 13434879 - nlines 2 - max_width 288 - justify 0 - label "ecore") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "39A5ED04004E" - width 300 - height 180))))) - root_subsystem (object SubSystem "Component View" - quid "3B86F172016F" - physical_models (list unit_reference_list) - physical_presentations (list unit_reference_list - (object Module_Diagram "Main" - quid "3B86F1720176" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list)))) - process_structure (object Processes - quid "3B86F1720170" - ProcsNDevs (list - (object Process_Diagram "Deployment View" - quid "3B86F1720172" - title "Deployment View" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list)))) - properties (object Properties - attributes (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "propertyId" - value "809135966") - (object Attribute - tool "Cplusplus" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "Const" - value FALSE) - (object Attribute - tool "Cplusplus" - name "InitialValue" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Inherit" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE))) - (object Attribute - tool "Cplusplus" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "Copyright" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "RootPackage" - value "C++ Reverse Engineered") - (object Attribute - tool "Cplusplus" - name "InitialHeaderIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "InitialBodyIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "RevEngRootDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "RevEngDirectoriesAsPackages" - value FALSE) - (object Attribute - tool "Cplusplus" - name "HeaderFileExtension" - value ".h") - (object Attribute - tool "Cplusplus" - name "ImplementationFileExtension" - value ".cpp") - (object Attribute - tool "Cplusplus" - name "NewHeaderFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "NewImplementationFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "FileCapitalization" - value ("FileCapitalizationSet" 0)) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectories" - value ("CodeGenExtraDirectoriesSet" 0)) - (object Attribute - tool "Cplusplus" - name "StripClassPrefix" - value "") - (object Attribute - tool "Cplusplus" - name "UseTabs" - value FALSE) - (object Attribute - tool "Cplusplus" - name "TabWidth" - value 8) - (object Attribute - tool "Cplusplus" - name "IndentWidth" - value 4) - (object Attribute - tool "Cplusplus" - name "AccessIndentation" - value -2) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRules" - value ("ModelIdCommentRulesSet" 1)) - (object Attribute - tool "Cplusplus" - name "PageWidth" - value 80) - (object Attribute - tool "Cplusplus" - name "ClassMemberOrder" - value ("MemberOrderSet" 1)) - (object Attribute - tool "Cplusplus" - name "OneParameterPerLine" - value FALSE) - (object Attribute - tool "Cplusplus" - name "NamespaceBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "ClassBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "FunctionBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectoriesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "None" - value 0) - (object Attribute - tool "Cplusplus" - name "Namespaces" - value 1) - (object Attribute - tool "Cplusplus" - name "Packages" - value 2))) - (object Attribute - tool "Cplusplus" - name "FileCapitalizationSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Same as model" - value 0) - (object Attribute - tool "Cplusplus" - name "Lower case" - value 1) - (object Attribute - tool "Cplusplus" - name "Upper case" - value 2) - (object Attribute - tool "Cplusplus" - name "Lower case with underscores" - value 3))) - (object Attribute - tool "Cplusplus" - name "BraceStyleSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "B1" - value 1) - (object Attribute - tool "Cplusplus" - name "B2" - value 2) - (object Attribute - tool "Cplusplus" - name "B3" - value 3) - (object Attribute - tool "Cplusplus" - name "B4" - value 4) - (object Attribute - tool "Cplusplus" - name "B5" - value 5))) - (object Attribute - tool "Cplusplus" - name "MemberOrderSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Public First" - value 1) - (object Attribute - tool "Cplusplus" - name "Private First" - value 2) - (object Attribute - tool "Cplusplus" - name "Order by kind" - value 3) - (object Attribute - tool "Cplusplus" - name "Unordered" - value 4))) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRulesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Code generation only" - value 1) - (object Attribute - tool "Cplusplus" - name "Code generation and reverse engineering" - value 2) - (object Attribute - tool "Cplusplus" - name "Never generate model IDs" - value 3))))) - (object Attribute - tool "Cplusplus" - name "default__Param" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "CodeName" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "InitialCodeBody" - value "") - (object Attribute - tool "Cplusplus" - name "Inline" - value FALSE) - (object Attribute - tool "Cplusplus" - name "GenerateFunctionBody" - value ("GenerateFunctionBodySet" 2)) - (object Attribute - tool "Cplusplus" - name "GenerateFunctionBodySet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Default" - value 2) - (object Attribute - tool "Cplusplus" - name "True" - value 1) - (object Attribute - tool "Cplusplus" - name "False" - value 0))))) - (object Attribute - tool "Cplusplus" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "ImplementationType" - value "") - (object Attribute - tool "Cplusplus" - name "HeaderSourceFile" - value "") - (object Attribute - tool "Cplusplus" - name "BodySourceFile" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "IsNamespace" - value FALSE))) - (object Attribute - tool "Cplusplus" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ANSI C++ Event Watcher" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ANSIConvert" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Ada83" - name "propertyId" - value "838326200") - (object Attribute - tool "Ada83" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "SpecFileExtension" - value "1.ada") - (object Attribute - tool "Ada83" - name "SpecFileBackupExtension" - value "1.ad~") - (object Attribute - tool "Ada83" - name "SpecFileTemporaryExtension" - value "1.ad#") - (object Attribute - tool "Ada83" - name "BodyFileExtension" - value "2.ada") - (object Attribute - tool "Ada83" - name "BodyFileBackupExtension" - value "2.ad~") - (object Attribute - tool "Ada83" - name "BodyFileTemporaryExtension" - value "2.ad#") - (object Attribute - tool "Ada83" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateBodies" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "DefaultCodeBody" - value "[statement]") - (object Attribute - tool "Ada83" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada83" - name "CommentWidth" - value 60) - (object Attribute - tool "Ada83" - name "StopOnError" - value FALSE) - (object Attribute - tool "Ada83" - name "ErrorLimit" - value 30) - (object Attribute - tool "Ada83" - name "UseFileName" - value FALSE) - (object Attribute - tool "Ada83" - name "Directory" - value "$ROSEADA83_SOURCE"))) - (object Attribute - tool "Ada83" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "ClassName" - value "Object") - (object Attribute - tool "Ada83" - name "ClassAccess" - value ("ImplementationSet" 43)) - (object Attribute - tool "Ada83" - name "ImplementationType" - value (value Text "")) - (object Attribute - tool "Ada83" - name "IsSubtype" - value FALSE) - (object Attribute - tool "Ada83" - name "PolymorphicUnit" - value FALSE) - (object Attribute - tool "Ada83" - name "HandleName" - value "Handle") - (object Attribute - tool "Ada83" - name "HandleAccess" - value ("ImplementationSet" 45)) - (object Attribute - tool "Ada83" - name "Discriminant" - value "") - (object Attribute - tool "Ada83" - name "Variant" - value "") - (object Attribute - tool "Ada83" - name "EnumerationLiteralPrefix" - value "A_") - (object Attribute - tool "Ada83" - name "RecordFieldPrefix" - value "The_") - (object Attribute - tool "Ada83" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada83" - name "ClassParameterName" - value "This") - (object Attribute - tool "Ada83" - name "DefaultConstructorKind" - value ("ConstructorKindSet" 199)) - (object Attribute - tool "Ada83" - name "DefaultConstructorName" - value "Create") - (object Attribute - tool "Ada83" - name "InlineDefaultConstructor" - value FALSE) - (object Attribute - tool "Ada83" - name "CopyConstructorKind" - value ("ConstructorKindSet" 199)) - (object Attribute - tool "Ada83" - name "CopyConstructorName" - value "Copy") - (object Attribute - tool "Ada83" - name "InlineCopyConstructor" - value FALSE) - (object Attribute - tool "Ada83" - name "DestructorName" - value "Free") - (object Attribute - tool "Ada83" - name "InlineDestructor" - value FALSE) - (object Attribute - tool "Ada83" - name "ClassEqualityOperation" - value "") - (object Attribute - tool "Ada83" - name "HandleEqualityOperation" - value "") - (object Attribute - tool "Ada83" - name "InlineEquality" - value FALSE) - (object Attribute - tool "Ada83" - name "IsTask" - value FALSE) - (object Attribute - tool "Ada83" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada83" - name "ImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Public" - value 45) - (object Attribute - tool "Ada83" - name "Private" - value 43) - (object Attribute - tool "Ada83" - name "LimitedPrivate" - value 200) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada83" - name "ConstructorKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Procedure" - value 202) - (object Attribute - tool "Ada83" - name "Function" - value 199) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Generate" - value TRUE) - (object Attribute - tool "Ada83" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada83" - name "FileName" - value "") - (object Attribute - tool "Ada83" - name "ReturnType" - value "") - (object Attribute - tool "Ada83" - name "GenericFormalParameters" - value (value Text "")) - (object Attribute - tool "Ada83" - name "AdditionalWiths" - value (value Text "")))) - (object Attribute - tool "Ada83" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Generate" - value TRUE) - (object Attribute - tool "Ada83" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada83" - name "FileName" - value "") - (object Attribute - tool "Ada83" - name "ReturnType" - value "") - (object Attribute - tool "Ada83" - name "AdditionalWiths" - value (value Text "")) - (object Attribute - tool "Ada83" - name "IsSubunit" - value FALSE))) - (object Attribute - tool "Ada83" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "SubprogramImplementation" - value ("SubprogramImplementationSet" 2)) - (object Attribute - tool "Ada83" - name "Renames" - value "") - (object Attribute - tool "Ada83" - name "ClassParameterMode" - value ("ParameterModeSet" 203)) - (object Attribute - tool "Ada83" - name "Inline" - value FALSE) - (object Attribute - tool "Ada83" - name "EntryCode" - value (value Text "")) - (object Attribute - tool "Ada83" - name "ExitCode" - value (value Text "")) - (object Attribute - tool "Ada83" - name "InitialCodeBody" - value "${default}") - (object Attribute - tool "Ada83" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada83" - name "SubprogramImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Spec" - value 224) - (object Attribute - tool "Ada83" - name "Body" - value 2) - (object Attribute - tool "Ada83" - name "Renaming" - value 222) - (object Attribute - tool "Ada83" - name "Separate" - value 223))) - (object Attribute - tool "Ada83" - name "ParameterModeSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "In" - value 204) - (object Attribute - tool "Ada83" - name "Out" - value 205) - (object Attribute - tool "Ada83" - name "InOut" - value 203) - (object Attribute - tool "Ada83" - name "FunctionReturn" - value 206) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "NameIfUnlabeled" - value "The_${supplier}") - (object Attribute - tool "Ada83" - name "DataMemberName" - value "${relationship}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${relationship}") - (object Attribute - tool "Ada83" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${relationship}") - (object Attribute - tool "Ada83" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada83" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada83" - name "InitialValue" - value "") - (object Attribute - tool "Ada83" - name "Variant" - value "") - (object Attribute - tool "Ada83" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada83" - name "ContainerType" - value "") - (object Attribute - tool "Ada83" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada83" - name "SelectorName" - value "") - (object Attribute - tool "Ada83" - name "SelectorType" - value ""))) - (object Attribute - tool "Ada83" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "DataMemberName" - value "${attribute}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${attribute}") - (object Attribute - tool "Ada83" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${attribute}") - (object Attribute - tool "Ada83" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada83" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada83" - name "InitialValue" - value "") - (object Attribute - tool "Ada83" - name "Variant" - value "") - (object Attribute - tool "Ada83" - name "Representation" - value (value Text "")))) - (object Attribute - tool "Ada83" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${association}") - (object Attribute - tool "Ada83" - name "InlineGet" - value FALSE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${association}") - (object Attribute - tool "Ada83" - name "InlineSet" - value FALSE) - (object Attribute - tool "Ada83" - name "GenerateAssociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada83" - name "AssociateName" - value "Associate") - (object Attribute - tool "Ada83" - name "InlineAssociate" - value FALSE) - (object Attribute - tool "Ada83" - name "GenerateDissociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada83" - name "DissociateName" - value "Dissociate") - (object Attribute - tool "Ada83" - name "InlineDissociate" - value FALSE) - (object Attribute - tool "Ada83" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Procedure" - value 202) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada83" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Function" - value 199) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada83" - name "DataMemberName" - value "${target}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${target}") - (object Attribute - tool "Ada83" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${target}") - (object Attribute - tool "Ada83" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada83" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada83" - name "InitialValue" - value "") - (object Attribute - tool "Ada83" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada83" - name "ContainerType" - value "") - (object Attribute - tool "Ada83" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada83" - name "SelectorName" - value "") - (object Attribute - tool "Ada83" - name "SelectorType" - value "") - (object Attribute - tool "Ada83" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Procedure" - value 202) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Subsystem" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Directory" - value "AUTO GENERATE"))) - (object Attribute - tool "Ada83" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Ada95" - name "propertyId" - value "838326200") - (object Attribute - tool "Ada95" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "SpecFileExtension" - value "1.ada") - (object Attribute - tool "Ada95" - name "SpecFileBackupExtension" - value "1.ad~") - (object Attribute - tool "Ada95" - name "SpecFileTemporaryExtension" - value "1.ad#") - (object Attribute - tool "Ada95" - name "BodyFileExtension" - value "2.ada") - (object Attribute - tool "Ada95" - name "BodyFileBackupExtension" - value "2.ad~") - (object Attribute - tool "Ada95" - name "BodyFileTemporaryExtension" - value "2.ad#") - (object Attribute - tool "Ada95" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "Ada95" - name "UseColonNotation" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateBodies" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "DefaultCodeBody" - value "[statement]") - (object Attribute - tool "Ada95" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada95" - name "CommentWidth" - value 60) - (object Attribute - tool "Ada95" - name "StopOnError" - value FALSE) - (object Attribute - tool "Ada95" - name "ErrorLimit" - value 30) - (object Attribute - tool "Ada95" - name "UseFileName" - value FALSE) - (object Attribute - tool "Ada95" - name "Directory" - value "$ROSEADA95_SOURCE"))) - (object Attribute - tool "Ada95" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "TypeName" - value "Object") - (object Attribute - tool "Ada95" - name "TypeVisibility" - value ("TypeVisibilitySet" 43)) - (object Attribute - tool "Ada95" - name "TypeImplementation" - value ("TypeImplementationSet" 208)) - (object Attribute - tool "Ada95" - name "TypeControl" - value ("TypeControlSet" 225)) - (object Attribute - tool "Ada95" - name "TypeControlName" - value "Controlled_${type}") - (object Attribute - tool "Ada95" - name "TypeDefinition" - value (value Text "")) - (object Attribute - tool "Ada95" - name "RecordImplementation" - value ("RecordImplementationSet" 209)) - (object Attribute - tool "Ada95" - name "RecordKindPackageName" - value "${class}_Record_Kinds") - (object Attribute - tool "Ada95" - name "IsLimited" - value FALSE) - (object Attribute - tool "Ada95" - name "IsSubtype" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateAccessType" - value ("GenerateAccessTypeSet" 230)) - (object Attribute - tool "Ada95" - name "AccessTypeName" - value "Handle") - (object Attribute - tool "Ada95" - name "AccessTypeVisibility" - value ("TypeVisibilitySet" 45)) - (object Attribute - tool "Ada95" - name "AccessTypeDefinition" - value (value Text "")) - (object Attribute - tool "Ada95" - name "AccessClassWide" - value TRUE) - (object Attribute - tool "Ada95" - name "MaybeAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "ParameterizedImplementation" - value ("ParameterizedImplementationSet" 11)) - (object Attribute - tool "Ada95" - name "ParentClassName" - value "Superclass") - (object Attribute - tool "Ada95" - name "EnumerationLiteralPrefix" - value "A_") - (object Attribute - tool "Ada95" - name "RecordFieldPrefix" - value "The_") - (object Attribute - tool "Ada95" - name "ArrayOfTypeName" - value "Array_Of_${type}") - (object Attribute - tool "Ada95" - name "AccessArrayOfTypeName" - value "Access_Array_Of_${type}") - (object Attribute - tool "Ada95" - name "ArrayOfAccessTypeName" - value "Array_Of_${access_type}") - (object Attribute - tool "Ada95" - name "AccessArrayOfAccessTypeName" - value "Access_Array_Of_${access_type}") - (object Attribute - tool "Ada95" - name "ArrayIndexDefinition" - value "Positive range <>") - (object Attribute - tool "Ada95" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada95" - name "ImplicitParameterName" - value "This") - (object Attribute - tool "Ada95" - name "GenerateDefaultConstructor" - value ("SubprogramKindSet" 199)) - (object Attribute - tool "Ada95" - name "DefaultConstructorName" - value "Create") - (object Attribute - tool "Ada95" - name "InlineDefaultConstructor" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateCopyConstructor" - value ("SubprogramKindSet" 199)) - (object Attribute - tool "Ada95" - name "CopyConstructorName" - value "Copy") - (object Attribute - tool "Ada95" - name "InlineCopyConstructor" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateDestructor" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "DestructorName" - value "Free") - (object Attribute - tool "Ada95" - name "InlineDestructor" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateTypeEquality" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "TypeEqualityName" - value "${quote}=${quote}") - (object Attribute - tool "Ada95" - name "InlineEquality" - value FALSE) - (object Attribute - tool "Ada95" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada95" - name "TypeImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Tagged" - value 208) - (object Attribute - tool "Ada95" - name "Record" - value 210) - (object Attribute - tool "Ada95" - name "Mixin" - value 211) - (object Attribute - tool "Ada95" - name "Protected" - value 44) - (object Attribute - tool "Ada95" - name "Task" - value 212))) - (object Attribute - tool "Ada95" - name "RecordImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "SingleType" - value 209) - (object Attribute - tool "Ada95" - name "MultipleTypes" - value 213))) - (object Attribute - tool "Ada95" - name "ParameterizedImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Generic" - value 11) - (object Attribute - tool "Ada95" - name "Unconstrained" - value 214))) - (object Attribute - tool "Ada95" - name "TypeVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Public" - value 45) - (object Attribute - tool "Ada95" - name "Private" - value 43))) - (object Attribute - tool "Ada95" - name "SubprogramKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "TypeControlSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "None" - value 225) - (object Attribute - tool "Ada95" - name "InitializationOnly" - value 226) - (object Attribute - tool "Ada95" - name "AssignmentFinalizationOnly" - value 227) - (object Attribute - tool "Ada95" - name "All" - value 228))) - (object Attribute - tool "Ada95" - name "GenerateAccessTypeSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Always" - value 229) - (object Attribute - tool "Ada95" - name "Auto" - value 230))))) - (object Attribute - tool "Ada95" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Generate" - value TRUE) - (object Attribute - tool "Ada95" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada95" - name "FileName" - value "") - (object Attribute - tool "Ada95" - name "ReturnType" - value "") - (object Attribute - tool "Ada95" - name "GenericFormalParameters" - value (value Text "")) - (object Attribute - tool "Ada95" - name "AdditionalWiths" - value (value Text "")) - (object Attribute - tool "Ada95" - name "IsPrivate" - value FALSE))) - (object Attribute - tool "Ada95" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Generate" - value TRUE) - (object Attribute - tool "Ada95" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada95" - name "FileName" - value "") - (object Attribute - tool "Ada95" - name "ReturnType" - value "") - (object Attribute - tool "Ada95" - name "AdditionalWiths" - value (value Text "")) - (object Attribute - tool "Ada95" - name "IsSubunit" - value FALSE))) - (object Attribute - tool "Ada95" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "SubprogramImplementation" - value ("SubprogramImplementationSet" 2)) - (object Attribute - tool "Ada95" - name "Renames" - value "") - (object Attribute - tool "Ada95" - name "GenerateOverriding" - value TRUE) - (object Attribute - tool "Ada95" - name "ImplicitParameterMode" - value ("ParameterModeSet" 203)) - (object Attribute - tool "Ada95" - name "ImplicitParameterClassWide" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateAccessOperation" - value FALSE) - (object Attribute - tool "Ada95" - name "Inline" - value FALSE) - (object Attribute - tool "Ada95" - name "EntryCode" - value (value Text "")) - (object Attribute - tool "Ada95" - name "ExitCode" - value (value Text "")) - (object Attribute - tool "Ada95" - name "InitialCodeBody" - value "${default}") - (object Attribute - tool "Ada95" - name "EntryBarrierCondition" - value "True") - (object Attribute - tool "Ada95" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada95" - name "SubprogramImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Spec" - value 224) - (object Attribute - tool "Ada95" - name "Body" - value 2) - (object Attribute - tool "Ada95" - name "Abstract" - value 221) - (object Attribute - tool "Ada95" - name "Renaming" - value 222) - (object Attribute - tool "Ada95" - name "RenamingAsBody" - value 231) - (object Attribute - tool "Ada95" - name "Separate" - value 223))) - (object Attribute - tool "Ada95" - name "ParameterModeSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "In" - value 204) - (object Attribute - tool "Ada95" - name "Out" - value 205) - (object Attribute - tool "Ada95" - name "InOut" - value 203) - (object Attribute - tool "Ada95" - name "Access" - value 220) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "NameIfUnlabeled" - value "The_${supplier}") - (object Attribute - tool "Ada95" - name "RecordFieldImplementation" - value ("RecordFieldImplementationSet" 216)) - (object Attribute - tool "Ada95" - name "RecordFieldName" - value "${relationship}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GenerateAccessGet" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${relationship}") - (object Attribute - tool "Ada95" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "GenerateAccessSet" - value ("ProcedureKindSet" 201)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${relationship}") - (object Attribute - tool "Ada95" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada95" - name "IsAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada95" - name "InitialValue" - value "") - (object Attribute - tool "Ada95" - name "ContainerImplementation" - value ("ContainerImplementationSet" 217)) - (object Attribute - tool "Ada95" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada95" - name "ContainerType" - value "") - (object Attribute - tool "Ada95" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada95" - name "SelectorName" - value "") - (object Attribute - tool "Ada95" - name "SelectorType" - value "") - (object Attribute - tool "Ada95" - name "RecordFieldImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Component" - value 216) - (object Attribute - tool "Ada95" - name "Discriminant" - value 218) - (object Attribute - tool "Ada95" - name "AccessDiscriminant" - value 219))) - (object Attribute - tool "Ada95" - name "ContainerImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Array" - value 217) - (object Attribute - tool "Ada95" - name "Generic" - value 11))) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "RecordFieldImplementation" - value ("RecordFieldImplementationSet" 216)) - (object Attribute - tool "Ada95" - name "RecordFieldName" - value "${attribute}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GenerateAccessGet" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${attribute}") - (object Attribute - tool "Ada95" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "GenerateAccessSet" - value ("ProcedureKindSet" 201)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${attribute}") - (object Attribute - tool "Ada95" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada95" - name "IsAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada95" - name "InitialValue" - value "") - (object Attribute - tool "Ada95" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada95" - name "RecordFieldImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Component" - value 216) - (object Attribute - tool "Ada95" - name "Discriminant" - value 218) - (object Attribute - tool "Ada95" - name "AccessDiscriminant" - value 219))) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${association}") - (object Attribute - tool "Ada95" - name "InlineGet" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${association}") - (object Attribute - tool "Ada95" - name "InlineSet" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateAssociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "AssociateName" - value "Associate") - (object Attribute - tool "Ada95" - name "InlineAssociate" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateDissociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "DissociateName" - value "Dissociate") - (object Attribute - tool "Ada95" - name "InlineDissociate" - value FALSE) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada95" - name "RecordFieldImplementation" - value ("RecordFieldImplementationSet" 216)) - (object Attribute - tool "Ada95" - name "RecordFieldName" - value "${target}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GenerateAccessGet" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${target}") - (object Attribute - tool "Ada95" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "GenerateAccessSet" - value ("ProcedureKindSet" 201)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${target}") - (object Attribute - tool "Ada95" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada95" - name "IsAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada95" - name "InitialValue" - value "") - (object Attribute - tool "Ada95" - name "ContainerImplementation" - value ("ContainerImplementationSet" 217)) - (object Attribute - tool "Ada95" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada95" - name "ContainerType" - value "") - (object Attribute - tool "Ada95" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada95" - name "SelectorName" - value "") - (object Attribute - tool "Ada95" - name "SelectorType" - value "") - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "RecordFieldImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Component" - value 216) - (object Attribute - tool "Ada95" - name "Discriminant" - value 218) - (object Attribute - tool "Ada95" - name "AccessDiscriminant" - value 219))) - (object Attribute - tool "Ada95" - name "ContainerImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Array" - value 217) - (object Attribute - tool "Ada95" - name "Generic" - value 11))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Subsystem" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Directory" - value "AUTO GENERATE"))) - (object Attribute - tool "Ada95" - name "HiddenTool" - value FALSE) - (object Attribute - tool "CORBA" - name "propertyId" - value "809135966") - (object Attribute - tool "CORBA" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "CORBA" - name "Editor" - value ("EditorType" 100)) - (object Attribute - tool "CORBA" - name "IncludePath" - value "") - (object Attribute - tool "CORBA" - name "StopOnError" - value TRUE) - (object Attribute - tool "CORBA" - name "EditorType" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "BuiltIn" - value 100) - (object Attribute - tool "CORBA" - name "WindowsShell" - value 101))) - (object Attribute - tool "CORBA" - name "PathSeparator" - value ""))) - (object Attribute - tool "CORBA" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "ArrayDimensions" - value "") - (object Attribute - tool "CORBA" - name "ConstValue" - value "") - (object Attribute - tool "CORBA" - name "ImplementationType" - value ""))) - (object Attribute - tool "CORBA" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "CORBA" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "CORBA" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "CORBA" - name "InclusionProtectionSymbol" - value "AUTO GENERATE"))) - (object Attribute - tool "CORBA" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "CORBA" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "CORBA" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "CORBA" - name "InclusionProtectionSymbol" - value "AUTO GENERATE"))) - (object Attribute - tool "CORBA" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "Context" - value "") - (object Attribute - tool "CORBA" - name "OperationIsOneWay" - value FALSE))) - (object Attribute - tool "CORBA" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "ArrayDimensions" - value "") - (object Attribute - tool "CORBA" - name "CaseSpecifier" - value "") - (object Attribute - tool "CORBA" - name "IsReadOnly" - value FALSE) - (object Attribute - tool "CORBA" - name "Order" - value ""))) - (object Attribute - tool "CORBA" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "ArrayDimensions" - value "") - (object Attribute - tool "CORBA" - name "CaseSpecifier" - value "") - (object Attribute - tool "CORBA" - name "GenerateForwardReference" - value FALSE) - (object Attribute - tool "CORBA" - name "IsReadOnly" - value FALSE) - (object Attribute - tool "CORBA" - name "Order" - value "") - (object Attribute - tool "CORBA" - name "BoundedRoleType" - value ("AssocTypeSet" 47)) - (object Attribute - tool "CORBA" - name "AssocTypeSet" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "Array" - value 24) - (object Attribute - tool "CORBA" - name "Sequence" - value 47))))) - (object Attribute - tool "CORBA" - name "default__Uses" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "GenerateForwardReference" - value FALSE))) - (object Attribute - tool "CORBA" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ClearCase" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Data Modeler" - name "propertyId" - value "809135966") - (object Attribute - tool "Data Modeler" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "project" - value "") - (object Attribute - tool "Data Modeler" - name "TableCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "ViewCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "DomainCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "SPPackageCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "TriggerCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "IndexCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "ConstraintCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "StoreProcedureCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "PrimaryKeyCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "ForeignKeyCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "JoinCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "TableSpaceCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "cONTAINERCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "TablePrefix" - value "") - (object Attribute - tool "Data Modeler" - name "ViewPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "DomainPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "TriggerPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "IndexPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "ConstraintPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "StoreProcedurePrefix" - value "") - (object Attribute - tool "Data Modeler" - name "PrimaryKeyPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "ForeignKeyPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "TableSpacePrefix" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsDatabase" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TargetDatabase" - value "") - (object Attribute - tool "Data Modeler" - name "Location" - value "") - (object Attribute - tool "Data Modeler" - name "IsTableSpace" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TableSpaceType" - value "") - (object Attribute - tool "Data Modeler" - name "IsDeault" - value FALSE) - (object Attribute - tool "Data Modeler" - name "BufferPool" - value "") - (object Attribute - tool "Data Modeler" - name "ExtentSize" - value 1) - (object Attribute - tool "Data Modeler" - name "PrefetchSize" - value 1) - (object Attribute - tool "Data Modeler" - name "PageSize" - value 4) - (object Attribute - tool "Data Modeler" - name "ManagedBy" - value "") - (object Attribute - tool "Data Modeler" - name "ContainerList" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "dmSchema" - value "") - (object Attribute - tool "Data Modeler" - name "dmDomainPackage" - value "") - (object Attribute - tool "Data Modeler" - name "IsSchema" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDomainPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsRootSchema" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsRootDomainPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsSchemaPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DatabaseID" - value "") - (object Attribute - tool "Data Modeler" - name "DBMS" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsTable" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsView" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDomain" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsSPPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "Synonymns" - value "") - (object Attribute - tool "Data Modeler" - name "TableSpaceID" - value "") - (object Attribute - tool "Data Modeler" - name "SourceId" - value "") - (object Attribute - tool "Data Modeler" - name "SourceType" - value "") - (object Attribute - tool "Data Modeler" - name "CorrelationName" - value "") - (object Attribute - tool "Data Modeler" - name "SelectClause" - value "") - (object Attribute - tool "Data Modeler" - name "IsUpdateable" - value TRUE) - (object Attribute - tool "Data Modeler" - name "CheckOption" - value "None") - (object Attribute - tool "Data Modeler" - name "IsSnapShot" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDistinct" - value FALSE) - (object Attribute - tool "Data Modeler" - name "PersistToServer" - value "") - (object Attribute - tool "Data Modeler" - name "IsPackage" - value FALSE))) - (object Attribute - tool "Data Modeler" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "Ordinal" - value 0) - (object Attribute - tool "Data Modeler" - name "IsIdentity" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsUnique" - value FALSE) - (object Attribute - tool "Data Modeler" - name "NullsAllowed" - value FALSE) - (object Attribute - tool "Data Modeler" - name "Length" - value 0) - (object Attribute - tool "Data Modeler" - name "Scale" - value 0) - (object Attribute - tool "Data Modeler" - name "ColumnType" - value "Native") - (object Attribute - tool "Data Modeler" - name "ForBitData" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DefaultValueType" - value "") - (object Attribute - tool "Data Modeler" - name "DefaultValue" - value "") - (object Attribute - tool "Data Modeler" - name "SourceId" - value "") - (object Attribute - tool "Data Modeler" - name "SourceType" - value "") - (object Attribute - tool "Data Modeler" - name "OID" - value FALSE))) - (object Attribute - tool "Data Modeler" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsRelationship" - value FALSE) - (object Attribute - tool "Data Modeler" - name "SourceId" - value "") - (object Attribute - tool "Data Modeler" - name "SourceType" - value "") - (object Attribute - tool "Data Modeler" - name "RIMethod" - value "") - (object Attribute - tool "Data Modeler" - name "ParentUpdateRule" - value "") - (object Attribute - tool "Data Modeler" - name "ParentUpdateRuleName" - value "") - (object Attribute - tool "Data Modeler" - name "ParentDeleteRule" - value "") - (object Attribute - tool "Data Modeler" - name "ParentDeleteRuleName" - value "") - (object Attribute - tool "Data Modeler" - name "ChildInsertRestrict" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ChildInsertRestrictName" - value "") - (object Attribute - tool "Data Modeler" - name "ChildMultiplicity" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ChildMultiplicityName" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "ConstraintName" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsConstraint" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ConstraintType" - value "") - (object Attribute - tool "Data Modeler" - name "IsIndex" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsTrigger" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsStoredProcedure" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsCluster" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TableSpace" - value "") - (object Attribute - tool "Data Modeler" - name "FillFactor" - value 0) - (object Attribute - tool "Data Modeler" - name "KeyList" - value "") - (object Attribute - tool "Data Modeler" - name "CheckPredicate" - value "") - (object Attribute - tool "Data Modeler" - name "IsUnique" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DeferalMode" - value "") - (object Attribute - tool "Data Modeler" - name "InitialCheckTime" - value "") - (object Attribute - tool "Data Modeler" - name "TriggerType" - value "") - (object Attribute - tool "Data Modeler" - name "IsInsertEvent" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsUpdateEvent" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDeleteEvent" - value FALSE) - (object Attribute - tool "Data Modeler" - name "RefOldTable" - value "") - (object Attribute - tool "Data Modeler" - name "RefNewTable" - value "") - (object Attribute - tool "Data Modeler" - name "RefOldRow" - value "") - (object Attribute - tool "Data Modeler" - name "RefNewRow" - value "") - (object Attribute - tool "Data Modeler" - name "IsRow" - value FALSE) - (object Attribute - tool "Data Modeler" - name "WhenClause" - value "") - (object Attribute - tool "Data Modeler" - name "Language" - value "SQL") - (object Attribute - tool "Data Modeler" - name "ProcType" - value "Procedure") - (object Attribute - tool "Data Modeler" - name "IsDeterministic" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ParameterStyle" - value "") - (object Attribute - tool "Data Modeler" - name "ReturnedNull" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ExternalName" - value "") - (object Attribute - tool "Data Modeler" - name "Length" - value "") - (object Attribute - tool "Data Modeler" - name "Scale" - value "") - (object Attribute - tool "Data Modeler" - name "ForBitData" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DefaultValue" - value "") - (object Attribute - tool "Data Modeler" - name "DefaultValueType" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Parameter" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsInParameter" - value TRUE) - (object Attribute - tool "Data Modeler" - name "IsOutParameter" - value FALSE) - (object Attribute - tool "Data Modeler" - name "Ordinal" - value "") - (object Attribute - tool "Data Modeler" - name "Length" - value "") - (object Attribute - tool "Data Modeler" - name "Scale" - value "") - (object Attribute - tool "Data Modeler" - name "ForBitData" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DefaultValueType" - value "") - (object Attribute - tool "Data Modeler" - name "DefaultValue" - value "") - (object Attribute - tool "Data Modeler" - name "OperationID" - value ""))) - (object Attribute - tool "Data Modeler" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Data Modeler Communicator" - name "HiddenTool" - value FALSE) - (object Attribute - tool "framework" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Java" - name "propertyId" - value "809135966") - (object Attribute - tool "Java" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Java" - name "RootDir" - value "") - (object Attribute - tool "Java" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "Java" - name "StopOnError" - value FALSE) - (object Attribute - tool "Java" - name "UsePrefixes" - value FALSE) - (object Attribute - tool "Java" - name "AutoSync" - value FALSE) - (object Attribute - tool "Java" - name "NotShowRoseIDDlg" - value FALSE) - (object Attribute - tool "Java" - name "ShowCodegenDlg" - value FALSE) - (object Attribute - tool "Java" - name "GenerateRoseID" - value TRUE) - (object Attribute - tool "Java" - name "GenerateDefaultReturnLine" - value TRUE) - (object Attribute - tool "Java" - name "JavadocDefaultAuthor" - value "") - (object Attribute - tool "Java" - name "JavadocDefaultVersion" - value "") - (object Attribute - tool "Java" - name "JavadocDefaultSince" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText3" - value "") - (object Attribute - tool "Java" - name "JavadocNumAsterisks" - value 0) - (object Attribute - tool "Java" - name "MaxNumChars" - value 80) - (object Attribute - tool "Java" - name "Editor" - value ("EditorType" 100)) - (object Attribute - tool "Java" - name "VM" - value ("VMType" 200)) - (object Attribute - tool "Java" - name "ClassPath" - value ";D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\charsets.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\jce.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\jsse.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\rt.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\sunrsasign.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\dnsns.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\ldapsec.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\localedata.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\sunjce_provider.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\security\\local_policy.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\security\\US_export_policy.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\lib\\dt.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\lib\\htmlconverter.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\lib\\tools.jar") - (object Attribute - tool "Java" - name "ReferenceClasspath" - value "") - (object Attribute - tool "Java" - name "EditorType" - value (list Attribute_Set - (object Attribute - tool "Java" - name "BuiltIn" - value 100) - (object Attribute - tool "Java" - name "WindowsShell" - value 101))) - (object Attribute - tool "Java" - name "VMType" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Sun" - value 200))) - (object Attribute - tool "Java" - name "VAJavaWorkingFolder" - value "") - (object Attribute - tool "Java" - name "InstanceVariablePrefix" - value "") - (object Attribute - tool "Java" - name "ClassVariablePrefix" - value "") - (object Attribute - tool "Java" - name "DefaultAttributeDataType" - value "int") - (object Attribute - tool "Java" - name "DefaultOperationReturnType" - value "void") - (object Attribute - tool "Java" - name "NoClassCustomDlg" - value FALSE) - (object Attribute - tool "Java" - name "GlobalImports" - value (value Text "")) - (object Attribute - tool "Java" - name "OpenBraceClassStyle" - value TRUE) - (object Attribute - tool "Java" - name "OpenBraceMethodStyle" - value TRUE) - (object Attribute - tool "Java" - name "UseTabs" - value FALSE) - (object Attribute - tool "Java" - name "UseSpaces" - value TRUE) - (object Attribute - tool "Java" - name "SpacingItems" - value 3) - (object Attribute - tool "Java" - name "RoseDefaultCommentStyle" - value TRUE) - (object Attribute - tool "Java" - name "AsteriskCommentStyle" - value TRUE) - (object Attribute - tool "Java" - name "JavaCommentStyle" - value TRUE) - (object Attribute - tool "Java" - name "JavadocAuthor" - value FALSE) - (object Attribute - tool "Java" - name "JavadocSince" - value FALSE) - (object Attribute - tool "Java" - name "JavadocVersion" - value FALSE) - (object Attribute - tool "Java" - name "BeanPrefix" - value "") - (object Attribute - tool "Java" - name "BeanSuffix" - value "") - (object Attribute - tool "Java" - name "RemotePrefix" - value "") - (object Attribute - tool "Java" - name "RemoteSuffix" - value "") - (object Attribute - tool "Java" - name "HomePrefix" - value "") - (object Attribute - tool "Java" - name "HomeSuffix" - value "") - (object Attribute - tool "Java" - name "PrimaryKeyPrefix" - value "") - (object Attribute - tool "Java" - name "PrimaryKeySuffix" - value "") - (object Attribute - tool "Java" - name "EJBDTDLocation" - value "") - (object Attribute - tool "Java" - name "ServletDTDLocation" - value "") - (object Attribute - tool "Java" - name "DefaultEJBVersion" - value "") - (object Attribute - tool "Java" - name "DefaultServletVersion" - value "") - (object Attribute - tool "Java" - name "GenerateDefaultJ2EEJavadoc" - value TRUE) - (object Attribute - tool "Java" - name "UserDefineJavaDocTags" - value "") - (object Attribute - tool "Java" - name "LocalPrefix" - value "") - (object Attribute - tool "Java" - name "LocalSuffix" - value "") - (object Attribute - tool "Java" - name "LocalHomePrefix" - value "") - (object Attribute - tool "Java" - name "LocalHomeSuffix" - value "") - (object Attribute - tool "Java" - name "SourceControl" - value FALSE) - (object Attribute - tool "Java" - name "SCCSelected" - value FALSE) - (object Attribute - tool "Java" - name "SCCProjectSourceRoot" - value "") - (object Attribute - tool "Java" - name "SCCProjectName" - value "") - (object Attribute - tool "Java" - name "SCCComment" - value FALSE))) - (object Attribute - tool "Java" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "Default_Servlet__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "Http_Servlet__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "Default_EJB__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value "") - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE))) - (object Attribute - tool "Java" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Java" - name "CmIdentification" - value (value Text "")) - (object Attribute - tool "Java" - name "CopyrightNotice" - value (value Text "")))) - (object Attribute - tool "Java" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Java" - name "CmIdentification" - value (value Text "")) - (object Attribute - tool "Java" - name "CopyrightNotice" - value (value Text "")))) - (object Attribute - tool "Java" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Abstract" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Native" - value FALSE) - (object Attribute - tool "Java" - name "Synchronized" - value FALSE) - (object Attribute - tool "Java" - name "GenerateFullyQualifiedReturn" - value FALSE) - (object Attribute - tool "Java" - name "ReplaceExistingCode" - value TRUE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE))) - (object Attribute - tool "Java" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Transient" - value FALSE) - (object Attribute - tool "Java" - name "Volatile" - value FALSE) - (object Attribute - tool "Java" - name "PropertyType" - value ("BeanProperty_Set" 71)) - (object Attribute - tool "Java" - name "BeanProperty_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Not A Property" - value 71) - (object Attribute - tool "Java" - name "Simple" - value 72) - (object Attribute - tool "Java" - name "Bound" - value 73) - (object Attribute - tool "Java" - name "Constrained" - value 74))) - (object Attribute - tool "Java" - name "IndividualChangeMgt" - value FALSE) - (object Attribute - tool "Java" - name "Read/Write" - value ("Read/Write_Set" 81)) - (object Attribute - tool "Java" - name "Read/Write_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Read & Write" - value 81) - (object Attribute - tool "Java" - name "Read Only" - value 82) - (object Attribute - tool "Java" - name "Write Only" - value 83))) - (object Attribute - tool "Java" - name "GenerateFullyQualifiedTypes" - value FALSE))) - (object Attribute - tool "Java" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Java" - name "ContainerClass" - value "") - (object Attribute - tool "Java" - name "InitialValue" - value "") - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Transient" - value FALSE) - (object Attribute - tool "Java" - name "Volatile" - value FALSE) - (object Attribute - tool "Java" - name "PropertyType" - value ("BeanProperty_Set" 71)) - (object Attribute - tool "Java" - name "BeanProperty_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Not A Property" - value 71) - (object Attribute - tool "Java" - name "Simple" - value 72) - (object Attribute - tool "Java" - name "Bound" - value 73) - (object Attribute - tool "Java" - name "Constrained" - value 74))) - (object Attribute - tool "Java" - name "IndividualChangeMgt" - value FALSE) - (object Attribute - tool "Java" - name "Read/Write" - value ("Read/Write_Set" 81)) - (object Attribute - tool "Java" - name "Read/Write_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Read & Write" - value 81) - (object Attribute - tool "Java" - name "Read Only" - value 82) - (object Attribute - tool "Java" - name "Write Only" - value 83))) - (object Attribute - tool "Java" - name "GenerateFullyQualifiedTypes" - value FALSE) - (object Attribute - tool "Java" - name "IsNavigable" - value TRUE))) - (object Attribute - tool "Java" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Oracle8" - name "propertyId" - value "360000002") - (object Attribute - tool "Oracle8" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "DDLScriptFilename" - value "DDL1.SQL") - (object Attribute - tool "Oracle8" - name "DropClause" - value FALSE) - (object Attribute - tool "Oracle8" - name "PrimaryKeyColumnName" - value "_ID") - (object Attribute - tool "Oracle8" - name "PrimaryKeyColumnType" - value "NUMBER(5,0)") - (object Attribute - tool "Oracle8" - name "SchemaNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "SchemaNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "TableNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "TableNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "TypeNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "TypeNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "ViewNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "ViewNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "VarrayNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "VarrayNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "NestedTableNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "NestedTableNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "ObjectTableNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "ObjectTableNameSuffix" - value ""))) - (object Attribute - tool "Oracle8" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "IsSchema" - value FALSE))) - (object Attribute - tool "Oracle8" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "OID" - value "") - (object Attribute - tool "Oracle8" - name "WhereClause" - value "") - (object Attribute - tool "Oracle8" - name "CheckConstraint" - value "") - (object Attribute - tool "Oracle8" - name "CollectionTypeLength" - value "") - (object Attribute - tool "Oracle8" - name "CollectionTypePrecision" - value "") - (object Attribute - tool "Oracle8" - name "CollectionTypeScale" - value "") - (object Attribute - tool "Oracle8" - name "CollectionOfREFS" - value FALSE))) - (object Attribute - tool "Oracle8" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "MethodKind" - value ("MethodKindSet" 1903)) - (object Attribute - tool "Oracle8" - name "OverloadID" - value "") - (object Attribute - tool "Oracle8" - name "OrderNumber" - value "") - (object Attribute - tool "Oracle8" - name "IsReadNoDataState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsReadNoProcessState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsWriteNoDataState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsWriteNoProcessState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsSelfish" - value FALSE) - (object Attribute - tool "Oracle8" - name "TriggerType" - value ("TriggerTypeSet" 1801)) - (object Attribute - tool "Oracle8" - name "TriggerEvent" - value ("TriggerEventSet" 1601)) - (object Attribute - tool "Oracle8" - name "TriggerText" - value "") - (object Attribute - tool "Oracle8" - name "TriggerReferencingNames" - value "") - (object Attribute - tool "Oracle8" - name "TriggerForEach" - value ("TriggerForEachSet" 1701)) - (object Attribute - tool "Oracle8" - name "TriggerWhenClause" - value "") - (object Attribute - tool "Oracle8" - name "MethodKindSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "MapMethod" - value 1901) - (object Attribute - tool "Oracle8" - name "OrderMethod" - value 1902) - (object Attribute - tool "Oracle8" - name "Function" - value 1903) - (object Attribute - tool "Oracle8" - name "Procedure" - value 1904) - (object Attribute - tool "Oracle8" - name "Operator" - value 1905) - (object Attribute - tool "Oracle8" - name "Constructor" - value 1906) - (object Attribute - tool "Oracle8" - name "Destructor" - value 1907) - (object Attribute - tool "Oracle8" - name "Trigger" - value 1908) - (object Attribute - tool "Oracle8" - name "Calculated" - value 1909))) - (object Attribute - tool "Oracle8" - name "TriggerTypeSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "AFTER" - value 1801) - (object Attribute - tool "Oracle8" - name "BEFORE" - value 1802) - (object Attribute - tool "Oracle8" - name "INSTEAD OF" - value 1803))) - (object Attribute - tool "Oracle8" - name "TriggerForEachSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "ROW" - value 1701) - (object Attribute - tool "Oracle8" - name "STATEMENT" - value 1702))) - (object Attribute - tool "Oracle8" - name "TriggerEventSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "INSERT" - value 1601) - (object Attribute - tool "Oracle8" - name "UPDATE" - value 1602) - (object Attribute - tool "Oracle8" - name "DELETE" - value 1603) - (object Attribute - tool "Oracle8" - name "INSERT OR UPDATE" - value 1604) - (object Attribute - tool "Oracle8" - name "INSERT OR DELETE" - value 1605) - (object Attribute - tool "Oracle8" - name "UPDATE OR DELETE" - value 1606) - (object Attribute - tool "Oracle8" - name "INSERT OR UPDATE OR DELETE" - value 1607))))) - (object Attribute - tool "Oracle8" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "OrderNumber" - value ""))) - (object Attribute - tool "Oracle8" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "OrderNumber" - value "") - (object Attribute - tool "Oracle8" - name "IsUnique" - value FALSE) - (object Attribute - tool "Oracle8" - name "NullsAllowed" - value TRUE) - (object Attribute - tool "Oracle8" - name "Length" - value "") - (object Attribute - tool "Oracle8" - name "Precision" - value "2") - (object Attribute - tool "Oracle8" - name "Scale" - value "6") - (object Attribute - tool "Oracle8" - name "IsIndex" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsPrimaryKey" - value FALSE) - (object Attribute - tool "Oracle8" - name "CompositeUnique" - value FALSE) - (object Attribute - tool "Oracle8" - name "CheckConstraint" - value ""))) - (object Attribute - tool "Oracle8" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ComponentTest" - name "HiddenTool" - value FALSE) - (object Attribute - tool "RequisitePro" - name "HiddenTool" - value FALSE) - (object Attribute - tool "cg" - name "propertyId" - value "809135966") - (object Attribute - tool "cg" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "cg" - name "AllowGenerateOverNewerAnnotations" - value FALSE) - (object Attribute - tool "cg" - name "AllowGenerateOverNewerVersion" - value FALSE) - (object Attribute - tool "cg" - name "UseMSVC" - value FALSE) - (object Attribute - tool "cg" - name "HeaderFileExtension" - value "h") - (object Attribute - tool "cg" - name "HeaderFileBackupExtension" - value "h~") - (object Attribute - tool "cg" - name "HeaderFileTemporaryExtension" - value "h#") - (object Attribute - tool "cg" - name "CodeFileExtension" - value "cpp") - (object Attribute - tool "cg" - name "CodeFileBackupExtension" - value "cp~") - (object Attribute - tool "cg" - name "CodeFileTemporaryExtension" - value "cp#") - (object Attribute - tool "cg" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "cg" - name "StopOnError" - value FALSE) - (object Attribute - tool "cg" - name "ErrorLimit" - value 30) - (object Attribute - tool "cg" - name "Directory" - value "$ROSECPP_SOURCE") - (object Attribute - tool "cg" - name "PathSeparator" - value "") - (object Attribute - tool "cg" - name "FileNameFormat" - value "128vx_b") - (object Attribute - tool "cg" - name "BooleanType" - value "int") - (object Attribute - tool "cg" - name "AllowTemplates" - value TRUE) - (object Attribute - tool "cg" - name "AllowExplicitInstantiations" - value FALSE) - (object Attribute - tool "cg" - name "AllowProtectedInheritance" - value TRUE) - (object Attribute - tool "cg" - name "CommentWidth" - value 60) - (object Attribute - tool "cg" - name "OneByValueContainer" - value "$targetClass") - (object Attribute - tool "cg" - name "OneByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "OptionalByValueContainer" - value "OptionalByValue<$targetClass>") - (object Attribute - tool "cg" - name "OptionalByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "FixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "FixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "BoundedByValueContainer" - value "BoundedListByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByValueContainer" - value "BoundedSetByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "BoundedByReferenceContainer" - value "BoundedListByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByReferenceContainer" - value "BoundedSetByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnboundedByValueContainer" - value "UnboundedListByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByValueContainer" - value "UnboundedSetByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnboundedByReferenceContainer" - value "UnboundedListByReference<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByReferenceContainer" - value "UnboundedSetByReference<$targetClass>") - (object Attribute - tool "cg" - name "QualifiedByValueContainer" - value "AssociationByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByValueContainer" - value "DictionaryByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "QualifiedByReferenceContainer" - value "AssociationByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByReferenceContainer" - value "DictionaryByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "AlwaysKeepOrphanedCode" - value FALSE))) - (object Attribute - tool "cg" - name "compiler2.1__Project" - value (list Attribute_Set - (object Attribute - tool "cg" - name "AllowGenerateOverNewerAnnotations" - value FALSE) - (object Attribute - tool "cg" - name "AllowGenerateOverNewerVersion" - value FALSE) - (object Attribute - tool "cg" - name "HeaderFileExtension" - value "h") - (object Attribute - tool "cg" - name "HeaderFileBackupExtension" - value "h~") - (object Attribute - tool "cg" - name "HeaderFileTemporaryExtension" - value "h#") - (object Attribute - tool "cg" - name "CodeFileExtension" - value "cpp") - (object Attribute - tool "cg" - name "CodeFileBackupExtension" - value "cp~") - (object Attribute - tool "cg" - name "CodeFileTemporaryExtension" - value "cp#") - (object Attribute - tool "cg" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "cg" - name "StopOnError" - value FALSE) - (object Attribute - tool "cg" - name "ErrorLimit" - value 30) - (object Attribute - tool "cg" - name "Directory" - value "$ROSECPP_SOURCE") - (object Attribute - tool "cg" - name "BooleanType" - value "int") - (object Attribute - tool "cg" - name "AllowTemplates" - value FALSE) - (object Attribute - tool "cg" - name "AllowExplicitInstantiations" - value FALSE) - (object Attribute - tool "cg" - name "AllowProtectedInheritance" - value FALSE) - (object Attribute - tool "cg" - name "OneByValueContainer" - value "$targetClass") - (object Attribute - tool "cg" - name "OneByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "OptionalByValueContainer" - value "OptionalByValue(sizeof($targetClass))") - (object Attribute - tool "cg" - name "OptionalByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "FixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "FixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "BoundedByValueContainer" - value "BoundedListByValue(sizeof($targetClass),$limit)") - (object Attribute - tool "cg" - name "UnorderedBoundedByValueContainer" - value "BoundedSetByValue(sizeof($targetClass),$limit)") - (object Attribute - tool "cg" - name "BoundedByReferenceContainer" - value "BoundedListByReference($limit)") - (object Attribute - tool "cg" - name "UnorderedBoundedByReferenceContainer" - value "BoundedSetByReference($limit)") - (object Attribute - tool "cg" - name "UnboundedByValueContainer" - value "UnboundedListByValue(sizeof($targetClass))") - (object Attribute - tool "cg" - name "UnorderedUnboundedByValueContainer" - value "UnboundedSetByValue(sizeof($targetClass))") - (object Attribute - tool "cg" - name "UnboundedByReferenceContainer" - value "UnboundedListByReference") - (object Attribute - tool "cg" - name "UnorderedUnboundedByReferenceContainer" - value "UnboundedSetByReference") - (object Attribute - tool "cg" - name "QualifiedByValueContainer" - value "AssociationByValue(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "UnorderedQualifiedByValueContainer" - value "DictionaryByValue(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "QualifiedByReferenceContainer" - value "AssociationByReference(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "UnorderedQualifiedByReferenceContainer" - value "DictionaryByReference(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "PathSeparator" - value "") - (object Attribute - tool "cg" - name "FileNameFormat" - value "128vx_b") - (object Attribute - tool "cg" - name "AlwaysKeepOrphanedCode" - value FALSE))) - (object Attribute - tool "cg" - name "compiler3.0__Project" - value (list Attribute_Set - (object Attribute - tool "cg" - name "AllowGenerateOverNewerAnnotations" - value FALSE) - (object Attribute - tool "cg" - name "AllowGenerateOverNewerVersion" - value FALSE) - (object Attribute - tool "cg" - name "HeaderFileExtension" - value "h") - (object Attribute - tool "cg" - name "HeaderFileBackupExtension" - value "h~") - (object Attribute - tool "cg" - name "HeaderFileTemporaryExtension" - value "h#") - (object Attribute - tool "cg" - name "CodeFileExtension" - value "cpp") - (object Attribute - tool "cg" - name "CodeFileBackupExtension" - value "cp~") - (object Attribute - tool "cg" - name "CodeFileTemporaryExtension" - value "cp#") - (object Attribute - tool "cg" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "cg" - name "StopOnError" - value FALSE) - (object Attribute - tool "cg" - name "ErrorLimit" - value 30) - (object Attribute - tool "cg" - name "Directory" - value "$ROSECPP_SOURCE") - (object Attribute - tool "cg" - name "BooleanType" - value "int") - (object Attribute - tool "cg" - name "AllowTemplates" - value TRUE) - (object Attribute - tool "cg" - name "AllowExplicitInstantiations" - value FALSE) - (object Attribute - tool "cg" - name "AllowProtectedInheritance" - value TRUE) - (object Attribute - tool "cg" - name "OneByValueContainer" - value "$targetClass") - (object Attribute - tool "cg" - name "OneByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "OptionalByValueContainer" - value "OptionalByValue<$targetClass>") - (object Attribute - tool "cg" - name "OptionalByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "FixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "FixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "BoundedByValueContainer" - value "BoundedListByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByValueContainer" - value "BoundedSetByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "BoundedByReferenceContainer" - value "BoundedListByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByReferenceContainer" - value "BoundedSetByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnboundedByValueContainer" - value "UnboundedListByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByValueContainer" - value "UnboundedSetByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnboundedByReferenceContainer" - value "UnboundedListByReference<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByReferenceContainer" - value "UnboundedSetByReference<$targetClass>") - (object Attribute - tool "cg" - name "QualifiedByValueContainer" - value "AssociationByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByValueContainer" - value "DictionaryByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "QualifiedByReferenceContainer" - value "AssociationByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByReferenceContainer" - value "DictionaryByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "PathSeparator" - value "") - (object Attribute - tool "cg" - name "FileNameFormat" - value "128vx_b") - (object Attribute - tool "cg" - name "AlwaysKeepOrphanedCode" - value FALSE))) - (object Attribute - tool "cg" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "ImplementationType" - value "") - (object Attribute - tool "cg" - name "ClassKey" - value "class") - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "PutBodiesInSpec" - value FALSE) - (object Attribute - tool "cg" - name "GenerateDefaultConstructor" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "DefaultConstructorVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineDefaultConstructor" - value FALSE) - (object Attribute - tool "cg" - name "ExplicitDefaultConstructor" - value FALSE) - (object Attribute - tool "cg" - name "GenerateCopyConstructor" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "CopyConstructorVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineCopyConstructor" - value FALSE) - (object Attribute - tool "cg" - name "ExplicitCopyConstructor" - value FALSE) - (object Attribute - tool "cg" - name "GenerateDestructor" - value TRUE) - (object Attribute - tool "cg" - name "DestructorVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "DestructorKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "InlineDestructor" - value FALSE) - (object Attribute - tool "cg" - name "GenerateAssignmentOperation" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "AssignmentVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "AssignmentKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "InlineAssignmentOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateEqualityOperations" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "EqualityVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "EqualityKind" - value ("FriendKindSet" 200)) - (object Attribute - tool "cg" - name "InlineEqualityOperations" - value FALSE) - (object Attribute - tool "cg" - name "GenerateRelationalOperations" - value FALSE) - (object Attribute - tool "cg" - name "RelationalVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "RelationalKind" - value ("FriendKindSet" 200)) - (object Attribute - tool "cg" - name "InlineRelationalOperations" - value FALSE) - (object Attribute - tool "cg" - name "GenerateStorageMgmtOperations" - value FALSE) - (object Attribute - tool "cg" - name "StorageMgmtVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineStorageMgmtOperations" - value FALSE) - (object Attribute - tool "cg" - name "GenerateSubscriptOperation" - value FALSE) - (object Attribute - tool "cg" - name "SubscriptVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "SubscriptKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "SubscriptResultType" - value "") - (object Attribute - tool "cg" - name "InlineSubscriptOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateDereferenceOperation" - value FALSE) - (object Attribute - tool "cg" - name "DereferenceVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "DereferenceKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "DereferenceResultType" - value "") - (object Attribute - tool "cg" - name "InlineDereferenceOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateIndirectionOperation" - value FALSE) - (object Attribute - tool "cg" - name "IndirectionVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "IndirectionKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "IndirectionResultType" - value "") - (object Attribute - tool "cg" - name "InlineIndirectionOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateStreamOperations" - value FALSE) - (object Attribute - tool "cg" - name "StreamVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineStreamOperations" - value FALSE) - (object Attribute - tool "cg" - name "ThreeKindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202))) - (object Attribute - tool "cg" - name "KindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203))) - (object Attribute - tool "cg" - name "FriendKindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GenerateSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "DeclareAndDefine" - value 199) - (object Attribute - tool "cg" - name "DeclareOnly" - value 205) - (object Attribute - tool "cg" - name "DoNotDeclare" - value 206))) - (object Attribute - tool "cg" - name "VisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14))))) - (object Attribute - tool "cg" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Generate" - value TRUE) - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "cg" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "cg" - name "FileName" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "AllowExtensionlessFileName" - value FALSE) - (object Attribute - tool "cg" - name "InclusionProtectionSymbol" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "IncludeFormat" - value (value Text -|// $package -|#include "$file" -| - )) - (object Attribute - tool "cg" - name "IncludeBySimpleName" - value FALSE) - (object Attribute - tool "cg" - name "IncludePrecompiledHeader" - value FALSE) - (object Attribute - tool "cg" - name "IncludeOrder" - value "AMIR") - (object Attribute - tool "cg" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "cg" - name "InliningStyle" - value ("InliningStyleSet" 207)) - (object Attribute - tool "cg" - name "InliningStyleSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "InClassDeclaration" - value 208) - (object Attribute - tool "cg" - name "FollowingClassDeclaration" - value 207))) - (object Attribute - tool "cg" - name "TypesDefined" - value (value Text "")) - (object Attribute - tool "cg" - name "IncludeClosure" - value (value Text "")))) - (object Attribute - tool "cg" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Generate" - value TRUE) - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "cg" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "cg" - name "FileName" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "AllowExtensionlessFileName" - value FALSE) - (object Attribute - tool "cg" - name "IncludeFormat" - value (value Text -|// $package -|#include "$file" -| - )) - (object Attribute - tool "cg" - name "IncludeBySimpleName" - value FALSE) - (object Attribute - tool "cg" - name "IncludePrecompiledHeader" - value TRUE) - (object Attribute - tool "cg" - name "IncludeOrder" - value "AMIR") - (object Attribute - tool "cg" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "cg" - name "InliningStyle" - value ("InliningStyleSet" 207)) - (object Attribute - tool "cg" - name "InliningStyleSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "InClassDeclaration" - value 208) - (object Attribute - tool "cg" - name "FollowingClassDeclaration" - value 207))) - (object Attribute - tool "cg" - name "TypesDefined" - value (value Text "")) - (object Attribute - tool "cg" - name "IncludeClosure" - value (value Text "")))) - (object Attribute - tool "cg" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "OperationKind" - value ("OperationKindSet" 200)) - (object Attribute - tool "cg" - name "OperationKindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GenerateAbstractBody" - value FALSE) - (object Attribute - tool "cg" - name "GenerateFriendBody" - value FALSE) - (object Attribute - tool "cg" - name "GenerateFriendDecl" - value FALSE) - (object Attribute - tool "cg" - name "SpecialDeclReturnType" - value "") - (object Attribute - tool "cg" - name "OperationIsConst" - value FALSE) - (object Attribute - tool "cg" - name "OperationIsExplicit" - value FALSE) - (object Attribute - tool "cg" - name "Inline" - value FALSE) - (object Attribute - tool "cg" - name "EntryCode" - value (value Text "")) - (object Attribute - tool "cg" - name "ExitCode" - value (value Text "")) - (object Attribute - tool "cg" - name "CCRegion" - value "") - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "BodyAnnotations" - value ""))) - (object Attribute - tool "cg" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "Ordered" - value TRUE) - (object Attribute - tool "cg" - name "NameIfUnlabeled" - value "the_$supplier") - (object Attribute - tool "cg" - name "GenerateDataMember" - value TRUE) - (object Attribute - tool "cg" - name "DataMemberName" - value "$relationship") - (object Attribute - tool "cg" - name "DataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtRelationshipVisibility" - value 210))) - (object Attribute - tool "cg" - name "DataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "DataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "DataMemberFieldSize" - value "") - (object Attribute - tool "cg" - name "InitialValue" - value (value Text "")) - (object Attribute - tool "cg" - name "GenerateGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GenerateSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GetName" - value "get_$relationship") - (object Attribute - tool "cg" - name "SetName" - value "set_$relationship") - (object Attribute - tool "cg" - name "GetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GetSetKindsSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "ContainerClass" - value "") - (object Attribute - tool "cg" - name "SelectorName" - value "") - (object Attribute - tool "cg" - name "SelectorType" - value "") - (object Attribute - tool "cg" - name "GetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "GetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "GetResultIsConstSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_Function" - value 2))) - (object Attribute - tool "cg" - name "GetSetByReference" - value FALSE) - (object Attribute - tool "cg" - name "InlineGet" - value TRUE) - (object Attribute - tool "cg" - name "SetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineSet" - value TRUE) - (object Attribute - tool "cg" - name "ForwardReferenceOnly" - value FALSE) - (object Attribute - tool "cg" - name "HasRelTypeSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Array" - value 24) - (object Attribute - tool "cg" - name "Sequence" - value 47))))) - (object Attribute - tool "cg" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "cg" - name "NameIfUnlabeled" - value "the_$targetClass"))) - (object Attribute - tool "cg" - name "default__Inherit" - value (list Attribute_Set - (object Attribute - tool "cg" - name "InstanceArguments" - value ""))) - (object Attribute - tool "cg" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "ForwardReferenceOnly" - value FALSE) - (object Attribute - tool "cg" - name "NameIfUnlabeled" - value "the_$targetClass") - (object Attribute - tool "cg" - name "GenerateDataMember" - value TRUE) - (object Attribute - tool "cg" - name "DataMemberName" - value "$target") - (object Attribute - tool "cg" - name "DataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtRelationshipVisibility" - value 210))) - (object Attribute - tool "cg" - name "DataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "DataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "DataMemberFieldSize" - value "") - (object Attribute - tool "cg" - name "InitialValue" - value (value Text "")) - (object Attribute - tool "cg" - name "ContainerClass" - value "") - (object Attribute - tool "cg" - name "ContainerGet" - value "$data.get($keys)") - (object Attribute - tool "cg" - name "ContainerSet" - value "$data.set($keys,$value)") - (object Attribute - tool "cg" - name "QualifiedContainer" - value "") - (object Attribute - tool "cg" - name "AssocClassContainer" - value "$supplier *") - (object Attribute - tool "cg" - name "AssocClassInitialValue" - value (value Text "")) - (object Attribute - tool "cg" - name "GetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GetSetKindsSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GetSetByReference" - value FALSE) - (object Attribute - tool "cg" - name "GenerateGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GetName" - value "get_$target") - (object Attribute - tool "cg" - name "GetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "GetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "GetResultIsConstSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_Function" - value 2))) - (object Attribute - tool "cg" - name "InlineGet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "SetName" - value "set_$target") - (object Attribute - tool "cg" - name "SetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineSet" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedGetSetByReference" - value ("QualifiedGetSetByReferenceSet" 2)) - (object Attribute - tool "cg" - name "QualifiedGetSetByReferenceSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_GetSetByReference" - value 2))) - (object Attribute - tool "cg" - name "GenerateQualifiedGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedGetName" - value "get_$target") - (object Attribute - tool "cg" - name "QualifiedGetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedGetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "InlineQualifiedGet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateQualifiedSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedSetName" - value "set_$target") - (object Attribute - tool "cg" - name "QualifiedSetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineQualifiedSet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateAssocClassDataMember" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassDataMemberName" - value "$target") - (object Attribute - tool "cg" - name "AssocClassDataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtRelationshipVisibility" - value 210))) - (object Attribute - tool "cg" - name "AssocClassDataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "AssocClassDataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "AssocClassGetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GenerateAssocClassGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassGetName" - value "get_$target") - (object Attribute - tool "cg" - name "AssocClassGetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassGetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "InlineAssocClassGet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateAssocClassSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassSetName" - value "set_$target") - (object Attribute - tool "cg" - name "AssocClassSetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineAssocClassSet" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassForwardReferenceOnly" - value TRUE) - (object Attribute - tool "cg" - name "AssocTypeSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Array" - value 24) - (object Attribute - tool "cg" - name "Sequence" - value 47))))) - (object Attribute - tool "cg" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "GenerateDataMember" - value TRUE) - (object Attribute - tool "cg" - name "DataMemberName" - value "$attribute") - (object Attribute - tool "cg" - name "DataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtAttributeVisibility" - value 211))) - (object Attribute - tool "cg" - name "DataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "DataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "DataMemberFieldSize" - value "") - (object Attribute - tool "cg" - name "GenerateGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GenerateSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GetName" - value "get_$attribute") - (object Attribute - tool "cg" - name "SetName" - value "set_$attribute") - (object Attribute - tool "cg" - name "GetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GetSetKindsSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "GetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "GetResultIsConstSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_Function" - value 2))) - (object Attribute - tool "cg" - name "GetSetByReference" - value FALSE) - (object Attribute - tool "cg" - name "InlineGet" - value TRUE) - (object Attribute - tool "cg" - name "SetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineSet" - value TRUE) - (object Attribute - tool "cg" - name "CCRegion" - value ""))) - (object Attribute - tool "cg" - name "default__Uses" - value (list Attribute_Set - (object Attribute - tool "cg" - name "ForwardReferenceOnly" - value FALSE) - (object Attribute - tool "cg" - name "BodyReferenceOnly" - value FALSE))) - (object Attribute - tool "cg" - name "default__Subsystem" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Directory" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "DirectoryIsOnSearchList" - value FALSE) - (object Attribute - tool "cg" - name "PrecompiledHeader" - value ""))) - (object Attribute - tool "cg" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "cg" - name "IsNamespace" - value FALSE) - (object Attribute - tool "cg" - name "Indent" - value 2) - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))))) - (object Attribute - tool "MSVC" - name "propertyId" - value "809135966") - (object Attribute - tool "MSVC" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Version" - value "5.0"))) - (object Attribute - tool "MSVC" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCClassTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCClassTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Interface_Part" - value 1) - (object Attribute - tool "MSVC" - name "Connection_Part" - value 2) - (object Attribute - tool "MSVC" - name "Class_Factory" - value 3))) - (object Attribute - tool "MSVC" - name "CObjectFunctionality" - value ("CObjectFunctionalitySet" 0)) - (object Attribute - tool "MSVC" - name "CObjectFunctionalitySet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "None" - value 0) - (object Attribute - tool "MSVC" - name "Dynamic" - value 1) - (object Attribute - tool "MSVC" - name "Dyncreate" - value 2) - (object Attribute - tool "MSVC" - name "Serial" - value 3))) - (object Attribute - tool "MSVC" - name "GenerateOverrideGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "GenerateDataGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_DATA_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateFieldGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_FIELD_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateMessageGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "GenerateMessageMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_MSG_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MESSAGE_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "OLEFactory" - value ("OLEFactorySet" 0)) - (object Attribute - tool "MSVC" - name "OLEFactorySet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "None" - value 0) - (object Attribute - tool "MSVC" - name "Built_in" - value 1) - (object Attribute - tool "MSVC" - name "Simple" - value 2) - (object Attribute - tool "MSVC" - name "Licensed" - value 3))) - (object Attribute - tool "MSVC" - name "OLEName" - value "") - (object Attribute - tool "MSVC" - name "OLEClassID" - value "") - (object Attribute - tool "MSVC" - name "GenerateOLECtlType" - value FALSE) - (object Attribute - tool "MSVC" - name "OLECtlType" - value "") - (object Attribute - tool "MSVC" - name "GenerateOLETypeLib" - value FALSE) - (object Attribute - tool "MSVC" - name "OLETypeLibID" - value "") - (object Attribute - tool "MSVC" - name "OLETypeLibMajor" - value "") - (object Attribute - tool "MSVC" - name "OLETypeLibMinor" - value "") - (object Attribute - tool "MSVC" - name "GeneratePropPageIDs" - value FALSE) - (object Attribute - tool "MSVC" - name "OLEPropPageIDs" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateDispatchMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "StockProperties" - value (value Text "")) - (object Attribute - tool "MSVC" - name "StockFunctions" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DispatchDefValue" - value "") - (object Attribute - tool "MSVC" - name "GenerateDispIdEnum" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_DISP_ID_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateInterfaceMap" - value FALSE) - (object Attribute - tool "MSVC" - name "INTERFACE_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "InitInterface" - value "") - (object Attribute - tool "MSVC" - name "GenerateEventMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_EVENT_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "StockEvents" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateEventSinkMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_EVENTSINK_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "PropNotifySinks" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateConnectionMap" - value FALSE) - (object Attribute - tool "MSVC" - name "CONNECTION_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "ConnectionPointIID" - value "") - (object Attribute - tool "MSVC" - name "InheritanceType" - value "") - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "OLECommands" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MFCDeclares" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MFCImplements" - value (value Text "")) - (object Attribute - tool "MSVC" - name "ATL_Declares" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateCOMMap" - value FALSE) - (object Attribute - tool "MSVC" - name "COM_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateConnectionPointMap" - value FALSE) - (object Attribute - tool "MSVC" - name "CONNECTION_POINT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateMsgMap" - value FALSE) - (object Attribute - tool "MSVC" - name "MSG_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GeneratePropertyMap" - value FALSE) - (object Attribute - tool "MSVC" - name "PROPERTY_MAP_Entries" - value (value Text "")))) - (object Attribute - tool "MSVC" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCOperationTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCOperationTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Virtual_Override" - value 1) - (object Attribute - tool "MSVC" - name "Message_Handler" - value 2) - (object Attribute - tool "MSVC" - name "Dispatch_Handler" - value 3) - (object Attribute - tool "MSVC" - name "Event_Firing_Function" - value 4) - (object Attribute - tool "MSVC" - name "Event_Sink_Handler" - value 5) - (object Attribute - tool "MSVC" - name "Std_OLE_Method" - value 6) - (object Attribute - tool "MSVC" - name "Command_Parser" - value 7) - (object Attribute - tool "MSVC" - name "Property_Get_Function" - value 8) - (object Attribute - tool "MSVC" - name "Property_Set_Function" - value 9) - (object Attribute - tool "MSVC" - name "Property_Notify_Function" - value 10) - (object Attribute - tool "MSVC" - name "Macro_Generated_Function" - value 11))) - (object Attribute - tool "MSVC" - name "AFX_MSG_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MESSAGE_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "BodyImage" - value (value Text "")))) - (object Attribute - tool "MSVC" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCAttributeTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCAttributeTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Member_Property" - value 1) - (object Attribute - tool "MSVC" - name "Get_Set_Property" - value 2) - (object Attribute - tool "MSVC" - name "Dialog_Data" - value 3) - (object Attribute - tool "MSVC" - name "Field_Data" - value 4) - (object Attribute - tool "MSVC" - name "Stock_Property" - value 5))) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "PointerBase" - value "") - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "StockPropertyImplementation" - value ""))) - (object Attribute - tool "MSVC" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCAttributeTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCAttributeTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Member_Property" - value 1) - (object Attribute - tool "MSVC" - name "Get_Set_Property" - value 2) - (object Attribute - tool "MSVC" - name "Dialog_Data" - value 3) - (object Attribute - tool "MSVC" - name "Field_Data" - value 4) - (object Attribute - tool "MSVC" - name "Stock_Property" - value 5))) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "PointerBase" - value "") - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "StockPropertyImplementation" - value ""))) - (object Attribute - tool "MSVC" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCAttributeTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCAttributeTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Member_Property" - value 1) - (object Attribute - tool "MSVC" - name "Get_Set_Property" - value 2) - (object Attribute - tool "MSVC" - name "Dialog_Data" - value 3) - (object Attribute - tool "MSVC" - name "Field_Data" - value 4) - (object Attribute - tool "MSVC" - name "Stock_Property" - value 5))) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "PointerBase" - value "") - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "StockPropertyImplementation" - value ""))) - (object Attribute - tool "MSVC" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "GenerateIncludesGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_INCLUDES_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateInsertLocation" - value FALSE))) - (object Attribute - tool "MSVC" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "GenerateIncludesGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_INCLUDES_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateInsertLocation" - value FALSE))) - (object Attribute - tool "cg" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Rose Model Integrator" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Rose Web Publisher" - name "HiddenTool" - value FALSE) - (object Attribute - tool "SoDA" - name "HiddenTool" - value FALSE) - (object Attribute - tool "TopLink" - name "HiddenTool" - value FALSE) - (object Attribute - tool "COM" - name "propertyId" - value "783606378") - (object Attribute - tool "COM" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "COM" - name "TypeKinds" - value (list Attribute_Set - (object Attribute - tool "COM" - name "enum" - value 100) - (object Attribute - tool "COM" - name "record" - value 101) - (object Attribute - tool "COM" - name "module" - value 102) - (object Attribute - tool "COM" - name "interface" - value 103) - (object Attribute - tool "COM" - name "dispinterface" - value 104) - (object Attribute - tool "COM" - name "coclass" - value 105) - (object Attribute - tool "COM" - name "alias" - value 106) - (object Attribute - tool "COM" - name "union" - value 107) - (object Attribute - tool "COM" - name "max" - value 108) - (object Attribute - tool "COM" - name "(none)" - value 109))) - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "kind" - value ("TypeKinds" 109)) - (object Attribute - tool "COM" - name "uuid" - value "") - (object Attribute - tool "COM" - name "version" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "helpcontext" - value "") - (object Attribute - tool "COM" - name "attributes" - value "") - (object Attribute - tool "COM" - name "dllname" - value "") - (object Attribute - tool "COM" - name "alias" - value ""))) - (object Attribute - tool "COM" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "id" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "id" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "filename" - value "") - (object Attribute - tool "COM" - name "library" - value "") - (object Attribute - tool "COM" - name "uuid" - value "") - (object Attribute - tool "COM" - name "version" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "helpfile" - value "") - (object Attribute - tool "COM" - name "helpcontext" - value "") - (object Attribute - tool "COM" - name "lcid" - value "") - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "default__Param" - value (list Attribute_Set - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Visual Basic" - name "propertyId" - value "783606378") - (object Attribute - tool "Visual Basic" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "UpdateCode" - value TRUE) - (object Attribute - tool "Visual Basic" - name "UpdateModel" - value TRUE) - (object Attribute - tool "Visual Basic" - name "InstancingSet" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "Private" - value 221) - (object Attribute - tool "Visual Basic" - name "PublicNotCreatable" - value 213) - (object Attribute - tool "Visual Basic" - name "SingleUse" - value 214) - (object Attribute - tool "Visual Basic" - name "GlobalSingleUse" - value 215) - (object Attribute - tool "Visual Basic" - name "MultiUse" - value 219) - (object Attribute - tool "Visual Basic" - name "GlobalMultiUse" - value 220))) - (object Attribute - tool "Visual Basic" - name "BaseSet" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "(none)" - value 222) - (object Attribute - tool "Visual Basic" - name "0" - value 223) - (object Attribute - tool "Visual Basic" - name "1" - value 224))) - (object Attribute - tool "Visual Basic" - name "OptionBase" - value ("BaseSet" 222)) - (object Attribute - tool "Visual Basic" - name "OptionExplicit" - value TRUE) - (object Attribute - tool "Visual Basic" - name "OptionCompare" - value ("CompareSet" 202)) - (object Attribute - tool "Visual Basic" - name "Instancing" - value ("InstancingSet" 219)) - (object Attribute - tool "Visual Basic" - name "CompareSet" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "(none)" - value 202) - (object Attribute - tool "Visual Basic" - name "Binary" - value 203) - (object Attribute - tool "Visual Basic" - name "Text" - value 204))))) - (object Attribute - tool "Visual Basic" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "LibraryName" - value "") - (object Attribute - tool "Visual Basic" - name "AliasName" - value "") - (object Attribute - tool "Visual Basic" - name "IsStatic" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ProcedureID" - value "") - (object Attribute - tool "Visual Basic" - name "ReplaceExistingBody" - value FALSE) - (object Attribute - tool "Visual Basic" - name "DefaultBody" - value (value Text "")))) - (object Attribute - tool "Visual Basic" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "New" - value FALSE) - (object Attribute - tool "Visual Basic" - name "WithEvents" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ProcedureID" - value "") - (object Attribute - tool "Visual Basic" - name "PropertyName" - value "") - (object Attribute - tool "Visual Basic" - name "Subscript" - value ""))) - (object Attribute - tool "Visual Basic" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "UpdateCode" - value TRUE) - (object Attribute - tool "Visual Basic" - name "New" - value FALSE) - (object Attribute - tool "Visual Basic" - name "WithEvents" - value FALSE) - (object Attribute - tool "Visual Basic" - name "FullName" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ProcedureID" - value "") - (object Attribute - tool "Visual Basic" - name "PropertyName" - value "") - (object Attribute - tool "Visual Basic" - name "Subscript" - value ""))) - (object Attribute - tool "Visual Basic" - name "default__Inherit" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "ImplementsDelegation" - value TRUE) - (object Attribute - tool "Visual Basic" - name "FullName" - value FALSE))) - (object Attribute - tool "Visual Basic" - name "default__Param" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "ByVal" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ByRef" - value FALSE) - (object Attribute - tool "Visual Basic" - name "Optional" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ParamArray" - value FALSE))) - (object Attribute - tool "Visual Basic" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "ProjectFile" - value "") - (object Attribute - tool "Visual Basic" - name "UpdateCode" - value TRUE) - (object Attribute - tool "Visual Basic" - name "UpdateModel" - value TRUE) - (object Attribute - tool "Visual Basic" - name "ImportReferences" - value TRUE) - (object Attribute - tool "Visual Basic" - name "QuickImport" - value TRUE) - (object Attribute - tool "Visual Basic" - name "ImportBinary" - value FALSE))) - (object Attribute - tool "Visual Basic" - name "HiddenTool" - value FALSE) - (object Attribute - tool "VisualStudio" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Web Modeler" - name "HiddenTool" - value FALSE) - (object Attribute - tool "XML_DTD" - name "propertyId" - value "809135966") - (object Attribute - tool "XML_DTD" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "XML_DTD" - name "Editor" - value ("EditorType" 100)) - (object Attribute - tool "XML_DTD" - name "StopOnError" - value TRUE) - (object Attribute - tool "XML_DTD" - name "EditorType" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "BuiltIn" - value 100) - (object Attribute - tool "XML_DTD" - name "WindowsShell" - value 101))))) - (object Attribute - tool "XML_DTD" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "Entity_SystemID" - value "") - (object Attribute - tool "XML_DTD" - name "Entity_PublicID" - value "") - (object Attribute - tool "XML_DTD" - name "NotationValue" - value "") - (object Attribute - tool "XML_DTD" - name "InternalValue" - value "") - (object Attribute - tool "XML_DTD" - name "ParameterEntity" - value FALSE) - (object Attribute - tool "XML_DTD" - name "ExternalEntity" - value FALSE) - (object Attribute - tool "XML_DTD" - name "Notation_SystemID" - value "") - (object Attribute - tool "XML_DTD" - name "Notation_PublicID" - value ""))) - (object Attribute - tool "XML_DTD" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "DefaultDeclType" - value ""))) - (object Attribute - tool "XML_DTD" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "Assign All" - value FALSE) - (object Attribute - tool "XML_DTD" - name "ComponentPath" - value ""))) - (object Attribute - tool "XML_DTD" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Cplusplus" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "RevEngRootDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "RootPackage" - value "C++ Reverse Engineered") - (object Attribute - tool "Cplusplus" - name "RevEngDirectoriesAsPackages" - value FALSE) - (object Attribute - tool "Cplusplus" - name "HeaderFileExtension" - value ".h") - (object Attribute - tool "Cplusplus" - name "ImplementationFileExtension" - value ".cpp") - (object Attribute - tool "Cplusplus" - name "NewHeaderFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "NewImplementationFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "FileCapitalization" - value ("FileCapitalizationSet" 0)) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectories" - value ("CodeGenExtraDirectoriesSet" 0)) - (object Attribute - tool "Cplusplus" - name "StripClassPrefix" - value "") - (object Attribute - tool "Cplusplus" - name "UseTabs" - value FALSE) - (object Attribute - tool "Cplusplus" - name "TabWidth" - value 8) - (object Attribute - tool "Cplusplus" - name "IndentWidth" - value 4) - (object Attribute - tool "Cplusplus" - name "AccessIndentation" - value -2) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRules" - value ("ModelIdCommentRulesSet" 1)) - (object Attribute - tool "Cplusplus" - name "PageWidth" - value 80) - (object Attribute - tool "Cplusplus" - name "ClassMemberOrder" - value ("MemberOrderSet" 1)) - (object Attribute - tool "Cplusplus" - name "OneParameterPerLine" - value FALSE) - (object Attribute - tool "Cplusplus" - name "NamespaceBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "ClassBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "FunctionBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "Copyright" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "InitialHeaderIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "InitialBodyIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectoriesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "None" - value 0) - (object Attribute - tool "Cplusplus" - name "Namespaces" - value 1) - (object Attribute - tool "Cplusplus" - name "Packages" - value 2))) - (object Attribute - tool "Cplusplus" - name "FileCapitalizationSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Same as model" - value 0) - (object Attribute - tool "Cplusplus" - name "Lower case" - value 1) - (object Attribute - tool "Cplusplus" - name "Upper case" - value 2) - (object Attribute - tool "Cplusplus" - name "Lower case with underscores" - value 3))) - (object Attribute - tool "Cplusplus" - name "BraceStyleSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "B1" - value 1) - (object Attribute - tool "Cplusplus" - name "B2" - value 2) - (object Attribute - tool "Cplusplus" - name "B3" - value 3) - (object Attribute - tool "Cplusplus" - name "B4" - value 4) - (object Attribute - tool "Cplusplus" - name "B5" - value 5))) - (object Attribute - tool "Cplusplus" - name "MemberOrderSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Public First" - value 1) - (object Attribute - tool "Cplusplus" - name "Private First" - value 2) - (object Attribute - tool "Cplusplus" - name "Order by kind" - value 3) - (object Attribute - tool "Cplusplus" - name "Unordered" - value 4))) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRulesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Code generation only" - value 1) - (object Attribute - tool "Cplusplus" - name "Code generation and reverse engineering" - value 2) - (object Attribute - tool "Cplusplus" - name "Never generate model IDs" - value 3))))) - (object Attribute - tool "Deploy" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Version Control" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Ecore" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "packageName" - value "") - (object Attribute - tool "Ecore" - name "nsPrefix" - value "") - (object Attribute - tool "Ecore" - name "nsURI" - value "") - (object Attribute - tool "Ecore" - name "basePackage" - value "") - (object Attribute - tool "Ecore" - name "prefix" - value ""))) - (object Attribute - tool "Ecore" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "classifierName" - value ""))) - (object Attribute - tool "Ecore" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "operationName" - value ""))) - (object Attribute - tool "Ecore" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "attributeName" - value "") - (object Attribute - tool "Ecore" - name "isTransient" - value FALSE) - (object Attribute - tool "Ecore" - name "isVolatile" - value FALSE) - (object Attribute - tool "Ecore" - name "isChangeable" - value TRUE) - (object Attribute - tool "Ecore" - name "isUnsettable" - value FALSE) - (object Attribute - tool "Ecore" - name "isUnique" - value TRUE) - (object Attribute - tool "Ecore" - name "isID" - value FALSE))) - (object Attribute - tool "Ecore" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "referenceName" - value "") - (object Attribute - tool "Ecore" - name "isTransient" - value FALSE) - (object Attribute - tool "Ecore" - name "isVolatile" - value FALSE) - (object Attribute - tool "Ecore" - name "isChangeable" - value TRUE) - (object Attribute - tool "Ecore" - name "isUnsettable" - value FALSE) - (object Attribute - tool "Ecore" - name "isResolveProxies" - value TRUE)))) - quid "3B86F1720171"))
diff --git a/plugins/org.eclipse.jem/rose/instantiation.cat b/plugins/org.eclipse.jem/rose/instantiation.cat deleted file mode 100644 index 7376d22..0000000 --- a/plugins/org.eclipse.jem/rose/instantiation.cat +++ /dev/null
@@ -1,3072 +0,0 @@ - -(object Petal - version 47 - _written "Rose 8.0.0303.1400" - charSet 0) - -(object Class_Category "instantiation" - is_unit TRUE - is_loaded TRUE - attributes (list Attribute_Set - (object Attribute - tool "Ecore" - name "basePackage" - value (value Text "org.eclipse.jem.internal"))) - quid "3B86F1720180" - documentation "Java Instantiation Package" - exportControl "Public" - logical_models (list unit_reference_list - (object Class "IJavaDataTypeInstance" - quid "3B8AB17802B1" - stereotype "Interface" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3E529562014E" - supplier "Logical View::instantiation::IJavaInstance" - quidu "3E51575A02D4")) - class_attributes (list class_attribute_list - (object ClassAttribute "org.eclipse.jem.internal.instantiation.base.IJavaDataTypeInstance" - quid "3B8AB19100C2" - stereotype "javaclass"))) - (object Class "IJavaInstance" - quid "3E51575A02D4" - stereotype "Interface" - class_attributes (list class_attribute_list - (object ClassAttribute "org.eclipse.jem.internal.instantiation.base.IJavaInstance" - quid "3E51577802B9" - stereotype "javaclass"))) - (object Class "IJavaObjectInstance" - quid "3B782D790296" - documentation "This interface is the instance of an java object in the java model." - stereotype "Interface" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3E5157DA03DD" - supplier "Logical View::instantiation::IJavaInstance" - quidu "3E51575A02D4")) - class_attributes (list class_attribute_list - (object ClassAttribute "org.eclipse.jem.internal.instantiation.base.IJavaObjectInstance" - quid "3B78301801C9" - stereotype "javaclass"))) - (object Class "JavaAllocation" - quid "3FD9E6900061" - documentation -|This class is the abstract base class of the allocation class. It is the value of the "allocation" property on a Java Object so that the actual allocation can be controlled. For example, there could be one for just init string, or one for serialized. - - abstract TRUE) - (object Class "InitStringAllocation" - quid "3FD9EAF9001E" - documentation "This is used when the allocation string can be parsed by the remote vm. It uses the allocString." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3FD9EB7502DA" - supplier "Logical View::instantiation::JavaAllocation" - quidu "3FD9E6900061")) - class_attributes (list class_attribute_list - (object ClassAttribute "initString" - quid "3FFDE1DE032E" - documentation "This is the initialization string for this object." - type "String" - exportControl "Public"))) - (object Class "ImplicitAllocation" - quid "3FD9EC140242" - documentation "This class is for an implicit allocation where the object comes from the feature of another object. It is the live Java value from the remote vm." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "3FD9EC4700E7" - supplier "Logical View::instantiation::JavaAllocation" - quidu "3FD9E6900061"))) - (object Class "ParseTreeAllocation" - quid "40082C910005" - documentation "Allocations via Parse Trees." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40082CB701D6" - supplier "Logical View::instantiation::JavaAllocation" - quidu "3FD9E6900061"))) - (object Class "PTExpression" - quid "40082D0A01CB" - abstract TRUE) - (object Class "PTArrayAccess" - quid "40082E140250" - documentation -|Array access. e.g. x[3]. -| -|Unlike AST, the entire expression of type x[3][4] will be done in one expression rather than having a separate ArrayAccess for each dimension. This is just a simplification. This can only be used if it is a simple array access where it is of the form {expression}[expression][expression]. - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40082E6F01F7" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "array" - quid "40082E8E0237" - documentation "The expression representing the array to access." - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "indexes" - quid "40082E9B007D" - documentation "The expressions representing the indexes of the access." - stereotype "1..*" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTArrayCreation" - quid "40083712025A" - documentation -|Array Creation expression, e.g. new int[3] or new java.langString[][] {{"a"}, {"b"}} - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400837210049" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "type" - quid "400837E902BD" - documentation "The fully-qualified type, e.g. int[][] or java.lang.String[], including the number of dimension brackets." - type "String" - exportControl "Public") - (object ClassAttribute "dimensions" - quid "4008389501E8" - documentation "The list of expressions for the dimensions. You can have [3][4][] but [][33] is invalid. So for each dimension that has an expression, there will be an entry in the list, in the correct order. When you reach the empty dimensions, the list will end too. " - stereotype "0..*" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "initializer" - quid "4008397C0231" - documentation "This is the initializer, if any, for this array. E.g. new int[] {2,3}. It is the {2,3}." - type "PTArrayInitializer" - quidu "40083968014C" - exportControl "Public"))) - (object Class "PTArrayInitializer" - quid "40083968014C" - documentation "Array initialization expression. This is the entire expression, e.g. {2, 3}, or {{2,3}, 4}. In the second case, the {2,3} will be an ArrayInitializer contained within the expressions list for the top ArrayInitializer." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400839790038" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "expressions" - quid "40083A5700EB" - documentation "This isthe list of expressions within the initializer, e.g. {2, 3}, or {{2,3}, 4}. In the first case it will be two NumberLiterals. In the second case, the {2,3} will be an ArrayInitializer, followed by a NumberLiteral." - stereotype "0..*" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTBooleanLiteral" - quid "40083AE70247" - documentation "This represents a primitive boolean literal, i.e. true or false directly in the code." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40083B1D0000" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "booleanValue" - quid "40083B3D001A" - documentation "The value of the literal." - type "boolean" - exportControl "Public"))) - (object Class "PTCastExpression" - quid "40083B6F0058" - documentation "Cast expression, e.g. (short) 10" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40083BD60309" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "type" - quid "40083B9600F4" - documentation "This is the fully-qualified type of the cast, e.g. int or java.lang.String" - type "String" - exportControl "Public") - (object ClassAttribute "expression" - quid "40083BB6033F" - documentation "The expression being casted." - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTCharacterLiteral" - quid "40084DF10277" - documentation "This represents a primitive character expression, e.g. 'a' or '\\r'." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40084E1301EA" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "escapedValue" - quid "40084E39014E" - documentation "This is the escaped character. In other words the literal exactly as it is in the java file. E.g. 'a' or '\\r'. Including the surrounding single quotes themselves." - type "String" - exportControl "Public") - (object ClassAttribute "charValue" - attributes (list Attribute_Set - (object Attribute - tool "Ecore" - name "isTransient" - value TRUE)) - quid "40084EB702CC" - documentation "The actual primitive character without the quotes. Escape are evaluated and turned into their character value. This is a transient field. If not set when created when queried it will create it. Typically it will be set when created from an AST node since the node already has evaluated it." - type "char" - exportControl "Public"))) - (object Class "PTClassInstanceCreation" - quid "40084F40026F" - documentation -|Class instance creation expression. E.g. new String("a") - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40084F4C02F8" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "type" - quid "40084FAD0294" - documentation -|This is the type of the class. E.g. java.lang.String. This should be fully-qualified for allocation purposes. It should also be in reflection format, i.e. if X is an inner class of j.Y, then the type here should be "j.Y$X". - - type "String" - exportControl "Public") - (object ClassAttribute "arguments" - quid "4008515E0138" - documentation "The arguments to the constructor." - stereotype "0..*" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTConditionalExpression" - quid "400851FB026A" - documentation "The test Expresson, e.g. (x=3) ? 1 : 2" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40085274012E" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "condition" - quid "4008521D02AF" - documentation "The condition expression." - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "true" - quid "400852410333" - documentation "The true expression" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "false" - quid "4008525F0296" - documentation "The false expression." - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTFieldAccess" - quid "400852DF0204" - documentation "Access a field expression, e.g. java.awt.Color.red" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "4008535D0241" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "receiver" - quid "40085313012C" - documentation "The expression representing the object that the field is in, e.g. java.awt.Color." - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "field" - quid "4008534500AC" - documentation "The name of the field being accessed, e.g. red." - type "String" - exportControl "Public"))) - (object Class "PTInfixExpression" - quid "4008538B0143" - documentation "An expression with an operator that has two operands, e.g. 3 + 4." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400855700032" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "leftOperand" - quid "400853AC0000" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "operator" - quid "400853B600D7" - documentation "The operator, e.g. +" - type "PTInfixOperator" - quidu "400853E10359" - exportControl "Public") - (object ClassAttribute "rightOperand" - quid "4008540D0186" - documentation -|The right expression. i.e. 4 of "3 + 4" - - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "extendedOperands" - quid "40085511039C" - documentation "Used when there are a series of infix operations of the same operator, e.g. 1 + 2 + 3 + 4. 1 and 2 will go into left and right, while {3, 4} will go into the extended operands. " - stereotype "0..*" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTInfixOperator" - quid "400853E10359" - documentation "Enumerator for the operator on an InfixExpression." - stereotype "enumeration" - class_attributes (list class_attribute_list - (object ClassAttribute "TIMES" - quid "400856830240" - documentation "* operator" - exportControl "Public") - (object ClassAttribute "DIVIDE" - quid "4008568E01E2" - documentation "/ operator" - exportControl "Public") - (object ClassAttribute "REMAINDER" - quid "4008569202BA" - documentation "% operator" - exportControl "Public") - (object ClassAttribute "PLUS" - quid "40085697039D" - documentation "+ operator" - exportControl "Public") - (object ClassAttribute "MINUS" - quid "4008569C01D8" - documentation "- operator" - exportControl "Public") - (object ClassAttribute "LEFT_SHIFT" - quid "400856B50274" - documentation "<< operator" - exportControl "Public") - (object ClassAttribute "RIGHT_SHIFT_SIGNED" - quid "400856BA00CD" - documentation ">> operator" - exportControl "Public") - (object ClassAttribute "RIGHT_SHIFT_UNSIGNED" - quid "400856C3038D" - documentation ">>> operator" - exportControl "Public") - (object ClassAttribute "LESS" - quid "400856CC03CC" - documentation "< operator" - exportControl "Public") - (object ClassAttribute "GREATER" - quid "400856D9001D" - documentation "> operator" - exportControl "Public") - (object ClassAttribute "LESS_EQUALS" - quid "400856DD004B" - documentation "<= operator" - exportControl "Public") - (object ClassAttribute "GREATER_EQUALS" - quid "400856E5029B" - documentation ">= operator" - exportControl "Public") - (object ClassAttribute "EQUALS" - quid "400856EC0273" - documentation "== operator" - exportControl "Public") - (object ClassAttribute "NOT_EQUALS" - quid "400856F9039E" - documentation "!= operator" - exportControl "Public") - (object ClassAttribute "XOR" - quid "400857010328" - documentation "^ operator" - exportControl "Public") - (object ClassAttribute "AND" - quid "40085712034A" - documentation "& operator" - exportControl "Public") - (object ClassAttribute "OR" - quid "4008570402FA" - documentation "| operator" - exportControl "Public") - (object ClassAttribute "CONDITIONAL_AND" - quid "400857160075" - documentation "&& operator" - exportControl "Public") - (object ClassAttribute "CONDITIONAL_OR" - quid "4008572602BD" - documentation "|| operator" - exportControl "Public"))) - (object Class "PTInstanceof" - quid "400857D303A2" - documentation "Instanceof expression, e.g. x instanceof java.lang.String" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "4008589103AF" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "operand" - quid "400858070234" - documentation "The value to test, e.g. x in x instanceof java.lang.String" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "type" - quid "4008582A0220" - documentation "The type of the instance test, e.g. java.lang.String. It must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y." - type "String" - exportControl "Public"))) - (object Class "PTMethodInvocation" - quid "400858B6018B" - documentation "MethodInvocation expression, e.g. x.getY(3)" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40085B9D0067" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "receiver" - quid "40085B0A01EC" - documentation -|Who the method is invoked against. This may be not set, which means "this". It may also be a Name, which would mean a class like "java.lang.String" - - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public") - (object ClassAttribute "name" - quid "40085B6100D9" - documentation "The name of the method being invoked." - type "String" - exportControl "Public") - (object ClassAttribute "arguments" - quid "40085B6902ED" - documentation "The list of arguments, if any, to the method." - stereotype "0..*" - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTName" - quid "400858EA0280" - documentation -|This represents a name. This can happen for the receiver of a method invocation, e.g. x.getY() or java.lang.String.valueOf(10). In these cases you would have a name of "x" or "java.lang.String". - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40085BA100DB" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "name" - quid "400C110401BE" - documentation "The name, which can be a type or a variable. If it is a type, then it must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y." - type "String" - exportControl "Public"))) - (object Class "PTNullLiteral" - quid "40085BBF0020" - documentation -|Represents the expression "null" - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40085BD402F1" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB"))) - (object Class "PTNumberLiteral" - quid "40085C40035B" - documentation "Represent a number primitive literal, e.g. 10. One optimization that will be performed is that if an expression is of the form +number or -number, it will be converted from a PrefixExpression with a NumberLiteral to just a NumberLiteral. This will simplify the model." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40085CEF0244" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "token" - quid "40085CAA024F" - documentation "The token value, e.g. 10, 10d, or -10.75" - type "String" - exportControl "Public"))) - (object Class "PTParenthesizedExpression" - quid "40085CF9007C" - documentation "An expression within parenthesis, e.g. (x+3)" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40085F4E03E1" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "expression" - quid "40085F22012B" - documentation -|The expression wrapped by the parenthesis, e.g. (x+3) then the expression is "x+3" - - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTPrefixExpression" - quid "40085FAD008B" - documentation -|A one operand operator, where the operator comes before the operand, e.g. - (x+3). In AST, even -3 is modeled as a PrefixExpression of operator "-" and expression of NumberLiteral(3). But we optimize this away and just use a NumberLiteral(-3) directly instead. - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400862DC01D7" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "operator" - quid "400860BC0199" - documentation "The operator of this expression." - type "PTPrefixOperator" - quidu "4008602400D2" - exportControl "Public") - (object ClassAttribute "expression" - quid "400860C50065" - documentation "The expression that the operator is applied to." - type "PTExpression" - quidu "40082D0A01CB" - exportControl "Public"))) - (object Class "PTPrefixOperator" - quid "4008602400D2" - documentation "The prefix expression operator. We are not modeling ++ and --." - stereotype "enumeration" - class_attributes (list class_attribute_list - (object ClassAttribute "PLUS" - quid "4008606F01B6" - documentation "+ operator" - exportControl "Public") - (object ClassAttribute "MINUS" - quid "4008607203B9" - documentation "- operator" - exportControl "Public") - (object ClassAttribute "COMPLEMENT" - quid "4008607800AB" - documentation "~ operator" - exportControl "Public") - (object ClassAttribute "NOT" - quid "4008607D0148" - documentation "! operator" - exportControl "Public"))) - (object Class "PTStringLiteral" - quid "400861E2000B" - documentation -|Representation of a string literal, e.g. "asdf". - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400862D70338" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "escapedValue" - quid "400861FC01CB" - documentation -|This is the escaped string. In other words the literal exactly as it is in the java file. E.g. "ab" or "c\r". Including the surrounding quotes themselves. - - type "String" - exportControl "Public") - (object ClassAttribute "literalValue" - attributes (list Attribute_Set - (object Attribute - tool "Ecore" - name "isTransient" - value TRUE)) - quid "4008620A00BD" - documentation "The actual string without the quotes. Escape are evaluated and turned into their character value. This is a transient field. If not set when created when queried it will create it. Typically it will be set when created from an AST node since the node already has evaluated it." - type "String" - exportControl "Public"))) - (object Class "PTThisLiteral" - quid "400863A700CB" - documentation -|Represents "this", e.g. this.getX() will be a MethodInvocation with the receiver being a ThisLiteral. We can't handle the format XYZ.this because that is for inner classes and we don't support that right now. - - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "40086418019F" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB"))) - (object Class "PTTypeLiteral" - quid "400864950181" - documentation "This represents a literal of the form j.XYZ.class. For instance in a method invocation x.getX(jXYZ.class) the argument will be a TypeLiteral." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "4008654C0008" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "type" - quid "400864D7037B" - documentation "The type of the literal. It must be fully-qualified. If it is an inner class, it needs to be in reflection format, i.e. Y is inner class of j.X, then a reference to Y must be j.X$Y." - type "String" - exportControl "Public"))) - (object Class "PTInvalidExpression" - quid "400865AF0209" - documentation "This is used when we have some expression we just can't evaluate for our purposes. It allows us to tell the evaluation what is actually wrong. It should be placed as the root expression to prevent processing much of the tree and then finally fail." - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "400866F50258" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB")) - class_attributes (list class_attribute_list - (object ClassAttribute "message" - quid "400866E40299" - documentation "A message as to why it is invalid." - type "String" - exportControl "Public"))) - (object Class "PTInstanceReference" - quid "4017DB1802B3" - superclasses (list inheritance_relationship_list - (object Inheritance_Relationship - quid "4017DB4A0341" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB"))) - (object Association "$UNNAMED$0" - quid "3FD9ED7103D5" - documentation "The parent who is to give up the value." - roles (list role_list - (object Role "parent" - quid "3FD9ED720390" - label "parent" - supplier "Logical View::ecore::EObject" - quidu "3C4F1C860123" - client_cardinality (value cardinality "1") - Containment "By Reference" - is_navigable TRUE) - (object Role "$UNNAMED$1" - quid "3FD9ED72039A" - supplier "Logical View::instantiation::ImplicitAllocation" - quidu "3FD9EC140242"))) - (object Association "$UNNAMED$2" - quid "3FD9EDD00088" - documentation "The feature that will be used to query the live value." - roles (list role_list - (object Role "feature" - quid "3FD9EDD10148" - label "feature" - supplier "Logical View::ecore::EStructuralFeature" - quidu "3903D59D0230" - client_cardinality (value cardinality "1") - Containment "By Reference" - is_navigable TRUE) - (object Role "$UNNAMED$3" - quid "3FD9EDD10152" - supplier "Logical View::instantiation::ImplicitAllocation" - quidu "3FD9EC140242"))) - (object Association "$UNNAMED$4" - quid "400834CE001B" - documentation "The root expression of the parse tree. The result of it is the allocation." - roles (list role_list - (object Role "expression" - quid "400834CF02E4" - label "expression" - supplier "Logical View::instantiation::PTExpression" - quidu "40082D0A01CB" - client_cardinality (value cardinality "1") - Containment "By Value" - is_navigable TRUE) - (object Role "$UNNAMED$5" - quid "400834CF02E6" - supplier "Logical View::instantiation::ParseTreeAllocation" - quidu "40082C910005" - Containment "By Value" - is_aggregate TRUE))) - (object Association "$UNNAMED$6" - quid "4017DBE30138" - roles (list role_list - (object Role "object" - quid "4017DBE60006" - label "object" - supplier "Logical View::instantiation::IJavaObjectInstance" - quidu "3B782D790296" - client_cardinality (value cardinality "1") - is_navigable TRUE) - (object Role "$UNNAMED$7" - quid "4017DBE60164" - supplier "Logical View::instantiation::PTInstanceReference" - quidu "4017DB1802B3" - Containment "By Reference")))) - logical_presentations (list unit_reference_list - (object ClassDiagram "Main" - quid "3B782D1B034F" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 384 - origin_y 0 - items (list diagram_item_list - (object NoteView @1 - location (747, 1008) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @1 - location (342, 854) - fill_color 13434879 - nlines 6 - max_width 775 - label "This is used as the EClassifier when you want a code-generated class to point to an instance of a IJavaObjectInstance implementer. (Which is an instance of a java model java object).") - line_color 3342489 - fill_color 13434879 - width 835 - height 320) - (object ClassView "Class" "Logical View::instantiation::IJavaDataTypeInstance" @2 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2659, 664) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @2 - location (1779, 605) - fill_color 13434879 - nlines 1 - max_width 1760 - justify 0 - label "IJavaDataTypeInstance") - stereotype (object ItemLabel - Parent_View @2 - location (1779, 555) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 1760 - justify 0 - label "<<Interface>>") - icon "Interface" - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3B8AB17802B1" - compartment (object Compartment - Parent_View @2 - location (1779, 666) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 1499) - width 1778 - height 242 - annotation 8 - autoResize TRUE) - (object NoteView @3 - location (2378, 1053) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @3 - location (1970, 889) - fill_color 13434879 - nlines 7 - max_width 780 - label "This is used as the EClassifier when you want a code-generated class to point to an instance of an IJavaDataTypeInstance implementer. (Which is an instance of a java model java primitive).") - line_color 3342489 - fill_color 13434879 - width 840 - height 340) - (object AttachView "" @4 - stereotype TRUE - line_color 3342489 - client @2 - supplier @3 - line_style 0) - (object ClassView "Class" "Logical View::instantiation::IJavaInstance" @5 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1584, 166) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @5 - location (804, 85) - fill_color 13434879 - nlines 1 - max_width 1560 - justify 0 - label "IJavaInstance") - icon "Interface" - icon_style "None" - line_color 3342489 - fill_color 13434879 - quidu "3E51575A02D4" - compartment (object Compartment - Parent_View @5 - location (804, 146) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 1328) - width 1578 - height 186 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @6 - location (1584, 455) - line_color 3342489 - fill_color 13434879 - supplier @5 - vertices (list Points - (1584, 455) - (1584, 259))) - (object ClassView "Class" "Logical View::instantiation::IJavaObjectInstance" @7 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - ShowOperationSignature TRUE - location (858, 666) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @7 - location (9, 607) - fill_color 13434879 - nlines 1 - max_width 1698 - justify 0 - label "IJavaObjectInstance") - stereotype (object ItemLabel - Parent_View @7 - location (9, 557) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 1698 - justify 0 - label "<<Interface>>") - icon "Interface" - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3B782D790296" - compartment (object Compartment - Parent_View @7 - location (9, 668) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 1446) - width 1716 - height 242 - annotation 8 - autoResize TRUE) - (object AttachView "" @8 - stereotype TRUE - line_color 3342489 - client @1 - supplier @7 - line_style 0) - (object InheritView "" @9 - stereotype TRUE - line_color 3342489 - quidu "3E5157DA03DD" - client @7 - supplier @5 - line_style 3 - origin_attachment (795, 544) - terminal_attachment (795, 455) - drawSupplier @6) - (object InheritView "" @10 - stereotype TRUE - line_color 3342489 - quidu "3E529562014E" - client @2 - supplier @5 - line_style 3 - origin_attachment (2659, 543) - terminal_attachment (2659, 455) - drawSupplier @6))) - (object ClassDiagram "Java Constructors" - quid "3FD9E66D007F" - title "Java Constructors" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object ClassView "Class" "Logical View::instantiation::JavaAllocation" @11 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1073, 120) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @11 - location (902, 69) - fill_color 13434879 - nlines 1 - max_width 342 - justify 0 - label "JavaAllocation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3FD9E6900061" - width 360 - height 126 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::InitStringAllocation" @12 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (553, 495) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @12 - location (329, 414) - fill_color 13434879 - nlines 1 - max_width 448 - justify 0 - label "InitStringAllocation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3FD9EAF9001E" - compartment (object Compartment - Parent_View @12 - location (329, 475) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 353) - width 466 - height 186 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @13 - location (1073, 323) - line_color 3342489 - fill_color 13434879 - supplier @11 - vertices (list Points - (1073, 323) - (1073, 183))) - (object InheritView "" @14 - stereotype TRUE - line_color 3342489 - quidu "3FD9EB7502DA" - client @12 - supplier @11 - line_style 3 - origin_attachment (668, 401) - terminal_attachment (668, 323) - drawSupplier @13) - (object ClassView "Class" "Logical View::ecore::EObject" @15 - ShowCompartmentStereotypes TRUE - location (1751, 942) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @15 - location (1645, 896) - fill_color 13434879 - nlines 1 - max_width 212 - justify 0 - label "EObject") - icon_style "Icon" - line_color 3342489 - fill_color 16776960 - quidu "3C4F1C860123" - width 230 - height 117 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::ecore::EStructuralFeature" @16 - ShowCompartmentStereotypes TRUE - location (2142, 927) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @16 - location (1918, 881) - fill_color 13434879 - nlines 1 - max_width 448 - justify 0 - label "EStructuralFeature") - icon_style "Icon" - line_color 3342489 - fill_color 16776960 - quidu "3903D59D0230" - width 466 - height 117 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::ImplicitAllocation" @17 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2018, 510) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @17 - location (1819, 458) - fill_color 13434879 - nlines 1 - max_width 398 - justify 0 - label "ImplicitAllocation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "3FD9EC140242" - width 416 - height 128 - annotation 8 - autoResize TRUE) - (object InheritView "" @18 - stereotype TRUE - line_color 3342489 - quidu "3FD9EC4700E7" - client @17 - supplier @11 - line_style 3 - origin_attachment (2023, 446) - terminal_attachment (2023, 323) - drawSupplier @13) - (object AssociationViewNew "$UNNAMED$0" @19 - location (1881, 728) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3FD9ED7103D5" - roleview_list (list RoleViews - (object RoleView "parent" @20 - Parent_View @19 - location (716, 228) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @21 - Parent_View @20 - location (1727, 844) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 137 - justify 0 - label "+parent" - pctDist 0.991224 - height 72 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3FD9ED720390" - client @19 - supplier @15 - line_style 0 - label (object SegLabel @22 - Parent_View @20 - location (1871, 794) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.337817 - height 26 - orientation 0)) - (object RoleView "$UNNAMED$1" @23 - Parent_View @19 - location (716, 228) - stereotype TRUE - line_color 3342489 - quidu "3FD9ED72039A" - client @19 - supplier @17 - line_style 0))) - (object AssociationViewNew "$UNNAMED$2" @24 - location (2080, 721) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "3FD9EDD00088" - roleview_list (list RoleViews - (object RoleView "feature" @25 - Parent_View @24 - location (915, 221) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @26 - Parent_View @25 - location (2028, 766) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 159 - justify 0 - label "+feature" - pctDist 0.181346 - height 64 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "3FD9EDD10148" - client @24 - supplier @16 - line_style 0 - label (object SegLabel @27 - Parent_View @25 - location (2172, 839) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "$UNNAMED$3" @28 - Parent_View @24 - location (915, 221) - stereotype TRUE - line_color 3342489 - quidu "3FD9EDD10152" - client @24 - supplier @17 - line_style 0))) - (object ClassView "Class" "Logical View::instantiation::PTExpression" @29 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1264, 776) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @29 - location (1095, 725) - fill_color 13434879 - nlines 1 - max_width 338 - justify 0 - label "PTExpression") - icon_style "Icon" - line_color 3342489 - fill_color 12615935 - quidu "40082D0A01CB" - width 356 - height 126 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::ParseTreeAllocation" @30 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1265, 495) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @30 - location (1032, 443) - fill_color 13434879 - nlines 1 - max_width 466 - justify 0 - label "ParseTreeAllocation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40082C910005" - width 484 - height 128 - annotation 8 - autoResize TRUE) - (object InheritView "" @31 - stereotype TRUE - line_color 3342489 - quidu "40082CB701D6" - client @30 - supplier @11 - line_style 3 - origin_attachment (1265, 431) - terminal_attachment (1265, 323) - drawSupplier @13) - (object AssociationViewNew "$UNNAMED$4" @32 - location (1264, 635) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "400834CE001B" - roleview_list (list RoleViews - (object RoleView "expression" @33 - Parent_View @32 - location (-1, 140) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @34 - Parent_View @33 - location (1111, 672) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 220 - justify 0 - label "+expression" - pctDist 0.492537 - height 154 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "400834CF02E4" - client @32 - supplier @29 - line_style 0 - label (object SegLabel @35 - Parent_View @33 - location (1307, 679) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.567164 - height 43 - orientation 0)) - (object RoleView "$UNNAMED$5" @36 - Parent_View @32 - location (-1, 140) - stereotype TRUE - line_color 3342489 - quidu "400834CF02E6" - client @32 - supplier @30 - line_style 0))))) - (object ClassDiagram "Parse Tree Expressions" - quid "40082CC20146" - title "Parse Tree Expressions" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 1081 - origin_y 5768 - items (list diagram_item_list - (object ClassView "Class" "Logical View::instantiation::PTExpression" @37 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1348, 124) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @37 - location (1179, 73) - fill_color 13434879 - nlines 1 - max_width 338 - justify 0 - label "PTExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40082D0A01CB" - width 356 - height 126 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTArrayAccess" @38 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2235, 544) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @38 - location (1877, 426) - fill_color 13434879 - nlines 2 - max_width 716 - justify 0 - label "PTArrayAccess") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40082E140250" - compartment (object Compartment - Parent_View @38 - location (1877, 487) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 665) - width 734 - height 258 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTArrayCreation" @39 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (434, 519) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @39 - location (38, 379) - fill_color 13434879 - nlines 2 - max_width 792 - justify 0 - label "PTArrayCreation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40083712025A" - compartment (object Compartment - Parent_View @39 - location (38, 440) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 4 - max_width 731) - width 810 - height 302 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTArrayInitializer" @40 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1361, 519) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @40 - location (959, 446) - fill_color 13434879 - nlines 1 - max_width 804 - justify 0 - label "PTArrayInitializer") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40083968014C" - compartment (object Compartment - Parent_View @40 - location (959, 507) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 2 - max_width 743) - width 822 - height 168 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTBooleanLiteral" @41 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (997, 870) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @41 - location (734, 789) - fill_color 13434879 - nlines 1 - max_width 527 - justify 0 - label "PTBooleanLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40083AE70247" - compartment (object Compartment - Parent_View @41 - location (734, 850) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 2 - max_width 481) - width 545 - height 185 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTCastExpression" @42 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1791, 889) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @42 - location (1493, 771) - fill_color 13434879 - nlines 2 - max_width 596 - justify 0 - label "PTCastExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40083B6F0058" - compartment (object Compartment - Parent_View @42 - location (1493, 832) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 546) - width 614 - height 258 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @43 - location (1348, 330) - line_color 3342489 - fill_color 13434879 - supplier @37 - vertices (list Points - (1348, 330) - (1348, 187))) - (object InheritView "" @44 - stereotype TRUE - line_color 3342489 - quidu "400839790038" - client @40 - supplier @37 - line_style 3 - origin_attachment (1381, 434) - terminal_attachment (1381, 330) - drawSupplier @43) - (object InheritView "" @45 - stereotype TRUE - line_color 3342489 - quidu "40083B1D0000" - client @41 - supplier @37 - line_style 3 - origin_attachment (918, 778) - terminal_attachment (918, 330) - drawSupplier @43) - (object InheritView "" @46 - stereotype TRUE - line_color 3342489 - quidu "40083BD60309" - client @42 - supplier @37 - line_style 3 - origin_attachment (1791, 760) - terminal_attachment (1791, 330) - drawSupplier @43) - (object InheritView "" @47 - stereotype TRUE - line_color 3342489 - quidu "40082E6F01F7" - client @38 - supplier @37 - line_style 3 - origin_attachment (2235, 415) - terminal_attachment (2235, 330) - drawSupplier @43) - (object ClassView "Class" "Logical View::instantiation::PTExpression" @48 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1372, 1095) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @48 - location (1203, 1044) - fill_color 13434879 - nlines 1 - max_width 338 - justify 0 - label "PTExpression") - icon_style "Icon" - line_color 3342489 - fill_color 12615935 - quidu "40082D0A01CB" - width 356 - height 126 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTCharacterLiteral" @49 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (430, 1438) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @49 - location (207, 1329) - fill_color 13434879 - nlines 1 - max_width 447 - justify 0 - label "PTCharacterLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40084DF10277" - compartment (object Compartment - Parent_View @49 - location (207, 1390) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 459) - width 465 - height 240 - annotation 8 - autoResize TRUE) - (object InheritView "" @50 - stereotype TRUE - line_color 3342489 - quidu "400837210049" - client @39 - supplier @37 - line_style 3 - origin_attachment (561, 367) - terminal_attachment (561, 330) - drawSupplier @43) - (object ClassView "Class" "Logical View::instantiation::PTClassInstanceCreation" @51 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1346, 1464) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @51 - location (960, 1346) - fill_color 13434879 - nlines 2 - max_width 772 - justify 0 - label "PTClassInstanceCreation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40084F40026F" - compartment (object Compartment - Parent_View @51 - location (960, 1407) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 715) - width 790 - height 258 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @52 - location (1372, 1260) - line_color 3342489 - fill_color 13434879 - supplier @48 - vertices (list Points - (1372, 1260) - (1372, 1158))) - (object InheritView "" @53 - stereotype TRUE - line_color 3342489 - quidu "40084E1301EA" - client @49 - supplier @48 - line_style 3 - origin_attachment (564, 1317) - terminal_attachment (564, 1260) - drawSupplier @52) - (object InheritView "" @54 - stereotype TRUE - line_color 3342489 - quidu "40084F4C02F8" - client @51 - supplier @48 - line_style 3 - origin_attachment (1267, 1334) - terminal_attachment (1267, 1260) - drawSupplier @52) - (object ClassView "Class" "Logical View::instantiation::PTConditionalExpression" @55 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2169, 1481) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @55 - location (1890, 1341) - fill_color 13434879 - nlines 2 - max_width 558 - justify 0 - label "PTConditionalExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400851FB026A" - compartment (object Compartment - Parent_View @55 - location (1890, 1402) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 4 - max_width 512) - width 576 - height 302 - annotation 8 - autoResize TRUE) - (object InheritView "" @56 - stereotype TRUE - line_color 3342489 - quidu "40085274012E" - client @55 - supplier @48 - line_style 3 - origin_attachment (2168, 1330) - terminal_attachment (2168, 1260) - drawSupplier @52) - (object ClassView "Class" "Logical View::instantiation::PTFieldAccess" @57 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (761, 1794) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @57 - location (492, 1676) - fill_color 13434879 - nlines 2 - max_width 538 - justify 0 - label "PTFieldAccess") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400852DF0204" - compartment (object Compartment - Parent_View @57 - location (492, 1737) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 487) - width 556 - height 258 - annotation 8 - autoResize TRUE) - (object InheritView "" @58 - stereotype TRUE - line_color 3342489 - quidu "4008535D0241" - client @57 - supplier @48 - line_style 3 - origin_attachment (760, 1665) - terminal_attachment (760, 1260) - drawSupplier @52) - (object ClassView "Class" "Logical View::instantiation::PTInfixExpression" @59 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1790, 1845) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @59 - location (1316, 1682) - fill_color 13434879 - nlines 2 - max_width 948 - justify 0 - label "PTInfixExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "4008538B0143" - compartment (object Compartment - Parent_View @59 - location (1316, 1743) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 5 - max_width 865) - width 966 - height 348 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTInfixOperator" @60 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2660, 2207) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @60 - location (2345, 1699) - fill_color 13434879 - nlines 1 - max_width 630 - justify 0 - label "PTInfixOperator") - stereotype (object ItemLabel - Parent_View @60 - location (2345, 1649) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 630 - justify 0 - label "<<enumeration>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400853E10359" - compartment (object Compartment - Parent_View @60 - location (2345, 1760) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 20 - max_width 534) - width 648 - height 1140 - annotation 8 - autoResize TRUE) - (object InheritView "" @61 - stereotype TRUE - line_color 3342489 - quidu "400855700032" - client @59 - supplier @48 - line_style 3 - origin_attachment (1789, 1671) - terminal_attachment (1789, 1260) - drawSupplier @52) - (object ClassView "Class" "Logical View::instantiation::PTExpression" @62 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1272, 2853) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @62 - location (1103, 2802) - fill_color 13434879 - nlines 1 - max_width 338 - justify 0 - label "PTExpression") - icon_style "Icon" - line_color 3342489 - fill_color 12615935 - quidu "40082D0A01CB" - width 356 - height 126 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTInstanceof" @63 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (371, 3255) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @63 - location (99, 3137) - fill_color 13434879 - nlines 2 - max_width 544 - justify 0 - label "PTInstanceof") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400857D303A2" - compartment (object Compartment - Parent_View @63 - location (99, 3198) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 493) - width 562 - height 258 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTMethodInvocation" @64 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1246, 3258) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @64 - location (860, 3117) - fill_color 13434879 - nlines 2 - max_width 772 - justify 0 - label "PTMethodInvocation") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400858B6018B" - compartment (object Compartment - Parent_View @64 - location (860, 3178) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 4 - max_width 715) - width 790 - height 304 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTName" @65 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1962, 3212) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @65 - location (1809, 3121) - fill_color 13434879 - nlines 1 - max_width 307 - justify 0 - label "PTName") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400858EA0280" - compartment (object Compartment - Parent_View @65 - location (1809, 3182) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 16777215 - anchor 2 - nlines 2 - max_width 303) - width 325 - height 205 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @66 - location (1272, 3061) - line_color 3342489 - fill_color 13434879 - supplier @62 - vertices (list Points - (1272, 3061) - (1272, 2916))) - (object InheritView "" @67 - stereotype TRUE - line_color 3342489 - quidu "4008589103AF" - client @63 - supplier @62 - line_style 3 - origin_attachment (474, 3126) - terminal_attachment (474, 3061) - drawSupplier @66) - (object InheritView "" @68 - stereotype TRUE - line_color 3342489 - quidu "40085B9D0067" - client @64 - supplier @62 - line_style 3 - origin_attachment (1245, 3106) - terminal_attachment (1245, 3061) - drawSupplier @66) - (object InheritView "" @69 - stereotype TRUE - line_color 3342489 - quidu "40085BA100DB" - client @65 - supplier @62 - line_style 3 - origin_attachment (1905, 3110) - terminal_attachment (1905, 3061) - drawSupplier @66) - (object ClassView "Class" "Logical View::instantiation::PTNullLiteral" @70 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2328, 3195) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @70 - location (2170, 3143) - fill_color 13434879 - nlines 1 - max_width 316 - justify 0 - label "PTNullLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40085BBF0020" - width 334 - height 128 - annotation 8 - autoResize TRUE) - (object InheritView "" @71 - stereotype TRUE - line_color 3342489 - quidu "40085BD402F1" - client @70 - supplier @62 - line_style 3 - origin_attachment (2297, 3131) - terminal_attachment (2297, 3061) - drawSupplier @66) - (object ClassView "Class" "Logical View::instantiation::PTExpression" @72 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1243, 3867) - font (object Font - size 10 - face "Arial" - bold FALSE - italics TRUE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @72 - location (1074, 3816) - fill_color 13434879 - nlines 1 - max_width 338 - justify 0 - label "PTExpression") - icon_style "Icon" - line_color 3342489 - fill_color 12615935 - quidu "40082D0A01CB" - width 356 - height 126 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTNumberLiteral" @73 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (802, 3583) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @73 - location (619, 3489) - fill_color 13434879 - nlines 1 - max_width 367 - justify 0 - label "PTNumberLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40085C40035B" - compartment (object Compartment - Parent_View @73 - location (619, 3550) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 2 - max_width 303) - width 385 - height 210 - annotation 8 - autoResize TRUE) - (object InheritView "" @74 - stereotype TRUE - line_color 3342489 - quidu "40085CEF0244" - client @73 - supplier @62 - line_style 3 - origin_attachment (730, 3478) - terminal_attachment (730, 3061) - drawSupplier @66) - (object ClassView "Class" "Logical View::instantiation::PTParenthesizedExpression" @75 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1679, 3609) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @75 - location (1381, 3513) - fill_color 13434879 - nlines 2 - max_width 596 - justify 0 - label "PTParenthesizedExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40085CF9007C" - compartment (object Compartment - Parent_View @75 - location (1381, 3574) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 2 - max_width 546) - width 614 - height 214 - annotation 8 - autoResize TRUE) - (object InheritView "" @76 - stereotype TRUE - line_color 3342489 - quidu "40085F4E03E1" - client @75 - supplier @62 - line_style 3 - origin_attachment (1677, 3502) - terminal_attachment (1677, 3061) - drawSupplier @66) - (object ClassView "Class" "Logical View::instantiation::PTPrefixExpression" @77 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (318, 4221) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @77 - location (9, 4103) - fill_color 13434879 - nlines 2 - max_width 618 - justify 0 - label "PTPrefixExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "40085FAD008B" - compartment (object Compartment - Parent_View @77 - location (9, 4164) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 553) - width 636 - height 258 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTPrefixOperator" @78 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (233, 4602) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @78 - location (34, 4468) - fill_color 13434879 - nlines 1 - max_width 398 - justify 0 - label "PTPrefixOperator") - stereotype (object ItemLabel - Parent_View @78 - location (34, 4418) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 398 - justify 0 - label "<<enumeration>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "4008602400D2" - compartment (object Compartment - Parent_View @78 - location (34, 4529) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 5 - max_width 334) - width 416 - height 392 - annotation 8 - autoResize TRUE) - (object ClassView "Class" "Logical View::instantiation::PTStringLiteral" @79 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1025, 4196) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @79 - location (849, 4092) - fill_color 13434879 - nlines 1 - max_width 352 - justify 0 - label "PTStringLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400861E2000B" - compartment (object Compartment - Parent_View @79 - location (849, 4153) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 3 - max_width 459) - width 370 - height 230 - annotation 8 - autoResize TRUE) - (object InheritTreeView "" @80 - location (1243, 4020) - line_color 3342489 - fill_color 13434879 - supplier @72 - vertices (list Points - (1243, 4020) - (1243, 3930))) - (object InheritView "" @81 - stereotype TRUE - line_color 3342489 - quidu "400862D70338" - client @79 - supplier @72 - line_style 3 - origin_attachment (1008, 4081) - terminal_attachment (1008, 4020) - drawSupplier @80) - (object InheritView "" @82 - stereotype TRUE - line_color 3342489 - quidu "400862DC01D7" - client @77 - supplier @72 - line_style 3 - origin_attachment (297, 4092) - terminal_attachment (297, 4020) - drawSupplier @80) - (object ClassView "Class" "Logical View::instantiation::PTThisLiteral" @83 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1655, 4180) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @83 - location (1494, 4129) - fill_color 13434879 - nlines 1 - max_width 322 - justify 0 - label "PTThisLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400863A700CB" - width 340 - height 126 - annotation 8 - autoResize TRUE) - (object InheritView "" @84 - stereotype TRUE - line_color 3342489 - quidu "40086418019F" - client @83 - supplier @72 - line_style 3 - origin_attachment (1627, 4117) - terminal_attachment (1627, 4020) - drawSupplier @80) - (object ClassView "Class" "Logical View::instantiation::PTTypeLiteral" @85 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2256, 4201) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @85 - location (2093, 4106) - fill_color 13434879 - nlines 1 - max_width 327 - justify 0 - label "PTTypeLiteral") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400864950181" - compartment (object Compartment - Parent_View @85 - location (2093, 4167) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 2 - max_width 281) - width 345 - height 215 - annotation 8 - autoResize TRUE) - (object InheritView "" @86 - stereotype TRUE - line_color 3342489 - quidu "4008654C0008" - client @85 - supplier @72 - line_style 3 - origin_attachment (2197, 4093) - terminal_attachment (2197, 4020) - drawSupplier @80) - (object ClassView "Class" "Logical View::instantiation::PTInvalidExpression" @87 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (1457, 4545) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @87 - location (1279, 4449) - fill_color 13434879 - nlines 1 - max_width 357 - justify 0 - label "PTInvalidExpression") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "400865AF0209" - compartment (object Compartment - Parent_View @87 - location (1279, 4510) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - icon_style "Icon" - fill_color 13434879 - anchor 2 - nlines 2 - max_width 368) - width 375 - height 215 - annotation 8 - autoResize TRUE) - (object InheritView "" @88 - stereotype TRUE - line_color 3342489 - quidu "400866F50258" - client @87 - supplier @72 - line_style 3 - origin_attachment (1413, 4438) - terminal_attachment (1413, 4020) - drawSupplier @80) - (object ClassView "Class" "Logical View::instantiation::PTInstanceReference" @89 - ShowCompartmentStereotypes TRUE - IncludeAttribute TRUE - IncludeOperation TRUE - location (2005, 4509) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @89 - location (1805, 4393) - fill_color 13434879 - nlines 1 - max_width 401 - justify 0 - label "PTInstanceReference") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "4017DB1802B3" - width 419 - height 257 - annotation 8 - autoResize TRUE) - (object InheritView "" @90 - stereotype TRUE - line_color 3342489 - quidu "4017DB4A0341" - client @89 - supplier @72 - line_style 3 - origin_attachment (1943, 4381) - terminal_attachment (1943, 4020) - drawSupplier @80) - (object ClassView "Class" "Logical View::instantiation::IJavaObjectInstance" @91 - ShowCompartmentStereotypes TRUE - IncludeOperation TRUE - location (2236, 4886) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @91 - location (2005, 4856) - fill_color 13434879 - nlines 1 - max_width 462 - justify 0 - label "IJavaObjectInstance") - stereotype (object ItemLabel - Parent_View @91 - location (2005, 4806) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 462 - justify 0 - label "<<Interface>>") - icon "Interface" - icon_style "Label" - line_color 3342489 - fill_color 13434879 - quidu "3B782D790296" - width 480 - height 184 - annotation 8 - autoResize TRUE) - (object AssociationViewNew "$UNNAMED$6" @92 - location (2130, 4715) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - stereotype TRUE - line_color 3342489 - quidu "4017DBE30138" - roleview_list (list RoleViews - (object RoleView "object" @93 - Parent_View @92 - location (192, 244) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object SegLabel @94 - Parent_View @93 - location (2077, 4774) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 1 - anchor_loc 1 - nlines 1 - max_width 134 - justify 0 - label "+object" - pctDist 0.231960 - height 77 - orientation 1) - stereotype TRUE - line_color 3342489 - quidu "4017DBE60006" - client @92 - supplier @91 - line_style 0 - label (object SegLabel @95 - Parent_View @93 - location (2220, 4757) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - anchor 2 - anchor_loc 1 - nlines 1 - max_width 15 - justify 0 - label "1" - pctDist 0.900000 - height 54 - orientation 0)) - (object RoleView "$UNNAMED$7" @96 - Parent_View @92 - location (192, 244) - stereotype TRUE - line_color 3342489 - quidu "4017DBE60164" - client @92 - supplier @89 - line_style 0)))))))
diff --git a/plugins/org.eclipse.jem/rose/javaModel.mdl b/plugins/org.eclipse.jem/rose/javaModel.mdl deleted file mode 100644 index fc07501..0000000 --- a/plugins/org.eclipse.jem/rose/javaModel.mdl +++ /dev/null
@@ -1,8567 +0,0 @@ - -(object Petal - version 47 - _written "Rose 8.0.0303.1400" - charSet 0) - -(object Design "Logical View" - is_unit TRUE - is_loaded TRUE - attributes (list Attribute_Set - (object Attribute - tool "Java" - name "IDE" - value "Internal Editor") - (object Attribute - tool "Java" - name "UserDefineTagName1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply3" - value "")) - quid "39EDFBE003B4" - defaults (object defaults - rightMargin 0.250000 - leftMargin 0.250000 - topMargin 0.250000 - bottomMargin 0.500000 - pageOverlap 0.250000 - clipIconLabels TRUE - autoResize TRUE - snapToGrid TRUE - gridX 16 - gridY 16 - defaultFont (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - showMessageNum 1 - showClassOfObject TRUE - notation "Unified") - root_usecase_package (object Class_Category "Use Case View" - quid "39EDFBE003B6" - exportControl "Public" - global TRUE - logical_models (list unit_reference_list) - logical_presentations (list unit_reference_list - (object UseCaseDiagram "Main" - quid "39EDFBE2008D" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list)))) - root_category (object Class_Category "Logical View" - quid "39EDFBE003B5" - exportControl "Public" - global TRUE - subsystem "Component View" - quidu "39EDFBE003B7" - logical_models (list unit_reference_list - (object Class_Category "java" - is_unit TRUE - is_loaded FALSE - file_name "$WorkspaceRoot\\org.eclipse.jem\\rose\\edocjava2.cat" - quid "36549F2C004E") - (object Class_Category "ecore" - is_unit TRUE - is_loaded FALSE - file_name "$WorkspaceRoot\\org.eclipse.emf.ecore\\src\\model\\org.eclipse.emf.Ecore.cat" - quid "39A5ED04004E")) - logical_presentations (list unit_reference_list - (object ClassDiagram "Main" - quid "39EDFBE2008E" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list - (object CategoryView "Logical View::java" @1 - location (784, 528) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @1 - location (630, 488) - fill_color 13434879 - nlines 2 - max_width 308 - justify 0 - label "java") - stereotype (object ItemLabel - Parent_View @1 - location (630, 443) - fill_color 13434879 - anchor 10 - nlines 1 - max_width 308 - justify 0 - label "<<metamodel>>") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "36549F2C004E" - width 320 - height 182) - (object CategoryView "Logical View::ecore" @2 - location (304, 544) - font (object Font - size 10 - face "Arial" - bold FALSE - italics FALSE - underline FALSE - strike FALSE - color 0 - default_color TRUE) - label (object ItemLabel - Parent_View @2 - location (160, 460) - fill_color 13434879 - nlines 2 - max_width 288 - justify 0 - label "ecore") - icon_style "Icon" - line_color 3342489 - fill_color 13434879 - quidu "39A5ED04004E" - width 300 - height 180))))) - root_subsystem (object SubSystem "Component View" - quid "39EDFBE003B7" - physical_models (list unit_reference_list) - physical_presentations (list unit_reference_list - (object Module_Diagram "Main" - quid "39EDFBE2008C" - title "Main" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list)))) - process_structure (object Processes - quid "39EDFBE003B8" - ProcsNDevs (list - (object Process_Diagram "Deployment View" - quid "39EDFBE003BA" - title "Deployment View" - zoom 100 - max_height 28350 - max_width 21600 - origin_x 0 - origin_y 0 - items (list diagram_item_list)))) - properties (object Properties - attributes (list Attribute_Set - (object Attribute - tool "Ecore" - name "roseId" - value "753117540") - (object Attribute - tool "Ecore" - name "propertyId" - value "809135966") - (object Attribute - tool "Ecore" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "prefix" - value "") - (object Attribute - tool "Ecore" - name "packageName" - value "") - (object Attribute - tool "Ecore" - name "basePackage" - value "") - (object Attribute - tool "Ecore" - name "nsName" - value "") - (object Attribute - tool "Ecore" - name "nsURI" - value ""))) - (object Attribute - tool "Ecore" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "packageName" - value "") - (object Attribute - tool "Ecore" - name "prefix" - value "") - (object Attribute - tool "Ecore" - name "basePackage" - value "") - (object Attribute - tool "Ecore" - name "nsName" - value "") - (object Attribute - tool "Ecore" - name "nsURI" - value ""))) - (object Attribute - tool "Ecore" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "basePackage" - value "") - (object Attribute - tool "Ecore" - name "prefix" - value "") - (object Attribute - tool "Ecore" - name "packageName" - value "") - (object Attribute - tool "Ecore" - name "nsName" - value "") - (object Attribute - tool "Ecore" - name "nsURI" - value ""))) - (object Attribute - tool "Ecore" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "nsName" - value "") - (object Attribute - tool "Ecore" - name "prefix" - value "") - (object Attribute - tool "Ecore" - name "packageName" - value "") - (object Attribute - tool "Ecore" - name "basePackage" - value "") - (object Attribute - tool "Ecore" - name "nsURI" - value ""))) - (object Attribute - tool "Ecore" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "nsURI" - value "") - (object Attribute - tool "Ecore" - name "prefix" - value "") - (object Attribute - tool "Ecore" - name "packageName" - value "") - (object Attribute - tool "Ecore" - name "basePackage" - value "") - (object Attribute - tool "Ecore" - name "nsName" - value ""))) - (object Attribute - tool "Ecore" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "isTransient" - value FALSE) - (object Attribute - tool "Ecore" - name "isVolatile" - value FALSE) - (object Attribute - tool "Ecore" - name "isChangeable" - value TRUE) - (object Attribute - tool "Ecore" - name "isUnsettable" - value FALSE) - (object Attribute - tool "Ecore" - name "isUnique" - value TRUE))) - (object Attribute - tool "Ecore" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Ecore" - name "isTransient" - value FALSE) - (object Attribute - tool "Ecore" - name "isVolatile" - value FALSE) - (object Attribute - tool "Ecore" - name "isChangeable" - value TRUE) - (object Attribute - tool "Ecore" - name "isUnsettable" - value FALSE) - (object Attribute - tool "Ecore" - name "isResolveProxies" - value TRUE))) - (object Attribute - tool "Cplusplus" - name "propertyId" - value "809135966") - (object Attribute - tool "Cplusplus" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "Const" - value FALSE) - (object Attribute - tool "Cplusplus" - name "InitialValue" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Inherit" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE))) - (object Attribute - tool "Cplusplus" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "Copyright" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "RootPackage" - value "C++ Reverse Engineered") - (object Attribute - tool "Cplusplus" - name "InitialHeaderIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "InitialBodyIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "RevEngRootDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "RevEngDirectoriesAsPackages" - value FALSE) - (object Attribute - tool "Cplusplus" - name "HeaderFileExtension" - value ".h") - (object Attribute - tool "Cplusplus" - name "ImplementationFileExtension" - value ".cpp") - (object Attribute - tool "Cplusplus" - name "NewHeaderFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "NewImplementationFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "FileCapitalization" - value ("FileCapitalizationSet" 0)) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectories" - value ("CodeGenExtraDirectoriesSet" 0)) - (object Attribute - tool "Cplusplus" - name "StripClassPrefix" - value "") - (object Attribute - tool "Cplusplus" - name "UseTabs" - value FALSE) - (object Attribute - tool "Cplusplus" - name "TabWidth" - value 8) - (object Attribute - tool "Cplusplus" - name "IndentWidth" - value 4) - (object Attribute - tool "Cplusplus" - name "AccessIndentation" - value -2) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRules" - value ("ModelIdCommentRulesSet" 1)) - (object Attribute - tool "Cplusplus" - name "PageWidth" - value 80) - (object Attribute - tool "Cplusplus" - name "ClassMemberOrder" - value ("MemberOrderSet" 1)) - (object Attribute - tool "Cplusplus" - name "OneParameterPerLine" - value FALSE) - (object Attribute - tool "Cplusplus" - name "NamespaceBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "ClassBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "FunctionBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectoriesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "None" - value 0) - (object Attribute - tool "Cplusplus" - name "Namespaces" - value 1) - (object Attribute - tool "Cplusplus" - name "Packages" - value 2))) - (object Attribute - tool "Cplusplus" - name "FileCapitalizationSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Same as model" - value 0) - (object Attribute - tool "Cplusplus" - name "Lower case" - value 1) - (object Attribute - tool "Cplusplus" - name "Upper case" - value 2) - (object Attribute - tool "Cplusplus" - name "Lower case with underscores" - value 3))) - (object Attribute - tool "Cplusplus" - name "BraceStyleSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "B1" - value 1) - (object Attribute - tool "Cplusplus" - name "B2" - value 2) - (object Attribute - tool "Cplusplus" - name "B3" - value 3) - (object Attribute - tool "Cplusplus" - name "B4" - value 4) - (object Attribute - tool "Cplusplus" - name "B5" - value 5))) - (object Attribute - tool "Cplusplus" - name "MemberOrderSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Public First" - value 1) - (object Attribute - tool "Cplusplus" - name "Private First" - value 2) - (object Attribute - tool "Cplusplus" - name "Order by kind" - value 3) - (object Attribute - tool "Cplusplus" - name "Unordered" - value 4))) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRulesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Code generation only" - value 1) - (object Attribute - tool "Cplusplus" - name "Code generation and reverse engineering" - value 2) - (object Attribute - tool "Cplusplus" - name "Never generate model IDs" - value 3))))) - (object Attribute - tool "Cplusplus" - name "default__Param" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "CodeName" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "InitialCodeBody" - value "") - (object Attribute - tool "Cplusplus" - name "Inline" - value FALSE) - (object Attribute - tool "Cplusplus" - name "GenerateFunctionBody" - value ("GenerateFunctionBodySet" 2)) - (object Attribute - tool "Cplusplus" - name "GenerateFunctionBodySet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Default" - value 2) - (object Attribute - tool "Cplusplus" - name "True" - value 1) - (object Attribute - tool "Cplusplus" - name "False" - value 0))))) - (object Attribute - tool "Cplusplus" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "ImplementationType" - value "") - (object Attribute - tool "Cplusplus" - name "HeaderSourceFile" - value "") - (object Attribute - tool "Cplusplus" - name "BodySourceFile" - value ""))) - (object Attribute - tool "Cplusplus" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "CodeName" - value "") - (object Attribute - tool "Cplusplus" - name "IsNamespace" - value FALSE))) - (object Attribute - tool "Cplusplus" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ANSI C++ Event Watcher" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ANSIConvert" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Ada83" - name "propertyId" - value "838326200") - (object Attribute - tool "Ada83" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "SpecFileExtension" - value "1.ada") - (object Attribute - tool "Ada83" - name "SpecFileBackupExtension" - value "1.ad~") - (object Attribute - tool "Ada83" - name "SpecFileTemporaryExtension" - value "1.ad#") - (object Attribute - tool "Ada83" - name "BodyFileExtension" - value "2.ada") - (object Attribute - tool "Ada83" - name "BodyFileBackupExtension" - value "2.ad~") - (object Attribute - tool "Ada83" - name "BodyFileTemporaryExtension" - value "2.ad#") - (object Attribute - tool "Ada83" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateBodies" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "DefaultCodeBody" - value "[statement]") - (object Attribute - tool "Ada83" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada83" - name "CommentWidth" - value 60) - (object Attribute - tool "Ada83" - name "StopOnError" - value FALSE) - (object Attribute - tool "Ada83" - name "ErrorLimit" - value 30) - (object Attribute - tool "Ada83" - name "UseFileName" - value FALSE) - (object Attribute - tool "Ada83" - name "Directory" - value "$ROSEADA83_SOURCE"))) - (object Attribute - tool "Ada83" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "ClassName" - value "Object") - (object Attribute - tool "Ada83" - name "ClassAccess" - value ("ImplementationSet" 43)) - (object Attribute - tool "Ada83" - name "ImplementationType" - value (value Text "")) - (object Attribute - tool "Ada83" - name "IsSubtype" - value FALSE) - (object Attribute - tool "Ada83" - name "PolymorphicUnit" - value FALSE) - (object Attribute - tool "Ada83" - name "HandleName" - value "Handle") - (object Attribute - tool "Ada83" - name "HandleAccess" - value ("ImplementationSet" 45)) - (object Attribute - tool "Ada83" - name "Discriminant" - value "") - (object Attribute - tool "Ada83" - name "Variant" - value "") - (object Attribute - tool "Ada83" - name "EnumerationLiteralPrefix" - value "A_") - (object Attribute - tool "Ada83" - name "RecordFieldPrefix" - value "The_") - (object Attribute - tool "Ada83" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada83" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada83" - name "ClassParameterName" - value "This") - (object Attribute - tool "Ada83" - name "DefaultConstructorKind" - value ("ConstructorKindSet" 199)) - (object Attribute - tool "Ada83" - name "DefaultConstructorName" - value "Create") - (object Attribute - tool "Ada83" - name "InlineDefaultConstructor" - value FALSE) - (object Attribute - tool "Ada83" - name "CopyConstructorKind" - value ("ConstructorKindSet" 199)) - (object Attribute - tool "Ada83" - name "CopyConstructorName" - value "Copy") - (object Attribute - tool "Ada83" - name "InlineCopyConstructor" - value FALSE) - (object Attribute - tool "Ada83" - name "DestructorName" - value "Free") - (object Attribute - tool "Ada83" - name "InlineDestructor" - value FALSE) - (object Attribute - tool "Ada83" - name "ClassEqualityOperation" - value "") - (object Attribute - tool "Ada83" - name "HandleEqualityOperation" - value "") - (object Attribute - tool "Ada83" - name "InlineEquality" - value FALSE) - (object Attribute - tool "Ada83" - name "IsTask" - value FALSE) - (object Attribute - tool "Ada83" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada83" - name "ImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Public" - value 45) - (object Attribute - tool "Ada83" - name "Private" - value 43) - (object Attribute - tool "Ada83" - name "LimitedPrivate" - value 200) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada83" - name "ConstructorKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Procedure" - value 202) - (object Attribute - tool "Ada83" - name "Function" - value 199) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Generate" - value TRUE) - (object Attribute - tool "Ada83" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada83" - name "FileName" - value "") - (object Attribute - tool "Ada83" - name "ReturnType" - value "") - (object Attribute - tool "Ada83" - name "GenericFormalParameters" - value (value Text "")) - (object Attribute - tool "Ada83" - name "AdditionalWiths" - value (value Text "")))) - (object Attribute - tool "Ada83" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Generate" - value TRUE) - (object Attribute - tool "Ada83" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada83" - name "FileName" - value "") - (object Attribute - tool "Ada83" - name "ReturnType" - value "") - (object Attribute - tool "Ada83" - name "AdditionalWiths" - value (value Text "")) - (object Attribute - tool "Ada83" - name "IsSubunit" - value FALSE))) - (object Attribute - tool "Ada83" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "SubprogramImplementation" - value ("SubprogramImplementationSet" 2)) - (object Attribute - tool "Ada83" - name "Renames" - value "") - (object Attribute - tool "Ada83" - name "ClassParameterMode" - value ("ParameterModeSet" 203)) - (object Attribute - tool "Ada83" - name "Inline" - value FALSE) - (object Attribute - tool "Ada83" - name "EntryCode" - value (value Text "")) - (object Attribute - tool "Ada83" - name "ExitCode" - value (value Text "")) - (object Attribute - tool "Ada83" - name "InitialCodeBody" - value "${default}") - (object Attribute - tool "Ada83" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada83" - name "SubprogramImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Spec" - value 224) - (object Attribute - tool "Ada83" - name "Body" - value 2) - (object Attribute - tool "Ada83" - name "Renaming" - value 222) - (object Attribute - tool "Ada83" - name "Separate" - value 223))) - (object Attribute - tool "Ada83" - name "ParameterModeSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "In" - value 204) - (object Attribute - tool "Ada83" - name "Out" - value 205) - (object Attribute - tool "Ada83" - name "InOut" - value 203) - (object Attribute - tool "Ada83" - name "FunctionReturn" - value 206) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "NameIfUnlabeled" - value "The_${supplier}") - (object Attribute - tool "Ada83" - name "DataMemberName" - value "${relationship}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${relationship}") - (object Attribute - tool "Ada83" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${relationship}") - (object Attribute - tool "Ada83" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada83" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada83" - name "InitialValue" - value "") - (object Attribute - tool "Ada83" - name "Variant" - value "") - (object Attribute - tool "Ada83" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada83" - name "ContainerType" - value "") - (object Attribute - tool "Ada83" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada83" - name "SelectorName" - value "") - (object Attribute - tool "Ada83" - name "SelectorType" - value ""))) - (object Attribute - tool "Ada83" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "DataMemberName" - value "${attribute}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${attribute}") - (object Attribute - tool "Ada83" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${attribute}") - (object Attribute - tool "Ada83" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada83" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada83" - name "InitialValue" - value "") - (object Attribute - tool "Ada83" - name "Variant" - value "") - (object Attribute - tool "Ada83" - name "Representation" - value (value Text "")))) - (object Attribute - tool "Ada83" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${association}") - (object Attribute - tool "Ada83" - name "InlineGet" - value FALSE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${association}") - (object Attribute - tool "Ada83" - name "InlineSet" - value FALSE) - (object Attribute - tool "Ada83" - name "GenerateAssociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada83" - name "AssociateName" - value "Associate") - (object Attribute - tool "Ada83" - name "InlineAssociate" - value FALSE) - (object Attribute - tool "Ada83" - name "GenerateDissociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada83" - name "DissociateName" - value "Dissociate") - (object Attribute - tool "Ada83" - name "InlineDissociate" - value FALSE) - (object Attribute - tool "Ada83" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Procedure" - value 202) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada83" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Function" - value 199) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "CodeName" - value "") - (object Attribute - tool "Ada83" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada83" - name "DataMemberName" - value "${target}") - (object Attribute - tool "Ada83" - name "GetName" - value "Get_${target}") - (object Attribute - tool "Ada83" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada83" - name "SetName" - value "Set_${target}") - (object Attribute - tool "Ada83" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada83" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada83" - name "InitialValue" - value "") - (object Attribute - tool "Ada83" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada83" - name "ContainerType" - value "") - (object Attribute - tool "Ada83" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada83" - name "SelectorName" - value "") - (object Attribute - tool "Ada83" - name "SelectorType" - value "") - (object Attribute - tool "Ada83" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Procedure" - value 202) - (object Attribute - tool "Ada83" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada83" - name "default__Subsystem" - value (list Attribute_Set - (object Attribute - tool "Ada83" - name "Directory" - value "AUTO GENERATE"))) - (object Attribute - tool "Ada83" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Ada95" - name "propertyId" - value "838326200") - (object Attribute - tool "Ada95" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "SpecFileExtension" - value "1.ada") - (object Attribute - tool "Ada95" - name "SpecFileBackupExtension" - value "1.ad~") - (object Attribute - tool "Ada95" - name "SpecFileTemporaryExtension" - value "1.ad#") - (object Attribute - tool "Ada95" - name "BodyFileExtension" - value "2.ada") - (object Attribute - tool "Ada95" - name "BodyFileBackupExtension" - value "2.ad~") - (object Attribute - tool "Ada95" - name "BodyFileTemporaryExtension" - value "2.ad#") - (object Attribute - tool "Ada95" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "Ada95" - name "UseColonNotation" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateBodies" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "DefaultCodeBody" - value "[statement]") - (object Attribute - tool "Ada95" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada95" - name "CommentWidth" - value 60) - (object Attribute - tool "Ada95" - name "StopOnError" - value FALSE) - (object Attribute - tool "Ada95" - name "ErrorLimit" - value 30) - (object Attribute - tool "Ada95" - name "UseFileName" - value FALSE) - (object Attribute - tool "Ada95" - name "Directory" - value "$ROSEADA95_SOURCE"))) - (object Attribute - tool "Ada95" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "TypeName" - value "Object") - (object Attribute - tool "Ada95" - name "TypeVisibility" - value ("TypeVisibilitySet" 43)) - (object Attribute - tool "Ada95" - name "TypeImplementation" - value ("TypeImplementationSet" 208)) - (object Attribute - tool "Ada95" - name "TypeControl" - value ("TypeControlSet" 225)) - (object Attribute - tool "Ada95" - name "TypeControlName" - value "Controlled_${type}") - (object Attribute - tool "Ada95" - name "TypeDefinition" - value (value Text "")) - (object Attribute - tool "Ada95" - name "RecordImplementation" - value ("RecordImplementationSet" 209)) - (object Attribute - tool "Ada95" - name "RecordKindPackageName" - value "${class}_Record_Kinds") - (object Attribute - tool "Ada95" - name "IsLimited" - value FALSE) - (object Attribute - tool "Ada95" - name "IsSubtype" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateAccessType" - value ("GenerateAccessTypeSet" 230)) - (object Attribute - tool "Ada95" - name "AccessTypeName" - value "Handle") - (object Attribute - tool "Ada95" - name "AccessTypeVisibility" - value ("TypeVisibilitySet" 45)) - (object Attribute - tool "Ada95" - name "AccessTypeDefinition" - value (value Text "")) - (object Attribute - tool "Ada95" - name "AccessClassWide" - value TRUE) - (object Attribute - tool "Ada95" - name "MaybeAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "ParameterizedImplementation" - value ("ParameterizedImplementationSet" 11)) - (object Attribute - tool "Ada95" - name "ParentClassName" - value "Superclass") - (object Attribute - tool "Ada95" - name "EnumerationLiteralPrefix" - value "A_") - (object Attribute - tool "Ada95" - name "RecordFieldPrefix" - value "The_") - (object Attribute - tool "Ada95" - name "ArrayOfTypeName" - value "Array_Of_${type}") - (object Attribute - tool "Ada95" - name "AccessArrayOfTypeName" - value "Access_Array_Of_${type}") - (object Attribute - tool "Ada95" - name "ArrayOfAccessTypeName" - value "Array_Of_${access_type}") - (object Attribute - tool "Ada95" - name "AccessArrayOfAccessTypeName" - value "Access_Array_Of_${access_type}") - (object Attribute - tool "Ada95" - name "ArrayIndexDefinition" - value "Positive range <>") - (object Attribute - tool "Ada95" - name "GenerateAccessorOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateStandardOperations" - value TRUE) - (object Attribute - tool "Ada95" - name "ImplicitParameter" - value TRUE) - (object Attribute - tool "Ada95" - name "ImplicitParameterName" - value "This") - (object Attribute - tool "Ada95" - name "GenerateDefaultConstructor" - value ("SubprogramKindSet" 199)) - (object Attribute - tool "Ada95" - name "DefaultConstructorName" - value "Create") - (object Attribute - tool "Ada95" - name "InlineDefaultConstructor" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateCopyConstructor" - value ("SubprogramKindSet" 199)) - (object Attribute - tool "Ada95" - name "CopyConstructorName" - value "Copy") - (object Attribute - tool "Ada95" - name "InlineCopyConstructor" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateDestructor" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "DestructorName" - value "Free") - (object Attribute - tool "Ada95" - name "InlineDestructor" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateTypeEquality" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "TypeEqualityName" - value "${quote}=${quote}") - (object Attribute - tool "Ada95" - name "InlineEquality" - value FALSE) - (object Attribute - tool "Ada95" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada95" - name "TypeImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Tagged" - value 208) - (object Attribute - tool "Ada95" - name "Record" - value 210) - (object Attribute - tool "Ada95" - name "Mixin" - value 211) - (object Attribute - tool "Ada95" - name "Protected" - value 44) - (object Attribute - tool "Ada95" - name "Task" - value 212))) - (object Attribute - tool "Ada95" - name "RecordImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "SingleType" - value 209) - (object Attribute - tool "Ada95" - name "MultipleTypes" - value 213))) - (object Attribute - tool "Ada95" - name "ParameterizedImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Generic" - value 11) - (object Attribute - tool "Ada95" - name "Unconstrained" - value 214))) - (object Attribute - tool "Ada95" - name "TypeVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Public" - value 45) - (object Attribute - tool "Ada95" - name "Private" - value 43))) - (object Attribute - tool "Ada95" - name "SubprogramKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "TypeControlSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "None" - value 225) - (object Attribute - tool "Ada95" - name "InitializationOnly" - value 226) - (object Attribute - tool "Ada95" - name "AssignmentFinalizationOnly" - value 227) - (object Attribute - tool "Ada95" - name "All" - value 228))) - (object Attribute - tool "Ada95" - name "GenerateAccessTypeSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Always" - value 229) - (object Attribute - tool "Ada95" - name "Auto" - value 230))))) - (object Attribute - tool "Ada95" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Generate" - value TRUE) - (object Attribute - tool "Ada95" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada95" - name "FileName" - value "") - (object Attribute - tool "Ada95" - name "ReturnType" - value "") - (object Attribute - tool "Ada95" - name "GenericFormalParameters" - value (value Text "")) - (object Attribute - tool "Ada95" - name "AdditionalWiths" - value (value Text "")) - (object Attribute - tool "Ada95" - name "IsPrivate" - value FALSE))) - (object Attribute - tool "Ada95" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Generate" - value TRUE) - (object Attribute - tool "Ada95" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "Ada95" - name "FileName" - value "") - (object Attribute - tool "Ada95" - name "ReturnType" - value "") - (object Attribute - tool "Ada95" - name "AdditionalWiths" - value (value Text "")) - (object Attribute - tool "Ada95" - name "IsSubunit" - value FALSE))) - (object Attribute - tool "Ada95" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "SubprogramImplementation" - value ("SubprogramImplementationSet" 2)) - (object Attribute - tool "Ada95" - name "Renames" - value "") - (object Attribute - tool "Ada95" - name "GenerateOverriding" - value TRUE) - (object Attribute - tool "Ada95" - name "ImplicitParameterMode" - value ("ParameterModeSet" 203)) - (object Attribute - tool "Ada95" - name "ImplicitParameterClassWide" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateAccessOperation" - value FALSE) - (object Attribute - tool "Ada95" - name "Inline" - value FALSE) - (object Attribute - tool "Ada95" - name "EntryCode" - value (value Text "")) - (object Attribute - tool "Ada95" - name "ExitCode" - value (value Text "")) - (object Attribute - tool "Ada95" - name "InitialCodeBody" - value "${default}") - (object Attribute - tool "Ada95" - name "EntryBarrierCondition" - value "True") - (object Attribute - tool "Ada95" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada95" - name "SubprogramImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Spec" - value 224) - (object Attribute - tool "Ada95" - name "Body" - value 2) - (object Attribute - tool "Ada95" - name "Abstract" - value 221) - (object Attribute - tool "Ada95" - name "Renaming" - value 222) - (object Attribute - tool "Ada95" - name "RenamingAsBody" - value 231) - (object Attribute - tool "Ada95" - name "Separate" - value 223))) - (object Attribute - tool "Ada95" - name "ParameterModeSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "In" - value 204) - (object Attribute - tool "Ada95" - name "Out" - value 205) - (object Attribute - tool "Ada95" - name "InOut" - value 203) - (object Attribute - tool "Ada95" - name "Access" - value 220) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "NameIfUnlabeled" - value "The_${supplier}") - (object Attribute - tool "Ada95" - name "RecordFieldImplementation" - value ("RecordFieldImplementationSet" 216)) - (object Attribute - tool "Ada95" - name "RecordFieldName" - value "${relationship}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GenerateAccessGet" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${relationship}") - (object Attribute - tool "Ada95" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "GenerateAccessSet" - value ("ProcedureKindSet" 201)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${relationship}") - (object Attribute - tool "Ada95" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada95" - name "IsAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada95" - name "InitialValue" - value "") - (object Attribute - tool "Ada95" - name "ContainerImplementation" - value ("ContainerImplementationSet" 217)) - (object Attribute - tool "Ada95" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada95" - name "ContainerType" - value "") - (object Attribute - tool "Ada95" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada95" - name "SelectorName" - value "") - (object Attribute - tool "Ada95" - name "SelectorType" - value "") - (object Attribute - tool "Ada95" - name "RecordFieldImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Component" - value 216) - (object Attribute - tool "Ada95" - name "Discriminant" - value 218) - (object Attribute - tool "Ada95" - name "AccessDiscriminant" - value 219))) - (object Attribute - tool "Ada95" - name "ContainerImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Array" - value 217) - (object Attribute - tool "Ada95" - name "Generic" - value 11))) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "RecordFieldImplementation" - value ("RecordFieldImplementationSet" 216)) - (object Attribute - tool "Ada95" - name "RecordFieldName" - value "${attribute}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GenerateAccessGet" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${attribute}") - (object Attribute - tool "Ada95" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "GenerateAccessSet" - value ("ProcedureKindSet" 201)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${attribute}") - (object Attribute - tool "Ada95" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada95" - name "IsAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada95" - name "InitialValue" - value "") - (object Attribute - tool "Ada95" - name "Representation" - value (value Text "")) - (object Attribute - tool "Ada95" - name "RecordFieldImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Component" - value 216) - (object Attribute - tool "Ada95" - name "Discriminant" - value 218) - (object Attribute - tool "Ada95" - name "AccessDiscriminant" - value 219))) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${association}") - (object Attribute - tool "Ada95" - name "InlineGet" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${association}") - (object Attribute - tool "Ada95" - name "InlineSet" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateAssociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "AssociateName" - value "Associate") - (object Attribute - tool "Ada95" - name "InlineAssociate" - value FALSE) - (object Attribute - tool "Ada95" - name "GenerateDissociate" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "DissociateName" - value "Dissociate") - (object Attribute - tool "Ada95" - name "InlineDissociate" - value FALSE) - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "CodeName" - value "") - (object Attribute - tool "Ada95" - name "NameIfUnlabeled" - value "The_${targetClass}") - (object Attribute - tool "Ada95" - name "RecordFieldImplementation" - value ("RecordFieldImplementationSet" 216)) - (object Attribute - tool "Ada95" - name "RecordFieldName" - value "${target}") - (object Attribute - tool "Ada95" - name "GenerateGet" - value ("FunctionKindSet" 199)) - (object Attribute - tool "Ada95" - name "GenerateAccessGet" - value ("FunctionKindSet" 201)) - (object Attribute - tool "Ada95" - name "GetName" - value "Get_${target}") - (object Attribute - tool "Ada95" - name "InlineGet" - value TRUE) - (object Attribute - tool "Ada95" - name "GenerateSet" - value ("ProcedureKindSet" 202)) - (object Attribute - tool "Ada95" - name "GenerateAccessSet" - value ("ProcedureKindSet" 201)) - (object Attribute - tool "Ada95" - name "SetName" - value "Set_${target}") - (object Attribute - tool "Ada95" - name "InlineSet" - value TRUE) - (object Attribute - tool "Ada95" - name "IsAliased" - value FALSE) - (object Attribute - tool "Ada95" - name "IsConstant" - value FALSE) - (object Attribute - tool "Ada95" - name "InitialValue" - value "") - (object Attribute - tool "Ada95" - name "ContainerImplementation" - value ("ContainerImplementationSet" 217)) - (object Attribute - tool "Ada95" - name "ContainerGeneric" - value "List") - (object Attribute - tool "Ada95" - name "ContainerType" - value "") - (object Attribute - tool "Ada95" - name "ContainerDeclarations" - value (value Text "")) - (object Attribute - tool "Ada95" - name "SelectorName" - value "") - (object Attribute - tool "Ada95" - name "SelectorType" - value "") - (object Attribute - tool "Ada95" - name "ProcedureKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Procedure" - value 202) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))) - (object Attribute - tool "Ada95" - name "RecordFieldImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Component" - value 216) - (object Attribute - tool "Ada95" - name "Discriminant" - value 218) - (object Attribute - tool "Ada95" - name "AccessDiscriminant" - value 219))) - (object Attribute - tool "Ada95" - name "ContainerImplementationSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Array" - value 217) - (object Attribute - tool "Ada95" - name "Generic" - value 11))) - (object Attribute - tool "Ada95" - name "FunctionKindSet" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Function" - value 199) - (object Attribute - tool "Ada95" - name "DoNotCreate" - value 201))))) - (object Attribute - tool "Ada95" - name "default__Subsystem" - value (list Attribute_Set - (object Attribute - tool "Ada95" - name "Directory" - value "AUTO GENERATE"))) - (object Attribute - tool "Ada95" - name "HiddenTool" - value FALSE) - (object Attribute - tool "CORBA" - name "propertyId" - value "809135966") - (object Attribute - tool "CORBA" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "CORBA" - name "Editor" - value ("EditorType" 100)) - (object Attribute - tool "CORBA" - name "IncludePath" - value "") - (object Attribute - tool "CORBA" - name "StopOnError" - value TRUE) - (object Attribute - tool "CORBA" - name "EditorType" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "BuiltIn" - value 100) - (object Attribute - tool "CORBA" - name "WindowsShell" - value 101))) - (object Attribute - tool "CORBA" - name "PathSeparator" - value ""))) - (object Attribute - tool "CORBA" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "ArrayDimensions" - value "") - (object Attribute - tool "CORBA" - name "ConstValue" - value "") - (object Attribute - tool "CORBA" - name "ImplementationType" - value ""))) - (object Attribute - tool "CORBA" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "CORBA" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "CORBA" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "CORBA" - name "InclusionProtectionSymbol" - value "AUTO GENERATE"))) - (object Attribute - tool "CORBA" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "CORBA" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "CORBA" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "CORBA" - name "InclusionProtectionSymbol" - value "AUTO GENERATE"))) - (object Attribute - tool "CORBA" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "Context" - value "") - (object Attribute - tool "CORBA" - name "OperationIsOneWay" - value FALSE))) - (object Attribute - tool "CORBA" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "ArrayDimensions" - value "") - (object Attribute - tool "CORBA" - name "CaseSpecifier" - value "") - (object Attribute - tool "CORBA" - name "IsReadOnly" - value FALSE) - (object Attribute - tool "CORBA" - name "Order" - value ""))) - (object Attribute - tool "CORBA" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "ArrayDimensions" - value "") - (object Attribute - tool "CORBA" - name "CaseSpecifier" - value "") - (object Attribute - tool "CORBA" - name "GenerateForwardReference" - value FALSE) - (object Attribute - tool "CORBA" - name "IsReadOnly" - value FALSE) - (object Attribute - tool "CORBA" - name "Order" - value "") - (object Attribute - tool "CORBA" - name "BoundedRoleType" - value ("AssocTypeSet" 47)) - (object Attribute - tool "CORBA" - name "AssocTypeSet" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "Array" - value 24) - (object Attribute - tool "CORBA" - name "Sequence" - value 47))))) - (object Attribute - tool "CORBA" - name "default__Uses" - value (list Attribute_Set - (object Attribute - tool "CORBA" - name "GenerateForwardReference" - value FALSE))) - (object Attribute - tool "CORBA" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ClearCase" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Data Modeler" - name "propertyId" - value "809135966") - (object Attribute - tool "Data Modeler" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "project" - value "") - (object Attribute - tool "Data Modeler" - name "TableCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "ViewCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "DomainCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "SPPackageCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "TriggerCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "IndexCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "ConstraintCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "StoreProcedureCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "PrimaryKeyCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "ForeignKeyCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "JoinCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "TableSpaceCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "cONTAINERCounter" - value 0) - (object Attribute - tool "Data Modeler" - name "TablePrefix" - value "") - (object Attribute - tool "Data Modeler" - name "ViewPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "DomainPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "TriggerPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "IndexPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "ConstraintPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "StoreProcedurePrefix" - value "") - (object Attribute - tool "Data Modeler" - name "PrimaryKeyPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "ForeignKeyPrefix" - value "") - (object Attribute - tool "Data Modeler" - name "TableSpacePrefix" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsDatabase" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TargetDatabase" - value "") - (object Attribute - tool "Data Modeler" - name "Location" - value "") - (object Attribute - tool "Data Modeler" - name "IsTableSpace" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TableSpaceType" - value "") - (object Attribute - tool "Data Modeler" - name "IsDeault" - value FALSE) - (object Attribute - tool "Data Modeler" - name "BufferPool" - value "") - (object Attribute - tool "Data Modeler" - name "ExtentSize" - value 1) - (object Attribute - tool "Data Modeler" - name "PrefetchSize" - value 1) - (object Attribute - tool "Data Modeler" - name "PageSize" - value 4) - (object Attribute - tool "Data Modeler" - name "ManagedBy" - value "") - (object Attribute - tool "Data Modeler" - name "ContainerList" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "dmSchema" - value "") - (object Attribute - tool "Data Modeler" - name "dmDomainPackage" - value "") - (object Attribute - tool "Data Modeler" - name "IsSchema" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDomainPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsRootSchema" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsRootDomainPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsSchemaPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DatabaseID" - value "") - (object Attribute - tool "Data Modeler" - name "DBMS" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsTable" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsView" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDomain" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsSPPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "Synonymns" - value "") - (object Attribute - tool "Data Modeler" - name "TableSpaceID" - value "") - (object Attribute - tool "Data Modeler" - name "SourceId" - value "") - (object Attribute - tool "Data Modeler" - name "SourceType" - value "") - (object Attribute - tool "Data Modeler" - name "CorrelationName" - value "") - (object Attribute - tool "Data Modeler" - name "SelectClause" - value "") - (object Attribute - tool "Data Modeler" - name "IsUpdateable" - value TRUE) - (object Attribute - tool "Data Modeler" - name "CheckOption" - value 0) - (object Attribute - tool "Data Modeler" - name "IsSnapShot" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDistinct" - value FALSE) - (object Attribute - tool "Data Modeler" - name "PersistToServer" - value "") - (object Attribute - tool "Data Modeler" - name "IsPackage" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TableSpace" - value "") - (object Attribute - tool "Data Modeler" - name "IsUpdatable" - value FALSE))) - (object Attribute - tool "Data Modeler" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "Ordinal" - value 0) - (object Attribute - tool "Data Modeler" - name "IsIdentity" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsUnique" - value FALSE) - (object Attribute - tool "Data Modeler" - name "NullsAllowed" - value FALSE) - (object Attribute - tool "Data Modeler" - name "Length" - value 0) - (object Attribute - tool "Data Modeler" - name "Scale" - value 0) - (object Attribute - tool "Data Modeler" - name "ColumnType" - value "Native") - (object Attribute - tool "Data Modeler" - name "ForBitData" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DefaultValueType" - value "") - (object Attribute - tool "Data Modeler" - name "DefaultValue" - value "") - (object Attribute - tool "Data Modeler" - name "SourceId" - value "") - (object Attribute - tool "Data Modeler" - name "SourceType" - value "") - (object Attribute - tool "Data Modeler" - name "OID" - value FALSE))) - (object Attribute - tool "Data Modeler" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsRelationship" - value FALSE) - (object Attribute - tool "Data Modeler" - name "SourceId" - value "") - (object Attribute - tool "Data Modeler" - name "SourceType" - value "") - (object Attribute - tool "Data Modeler" - name "RIMethod" - value "") - (object Attribute - tool "Data Modeler" - name "ParentUpdateRule" - value "") - (object Attribute - tool "Data Modeler" - name "ParentUpdateRuleName" - value "") - (object Attribute - tool "Data Modeler" - name "ParentDeleteRule" - value "") - (object Attribute - tool "Data Modeler" - name "ParentDeleteRuleName" - value "") - (object Attribute - tool "Data Modeler" - name "ChildInsertRestrict" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ChildInsertRestrictName" - value "") - (object Attribute - tool "Data Modeler" - name "ChildMultiplicity" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ChildMultiplicityName" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "ConstraintName" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsConstraint" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ConstraintType" - value "") - (object Attribute - tool "Data Modeler" - name "IsIndex" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsTrigger" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsStoredProcedure" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsCluster" - value FALSE) - (object Attribute - tool "Data Modeler" - name "TableSpace" - value "") - (object Attribute - tool "Data Modeler" - name "FillFactor" - value 0) - (object Attribute - tool "Data Modeler" - name "KeyList" - value "") - (object Attribute - tool "Data Modeler" - name "CheckPredicate" - value "") - (object Attribute - tool "Data Modeler" - name "IsUnique" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DeferalMode" - value "") - (object Attribute - tool "Data Modeler" - name "InitialCheckTime" - value "") - (object Attribute - tool "Data Modeler" - name "TriggerType" - value "") - (object Attribute - tool "Data Modeler" - name "IsInsertEvent" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsUpdateEvent" - value FALSE) - (object Attribute - tool "Data Modeler" - name "IsDeleteEvent" - value FALSE) - (object Attribute - tool "Data Modeler" - name "RefOldTable" - value "") - (object Attribute - tool "Data Modeler" - name "RefNewTable" - value "") - (object Attribute - tool "Data Modeler" - name "RefOldRow" - value "") - (object Attribute - tool "Data Modeler" - name "RefNewRow" - value "") - (object Attribute - tool "Data Modeler" - name "IsRow" - value FALSE) - (object Attribute - tool "Data Modeler" - name "WhenClause" - value "") - (object Attribute - tool "Data Modeler" - name "Language" - value "SQL") - (object Attribute - tool "Data Modeler" - name "ProcType" - value "Procedure") - (object Attribute - tool "Data Modeler" - name "IsDeterministic" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ParameterStyle" - value "") - (object Attribute - tool "Data Modeler" - name "ReturnedNull" - value FALSE) - (object Attribute - tool "Data Modeler" - name "ExternalName" - value "") - (object Attribute - tool "Data Modeler" - name "Length" - value "") - (object Attribute - tool "Data Modeler" - name "Scale" - value "") - (object Attribute - tool "Data Modeler" - name "ForBitData" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DefaultValue" - value "") - (object Attribute - tool "Data Modeler" - name "DefaultValueType" - value ""))) - (object Attribute - tool "Data Modeler" - name "default__Parameter" - value (list Attribute_Set - (object Attribute - tool "Data Modeler" - name "dmItem" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DMName" - value "") - (object Attribute - tool "Data Modeler" - name "IsInParameter" - value TRUE) - (object Attribute - tool "Data Modeler" - name "IsOutParameter" - value FALSE) - (object Attribute - tool "Data Modeler" - name "Ordinal" - value "") - (object Attribute - tool "Data Modeler" - name "Length" - value "") - (object Attribute - tool "Data Modeler" - name "Scale" - value "") - (object Attribute - tool "Data Modeler" - name "ForBitData" - value FALSE) - (object Attribute - tool "Data Modeler" - name "DefaultValueType" - value "") - (object Attribute - tool "Data Modeler" - name "DefaultValue" - value "") - (object Attribute - tool "Data Modeler" - name "OperationID" - value ""))) - (object Attribute - tool "Data Modeler" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Data Modeler Communicator" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Java" - name "propertyId" - value "809135966") - (object Attribute - tool "Java" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Java" - name "RootDir" - value "") - (object Attribute - tool "Java" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "Java" - name "StopOnError" - value FALSE) - (object Attribute - tool "Java" - name "UsePrefixes" - value FALSE) - (object Attribute - tool "Java" - name "AutoSync" - value FALSE) - (object Attribute - tool "Java" - name "NotShowRoseIDDlg" - value FALSE) - (object Attribute - tool "Java" - name "ShowCodegenDlg" - value FALSE) - (object Attribute - tool "Java" - name "GenerateRoseID" - value TRUE) - (object Attribute - tool "Java" - name "GenerateDefaultReturnLine" - value TRUE) - (object Attribute - tool "Java" - name "JavadocDefaultAuthor" - value "") - (object Attribute - tool "Java" - name "JavadocDefaultVersion" - value "") - (object Attribute - tool "Java" - name "JavadocDefaultSince" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText1" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText2" - value "") - (object Attribute - tool "Java" - name "UserDefineTagName3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagApply3" - value "") - (object Attribute - tool "Java" - name "UserDefineTagText3" - value "") - (object Attribute - tool "Java" - name "JavadocNumAsterisks" - value 0) - (object Attribute - tool "Java" - name "MaxNumChars" - value 80) - (object Attribute - tool "Java" - name "Editor" - value ("EditorType" 100)) - (object Attribute - tool "Java" - name "VM" - value ("VMType" 200)) - (object Attribute - tool "Java" - name "ClassPath" - value ";D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\charsets.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\jce.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\jsse.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\rt.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\sunrsasign.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\dnsns.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\ldapsec.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\localedata.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\ext\\sunjce_provider.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\security\\local_policy.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\jre\\lib\\security\\US_export_policy.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\lib\\dt.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\lib\\htmlconverter.jar;D:\\Program Files\\Sun\\jdk1.4.2_02\\lib\\tools.jar") - (object Attribute - tool "Java" - name "ReferenceClasspath" - value "") - (object Attribute - tool "Java" - name "EditorType" - value (list Attribute_Set - (object Attribute - tool "Java" - name "BuiltIn" - value 100) - (object Attribute - tool "Java" - name "WindowsShell" - value 101))) - (object Attribute - tool "Java" - name "VMType" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Sun" - value 200) - (object Attribute - tool "Java" - name "Microsoft" - value 201) - (object Attribute - tool "Java" - name "IBM" - value 202))) - (object Attribute - tool "Java" - name "VAJavaWorkingFolder" - value "") - (object Attribute - tool "Java" - name "InstanceVariablePrefix" - value "m_") - (object Attribute - tool "Java" - name "ClassVariablePrefix" - value "s_") - (object Attribute - tool "Java" - name "DefaultAttributeDataType" - value "int") - (object Attribute - tool "Java" - name "DefaultOperationReturnType" - value "void") - (object Attribute - tool "Java" - name "NoClassCustomDlg" - value FALSE) - (object Attribute - tool "Java" - name "GlobalImports" - value (value Text "")) - (object Attribute - tool "Java" - name "OpenBraceClassStyle" - value TRUE) - (object Attribute - tool "Java" - name "OpenBraceMethodStyle" - value TRUE) - (object Attribute - tool "Java" - name "UseTabs" - value FALSE) - (object Attribute - tool "Java" - name "UseSpaces" - value TRUE) - (object Attribute - tool "Java" - name "SpacingItems" - value 3) - (object Attribute - tool "Java" - name "RoseDefaultCommentStyle" - value TRUE) - (object Attribute - tool "Java" - name "AsteriskCommentStyle" - value FALSE) - (object Attribute - tool "Java" - name "JavaCommentStyle" - value FALSE) - (object Attribute - tool "Java" - name "JavadocAuthor" - value FALSE) - (object Attribute - tool "Java" - name "JavadocSince" - value FALSE) - (object Attribute - tool "Java" - name "JavadocVersion" - value FALSE) - (object Attribute - tool "Java" - name "BeanPrefix" - value "") - (object Attribute - tool "Java" - name "BeanSuffix" - value "") - (object Attribute - tool "Java" - name "RemotePrefix" - value "") - (object Attribute - tool "Java" - name "RemoteSuffix" - value "") - (object Attribute - tool "Java" - name "HomePrefix" - value "") - (object Attribute - tool "Java" - name "HomeSuffix" - value "") - (object Attribute - tool "Java" - name "PrimaryKeyPrefix" - value "") - (object Attribute - tool "Java" - name "PrimaryKeySuffix" - value "") - (object Attribute - tool "Java" - name "EJBDTDLocation" - value "") - (object Attribute - tool "Java" - name "ServletDTDLocation" - value "") - (object Attribute - tool "Java" - name "DefaultEJBVersion" - value "") - (object Attribute - tool "Java" - name "DefaultServletVersion" - value "") - (object Attribute - tool "Java" - name "GenerateDefaultJ2EEJavadoc" - value TRUE) - (object Attribute - tool "Java" - name "UserDefineJavaDocTags" - value "") - (object Attribute - tool "Java" - name "LocalPrefix" - value "") - (object Attribute - tool "Java" - name "LocalSuffix" - value "") - (object Attribute - tool "Java" - name "LocalHomePrefix" - value "") - (object Attribute - tool "Java" - name "LocalHomeSuffix" - value "") - (object Attribute - tool "Java" - name "SourceControl" - value FALSE) - (object Attribute - tool "Java" - name "SCCSelected" - value FALSE) - (object Attribute - tool "Java" - name "SCCProjectSourceRoot" - value "") - (object Attribute - tool "Java" - name "SCCProjectName" - value "") - (object Attribute - tool "Java" - name "SCCComment" - value FALSE))) - (object Attribute - tool "Java" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "BMP_Extend_CMP" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "Default_Servlet__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "BMP_Extend_CMP" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "Http_Servlet__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "BMP_Extend_CMP" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value "") - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "Default_EJB__Class" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Generate_XML_DD" - value TRUE) - (object Attribute - tool "Java" - name "EJBCmpField" - value "") - (object Attribute - tool "Java" - name "EJBEnvironmentProperties" - value "") - (object Attribute - tool "Java" - name "EJBCnxFactory" - value "") - (object Attribute - tool "Java" - name "EJBReferences" - value "") - (object Attribute - tool "Java" - name "EJBSecurityRoles" - value "") - (object Attribute - tool "Java" - name "EJBNameInJAR" - value "") - (object Attribute - tool "Java" - name "EJBSessionType" - value ("EJBSessionType_Set" 200)) - (object Attribute - tool "Java" - name "EJBSessionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 200) - (object Attribute - tool "Java" - name "Stateless" - value 201) - (object Attribute - tool "Java" - name "Stateful" - value 202))) - (object Attribute - tool "Java" - name "EJBTransactionType" - value ("EJBTransactionType_Set" 211)) - (object Attribute - tool "Java" - name "EJBTransactionType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Container" - value 211) - (object Attribute - tool "Java" - name "Bean" - value 212))) - (object Attribute - tool "Java" - name "EJBPersistenceType" - value ("EJBPersistenceType_Set" 220)) - (object Attribute - tool "Java" - name "EJBPersistenceType_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "" - value 220) - (object Attribute - tool "Java" - name "Bean" - value 221) - (object Attribute - tool "Java" - name "Container" - value 222))) - (object Attribute - tool "Java" - name "EJBReentrant" - value FALSE) - (object Attribute - tool "Java" - name "EJBSessionSync" - value FALSE) - (object Attribute - tool "Java" - name "EJBVersion" - value ("EJBVersion_Set" 230)) - (object Attribute - tool "Java" - name "EJBVersion_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "2.0" - value 230) - (object Attribute - tool "Java" - name "1.x" - value 231))) - (object Attribute - tool "Java" - name "EJBXMLFilePath" - value "") - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "GenerateDefaultConstructor" - value TRUE) - (object Attribute - tool "Java" - name "ConstructorIs" - value ("Ctor_Set" 62)) - (object Attribute - tool "Java" - name "Ctor_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "public" - value 62) - (object Attribute - tool "Java" - name "protected" - value 63) - (object Attribute - tool "Java" - name "private" - value 64) - (object Attribute - tool "Java" - name "package" - value 65))) - (object Attribute - tool "Java" - name "GenerateFinalizer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateStaticInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateInstanceInitializer" - value FALSE) - (object Attribute - tool "Java" - name "GenerateCode" - value TRUE) - (object Attribute - tool "Java" - name "DisableAutoSync" - value FALSE) - (object Attribute - tool "Java" - name "ServletName" - value "") - (object Attribute - tool "Java" - name "ServletContextRef" - value FALSE) - (object Attribute - tool "Java" - name "IsSingleThread" - value FALSE) - (object Attribute - tool "Java" - name "ServletInitParameter" - value "") - (object Attribute - tool "Java" - name "ServletInitParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "ServletIsSecure" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcher" - value FALSE) - (object Attribute - tool "Java" - name "ServletRequestDispatcherPath" - value "") - (object Attribute - tool "Java" - name "DispatcherInclude" - value FALSE) - (object Attribute - tool "Java" - name "DispatcherForward" - value FALSE) - (object Attribute - tool "Java" - name "ServletSecurityRoles" - value "") - (object Attribute - tool "Java" - name "ServletgetInfo" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttribute" - value "") - (object Attribute - tool "Java" - name "ServletRequestAttributesNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestAttributes" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameter" - value "") - (object Attribute - tool "Java" - name "ServletRequestParameterNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForRequestParameters" - value "") - (object Attribute - tool "Java" - name "ServletHeader" - value "") - (object Attribute - tool "Java" - name "ServletHeaderNames" - value FALSE) - (object Attribute - tool "Java" - name "MethodForHeaders" - value "") - (object Attribute - tool "Java" - name "ServletIntHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletDateHeader" - value FALSE) - (object Attribute - tool "Java" - name "ServletCookie" - value FALSE) - (object Attribute - tool "Java" - name "MethodForCookie" - value "") - (object Attribute - tool "Java" - name "ServletContentType" - value "") - (object Attribute - tool "Java" - name "GenerateHTML" - value FALSE) - (object Attribute - tool "Java" - name "BMP_Extend_CMP" - value FALSE) - (object Attribute - tool "Java" - name "ReadOnly" - value FALSE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE) - (object Attribute - tool "Java" - name "ServletXMLFilePath" - value ""))) - (object Attribute - tool "Java" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Java" - name "CmIdentification" - value (value Text "")) - (object Attribute - tool "Java" - name "CopyrightNotice" - value (value Text "")))) - (object Attribute - tool "Java" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Java" - name "CmIdentification" - value (value Text "")) - (object Attribute - tool "Java" - name "CopyrightNotice" - value (value Text "")))) - (object Attribute - tool "Java" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Abstract" - value FALSE) - (object Attribute - tool "Java" - name "Static" - value FALSE) - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Native" - value FALSE) - (object Attribute - tool "Java" - name "Synchronized" - value FALSE) - (object Attribute - tool "Java" - name "GenerateFullyQualifiedReturn" - value FALSE) - (object Attribute - tool "Java" - name "ReplaceExistingCode" - value TRUE) - (object Attribute - tool "Java" - name "Strictfp" - value FALSE))) - (object Attribute - tool "Java" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Transient" - value FALSE) - (object Attribute - tool "Java" - name "Volatile" - value FALSE) - (object Attribute - tool "Java" - name "PropertyType" - value ("BeanProperty_Set" 71)) - (object Attribute - tool "Java" - name "BeanProperty_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Not A Property" - value 71) - (object Attribute - tool "Java" - name "Simple" - value 72) - (object Attribute - tool "Java" - name "Bound" - value 73) - (object Attribute - tool "Java" - name "Constrained" - value 74))) - (object Attribute - tool "Java" - name "IndividualChangeMgt" - value FALSE) - (object Attribute - tool "Java" - name "Read/Write" - value ("Read/Write_Set" 81)) - (object Attribute - tool "Java" - name "Read/Write_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Read & Write" - value 81) - (object Attribute - tool "Java" - name "Read Only" - value 82) - (object Attribute - tool "Java" - name "Write Only" - value 83))) - (object Attribute - tool "Java" - name "GenerateFullyQualifiedTypes" - value FALSE))) - (object Attribute - tool "Java" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Java" - name "ContainerClass" - value "") - (object Attribute - tool "Java" - name "InitialValue" - value "") - (object Attribute - tool "Java" - name "Final" - value FALSE) - (object Attribute - tool "Java" - name "Transient" - value FALSE) - (object Attribute - tool "Java" - name "Volatile" - value FALSE) - (object Attribute - tool "Java" - name "PropertyType" - value ("BeanProperty_Set" 71)) - (object Attribute - tool "Java" - name "BeanProperty_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Not A Property" - value 71) - (object Attribute - tool "Java" - name "Simple" - value 72) - (object Attribute - tool "Java" - name "Bound" - value 73) - (object Attribute - tool "Java" - name "Constrained" - value 74))) - (object Attribute - tool "Java" - name "IndividualChangeMgt" - value FALSE) - (object Attribute - tool "Java" - name "Read/Write" - value ("Read/Write_Set" 81)) - (object Attribute - tool "Java" - name "Read/Write_Set" - value (list Attribute_Set - (object Attribute - tool "Java" - name "Read & Write" - value 81) - (object Attribute - tool "Java" - name "Read Only" - value 82) - (object Attribute - tool "Java" - name "Write Only" - value 83))) - (object Attribute - tool "Java" - name "GenerateFullyQualifiedTypes" - value FALSE) - (object Attribute - tool "Java" - name "IsNavigable" - value TRUE))) - (object Attribute - tool "Java" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Oracle8" - name "propertyId" - value "360000002") - (object Attribute - tool "Oracle8" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "DDLScriptFilename" - value "DDL1.SQL") - (object Attribute - tool "Oracle8" - name "DropClause" - value FALSE) - (object Attribute - tool "Oracle8" - name "PrimaryKeyColumnName" - value "_ID") - (object Attribute - tool "Oracle8" - name "PrimaryKeyColumnType" - value "NUMBER(5,0)") - (object Attribute - tool "Oracle8" - name "SchemaNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "SchemaNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "TableNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "TableNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "TypeNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "TypeNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "ViewNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "ViewNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "VarrayNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "VarrayNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "NestedTableNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "NestedTableNameSuffix" - value "") - (object Attribute - tool "Oracle8" - name "ObjectTableNamePrefix" - value "") - (object Attribute - tool "Oracle8" - name "ObjectTableNameSuffix" - value ""))) - (object Attribute - tool "Oracle8" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "IsSchema" - value FALSE))) - (object Attribute - tool "Oracle8" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "OID" - value "") - (object Attribute - tool "Oracle8" - name "WhereClause" - value "") - (object Attribute - tool "Oracle8" - name "CheckConstraint" - value "") - (object Attribute - tool "Oracle8" - name "CollectionTypeLength" - value "") - (object Attribute - tool "Oracle8" - name "CollectionTypePrecision" - value "") - (object Attribute - tool "Oracle8" - name "CollectionTypeScale" - value "") - (object Attribute - tool "Oracle8" - name "CollectionOfREFS" - value FALSE))) - (object Attribute - tool "Oracle8" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "MethodKind" - value ("MethodKindSet" 1903)) - (object Attribute - tool "Oracle8" - name "OverloadID" - value "") - (object Attribute - tool "Oracle8" - name "OrderNumber" - value "") - (object Attribute - tool "Oracle8" - name "IsReadNoDataState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsReadNoProcessState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsWriteNoDataState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsWriteNoProcessState" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsSelfish" - value FALSE) - (object Attribute - tool "Oracle8" - name "TriggerType" - value ("TriggerTypeSet" 1801)) - (object Attribute - tool "Oracle8" - name "TriggerEvent" - value ("TriggerEventSet" 1601)) - (object Attribute - tool "Oracle8" - name "TriggerText" - value "") - (object Attribute - tool "Oracle8" - name "TriggerReferencingNames" - value "") - (object Attribute - tool "Oracle8" - name "TriggerForEach" - value ("TriggerForEachSet" 1701)) - (object Attribute - tool "Oracle8" - name "TriggerWhenClause" - value "") - (object Attribute - tool "Oracle8" - name "MethodKindSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "MapMethod" - value 1901) - (object Attribute - tool "Oracle8" - name "OrderMethod" - value 1902) - (object Attribute - tool "Oracle8" - name "Function" - value 1903) - (object Attribute - tool "Oracle8" - name "Procedure" - value 1904) - (object Attribute - tool "Oracle8" - name "Operator" - value 1905) - (object Attribute - tool "Oracle8" - name "Constructor" - value 1906) - (object Attribute - tool "Oracle8" - name "Destructor" - value 1907) - (object Attribute - tool "Oracle8" - name "Trigger" - value 1908) - (object Attribute - tool "Oracle8" - name "Calculated" - value 1909))) - (object Attribute - tool "Oracle8" - name "TriggerTypeSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "AFTER" - value 1801) - (object Attribute - tool "Oracle8" - name "BEFORE" - value 1802) - (object Attribute - tool "Oracle8" - name "INSTEAD OF" - value 1803))) - (object Attribute - tool "Oracle8" - name "TriggerForEachSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "ROW" - value 1701) - (object Attribute - tool "Oracle8" - name "STATEMENT" - value 1702))) - (object Attribute - tool "Oracle8" - name "TriggerEventSet" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "INSERT" - value 1601) - (object Attribute - tool "Oracle8" - name "UPDATE" - value 1602) - (object Attribute - tool "Oracle8" - name "DELETE" - value 1603) - (object Attribute - tool "Oracle8" - name "INSERT OR UPDATE" - value 1604) - (object Attribute - tool "Oracle8" - name "INSERT OR DELETE" - value 1605) - (object Attribute - tool "Oracle8" - name "UPDATE OR DELETE" - value 1606) - (object Attribute - tool "Oracle8" - name "INSERT OR UPDATE OR DELETE" - value 1607))))) - (object Attribute - tool "Oracle8" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "OrderNumber" - value ""))) - (object Attribute - tool "Oracle8" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Oracle8" - name "OrderNumber" - value "") - (object Attribute - tool "Oracle8" - name "IsUnique" - value FALSE) - (object Attribute - tool "Oracle8" - name "NullsAllowed" - value TRUE) - (object Attribute - tool "Oracle8" - name "Length" - value "") - (object Attribute - tool "Oracle8" - name "Precision" - value "2") - (object Attribute - tool "Oracle8" - name "Scale" - value "6") - (object Attribute - tool "Oracle8" - name "IsIndex" - value FALSE) - (object Attribute - tool "Oracle8" - name "IsPrimaryKey" - value FALSE) - (object Attribute - tool "Oracle8" - name "CompositeUnique" - value FALSE) - (object Attribute - tool "Oracle8" - name "CheckConstraint" - value ""))) - (object Attribute - tool "Oracle8" - name "HiddenTool" - value FALSE) - (object Attribute - tool "ComponentTest" - name "HiddenTool" - value FALSE) - (object Attribute - tool "RequisitePro" - name "HiddenTool" - value FALSE) - (object Attribute - tool "cg" - name "propertyId" - value "809135966") - (object Attribute - tool "cg" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "cg" - name "AllowGenerateOverNewerAnnotations" - value FALSE) - (object Attribute - tool "cg" - name "AllowGenerateOverNewerVersion" - value FALSE) - (object Attribute - tool "cg" - name "UseMSVC" - value FALSE) - (object Attribute - tool "cg" - name "HeaderFileExtension" - value "h") - (object Attribute - tool "cg" - name "HeaderFileBackupExtension" - value "h~") - (object Attribute - tool "cg" - name "HeaderFileTemporaryExtension" - value "h#") - (object Attribute - tool "cg" - name "CodeFileExtension" - value "cpp") - (object Attribute - tool "cg" - name "CodeFileBackupExtension" - value "cp~") - (object Attribute - tool "cg" - name "CodeFileTemporaryExtension" - value "cp#") - (object Attribute - tool "cg" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "cg" - name "StopOnError" - value FALSE) - (object Attribute - tool "cg" - name "ErrorLimit" - value 30) - (object Attribute - tool "cg" - name "Directory" - value "$ROSECPP_SOURCE") - (object Attribute - tool "cg" - name "PathSeparator" - value "") - (object Attribute - tool "cg" - name "FileNameFormat" - value "128vx_b") - (object Attribute - tool "cg" - name "BooleanType" - value "int") - (object Attribute - tool "cg" - name "AllowTemplates" - value TRUE) - (object Attribute - tool "cg" - name "AllowExplicitInstantiations" - value FALSE) - (object Attribute - tool "cg" - name "AllowProtectedInheritance" - value TRUE) - (object Attribute - tool "cg" - name "CommentWidth" - value 60) - (object Attribute - tool "cg" - name "OneByValueContainer" - value "$targetClass") - (object Attribute - tool "cg" - name "OneByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "OptionalByValueContainer" - value "OptionalByValue<$targetClass>") - (object Attribute - tool "cg" - name "OptionalByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "FixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "FixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "BoundedByValueContainer" - value "BoundedListByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByValueContainer" - value "BoundedSetByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "BoundedByReferenceContainer" - value "BoundedListByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByReferenceContainer" - value "BoundedSetByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnboundedByValueContainer" - value "UnboundedListByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByValueContainer" - value "UnboundedSetByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnboundedByReferenceContainer" - value "UnboundedListByReference<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByReferenceContainer" - value "UnboundedSetByReference<$targetClass>") - (object Attribute - tool "cg" - name "QualifiedByValueContainer" - value "AssociationByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByValueContainer" - value "DictionaryByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "QualifiedByReferenceContainer" - value "AssociationByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByReferenceContainer" - value "DictionaryByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "AlwaysKeepOrphanedCode" - value FALSE))) - (object Attribute - tool "cg" - name "compiler2.1__Project" - value (list Attribute_Set - (object Attribute - tool "cg" - name "AllowGenerateOverNewerAnnotations" - value FALSE) - (object Attribute - tool "cg" - name "AllowGenerateOverNewerVersion" - value FALSE) - (object Attribute - tool "cg" - name "HeaderFileExtension" - value "h") - (object Attribute - tool "cg" - name "HeaderFileBackupExtension" - value "h~") - (object Attribute - tool "cg" - name "HeaderFileTemporaryExtension" - value "h#") - (object Attribute - tool "cg" - name "CodeFileExtension" - value "cpp") - (object Attribute - tool "cg" - name "CodeFileBackupExtension" - value "cp~") - (object Attribute - tool "cg" - name "CodeFileTemporaryExtension" - value "cp#") - (object Attribute - tool "cg" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "cg" - name "StopOnError" - value FALSE) - (object Attribute - tool "cg" - name "ErrorLimit" - value 30) - (object Attribute - tool "cg" - name "Directory" - value "$ROSECPP_SOURCE") - (object Attribute - tool "cg" - name "BooleanType" - value "int") - (object Attribute - tool "cg" - name "AllowTemplates" - value FALSE) - (object Attribute - tool "cg" - name "AllowExplicitInstantiations" - value FALSE) - (object Attribute - tool "cg" - name "AllowProtectedInheritance" - value FALSE) - (object Attribute - tool "cg" - name "OneByValueContainer" - value "$targetClass") - (object Attribute - tool "cg" - name "OneByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "OptionalByValueContainer" - value "OptionalByValue(sizeof($targetClass))") - (object Attribute - tool "cg" - name "OptionalByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "FixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "FixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "BoundedByValueContainer" - value "BoundedListByValue(sizeof($targetClass),$limit)") - (object Attribute - tool "cg" - name "UnorderedBoundedByValueContainer" - value "BoundedSetByValue(sizeof($targetClass),$limit)") - (object Attribute - tool "cg" - name "BoundedByReferenceContainer" - value "BoundedListByReference($limit)") - (object Attribute - tool "cg" - name "UnorderedBoundedByReferenceContainer" - value "BoundedSetByReference($limit)") - (object Attribute - tool "cg" - name "UnboundedByValueContainer" - value "UnboundedListByValue(sizeof($targetClass))") - (object Attribute - tool "cg" - name "UnorderedUnboundedByValueContainer" - value "UnboundedSetByValue(sizeof($targetClass))") - (object Attribute - tool "cg" - name "UnboundedByReferenceContainer" - value "UnboundedListByReference") - (object Attribute - tool "cg" - name "UnorderedUnboundedByReferenceContainer" - value "UnboundedSetByReference") - (object Attribute - tool "cg" - name "QualifiedByValueContainer" - value "AssociationByValue(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "UnorderedQualifiedByValueContainer" - value "DictionaryByValue(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "QualifiedByReferenceContainer" - value "AssociationByReference(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "UnorderedQualifiedByReferenceContainer" - value "DictionaryByReference(sizeof($qualtype), sizeof($qualcont))") - (object Attribute - tool "cg" - name "PathSeparator" - value "") - (object Attribute - tool "cg" - name "FileNameFormat" - value "128vx_b") - (object Attribute - tool "cg" - name "AlwaysKeepOrphanedCode" - value FALSE))) - (object Attribute - tool "cg" - name "compiler3.0__Project" - value (list Attribute_Set - (object Attribute - tool "cg" - name "AllowGenerateOverNewerAnnotations" - value FALSE) - (object Attribute - tool "cg" - name "AllowGenerateOverNewerVersion" - value FALSE) - (object Attribute - tool "cg" - name "HeaderFileExtension" - value "h") - (object Attribute - tool "cg" - name "HeaderFileBackupExtension" - value "h~") - (object Attribute - tool "cg" - name "HeaderFileTemporaryExtension" - value "h#") - (object Attribute - tool "cg" - name "CodeFileExtension" - value "cpp") - (object Attribute - tool "cg" - name "CodeFileBackupExtension" - value "cp~") - (object Attribute - tool "cg" - name "CodeFileTemporaryExtension" - value "cp#") - (object Attribute - tool "cg" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "cg" - name "StopOnError" - value FALSE) - (object Attribute - tool "cg" - name "ErrorLimit" - value 30) - (object Attribute - tool "cg" - name "Directory" - value "$ROSECPP_SOURCE") - (object Attribute - tool "cg" - name "BooleanType" - value "int") - (object Attribute - tool "cg" - name "AllowTemplates" - value TRUE) - (object Attribute - tool "cg" - name "AllowExplicitInstantiations" - value FALSE) - (object Attribute - tool "cg" - name "AllowProtectedInheritance" - value TRUE) - (object Attribute - tool "cg" - name "OneByValueContainer" - value "$targetClass") - (object Attribute - tool "cg" - name "OneByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "OptionalByValueContainer" - value "OptionalByValue<$targetClass>") - (object Attribute - tool "cg" - name "OptionalByReferenceContainer" - value "$targetClass *") - (object Attribute - tool "cg" - name "FixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByValueContainer" - value "$targetClass[$limit]") - (object Attribute - tool "cg" - name "FixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "UnorderedFixedByReferenceContainer" - value "$targetClass *[$limit]") - (object Attribute - tool "cg" - name "BoundedByValueContainer" - value "BoundedListByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByValueContainer" - value "BoundedSetByValue<$targetClass,$limit>") - (object Attribute - tool "cg" - name "BoundedByReferenceContainer" - value "BoundedListByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnorderedBoundedByReferenceContainer" - value "BoundedSetByReference<$targetClass,$limit>") - (object Attribute - tool "cg" - name "UnboundedByValueContainer" - value "UnboundedListByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByValueContainer" - value "UnboundedSetByValue<$targetClass>") - (object Attribute - tool "cg" - name "UnboundedByReferenceContainer" - value "UnboundedListByReference<$targetClass>") - (object Attribute - tool "cg" - name "UnorderedUnboundedByReferenceContainer" - value "UnboundedSetByReference<$targetClass>") - (object Attribute - tool "cg" - name "QualifiedByValueContainer" - value "AssociationByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByValueContainer" - value "DictionaryByValue<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "QualifiedByReferenceContainer" - value "AssociationByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "UnorderedQualifiedByReferenceContainer" - value "DictionaryByReference<$qualtype, $qualcont>") - (object Attribute - tool "cg" - name "PathSeparator" - value "") - (object Attribute - tool "cg" - name "FileNameFormat" - value "128vx_b") - (object Attribute - tool "cg" - name "AlwaysKeepOrphanedCode" - value FALSE))) - (object Attribute - tool "cg" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "ImplementationType" - value "") - (object Attribute - tool "cg" - name "ClassKey" - value "class") - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "PutBodiesInSpec" - value FALSE) - (object Attribute - tool "cg" - name "GenerateDefaultConstructor" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "DefaultConstructorVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineDefaultConstructor" - value FALSE) - (object Attribute - tool "cg" - name "ExplicitDefaultConstructor" - value FALSE) - (object Attribute - tool "cg" - name "GenerateCopyConstructor" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "CopyConstructorVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineCopyConstructor" - value FALSE) - (object Attribute - tool "cg" - name "ExplicitCopyConstructor" - value FALSE) - (object Attribute - tool "cg" - name "GenerateDestructor" - value TRUE) - (object Attribute - tool "cg" - name "DestructorVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "DestructorKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "InlineDestructor" - value FALSE) - (object Attribute - tool "cg" - name "GenerateAssignmentOperation" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "AssignmentVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "AssignmentKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "InlineAssignmentOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateEqualityOperations" - value ("GenerateSet" 199)) - (object Attribute - tool "cg" - name "EqualityVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "EqualityKind" - value ("FriendKindSet" 200)) - (object Attribute - tool "cg" - name "InlineEqualityOperations" - value FALSE) - (object Attribute - tool "cg" - name "GenerateRelationalOperations" - value FALSE) - (object Attribute - tool "cg" - name "RelationalVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "RelationalKind" - value ("FriendKindSet" 200)) - (object Attribute - tool "cg" - name "InlineRelationalOperations" - value FALSE) - (object Attribute - tool "cg" - name "GenerateStorageMgmtOperations" - value FALSE) - (object Attribute - tool "cg" - name "StorageMgmtVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineStorageMgmtOperations" - value FALSE) - (object Attribute - tool "cg" - name "GenerateSubscriptOperation" - value FALSE) - (object Attribute - tool "cg" - name "SubscriptVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "SubscriptKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "SubscriptResultType" - value "") - (object Attribute - tool "cg" - name "InlineSubscriptOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateDereferenceOperation" - value FALSE) - (object Attribute - tool "cg" - name "DereferenceVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "DereferenceKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "DereferenceResultType" - value "") - (object Attribute - tool "cg" - name "InlineDereferenceOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateIndirectionOperation" - value FALSE) - (object Attribute - tool "cg" - name "IndirectionVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "IndirectionKind" - value ("ThreeKindSet" 200)) - (object Attribute - tool "cg" - name "IndirectionResultType" - value "") - (object Attribute - tool "cg" - name "InlineIndirectionOperation" - value FALSE) - (object Attribute - tool "cg" - name "GenerateStreamOperations" - value FALSE) - (object Attribute - tool "cg" - name "StreamVisibility" - value ("VisibilitySet" 45)) - (object Attribute - tool "cg" - name "InlineStreamOperations" - value FALSE) - (object Attribute - tool "cg" - name "ThreeKindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202))) - (object Attribute - tool "cg" - name "KindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203))) - (object Attribute - tool "cg" - name "FriendKindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GenerateSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "DeclareAndDefine" - value 199) - (object Attribute - tool "cg" - name "DeclareOnly" - value 205) - (object Attribute - tool "cg" - name "DoNotDeclare" - value 206))) - (object Attribute - tool "cg" - name "VisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14))))) - (object Attribute - tool "cg" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Generate" - value TRUE) - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "cg" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "cg" - name "FileName" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "AllowExtensionlessFileName" - value FALSE) - (object Attribute - tool "cg" - name "InclusionProtectionSymbol" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "IncludeFormat" - value (value Text -|// $package -|#include "$file" -| - )) - (object Attribute - tool "cg" - name "IncludeBySimpleName" - value FALSE) - (object Attribute - tool "cg" - name "IncludePrecompiledHeader" - value FALSE) - (object Attribute - tool "cg" - name "IncludeOrder" - value "AMIR") - (object Attribute - tool "cg" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "cg" - name "InliningStyle" - value ("InliningStyleSet" 207)) - (object Attribute - tool "cg" - name "InliningStyleSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "InClassDeclaration" - value 208) - (object Attribute - tool "cg" - name "FollowingClassDeclaration" - value 207))) - (object Attribute - tool "cg" - name "TypesDefined" - value (value Text "")) - (object Attribute - tool "cg" - name "IncludeClosure" - value (value Text "")))) - (object Attribute - tool "cg" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Generate" - value TRUE) - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "CmIdentification" - value (value Text " %X% %Q% %Z% %W%")) - (object Attribute - tool "cg" - name "CopyrightNotice" - value (value Text "")) - (object Attribute - tool "cg" - name "FileName" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "AllowExtensionlessFileName" - value FALSE) - (object Attribute - tool "cg" - name "IncludeFormat" - value (value Text -|// $package -|#include "$file" -| - )) - (object Attribute - tool "cg" - name "IncludeBySimpleName" - value FALSE) - (object Attribute - tool "cg" - name "IncludePrecompiledHeader" - value TRUE) - (object Attribute - tool "cg" - name "IncludeOrder" - value "AMIR") - (object Attribute - tool "cg" - name "AdditionalIncludes" - value (value Text "")) - (object Attribute - tool "cg" - name "InliningStyle" - value ("InliningStyleSet" 207)) - (object Attribute - tool "cg" - name "InliningStyleSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "InClassDeclaration" - value 208) - (object Attribute - tool "cg" - name "FollowingClassDeclaration" - value 207))) - (object Attribute - tool "cg" - name "TypesDefined" - value (value Text "")) - (object Attribute - tool "cg" - name "IncludeClosure" - value (value Text "")))) - (object Attribute - tool "cg" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "OperationKind" - value ("OperationKindSet" 200)) - (object Attribute - tool "cg" - name "OperationKindSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GenerateAbstractBody" - value FALSE) - (object Attribute - tool "cg" - name "GenerateFriendBody" - value FALSE) - (object Attribute - tool "cg" - name "GenerateFriendDecl" - value FALSE) - (object Attribute - tool "cg" - name "SpecialDeclReturnType" - value "") - (object Attribute - tool "cg" - name "OperationIsConst" - value FALSE) - (object Attribute - tool "cg" - name "OperationIsExplicit" - value FALSE) - (object Attribute - tool "cg" - name "Inline" - value FALSE) - (object Attribute - tool "cg" - name "EntryCode" - value (value Text "")) - (object Attribute - tool "cg" - name "ExitCode" - value (value Text "")) - (object Attribute - tool "cg" - name "CCRegion" - value "") - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))) - (object Attribute - tool "cg" - name "BodyAnnotations" - value ""))) - (object Attribute - tool "cg" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "Ordered" - value TRUE) - (object Attribute - tool "cg" - name "NameIfUnlabeled" - value "the_$supplier") - (object Attribute - tool "cg" - name "GenerateDataMember" - value TRUE) - (object Attribute - tool "cg" - name "DataMemberName" - value "$relationship") - (object Attribute - tool "cg" - name "DataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtRelationshipVisibility" - value 210))) - (object Attribute - tool "cg" - name "DataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "DataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "DataMemberFieldSize" - value "") - (object Attribute - tool "cg" - name "InitialValue" - value (value Text "")) - (object Attribute - tool "cg" - name "GenerateGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GenerateSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GetName" - value "get_$relationship") - (object Attribute - tool "cg" - name "SetName" - value "set_$relationship") - (object Attribute - tool "cg" - name "GetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GetSetKindsSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "ContainerClass" - value "") - (object Attribute - tool "cg" - name "SelectorName" - value "") - (object Attribute - tool "cg" - name "SelectorType" - value "") - (object Attribute - tool "cg" - name "GetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "GetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "GetResultIsConstSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_Function" - value 2))) - (object Attribute - tool "cg" - name "GetSetByReference" - value FALSE) - (object Attribute - tool "cg" - name "InlineGet" - value TRUE) - (object Attribute - tool "cg" - name "SetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineSet" - value TRUE) - (object Attribute - tool "cg" - name "ForwardReferenceOnly" - value FALSE) - (object Attribute - tool "cg" - name "HasRelTypeSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Array" - value 24) - (object Attribute - tool "cg" - name "Sequence" - value 47))))) - (object Attribute - tool "cg" - name "default__Association" - value (list Attribute_Set - (object Attribute - tool "cg" - name "NameIfUnlabeled" - value "the_$targetClass"))) - (object Attribute - tool "cg" - name "default__Inherit" - value (list Attribute_Set - (object Attribute - tool "cg" - name "InstanceArguments" - value ""))) - (object Attribute - tool "cg" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "ForwardReferenceOnly" - value FALSE) - (object Attribute - tool "cg" - name "NameIfUnlabeled" - value "the_$targetClass") - (object Attribute - tool "cg" - name "GenerateDataMember" - value TRUE) - (object Attribute - tool "cg" - name "DataMemberName" - value "$target") - (object Attribute - tool "cg" - name "DataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtRelationshipVisibility" - value 210))) - (object Attribute - tool "cg" - name "DataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "DataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "DataMemberFieldSize" - value "") - (object Attribute - tool "cg" - name "InitialValue" - value (value Text "")) - (object Attribute - tool "cg" - name "ContainerClass" - value "") - (object Attribute - tool "cg" - name "ContainerGet" - value "$data.get($keys)") - (object Attribute - tool "cg" - name "ContainerSet" - value "$data.set($keys,$value)") - (object Attribute - tool "cg" - name "QualifiedContainer" - value "") - (object Attribute - tool "cg" - name "AssocClassContainer" - value "$supplier *") - (object Attribute - tool "cg" - name "AssocClassInitialValue" - value (value Text "")) - (object Attribute - tool "cg" - name "GetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GetSetKindsSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GetSetByReference" - value FALSE) - (object Attribute - tool "cg" - name "GenerateGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GetName" - value "get_$target") - (object Attribute - tool "cg" - name "GetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "GetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "GetResultIsConstSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_Function" - value 2))) - (object Attribute - tool "cg" - name "InlineGet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "SetName" - value "set_$target") - (object Attribute - tool "cg" - name "SetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineSet" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedGetSetByReference" - value ("QualifiedGetSetByReferenceSet" 2)) - (object Attribute - tool "cg" - name "QualifiedGetSetByReferenceSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_GetSetByReference" - value 2))) - (object Attribute - tool "cg" - name "GenerateQualifiedGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedGetName" - value "get_$target") - (object Attribute - tool "cg" - name "QualifiedGetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedGetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "InlineQualifiedGet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateQualifiedSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "QualifiedSetName" - value "set_$target") - (object Attribute - tool "cg" - name "QualifiedSetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineQualifiedSet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateAssocClassDataMember" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassDataMemberName" - value "$target") - (object Attribute - tool "cg" - name "AssocClassDataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtRelationshipVisibility" - value 210))) - (object Attribute - tool "cg" - name "AssocClassDataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "AssocClassDataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "AssocClassGetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GenerateAssocClassGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassGetName" - value "get_$target") - (object Attribute - tool "cg" - name "AssocClassGetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassGetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "InlineAssocClassGet" - value TRUE) - (object Attribute - tool "cg" - name "GenerateAssocClassSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassSetName" - value "set_$target") - (object Attribute - tool "cg" - name "AssocClassSetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineAssocClassSet" - value TRUE) - (object Attribute - tool "cg" - name "AssocClassForwardReferenceOnly" - value TRUE) - (object Attribute - tool "cg" - name "AssocTypeSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Array" - value 24) - (object Attribute - tool "cg" - name "Sequence" - value 47))))) - (object Attribute - tool "cg" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "GenerateDataMember" - value TRUE) - (object Attribute - tool "cg" - name "DataMemberName" - value "$attribute") - (object Attribute - tool "cg" - name "DataMemberVisibility" - value ("DataMemberVisibilitySet" 14)) - (object Attribute - tool "cg" - name "DataMemberVisibilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Public" - value 45) - (object Attribute - tool "cg" - name "Protected" - value 44) - (object Attribute - tool "cg" - name "Private" - value 43) - (object Attribute - tool "cg" - name "Implementation" - value 14) - (object Attribute - tool "cg" - name "AtAttributeVisibility" - value 211))) - (object Attribute - tool "cg" - name "DataMemberMutability" - value ("DataMemberMutabilitySet" 0)) - (object Attribute - tool "cg" - name "DataMemberMutabilitySet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Unrestricted" - value 0) - (object Attribute - tool "cg" - name "Mutable" - value 1) - (object Attribute - tool "cg" - name "Const" - value 2))) - (object Attribute - tool "cg" - name "DataMemberIsVolatile" - value FALSE) - (object Attribute - tool "cg" - name "DataMemberFieldSize" - value "") - (object Attribute - tool "cg" - name "GenerateGetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GenerateSetOperation" - value TRUE) - (object Attribute - tool "cg" - name "GetName" - value "get_$attribute") - (object Attribute - tool "cg" - name "SetName" - value "set_$attribute") - (object Attribute - tool "cg" - name "GetSetKinds" - value ("GetSetKindsSet" 200)) - (object Attribute - tool "cg" - name "GetSetKindsSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Common" - value 200) - (object Attribute - tool "cg" - name "Virtual" - value 201) - (object Attribute - tool "cg" - name "Abstract" - value 202) - (object Attribute - tool "cg" - name "Static" - value 203) - (object Attribute - tool "cg" - name "Friend" - value 204))) - (object Attribute - tool "cg" - name "GetIsConst" - value TRUE) - (object Attribute - tool "cg" - name "GetResultIsConst" - value ("GetResultIsConstSet" 2)) - (object Attribute - tool "cg" - name "GetResultIsConstSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "False" - value 0) - (object Attribute - tool "cg" - name "True" - value 1) - (object Attribute - tool "cg" - name "Same_As_Function" - value 2))) - (object Attribute - tool "cg" - name "GetSetByReference" - value FALSE) - (object Attribute - tool "cg" - name "InlineGet" - value TRUE) - (object Attribute - tool "cg" - name "SetReturnsValue" - value FALSE) - (object Attribute - tool "cg" - name "InlineSet" - value TRUE) - (object Attribute - tool "cg" - name "CCRegion" - value ""))) - (object Attribute - tool "cg" - name "default__Uses" - value (list Attribute_Set - (object Attribute - tool "cg" - name "ForwardReferenceOnly" - value FALSE) - (object Attribute - tool "cg" - name "BodyReferenceOnly" - value FALSE))) - (object Attribute - tool "cg" - name "default__Subsystem" - value (list Attribute_Set - (object Attribute - tool "cg" - name "Directory" - value "AUTO GENERATE") - (object Attribute - tool "cg" - name "DirectoryIsOnSearchList" - value FALSE) - (object Attribute - tool "cg" - name "PrecompiledHeader" - value ""))) - (object Attribute - tool "cg" - name "default__Category" - value (list Attribute_Set - (object Attribute - tool "cg" - name "IsNamespace" - value FALSE) - (object Attribute - tool "cg" - name "Indent" - value 2) - (object Attribute - tool "cg" - name "CodeName" - value "") - (object Attribute - tool "cg" - name "GenerateEmptyRegions" - value ("GenerateEmptyRegionSet" 3)) - (object Attribute - tool "cg" - name "GenerateEmptyRegionSet" - value (list Attribute_Set - (object Attribute - tool "cg" - name "None" - value 0) - (object Attribute - tool "cg" - name "Preserved" - value 1) - (object Attribute - tool "cg" - name "Unpreserved" - value 2) - (object Attribute - tool "cg" - name "All" - value 3))))) - (object Attribute - tool "MSVC" - name "propertyId" - value "809135966") - (object Attribute - tool "MSVC" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Version" - value "5.0"))) - (object Attribute - tool "MSVC" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCClassTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCClassTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Interface_Part" - value 1) - (object Attribute - tool "MSVC" - name "Connection_Part" - value 2) - (object Attribute - tool "MSVC" - name "Class_Factory" - value 3))) - (object Attribute - tool "MSVC" - name "CObjectFunctionality" - value ("CObjectFunctionalitySet" 0)) - (object Attribute - tool "MSVC" - name "CObjectFunctionalitySet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "None" - value 0) - (object Attribute - tool "MSVC" - name "Dynamic" - value 1) - (object Attribute - tool "MSVC" - name "Dyncreate" - value 2) - (object Attribute - tool "MSVC" - name "Serial" - value 3))) - (object Attribute - tool "MSVC" - name "GenerateOverrideGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "GenerateDataGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_DATA_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateFieldGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_FIELD_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateMessageGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "GenerateMessageMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_MSG_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MESSAGE_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "OLEFactory" - value ("OLEFactorySet" 0)) - (object Attribute - tool "MSVC" - name "OLEFactorySet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "None" - value 0) - (object Attribute - tool "MSVC" - name "Built_in" - value 1) - (object Attribute - tool "MSVC" - name "Simple" - value 2) - (object Attribute - tool "MSVC" - name "Licensed" - value 3))) - (object Attribute - tool "MSVC" - name "OLEName" - value "") - (object Attribute - tool "MSVC" - name "OLEClassID" - value "") - (object Attribute - tool "MSVC" - name "GenerateOLECtlType" - value FALSE) - (object Attribute - tool "MSVC" - name "OLECtlType" - value "") - (object Attribute - tool "MSVC" - name "GenerateOLETypeLib" - value FALSE) - (object Attribute - tool "MSVC" - name "OLETypeLibID" - value "") - (object Attribute - tool "MSVC" - name "OLETypeLibMajor" - value "") - (object Attribute - tool "MSVC" - name "OLETypeLibMinor" - value "") - (object Attribute - tool "MSVC" - name "GeneratePropPageIDs" - value FALSE) - (object Attribute - tool "MSVC" - name "OLEPropPageIDs" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateDispatchMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "StockProperties" - value (value Text "")) - (object Attribute - tool "MSVC" - name "StockFunctions" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DispatchDefValue" - value "") - (object Attribute - tool "MSVC" - name "GenerateDispIdEnum" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_DISP_ID_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateInterfaceMap" - value FALSE) - (object Attribute - tool "MSVC" - name "INTERFACE_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "InitInterface" - value "") - (object Attribute - tool "MSVC" - name "GenerateEventMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_EVENT_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "StockEvents" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateEventSinkMap" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_EVENTSINK_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "PropNotifySinks" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateConnectionMap" - value FALSE) - (object Attribute - tool "MSVC" - name "CONNECTION_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "ConnectionPointIID" - value "") - (object Attribute - tool "MSVC" - name "InheritanceType" - value "") - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "OLECommands" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MFCDeclares" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MFCImplements" - value (value Text "")) - (object Attribute - tool "MSVC" - name "ATL_Declares" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateCOMMap" - value FALSE) - (object Attribute - tool "MSVC" - name "COM_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateConnectionPointMap" - value FALSE) - (object Attribute - tool "MSVC" - name "CONNECTION_POINT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateMsgMap" - value FALSE) - (object Attribute - tool "MSVC" - name "MSG_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GeneratePropertyMap" - value FALSE) - (object Attribute - tool "MSVC" - name "PROPERTY_MAP_Entries" - value (value Text "")))) - (object Attribute - tool "MSVC" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCOperationTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCOperationTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Virtual_Override" - value 1) - (object Attribute - tool "MSVC" - name "Message_Handler" - value 2) - (object Attribute - tool "MSVC" - name "Dispatch_Handler" - value 3) - (object Attribute - tool "MSVC" - name "Event_Firing_Function" - value 4) - (object Attribute - tool "MSVC" - name "Event_Sink_Handler" - value 5) - (object Attribute - tool "MSVC" - name "Std_OLE_Method" - value 6) - (object Attribute - tool "MSVC" - name "Command_Parser" - value 7) - (object Attribute - tool "MSVC" - name "Property_Get_Function" - value 8) - (object Attribute - tool "MSVC" - name "Property_Set_Function" - value 9) - (object Attribute - tool "MSVC" - name "Property_Notify_Function" - value 10) - (object Attribute - tool "MSVC" - name "Macro_Generated_Function" - value 11))) - (object Attribute - tool "MSVC" - name "AFX_MSG_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "MESSAGE_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENT_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "AFX_EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "EVENTSINK_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "BodyImage" - value (value Text "")))) - (object Attribute - tool "MSVC" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCAttributeTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCAttributeTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Member_Property" - value 1) - (object Attribute - tool "MSVC" - name "Get_Set_Property" - value 2) - (object Attribute - tool "MSVC" - name "Dialog_Data" - value 3) - (object Attribute - tool "MSVC" - name "Field_Data" - value 4) - (object Attribute - tool "MSVC" - name "Stock_Property" - value 5))) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "PointerBase" - value "") - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "StockPropertyImplementation" - value ""))) - (object Attribute - tool "MSVC" - name "default__Has" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCAttributeTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCAttributeTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Member_Property" - value 1) - (object Attribute - tool "MSVC" - name "Get_Set_Property" - value 2) - (object Attribute - tool "MSVC" - name "Dialog_Data" - value 3) - (object Attribute - tool "MSVC" - name "Field_Data" - value 4) - (object Attribute - tool "MSVC" - name "Stock_Property" - value 5))) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "PointerBase" - value "") - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "StockPropertyImplementation" - value ""))) - (object Attribute - tool "MSVC" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Type" - value ("MSVCAttributeTypeSet" 0)) - (object Attribute - tool "MSVC" - name "MSVCAttributeTypeSet" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "Normal" - value 0) - (object Attribute - tool "MSVC" - name "Member_Property" - value 1) - (object Attribute - tool "MSVC" - name "Get_Set_Property" - value 2) - (object Attribute - tool "MSVC" - name "Dialog_Data" - value 3) - (object Attribute - tool "MSVC" - name "Field_Data" - value 4) - (object Attribute - tool "MSVC" - name "Stock_Property" - value 5))) - (object Attribute - tool "MSVC" - name "AFX_DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DISPATCH_MAP_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "DeclSpec" - value "") - (object Attribute - tool "MSVC" - name "PointerBase" - value "") - (object Attribute - tool "MSVC" - name "CallType" - value "") - (object Attribute - tool "MSVC" - name "StockPropertyImplementation" - value ""))) - (object Attribute - tool "MSVC" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "GenerateIncludesGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_INCLUDES_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateInsertLocation" - value FALSE))) - (object Attribute - tool "MSVC" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "MSVC" - name "GenerateIncludesGroup" - value FALSE) - (object Attribute - tool "MSVC" - name "AFX_INCLUDES_Entries" - value (value Text "")) - (object Attribute - tool "MSVC" - name "GenerateInsertLocation" - value FALSE))) - (object Attribute - tool "cg" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Rose Model Integrator" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Rose Web Publisher" - name "HiddenTool" - value FALSE) - (object Attribute - tool "SoDA" - name "HiddenTool" - value FALSE) - (object Attribute - tool "TopLink" - name "HiddenTool" - value FALSE) - (object Attribute - tool "COM" - name "propertyId" - value "783606378") - (object Attribute - tool "COM" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "COM" - name "TypeKinds" - value (list Attribute_Set - (object Attribute - tool "COM" - name "enum" - value 100) - (object Attribute - tool "COM" - name "record" - value 101) - (object Attribute - tool "COM" - name "module" - value 102) - (object Attribute - tool "COM" - name "interface" - value 103) - (object Attribute - tool "COM" - name "dispinterface" - value 104) - (object Attribute - tool "COM" - name "coclass" - value 105) - (object Attribute - tool "COM" - name "alias" - value 106) - (object Attribute - tool "COM" - name "union" - value 107) - (object Attribute - tool "COM" - name "max" - value 108) - (object Attribute - tool "COM" - name "(none)" - value 109))) - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "kind" - value ("TypeKinds" 109)) - (object Attribute - tool "COM" - name "uuid" - value "") - (object Attribute - tool "COM" - name "version" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "helpcontext" - value "") - (object Attribute - tool "COM" - name "attributes" - value "") - (object Attribute - tool "COM" - name "dllname" - value "") - (object Attribute - tool "COM" - name "alias" - value ""))) - (object Attribute - tool "COM" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "id" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "id" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "COM" - name "Generate" - value TRUE) - (object Attribute - tool "COM" - name "filename" - value "") - (object Attribute - tool "COM" - name "library" - value "") - (object Attribute - tool "COM" - name "uuid" - value "") - (object Attribute - tool "COM" - name "version" - value "") - (object Attribute - tool "COM" - name "helpstring" - value "") - (object Attribute - tool "COM" - name "helpfile" - value "") - (object Attribute - tool "COM" - name "helpcontext" - value "") - (object Attribute - tool "COM" - name "lcid" - value "") - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "default__Param" - value (list Attribute_Set - (object Attribute - tool "COM" - name "attributes" - value ""))) - (object Attribute - tool "COM" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Visual Basic" - name "propertyId" - value "783606378") - (object Attribute - tool "Visual Basic" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "UpdateCode" - value TRUE) - (object Attribute - tool "Visual Basic" - name "UpdateModel" - value TRUE) - (object Attribute - tool "Visual Basic" - name "InstancingSet" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "Private" - value 221) - (object Attribute - tool "Visual Basic" - name "PublicNotCreatable" - value 213) - (object Attribute - tool "Visual Basic" - name "SingleUse" - value 214) - (object Attribute - tool "Visual Basic" - name "GlobalSingleUse" - value 215) - (object Attribute - tool "Visual Basic" - name "MultiUse" - value 219) - (object Attribute - tool "Visual Basic" - name "GlobalMultiUse" - value 220))) - (object Attribute - tool "Visual Basic" - name "BaseSet" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "(none)" - value 222) - (object Attribute - tool "Visual Basic" - name "0" - value 223) - (object Attribute - tool "Visual Basic" - name "1" - value 224))) - (object Attribute - tool "Visual Basic" - name "OptionBase" - value ("BaseSet" 222)) - (object Attribute - tool "Visual Basic" - name "OptionExplicit" - value TRUE) - (object Attribute - tool "Visual Basic" - name "OptionCompare" - value ("CompareSet" 202)) - (object Attribute - tool "Visual Basic" - name "Instancing" - value ("InstancingSet" 219)) - (object Attribute - tool "Visual Basic" - name "CompareSet" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "(none)" - value 202) - (object Attribute - tool "Visual Basic" - name "Binary" - value 203) - (object Attribute - tool "Visual Basic" - name "Text" - value 204))))) - (object Attribute - tool "Visual Basic" - name "default__Operation" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "LibraryName" - value "") - (object Attribute - tool "Visual Basic" - name "AliasName" - value "") - (object Attribute - tool "Visual Basic" - name "IsStatic" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ProcedureID" - value "") - (object Attribute - tool "Visual Basic" - name "ReplaceExistingBody" - value FALSE) - (object Attribute - tool "Visual Basic" - name "DefaultBody" - value (value Text "")))) - (object Attribute - tool "Visual Basic" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "New" - value FALSE) - (object Attribute - tool "Visual Basic" - name "WithEvents" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ProcedureID" - value "") - (object Attribute - tool "Visual Basic" - name "PropertyName" - value "") - (object Attribute - tool "Visual Basic" - name "Subscript" - value ""))) - (object Attribute - tool "Visual Basic" - name "default__Role" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "UpdateCode" - value TRUE) - (object Attribute - tool "Visual Basic" - name "New" - value FALSE) - (object Attribute - tool "Visual Basic" - name "WithEvents" - value FALSE) - (object Attribute - tool "Visual Basic" - name "FullName" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ProcedureID" - value "") - (object Attribute - tool "Visual Basic" - name "PropertyName" - value "") - (object Attribute - tool "Visual Basic" - name "Subscript" - value ""))) - (object Attribute - tool "Visual Basic" - name "default__Inherit" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "ImplementsDelegation" - value TRUE) - (object Attribute - tool "Visual Basic" - name "FullName" - value FALSE))) - (object Attribute - tool "Visual Basic" - name "default__Param" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "ByVal" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ByRef" - value FALSE) - (object Attribute - tool "Visual Basic" - name "Optional" - value FALSE) - (object Attribute - tool "Visual Basic" - name "ParamArray" - value FALSE))) - (object Attribute - tool "Visual Basic" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "Visual Basic" - name "ProjectFile" - value "") - (object Attribute - tool "Visual Basic" - name "UpdateCode" - value TRUE) - (object Attribute - tool "Visual Basic" - name "UpdateModel" - value TRUE) - (object Attribute - tool "Visual Basic" - name "ImportReferences" - value TRUE) - (object Attribute - tool "Visual Basic" - name "QuickImport" - value TRUE) - (object Attribute - tool "Visual Basic" - name "ImportBinary" - value FALSE))) - (object Attribute - tool "Visual Basic" - name "HiddenTool" - value FALSE) - (object Attribute - tool "VisualStudio" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Web Modeler" - name "HiddenTool" - value FALSE) - (object Attribute - tool "XML_DTD" - name "propertyId" - value "809135966") - (object Attribute - tool "XML_DTD" - name "default__Project" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "CreateMissingDirectories" - value TRUE) - (object Attribute - tool "XML_DTD" - name "Editor" - value ("EditorType" 100)) - (object Attribute - tool "XML_DTD" - name "StopOnError" - value TRUE) - (object Attribute - tool "XML_DTD" - name "EditorType" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "BuiltIn" - value 100) - (object Attribute - tool "XML_DTD" - name "WindowsShell" - value 101))))) - (object Attribute - tool "XML_DTD" - name "default__Class" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "Entity_SystemID" - value "") - (object Attribute - tool "XML_DTD" - name "Entity_PublicID" - value "") - (object Attribute - tool "XML_DTD" - name "NotationValue" - value "") - (object Attribute - tool "XML_DTD" - name "InternalValue" - value "") - (object Attribute - tool "XML_DTD" - name "ParameterEntity" - value FALSE) - (object Attribute - tool "XML_DTD" - name "ExternalEntity" - value FALSE) - (object Attribute - tool "XML_DTD" - name "Notation_SystemID" - value "") - (object Attribute - tool "XML_DTD" - name "Notation_PublicID" - value ""))) - (object Attribute - tool "XML_DTD" - name "default__Attribute" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "DefaultDeclType" - value ""))) - (object Attribute - tool "XML_DTD" - name "default__Module-Spec" - value (list Attribute_Set - (object Attribute - tool "XML_DTD" - name "Assign All" - value FALSE) - (object Attribute - tool "XML_DTD" - name "ComponentPath" - value ""))) - (object Attribute - tool "XML_DTD" - name "HiddenTool" - value FALSE) - (object Attribute - tool "framework" - name "HiddenTool" - value FALSE) - (object Attribute - tool "R2Editor" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Version Control" - name "HiddenTool" - value FALSE) - (object Attribute - tool "Cplusplus" - name "default__Module-Body" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Synchronize" - value TRUE) - (object Attribute - tool "Cplusplus" - name "RevEngRootDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "RootPackage" - value "C++ Reverse Engineered") - (object Attribute - tool "Cplusplus" - name "RevEngDirectoriesAsPackages" - value FALSE) - (object Attribute - tool "Cplusplus" - name "HeaderFileExtension" - value ".h") - (object Attribute - tool "Cplusplus" - name "ImplementationFileExtension" - value ".cpp") - (object Attribute - tool "Cplusplus" - name "NewHeaderFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "NewImplementationFileDirectory" - value "") - (object Attribute - tool "Cplusplus" - name "FileCapitalization" - value ("FileCapitalizationSet" 0)) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectories" - value ("CodeGenExtraDirectoriesSet" 0)) - (object Attribute - tool "Cplusplus" - name "StripClassPrefix" - value "") - (object Attribute - tool "Cplusplus" - name "UseTabs" - value FALSE) - (object Attribute - tool "Cplusplus" - name "TabWidth" - value 8) - (object Attribute - tool "Cplusplus" - name "IndentWidth" - value 4) - (object Attribute - tool "Cplusplus" - name "AccessIndentation" - value -2) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRules" - value ("ModelIdCommentRulesSet" 1)) - (object Attribute - tool "Cplusplus" - name "PageWidth" - value 80) - (object Attribute - tool "Cplusplus" - name "ClassMemberOrder" - value ("MemberOrderSet" 1)) - (object Attribute - tool "Cplusplus" - name "OneParameterPerLine" - value FALSE) - (object Attribute - tool "Cplusplus" - name "NamespaceBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "ClassBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "FunctionBraceStyle" - value ("BraceStyleSet" 2)) - (object Attribute - tool "Cplusplus" - name "Copyright" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "InitialHeaderIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "InitialBodyIncludes" - value (value Text "")) - (object Attribute - tool "Cplusplus" - name "CodeGenExtraDirectoriesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "None" - value 0) - (object Attribute - tool "Cplusplus" - name "Namespaces" - value 1) - (object Attribute - tool "Cplusplus" - name "Packages" - value 2))) - (object Attribute - tool "Cplusplus" - name "FileCapitalizationSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Same as model" - value 0) - (object Attribute - tool "Cplusplus" - name "Lower case" - value 1) - (object Attribute - tool "Cplusplus" - name "Upper case" - value 2) - (object Attribute - tool "Cplusplus" - name "Lower case with underscores" - value 3))) - (object Attribute - tool "Cplusplus" - name "BraceStyleSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "B1" - value 1) - (object Attribute - tool "Cplusplus" - name "B2" - value 2) - (object Attribute - tool "Cplusplus" - name "B3" - value 3) - (object Attribute - tool "Cplusplus" - name "B4" - value 4) - (object Attribute - tool "Cplusplus" - name "B5" - value 5))) - (object Attribute - tool "Cplusplus" - name "MemberOrderSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Public First" - value 1) - (object Attribute - tool "Cplusplus" - name "Private First" - value 2) - (object Attribute - tool "Cplusplus" - name "Order by kind" - value 3) - (object Attribute - tool "Cplusplus" - name "Unordered" - value 4))) - (object Attribute - tool "Cplusplus" - name "ModelIdCommentRulesSet" - value (list Attribute_Set - (object Attribute - tool "Cplusplus" - name "Code generation only" - value 1) - (object Attribute - tool "Cplusplus" - name "Code generation and reverse engineering" - value 2) - (object Attribute - tool "Cplusplus" - name "Never generate model IDs" - value 3))))) - (object Attribute - tool "Deploy" - name "HiddenTool" - value FALSE)) - quid "39EDFBE003B9"))