JaroslavTulach commented on a change in pull request #1069: NETBEANS-1744: 
Support Run/Debug Focused Test Method for @Nested JUni…
URL: 
https://github.com/apache/incubator-netbeans/pull/1069#discussion_r249637563
 
 

 ##########
 File path: ide/projectapi/src/org/netbeans/spi/project/SingleMethod.java
 ##########
 @@ -64,6 +81,15 @@ public FileObject getFile() {
         return file;
     }
 
+    /**
+     * Returns the binary class name of the class containing the method.
+     
+     * @return Class name held by this object
+     */
+    public Optional<String> getBinaryClassName() {
 
 Review comment:
   I prefer plain `String` that can be `null`. There is no `Optional` in this 
API yet, and there is no real reason to start with it as far as I can tell.
   
   This is an opinion.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
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