From 9801902d32cf515617decb31d83e41aa2ffb52c7 Mon Sep 17 00:00:00 2001 From: mkersten Date: Thu, 22 Jan 2004 06:06:34 +0000 Subject: [PATCH] Added javadoc for getExtraSourceLocations() --- bridge/src/org/aspectj/bridge/IMessage.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bridge/src/org/aspectj/bridge/IMessage.java b/bridge/src/org/aspectj/bridge/IMessage.java index 1848e0e31..2bafc7d7a 100644 --- a/bridge/src/org/aspectj/bridge/IMessage.java +++ b/bridge/src/org/aspectj/bridge/IMessage.java @@ -125,5 +125,18 @@ public interface IMessage { */ public String getDetails(); + + /** + * @return List of ISourceLocation instances that indicate + * additional source locations relevent to this message as specified by the + * message creator. The list should not include the primary source location + * associated with the message which can be obtained from + * getSourceLocation(). + *

+ * An example of using extra locations would be in a warning message that + * flags all shadow locations that will go unmatched due to a pointcut definition + * being based on a subtype of a defining type. + * @see AspectJ bug 41952 + */ public List getExtraSourceLocations(); } -- 2.39.5