IJavaElement[].class,
ITypeRoot.class,
IRegion.class,
JavadocBrowserInformationControlInput.class);
getHoverInfo.setAccessible(true);
JavadocBrowserInformationControlInput info =
(JavadocBrowserInformationControlInput)
getHoverInfo.invoke(null, elements, null, null, null);
if (info == null){
return null;
}
ArrayList<HashMap<String,String>> links =
new ArrayList<HashMap<String,String>>();
Matcher matcher = LINKS.matcher(info.getHtml());
StringBuffer buffer = new StringBuffer();
int index = 0;
while (matcher.find()){
String href = matcher.group(2);
String text = matcher.group(3);