Class ResolveMainMethodHandler
java.lang.Object
com.microsoft.java.debug.plugin.internal.ResolveMainMethodHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.jdt.core.IMethodgetMainMethod(org.eclipse.jdt.core.IType type) Returns the main method defined in the type.static ObjectresolveMainMethods(List<Object> arguments, org.eclipse.core.runtime.IProgressMonitor monitor) Resolve the main methods from the current file.
-
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
-