entlicher commented on a change in pull request #3047:
URL: https://github.com/apache/netbeans/pull/3047#discussion_r669591613
##########
File path:
ide/nativeimage.api/src/org/netbeans/modules/nativeimage/api/debug/NIDebugger.java
##########
@@ -165,6 +170,49 @@ public String getVersion() {
return provider.getVersion();
}
+ /**
+ * Get a list of locations for a given file path.
+ *
+ * @param filePath a file path
+ * @return list of locations, or <code>null</code> when there's no location
+ * information about such file.
+ * @since 0.2
+ */
+ @CheckForNull
+ public List<Location> listLocations(String filePath) {
+ return provider.listLocations(filePath);
+ }
+
+ /**
+ * Get a list of functions of a given name.
+ *
+ * @param name a name pattern
+ * @param includeNondebug include also symbols from the symbol table
+ * @param maxResults maximum number of results
+ * @return list of source information and their symbols, or
<code>null</code>
+ * when there are no matching symbols.
+ * @since 0.2
+ */
+ @CheckForNull
+ public List<Pair<SourceInfo, List<Symbol>>> listFunctions(String name,
boolean includeNondebug, int maxResults) {
+ return provider.listFunctions(name, includeNondebug, maxResults);
+ }
+
+ /**
+ * Get a list of variables of a given name.
+ *
+ * @param name a name pattern
+ * @param includeNondebug include also symbols from the symbol table
+ * @param maxResults maximum number of results
+ * @return list of source information and their symbols, or
<code>null</code>
+ * when there are no matching symbols.
+ * @since 0.2
+ */
+ @CheckForNull
+ public List<Pair<SourceInfo, List<Symbol>>> listVariables(String name,
boolean includeNondebug, int maxResults) {
Review comment:
Good point.
--
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.
To unsubscribe, e-mail: [email protected]
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