]> source.dussan.org Git - aspectj.git/commitdiff
refactored hasThis kinda thing
authorjhugunin <jhugunin>
Tue, 31 Dec 2002 00:55:32 +0000 (00:55 +0000)
committerjhugunin <jhugunin>
Tue, 31 Dec 2002 00:55:32 +0000 (00:55 +0000)
weaver/testsrc/org/aspectj/weaver/TestShadow.java

index ae22c80000d7b39af8c582ca7e63f987f2c35809..fe5b2033ad4fcebf3b1d02150f1402eb9e22aebb 100644 (file)
@@ -22,7 +22,7 @@ public class TestShadow extends Shadow {
        private final TypeX thisType;
 
     public TestShadow(Kind kind, Member signature, TypeX thisType, World world) {
-        super(kind, signature);
+        super(kind, signature, null);
         this.world = world;
         this.thisType = thisType;
     }
@@ -30,12 +30,6 @@ public class TestShadow extends Shadow {
     public World getIWorld() {
         return world;
     }
-    
-    public boolean hasThis() { return true; }
-
-    public TypeX getThisType() {
-        return thisType;
-    }
 
        /** this is subtly wrong.  ha ha */
     public TypeX getEnclosingType() {