From 80ecfd2b0a3d18245e264812666993096705648e Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 20 Feb 2003 20:43:02 +0000 Subject: [PATCH] Added comment. --- .../cdt/debug/core/sourcelookup/ICSourceLocator.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/ICSourceLocator.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/ICSourceLocator.java index 34bd8e97204..ecc60cf9311 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/ICSourceLocator.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/ICSourceLocator.java @@ -51,5 +51,16 @@ public interface ICSourceLocator extends ISourceLocator */ boolean contains( IResource resource ); + /** + * Returns an object representing the source code + * for a type with the specified name, or null + * if none could be found. The source element + * returned is implementation specific - for example, a + * resource, a local file, a zip file entry, etc. + * + * @param name the name of the object for which source is being searched for + * + * @return source element + */ Object findSourceElement( String fileName ); } \ No newline at end of file