]> source.dussan.org Git - aspectj.git/commitdiff
avoid needless resolving
authoracolyer <acolyer>
Fri, 8 Jul 2005 16:06:18 +0000 (16:06 +0000)
committeracolyer <acolyer>
Fri, 8 Jul 2005 16:06:18 +0000 (16:06 +0000)
weaver/src/org/aspectj/weaver/World.java

index c17845703349be1f9328cec8a74094a6059a0cba..cf6dbe13f24ef2d7de4a795a88cf6aa865bba9ba 100644 (file)
@@ -111,6 +111,11 @@ public abstract class World implements Dump.INode {
        return resolve(ty, false);
     }
     
+    // if we already have an rtx, don't re-resolve it
+    public ResolvedTypeX resolve(ResolvedTypeX ty) {
+       return ty;
+    }
+    
     public ResolvedTypeX getCoreType(TypeX tx) {
        ResolvedTypeX coreTy = resolve(tx,true);
        if (coreTy == ResolvedTypeX.MISSING) {