Community
Participate
Working Groups
When selecting a callout or callin method binding, e.g., in the editor's breadcrumbs, and invoking the action "Copy Qualified Name" from the context menu, you'll get a JavaModelException saying the element "does not exist".
Created attachment 175617 [details] fix The fix consists of two parts: - OTJavaElement.getCorrespondingResource() was not working because it called exists() on the correspondingJavaElement which however is fake thus cannot fetch infos. Solution is to copy the method body from SourceRefElement, which uses the right version of exists() and in case of success(!) returns null. At this point the exception was fixed, but the action did not fetch a qualified name. - ViewAdaptor.JavaElementLabels.getElementLabel did check for M_POST_QUALIFIED but failed to handle M_FULLY_QUALIFIED. Fixed.
Fix has been committed as r651 - r653.
Verified using I201009211735