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
  • 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:
      initialize in interface com.microsoft.java.debug.core.adapter.IProvider
    • supportsRealtimeBreakpointVerification

      public boolean supportsRealtimeBreakpointVerification()
      Specified by:
      supportsRealtimeBreakpointVerification in interface com.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:
      getFullyQualifiedName in interface com.microsoft.java.debug.core.adapter.ISourceLookUpProvider
      Throws:
      com.microsoft.java.debug.core.DebugException
    • getSourceFileURI

      public String getSourceFileURI(String fullyQualifiedName, String sourcePath)
      Specified by:
      getSourceFileURI in interface com.microsoft.java.debug.core.adapter.ISourceLookUpProvider
    • getJavaRuntimeVersion

      public String getJavaRuntimeVersion(String projectName)
      Specified by:
      getJavaRuntimeVersion in interface com.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

      public String getSourceContents(String uri)
      Specified by:
      getSourceContents in interface com.microsoft.java.debug.core.adapter.ISourceLookUpProvider