Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 44758
Collapse All | Expand All

(-)JavaSourceLookupParticipant.java (+4 lines)
Lines 31-36 Link Here
31
import org.eclipse.jdt.core.JavaModelException;
31
import org.eclipse.jdt.core.JavaModelException;
32
import org.eclipse.jdt.debug.core.IJavaStackFrame;
32
import org.eclipse.jdt.debug.core.IJavaStackFrame;
33
import org.eclipse.jdt.debug.core.IJavaThread;
33
import org.eclipse.jdt.debug.core.IJavaThread;
34
import org.eclipse.jdt.internal.debug.core.model.JDIReferenceType;
34
35
35
/**
36
/**
36
 * A source lookup participant that searches for Java source code.
37
 * A source lookup participant that searches for Java source code.
Lines 96-101 Link Here
96
					throw e;
97
					throw e;
97
				}
98
				}
98
			}
99
			}
100
		}
101
		if (object instanceof JDIReferenceType) {
102
			return ((JDIReferenceType)object).getSourcePath();
99
		}
103
		}
100
		if (object instanceof String) {
104
		if (object instanceof String) {
101
			// assume it's a file name
105
			// assume it's a file name

Return to bug 44758