delete obsolete EngineTimings

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2030 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-11-16 18:22:49 +00:00
parent 2c4f34b99c
commit cbb2795528
17 changed files with 0 additions and 1273 deletions

View File

@ -33,9 +33,6 @@ Export-Package: .,
com.ibm.wala.ecore.java.scope.impl,
com.ibm.wala.ecore.java.scope.util,
com.ibm.wala.ecore.java.util,
com.ibm.wala.ecore.perf,
com.ibm.wala.ecore.perf.impl,
com.ibm.wala.ecore.perf.util,
com.ibm.wala.ecore.regex,
com.ibm.wala.ecore.regex.impl,
com.ibm.wala.ecore.regex.util

View File

@ -38,8 +38,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -179,7 +177,6 @@ public class CommonPackageImpl extends EPackageImpl implements CommonPackage {
// Obtain or create and register interdependencies
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
@ -190,7 +187,6 @@ public class CommonPackageImpl extends EPackageImpl implements CommonPackage {
theCommonPackage.createPackageContents();
theGraphPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
@ -201,7 +197,6 @@ public class CommonPackageImpl extends EPackageImpl implements CommonPackage {
theCommonPackage.initializePackageContents();
theGraphPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();

View File

@ -27,8 +27,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -112,7 +110,6 @@ public class GraphPackageImpl extends EPackageImpl implements GraphPackage {
// Obtain or create and register interdependencies
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
@ -123,7 +120,6 @@ public class GraphPackageImpl extends EPackageImpl implements GraphPackage {
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
@ -134,7 +130,6 @@ public class GraphPackageImpl extends EPackageImpl implements GraphPackage {
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();

View File

@ -28,8 +28,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -122,7 +120,6 @@ public class J2EEScopePackageImpl extends EPackageImpl implements J2EEScopePacka
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
@ -133,7 +130,6 @@ public class J2EEScopePackageImpl extends EPackageImpl implements J2EEScopePacka
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
@ -144,7 +140,6 @@ public class J2EEScopePackageImpl extends EPackageImpl implements J2EEScopePacka
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();

View File

@ -26,8 +26,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -105,7 +103,6 @@ public class CallGraphPackageImpl extends EPackageImpl implements CallGraphPacka
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
JavaScopePackageImpl theJavaScopePackage = (JavaScopePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) instanceof JavaScopePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) : JavaScopePackage.eINSTANCE);
@ -116,7 +113,6 @@ public class CallGraphPackageImpl extends EPackageImpl implements CallGraphPacka
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
theJavaScopePackage.createPackageContents();
@ -127,7 +123,6 @@ public class CallGraphPackageImpl extends EPackageImpl implements CallGraphPacka
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();
theJavaScopePackage.initializePackageContents();

View File

@ -34,8 +34,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -155,7 +153,6 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
JavaScopePackageImpl theJavaScopePackage = (JavaScopePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) instanceof JavaScopePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) : JavaScopePackage.eINSTANCE);
@ -166,7 +163,6 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
theJavaScopePackage.createPackageContents();
@ -177,7 +173,6 @@ public class JavaPackageImpl extends EPackageImpl implements JavaPackage {
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();
theJavaScopePackage.initializePackageContents();

View File

@ -35,8 +35,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisFactory;
import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -170,7 +168,6 @@ public class PointerAnalysisPackageImpl extends EPackageImpl implements PointerA
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
JavaScopePackageImpl theJavaScopePackage = (JavaScopePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) instanceof JavaScopePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) : JavaScopePackage.eINSTANCE);
@ -181,7 +178,6 @@ public class PointerAnalysisPackageImpl extends EPackageImpl implements PointerA
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
theJavaScopePackage.createPackageContents();
@ -192,7 +188,6 @@ public class PointerAnalysisPackageImpl extends EPackageImpl implements PointerA
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
theJavaScopePackage.initializePackageContents();

View File

@ -38,8 +38,6 @@ import com.ibm.wala.ecore.java.scope.ESourceFile;
import com.ibm.wala.ecore.java.scope.EStandardClassLoader;
import com.ibm.wala.ecore.java.scope.JavaScopeFactory;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
@ -187,7 +185,6 @@ public class JavaScopePackageImpl extends EPackageImpl implements JavaScopePacka
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
@ -198,7 +195,6 @@ public class JavaScopePackageImpl extends EPackageImpl implements JavaScopePacka
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
@ -209,7 +205,6 @@ public class JavaScopePackageImpl extends EPackageImpl implements JavaScopePacka
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();

View File

@ -1,108 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EPhase Timing</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link com.ibm.wala.ecore.perf.EPhaseTiming#getName <em>Name</em>}</li>
* <li>{@link com.ibm.wala.ecore.perf.EPhaseTiming#getMillis <em>Millis</em>}</li>
* <li>{@link com.ibm.wala.ecore.perf.EPhaseTiming#getOrder <em>Order</em>}</li>
* </ul>
* </p>
*
* @see com.ibm.wala.ecore.perf.PerfPackage#getEPhaseTiming()
* @model
* @generated
*/
public interface EPhaseTiming extends EObject {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see com.ibm.wala.ecore.perf.PerfPackage#getEPhaseTiming_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link com.ibm.wala.ecore.perf.EPhaseTiming#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>Millis</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Millis</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Millis</em>' attribute.
* @see #setMillis(long)
* @see com.ibm.wala.ecore.perf.PerfPackage#getEPhaseTiming_Millis()
* @model required="true"
* @generated
*/
long getMillis();
/**
* Sets the value of the '{@link com.ibm.wala.ecore.perf.EPhaseTiming#getMillis <em>Millis</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Millis</em>' attribute.
* @see #getMillis()
* @generated
*/
void setMillis(long value);
/**
* Returns the value of the '<em><b>Order</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Order</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Order</em>' attribute.
* @see #setOrder(int)
* @see com.ibm.wala.ecore.perf.PerfPackage#getEPhaseTiming_Order()
* @model required="true"
* @generated
*/
int getOrder();
/**
* Sets the value of the '{@link com.ibm.wala.ecore.perf.EPhaseTiming#getOrder <em>Order</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Order</em>' attribute.
* @see #getOrder()
* @generated
*/
void setOrder(int value);
} // EPhaseTiming

View File

@ -1,46 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- 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 com.ibm.wala.ecore.perf.PerfPackage
* @generated
*/
public interface PerfFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
PerfFactory eINSTANCE = com.ibm.wala.ecore.perf.impl.PerfFactoryImpl.init();
/**
* Returns a new object of class '<em>EPhase Timing</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>EPhase Timing</em>'.
* @generated
*/
EPhaseTiming createEPhaseTiming();
/**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
PerfPackage getPerfPackage();
} //PerfFactory

View File

@ -1,209 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
/**
* <!-- 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 -->
* @see com.ibm.wala.ecore.perf.PerfFactory
* @model kind="package"
* @generated
*/
public interface PerfPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNAME = "perf";
/**
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http:///com/ibm/wala/wala.ecore.perf";
/**
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "com.ibm.wala.perf";
/**
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
PerfPackage eINSTANCE = com.ibm.wala.ecore.perf.impl.PerfPackageImpl.init();
/**
* The meta object id for the '{@link com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl <em>EPhase Timing</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl
* @see com.ibm.wala.ecore.perf.impl.PerfPackageImpl#getEPhaseTiming()
* @generated
*/
int EPHASE_TIMING = 0;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int EPHASE_TIMING__NAME = 0;
/**
* The feature id for the '<em><b>Millis</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int EPHASE_TIMING__MILLIS = 1;
/**
* The feature id for the '<em><b>Order</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int EPHASE_TIMING__ORDER = 2;
/**
* The number of structural features of the '<em>EPhase Timing</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int EPHASE_TIMING_FEATURE_COUNT = 3;
/**
* Returns the meta object for class '{@link com.ibm.wala.ecore.perf.EPhaseTiming <em>EPhase Timing</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>EPhase Timing</em>'.
* @see com.ibm.wala.ecore.perf.EPhaseTiming
* @generated
*/
EClass getEPhaseTiming();
/**
* Returns the meta object for the attribute '{@link com.ibm.wala.ecore.perf.EPhaseTiming#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Name</em>'.
* @see com.ibm.wala.ecore.perf.EPhaseTiming#getName()
* @see #getEPhaseTiming()
* @generated
*/
EAttribute getEPhaseTiming_Name();
/**
* Returns the meta object for the attribute '{@link com.ibm.wala.ecore.perf.EPhaseTiming#getMillis <em>Millis</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Millis</em>'.
* @see com.ibm.wala.ecore.perf.EPhaseTiming#getMillis()
* @see #getEPhaseTiming()
* @generated
*/
EAttribute getEPhaseTiming_Millis();
/**
* Returns the meta object for the attribute '{@link com.ibm.wala.ecore.perf.EPhaseTiming#getOrder <em>Order</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Order</em>'.
* @see com.ibm.wala.ecore.perf.EPhaseTiming#getOrder()
* @see #getEPhaseTiming()
* @generated
*/
EAttribute getEPhaseTiming_Order();
/**
* 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
*/
PerfFactory getPerfFactory();
/**
* <!-- begin-user-doc -->
* Defines literals for the meta objects that 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 -->
* @generated
*/
interface Literals {
/**
* The meta object literal for the '{@link com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl <em>EPhase Timing</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl
* @see com.ibm.wala.ecore.perf.impl.PerfPackageImpl#getEPhaseTiming()
* @generated
*/
EClass EPHASE_TIMING = eINSTANCE.getEPhaseTiming();
/**
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute EPHASE_TIMING__NAME = eINSTANCE.getEPhaseTiming_Name();
/**
* The meta object literal for the '<em><b>Millis</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute EPHASE_TIMING__MILLIS = eINSTANCE.getEPhaseTiming_Millis();
/**
* The meta object literal for the '<em><b>Order</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute EPHASE_TIMING__ORDER = eINSTANCE.getEPhaseTiming_Order();
}
} //PerfPackage

View File

@ -1,267 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import com.ibm.wala.ecore.perf.EPhaseTiming;
import com.ibm.wala.ecore.perf.PerfPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>EPhase Timing</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl#getName <em>Name</em>}</li>
* <li>{@link com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl#getMillis <em>Millis</em>}</li>
* <li>{@link com.ibm.wala.ecore.perf.impl.EPhaseTimingImpl#getOrder <em>Order</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class EPhaseTimingImpl extends EObjectImpl implements EPhaseTiming {
/**
* 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 default value of the '{@link #getMillis() <em>Millis</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMillis()
* @generated
* @ordered
*/
protected static final long MILLIS_EDEFAULT = 0L;
/**
* The cached value of the '{@link #getMillis() <em>Millis</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMillis()
* @generated
* @ordered
*/
protected long millis = MILLIS_EDEFAULT;
/**
* The default value of the '{@link #getOrder() <em>Order</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOrder()
* @generated
* @ordered
*/
protected static final int ORDER_EDEFAULT = 0;
/**
* The cached value of the '{@link #getOrder() <em>Order</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOrder()
* @generated
* @ordered
*/
protected int order = ORDER_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected EPhaseTimingImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected EClass eStaticClass() {
return PerfPackage.Literals.EPHASE_TIMING;
}
/**
* <!-- 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, PerfPackage.EPHASE_TIMING__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public long getMillis() {
return millis;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setMillis(long newMillis) {
long oldMillis = millis;
millis = newMillis;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerfPackage.EPHASE_TIMING__MILLIS, oldMillis, millis));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getOrder() {
return order;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOrder(int newOrder) {
int oldOrder = order;
order = newOrder;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PerfPackage.EPHASE_TIMING__ORDER, oldOrder, order));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PerfPackage.EPHASE_TIMING__NAME:
return getName();
case PerfPackage.EPHASE_TIMING__MILLIS:
return new Long(getMillis());
case PerfPackage.EPHASE_TIMING__ORDER:
return new Integer(getOrder());
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PerfPackage.EPHASE_TIMING__NAME:
setName((String)newValue);
return;
case PerfPackage.EPHASE_TIMING__MILLIS:
setMillis(((Long)newValue).longValue());
return;
case PerfPackage.EPHASE_TIMING__ORDER:
setOrder(((Integer)newValue).intValue());
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void eUnset(int featureID) {
switch (featureID) {
case PerfPackage.EPHASE_TIMING__NAME:
setName(NAME_EDEFAULT);
return;
case PerfPackage.EPHASE_TIMING__MILLIS:
setMillis(MILLIS_EDEFAULT);
return;
case PerfPackage.EPHASE_TIMING__ORDER:
setOrder(ORDER_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean eIsSet(int featureID) {
switch (featureID) {
case PerfPackage.EPHASE_TIMING__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case PerfPackage.EPHASE_TIMING__MILLIS:
return millis != MILLIS_EDEFAULT;
case PerfPackage.EPHASE_TIMING__ORDER:
return order != ORDER_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
result.append(name);
result.append(", millis: ");
result.append(millis);
result.append(", order: ");
result.append(order);
result.append(')');
return result.toString();
}
} //EPhaseTimingImpl

View File

@ -1,99 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import com.ibm.wala.annotations.Internal;
import com.ibm.wala.ecore.perf.EPhaseTiming;
import com.ibm.wala.ecore.perf.PerfFactory;
import com.ibm.wala.ecore.perf.PerfPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
* @generated
*/
public class PerfFactoryImpl extends EFactoryImpl implements PerfFactory {
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static PerfFactory init() {
try {
PerfFactory thePerfFactory = (PerfFactory)EPackage.Registry.INSTANCE.getEFactory("http:///com/ibm/wala/wala.ecore.perf");
if (thePerfFactory != null) {
return thePerfFactory;
}
}
catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new PerfFactoryImpl();
}
/**
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Internal
public PerfFactoryImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case PerfPackage.EPHASE_TIMING: return createEPhaseTiming();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EPhaseTiming createEPhaseTiming() {
EPhaseTimingImpl ePhaseTiming = new EPhaseTimingImpl();
return ePhaseTiming;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerfPackage getPerfPackage() {
return (PerfPackage)getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @deprecated
* @generated
*/
public static PerfPackage getPackage() {
return PerfPackage.eINSTANCE;
}
} //PerfFactoryImpl

View File

@ -1,247 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import com.ibm.wala.ecore.common.CommonPackage;
import com.ibm.wala.ecore.common.impl.CommonPackageImpl;
import com.ibm.wala.ecore.graph.GraphPackage;
import com.ibm.wala.ecore.graph.impl.GraphPackageImpl;
import com.ibm.wala.ecore.j2ee.scope.J2EEScopePackage;
import com.ibm.wala.ecore.j2ee.scope.impl.J2EEScopePackageImpl;
import com.ibm.wala.ecore.java.JavaPackage;
import com.ibm.wala.ecore.java.callGraph.CallGraphPackage;
import com.ibm.wala.ecore.java.callGraph.impl.CallGraphPackageImpl;
import com.ibm.wala.ecore.java.impl.JavaPackageImpl;
import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.EPhaseTiming;
import com.ibm.wala.ecore.perf.PerfFactory;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.regex.RegexPackage;
import com.ibm.wala.ecore.regex.impl.RegexPackageImpl;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class PerfPackageImpl extends EPackageImpl implements PerfPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass ePhaseTimingEClass = 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 com.ibm.wala.ecore.perf.PerfPackage#eNS_URI
* @see #init()
* @generated
*/
private PerfPackageImpl() {
super(eNS_URI, PerfFactory.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 PerfPackage init() {
if (isInited) return (PerfPackage)EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI);
// Obtain or create and register package
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new PerfPackageImpl());
isInited = true;
// Obtain or create and register interdependencies
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
RegexPackageImpl theRegexPackage = (RegexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) instanceof RegexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegexPackage.eNS_URI) : RegexPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
JavaScopePackageImpl theJavaScopePackage = (JavaScopePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) instanceof JavaScopePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaScopePackage.eNS_URI) : JavaScopePackage.eINSTANCE);
J2EEScopePackageImpl theJ2EEScopePackage = (J2EEScopePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(J2EEScopePackage.eNS_URI) instanceof J2EEScopePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(J2EEScopePackage.eNS_URI) : J2EEScopePackage.eINSTANCE);
// Create package meta-data objects
thePerfPackage.createPackageContents();
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
theRegexPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
theJavaScopePackage.createPackageContents();
theJ2EEScopePackage.createPackageContents();
// Initialize created meta-data
thePerfPackage.initializePackageContents();
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
theRegexPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();
theJavaScopePackage.initializePackageContents();
theJ2EEScopePackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
thePerfPackage.freeze();
return thePerfPackage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getEPhaseTiming() {
return ePhaseTimingEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getEPhaseTiming_Name() {
return (EAttribute)ePhaseTimingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getEPhaseTiming_Millis() {
return (EAttribute)ePhaseTimingEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getEPhaseTiming_Order() {
return (EAttribute)ePhaseTimingEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerfFactory getPerfFactory() {
return (PerfFactory)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
ePhaseTimingEClass = createEClass(EPHASE_TIMING);
createEAttribute(ePhaseTimingEClass, EPHASE_TIMING__NAME);
createEAttribute(ePhaseTimingEClass, EPHASE_TIMING__MILLIS);
createEAttribute(ePhaseTimingEClass, EPHASE_TIMING__ORDER);
}
/**
* <!-- 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);
// Add supertypes to classes
// Initialize classes and features; add operations and parameters
initEClass(ePhaseTimingEClass, EPhaseTiming.class, "EPhaseTiming", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getEPhaseTiming_Name(), ecorePackage.getEString(), "name", null, 1, 1, EPhaseTiming.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getEPhaseTiming_Millis(), ecorePackage.getELong(), "millis", null, 1, 1, EPhaseTiming.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getEPhaseTiming_Order(), ecorePackage.getEInt(), "order", null, 1, 1, EPhaseTiming.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);
}
} //PerfPackageImpl

View File

@ -1,121 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf.util;
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.EObject;
import com.ibm.wala.annotations.Internal;
import com.ibm.wala.ecore.perf.EPhaseTiming;
import com.ibm.wala.ecore.perf.PerfPackage;
/**
* <!-- 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 com.ibm.wala.ecore.perf.PerfPackage
* @generated
*/
@Internal
public class PerfAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static PerfPackage modelPackage;
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerfAdapterFactory() {
if (modelPackage == null) {
modelPackage = PerfPackage.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 PerfSwitch modelSwitch =
new PerfSwitch() {
public Object caseEPhaseTiming(EPhaseTiming object) {
return createEPhaseTimingAdapter();
}
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 com.ibm.wala.ecore.perf.EPhaseTiming <em>EPhase Timing</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 com.ibm.wala.ecore.perf.EPhaseTiming
* @generated
*/
public Adapter createEPhaseTimingAdapter() {
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;
}
} //PerfAdapterFactory

View File

@ -1,133 +0,0 @@
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.ibm.wala.ecore.perf.util;
import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import com.ibm.wala.annotations.Internal;
import com.ibm.wala.ecore.perf.EPhaseTiming;
import com.ibm.wala.ecore.perf.PerfPackage;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) 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 com.ibm.wala.ecore.perf.PerfPackage
* @generated
*/
@Internal
public class PerfSwitch {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static PerfPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PerfSwitch() {
if (modelPackage == null) {
modelPackage = PerfPackage.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) {
return doSwitch(theEObject.eClass(), theEObject);
}
/**
* 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
*/
protected Object doSwitch(EClass theEClass, EObject theEObject) {
if (theEClass.eContainer() == modelPackage) {
return doSwitch(theEClass.getClassifierID(), theEObject);
}
else {
List eSuperTypes = theEClass.getESuperTypes();
return
eSuperTypes.isEmpty() ?
defaultCase(theEObject) :
doSwitch((EClass)eSuperTypes.get(0), theEObject);
}
}
/**
* 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
*/
protected Object doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case PerfPackage.EPHASE_TIMING: {
EPhaseTiming ePhaseTiming = (EPhaseTiming)theEObject;
Object result = caseEPhaseTiming(ePhaseTiming);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpretting the object as an instance of '<em>EPhase Timing</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>EPhase Timing</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public Object caseEPhaseTiming(EPhaseTiming 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;
}
} //PerfSwitch

View File

@ -25,8 +25,6 @@ import com.ibm.wala.ecore.java.pointerAnalysis.PointerAnalysisPackage;
import com.ibm.wala.ecore.java.pointerAnalysis.impl.PointerAnalysisPackageImpl;
import com.ibm.wala.ecore.java.scope.JavaScopePackage;
import com.ibm.wala.ecore.java.scope.impl.JavaScopePackageImpl;
import com.ibm.wala.ecore.perf.PerfPackage;
import com.ibm.wala.ecore.perf.impl.PerfPackageImpl;
import com.ibm.wala.ecore.regex.EPattern;
import com.ibm.wala.ecore.regex.RegexFactory;
import com.ibm.wala.ecore.regex.RegexPackage;
@ -104,7 +102,6 @@ public class RegexPackageImpl extends EPackageImpl implements RegexPackage {
// Obtain or create and register interdependencies
GraphPackageImpl theGraphPackage = (GraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) instanceof GraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI) : GraphPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
PerfPackageImpl thePerfPackage = (PerfPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) instanceof PerfPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PerfPackage.eNS_URI) : PerfPackage.eINSTANCE);
JavaPackageImpl theJavaPackage = (JavaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) instanceof JavaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI) : JavaPackage.eINSTANCE);
CallGraphPackageImpl theCallGraphPackage = (CallGraphPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) instanceof CallGraphPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CallGraphPackage.eNS_URI) : CallGraphPackage.eINSTANCE);
PointerAnalysisPackageImpl thePointerAnalysisPackage = (PointerAnalysisPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) instanceof PointerAnalysisPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PointerAnalysisPackage.eNS_URI) : PointerAnalysisPackage.eINSTANCE);
@ -115,7 +112,6 @@ public class RegexPackageImpl extends EPackageImpl implements RegexPackage {
theRegexPackage.createPackageContents();
theGraphPackage.createPackageContents();
theCommonPackage.createPackageContents();
thePerfPackage.createPackageContents();
theJavaPackage.createPackageContents();
theCallGraphPackage.createPackageContents();
thePointerAnalysisPackage.createPackageContents();
@ -126,7 +122,6 @@ public class RegexPackageImpl extends EPackageImpl implements RegexPackage {
theRegexPackage.initializePackageContents();
theGraphPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
thePerfPackage.initializePackageContents();
theJavaPackage.initializePackageContents();
theCallGraphPackage.initializePackageContents();
thePointerAnalysisPackage.initializePackageContents();