Class JdtSourceLookUpProvider
java.lang.Object
com.microsoft.java.debug.plugin.internal.JdtSourceLookUpProvider
- All Implemented Interfaces:
com.microsoft.java.debug.core.adapter.IProvider,com.microsoft.java.debug.core.adapter.ISourceLookUpProvider
public class JdtSourceLookUpProvider
extends Object
implements com.microsoft.java.debug.core.adapter.ISourceLookUpProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.microsoft.java.debug.core.adapter.ISourceLookUpProvider
com.microsoft.java.debug.core.adapter.ISourceLookUpProvider.MethodInvocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.microsoft.java.debug.core.adapter.ISourceLookUpProvider.MethodInvocation>findMethodInvocations(String uri, int line) com.microsoft.java.debug.core.JavaBreakpointLocation[]getBreakpointLocations(String sourceUri, com.microsoft.java.debug.core.protocol.Types.SourceBreakpoint[] sourceBreakpoints) String[]getFullyQualifiedName(String uri, int[] lines, int[] columns) For a given source file and a list of line locations, return the fully qualified names of the type of the line location.getJavaRuntimeVersion(String projectName) org.eclipse.debug.core.sourcelookup.ISourceContainer[]Get the project associated source containers.getSourceContents(String uri) getSourceFileURI(String fullyQualifiedName, String sourcePath) voidinitialize(com.microsoft.java.debug.core.adapter.IDebugAdapterContext context, Map<String, Object> props) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.java.debug.core.adapter.IProvider
close
-
Constructor Details
-
JdtSourceLookUpProvider
public JdtSourceLookUpProvider()
-
-
Method Details
-
initialize
public void initialize(com.microsoft.java.debug.core.adapter.IDebugAdapterContext context, Map<String, Object> props) - Specified by:
initializein interfacecom.microsoft.java.debug.core.adapter.IProvider
-
supportsRealtimeBreakpointVerification
public boolean supportsRealtimeBreakpointVerification()- Specified by:
supportsRealtimeBreakpointVerificationin interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider
-
getFullyQualifiedName
public String[] getFullyQualifiedName(String uri, int[] lines, int[] columns) throws com.microsoft.java.debug.core.DebugException For a given source file and a list of line locations, return the fully qualified names of the type of the line location. If the line location points an empty line or invalid line, it returns a null fully qualified name.- Specified by:
getFullyQualifiedNamein interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider- Throws:
com.microsoft.java.debug.core.DebugException
-
getBreakpointLocations
public com.microsoft.java.debug.core.JavaBreakpointLocation[] getBreakpointLocations(String sourceUri, com.microsoft.java.debug.core.protocol.Types.SourceBreakpoint[] sourceBreakpoints) throws com.microsoft.java.debug.core.DebugException - Specified by:
getBreakpointLocationsin interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider- Throws:
com.microsoft.java.debug.core.DebugException
-
getSourceFileURI
- Specified by:
getSourceFileURIin interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider
-
getJavaRuntimeVersion
- Specified by:
getJavaRuntimeVersionin interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider
-
getSourceContainers
public org.eclipse.debug.core.sourcelookup.ISourceContainer[] getSourceContainers()Get the project associated source containers.- Returns:
- the initialized source container list
-
getSourceContents
- Specified by:
getSourceContentsin interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider
-
findMethodInvocations
public List<com.microsoft.java.debug.core.adapter.ISourceLookUpProvider.MethodInvocation> findMethodInvocations(String uri, int line) - Specified by:
findMethodInvocationsin interfacecom.microsoft.java.debug.core.adapter.ISourceLookUpProvider
-