diff options
author | aclement <aclement> | 2006-07-03 14:31:01 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-03 14:31:01 +0000 |
commit | 57120150bfebf93ba8347465cd88a29cff15e1e6 (patch) | |
tree | 2f7ebae4352df812a6ff6ea491a06646f1fec895 /asm | |
parent | 53eef314f44242faedbf23fd39b470518995f954 (diff) | |
download | aspectj-57120150bfebf93ba8347465cd88a29cff15e1e6.tar.gz aspectj-57120150bfebf93ba8347465cd88a29cff15e1e6.zip |
new handle provider (pr141730): new interface method implementations
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/internal/FullPathHandleProvider.java | 10 | ||||
-rw-r--r-- | asm/src/org/aspectj/asm/internal/OptimizedFullPathHandleProvider.java | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/internal/FullPathHandleProvider.java b/asm/src/org/aspectj/asm/internal/FullPathHandleProvider.java index cd7f350b7..162673295 100644 --- a/asm/src/org/aspectj/asm/internal/FullPathHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/FullPathHandleProvider.java @@ -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... + } } diff --git a/asm/src/org/aspectj/asm/internal/OptimizedFullPathHandleProvider.java b/asm/src/org/aspectj/asm/internal/OptimizedFullPathHandleProvider.java index c8a849905..32ab9bd2e 100644 --- a/asm/src/org/aspectj/asm/internal/OptimizedFullPathHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/OptimizedFullPathHandleProvider.java @@ -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 + } } |