Perform a code resolve in a separate thread.
Parameters: primaryOnly - if true only primary working copies will be returned throws: InterruptedException - throws: InvocationTargetException - since: 3.2
public static IJavaElement[] getElements(IStructuredSelection selection)(Code)
Converts the given structured selection into an array of Java elements.
An empty array is returned if one of the elements stored in the structured
selection is not of type IJavaElement