diff options
author | aclement <aclement> | 2006-06-07 15:52:35 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-06-07 15:52:35 +0000 |
commit | 5a75601c50821c333d1777f0c4b7236368b175af (patch) | |
tree | 57da61617f09c62c2416b652dd3c61b31c1595e9 /org.aspectj.ajdt.core/src | |
parent | c3898d9b4eb958e58741fbd31a5c85c16ae5ddd2 (diff) | |
download | aspectj-5a75601c50821c333d1777f0c4b7236368b175af.tar.gz aspectj-5a75601c50821c333d1777f0c4b7236368b175af.zip |
141730 - latest variant of program element signature processing
Diffstat (limited to 'org.aspectj.ajdt.core/src')
2 files changed, 2 insertions, 15 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index ac3f04b53..d2b09def2 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -49,7 +49,6 @@ import org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory; import org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter; import org.aspectj.asm.AsmManager; import org.aspectj.asm.IHierarchy; -import org.aspectj.asm.INameConvertor; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.internal.ProgramElement; import org.aspectj.bridge.AbortException; @@ -84,8 +83,6 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFacto import org.aspectj.util.FileUtil; import org.aspectj.weaver.Dump; import org.aspectj.weaver.ResolvedType; -import org.aspectj.weaver.TypeFactory; -import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.World; import org.aspectj.weaver.bcel.BcelWeaver; import org.aspectj.weaver.bcel.BcelWorld; @@ -634,7 +631,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc AsmManager.setCreatingModel(config.isEmacsSymMode() || config.isGenerateModelMode()); if (!AsmManager.isCreatingModel()) return; - AsmManager.getDefault().createNewASM(new NameConverter()); + AsmManager.getDefault().createNewASM(); // AsmManager.getDefault().getRelationshipMap().clear(); IHierarchy model = AsmManager.getDefault().getHierarchy(); String rootLabel = "<root>"; @@ -1279,15 +1276,5 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc } } - - private class NameConverter implements INameConvertor { - - public char[] convertName(char[] name) { - UnresolvedType ut = TypeFactory.createTypeFromSignature(new String(name)); - ResolvedType rt = getWorld().resolve(ut); - return rt.getName().toCharArray(); - } - - } } diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java index 4522a8b33..b9f2c9662 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java @@ -52,7 +52,7 @@ public class IncrementalStateManager { element.wipeAllKnowledge(); } incrementalStates.clear(); - AsmManager.getDefault().createNewASM(null); // forget what you know... + AsmManager.getDefault().createNewASM(); // forget what you know... } public static Set getConfigFilesKnown() { |