dbalek commented on a change in pull request #2812:
URL: https://github.com/apache/netbeans/pull/2812#discussion_r601412013



##########
File path: 
java/java.sourceui/src/org/netbeans/api/java/source/ui/ElementOpen.java
##########
@@ -276,12 +281,85 @@ public void run(CompilationController cc) throws 
Exception {
         }
     }
 
+    /**
+     * Gets location of the {@link Element} corresponding to the given {@link 
ElementHandle}.
+     *
+     * @param cpInfo ClasspathInfo which should be used for the search
+     * @param el ElementHandle to search
+     * @param resourceName optional resource name to search
+     * @return location of the given element
+     *
+     * @since 1.58
+     */
+    public static CompletableFuture<HyperlinkLocation> getLocation(final 
ClasspathInfo cpInfo, final ElementHandle<? extends Element> el, String 
resourceName) {

Review comment:
       Done.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to