From 57120150bfebf93ba8347465cd88a29cff15e1e6 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 Jul 2006 14:31:01 +0000 Subject: [PATCH] new handle provider (pr141730): new interface method implementations --- .../aspectj/asm/internal/FullPathHandleProvider.java | 10 ++++++++++ .../asm/internal/OptimizedFullPathHandleProvider.java | 10 ++++++++++ 2 files changed, 20 insertions(+) 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 + } } -- 2.39.5