From: mkersten Date: Thu, 22 Jan 2004 06:06:34 +0000 (+0000) Subject: Added javadoc for getExtraSourceLocations() X-Git-Tag: v_preCompileLoopAlteration~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9801902d32cf515617decb31d83e41aa2ffb52c7;p=aspectj.git Added javadoc for getExtraSourceLocations() --- 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(); }