Class JdtEvaluationProvider

java.lang.Object
com.microsoft.java.debug.plugin.internal.eval.JdtEvaluationProvider
All Implemented Interfaces:
com.microsoft.java.debug.core.adapter.IEvaluationProvider, com.microsoft.java.debug.core.adapter.IProvider

public class JdtEvaluationProvider extends Object implements com.microsoft.java.debug.core.adapter.IEvaluationProvider
  • Constructor Details

    • JdtEvaluationProvider

      public JdtEvaluationProvider()
  • 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
    • evaluateForBreakpoint

      public CompletableFuture<Value> evaluateForBreakpoint(com.microsoft.java.debug.core.IEvaluatableBreakpoint breakpoint, ThreadReference thread)
      Specified by:
      evaluateForBreakpoint in interface com.microsoft.java.debug.core.adapter.IEvaluationProvider
    • evaluate

      public CompletableFuture<Value> evaluate(String expression, ThreadReference thread, int depth)
      Specified by:
      evaluate in interface com.microsoft.java.debug.core.adapter.IEvaluationProvider
    • evaluate

      public CompletableFuture<Value> evaluate(String expression, ObjectReference thisContext, ThreadReference thread)
      Specified by:
      evaluate in interface com.microsoft.java.debug.core.adapter.IEvaluationProvider
    • invokeMethod

      public CompletableFuture<Value> invokeMethod(ObjectReference thisContext, String methodName, String methodSignature, Value[] args, ThreadReference thread, boolean invokeSuper)
      Specified by:
      invokeMethod in interface com.microsoft.java.debug.core.adapter.IEvaluationProvider
    • isInEvaluation

      public boolean isInEvaluation(ThreadReference thread)
      Specified by:
      isInEvaluation in interface com.microsoft.java.debug.core.adapter.IEvaluationProvider
    • clearState

      public void clearState(ThreadReference thread)
      Specified by:
      clearState in interface com.microsoft.java.debug.core.adapter.IEvaluationProvider