jtulach commented on code in PR #9691:
URL: https://github.com/apache/netbeans/pull/9691#discussion_r4232836610
##########
java/api.debugger.jpda/src/org/netbeans/api/debugger/jpda/JPDADebugger.java:
##########
@@ -397,10 +397,26 @@ public List<JPDAThread> getAllThreads() {
* @param expression a expression to be evaluated
*
* @return current value of given expression
+ * @throws org.netbeans.api.debugger.jpda.InvalidExpressionException
*/
public abstract Variable evaluate (String expression)
throws InvalidExpressionException;
+ /**
+ * Evaluates given expression in the current context.
+ *
+ * @param expression a expression to be evaluated
+ * @param csf frame to evaluate the expression at
+ *
+ * @return current value of given expression
+ * @throws org.netbeans.api.debugger.jpda.InvalidExpressionException
+ * @since 3.45
+ */
+ public Variable evaluate (String expression, CallStackFrame csf)
Review Comment:
- Is the Javadoc for users of the method? Then it should focus on the usage
of such a method
- Is the Javadoc for implementors of the method? Well, there is just a
single implementation and it does override the method
- This is what one gets when mixing API and SPI in a single class...
--
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