Class JavaSourceLookupParticipant
java.lang.Object
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant
org.eclipse.jdt.launching.sourcelookup.containers.JavaSourceLookupParticipant
- All Implemented Interfaces:
ISourceLookupParticipant
A source lookup participant that searches for Java source code.
This class may be instantiated.
- Since:
- 3.0
- Restriction:
- This class is not intended to be sub-classed by clients.
-
Field Summary
Fields inherited from class org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected ISourceContainergetDelegateContainer(ISourceContainer container) getSourceName(Object object) Returns the source name associated with the given object, ornullif none.voidinit(ISourceLookupDirector director) voidsourceContainersChanged(ISourceLookupDirector director) Methods inherited from class org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant
findSourceElements, getDirector, getSourceContainers, isFindDuplicates
-
Constructor Details
-
JavaSourceLookupParticipant
public JavaSourceLookupParticipant()
-
-
Method Details
-
getSourceName
Returns the source name associated with the given object, ornullif none.- Parameters:
object- an object with anIJavaStackFrameadapter, an IJavaValue or an IJavaType- Returns:
- the source name associated with the given object, or
nullif none - Throws:
CoreException- if unable to retrieve the source name
-
dispose
public void dispose()- Specified by:
disposein interfaceISourceLookupParticipant- Overrides:
disposein classAbstractSourceLookupParticipant
-
getDelegateContainer
- Overrides:
getDelegateContainerin classAbstractSourceLookupParticipant
-
init
- Specified by:
initin interfaceISourceLookupParticipant- Overrides:
initin classAbstractSourceLookupParticipant
-
sourceContainersChanged
- Specified by:
sourceContainersChangedin interfaceISourceLookupParticipant- Overrides:
sourceContainersChangedin classAbstractSourceLookupParticipant
-