]> source.dussan.org Git - aspectj.git/commitdiff
new handle provider (pr141730): new interface method implementations
authoraclement <aclement>
Mon, 3 Jul 2006 14:31:01 +0000 (14:31 +0000)
committeraclement <aclement>
Mon, 3 Jul 2006 14:31:01 +0000 (14:31 +0000)
asm/src/org/aspectj/asm/internal/FullPathHandleProvider.java
asm/src/org/aspectj/asm/internal/OptimizedFullPathHandleProvider.java

index cd7f350b7eb257343bc4e6bdebed6e7340bf86f8..1626732950b2325cf58719ab6e0a58fdb2d3ecb2 100644 (file)
@@ -88,4 +88,14 @@ public class FullPathHandleProvider implements IElementHandleProvider {
                ipe.setHandleIdentifier(handle);
                return handle;
        }
+
+       public boolean dependsOnLocation() {
+               // handles contain information from the source location therefore 
+               // return true;
+               return true;
+       }
+
+       public void initialize() {
+               // nothing to initialize...
+       }
 }
index c8a8499057540cf189b2e7edad564c7e8920f246..32ab9bd2ea85d16a1487dab5a224cd34ceaf4851 100644 (file)
@@ -112,4 +112,14 @@ public class OptimizedFullPathHandleProvider implements IElementHandleProvider {
                ipe.setHandleIdentifier(handle);
                return handle;
        }
+
+       public boolean dependsOnLocation() {
+               // handles contain information from the source location therefore 
+               // return true;
+               return true;
+       }
+
+       public void initialize() {
+               // nothing to initialize
+       }
 }