Class ResolveMainMethodHandler

java.lang.Object
com.microsoft.java.debug.plugin.internal.ResolveMainMethodHandler

public class ResolveMainMethodHandler extends Object
  • Constructor Details

    • ResolveMainMethodHandler

      public ResolveMainMethodHandler()
  • Method Details

    • resolveMainMethods

      public static Object resolveMainMethods(List<Object> arguments, org.eclipse.core.runtime.IProgressMonitor monitor) throws com.microsoft.java.debug.core.DebugException
      Resolve the main methods from the current file.
      Returns:
      an array of main methods.
      Throws:
      com.microsoft.java.debug.core.DebugException
    • getMainMethod

      public static org.eclipse.jdt.core.IMethod getMainMethod(org.eclipse.jdt.core.IType type) throws org.eclipse.jdt.core.JavaModelException
      Returns the main method defined in the type.
      Throws:
      org.eclipse.jdt.core.JavaModelException