You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think Java 8 default methods would be a great way to convert or enrich parsed arguments. For example, I tried the following to convert a String to a Path:
Unfortunately, jewelcli does not seem to support default methods. When calling directoryPath(), I get null.
Without having looked at the code, I feel like this should be easy to implement. All that needs to be done it to not override/implement default methods in proxies.
The text was updated successfully, but these errors were encountered:
Interesting idea. At the moment we don't have any java8 support. I will
take a closer look at what is going on in your example.
On 9 Mar 2016 14:08, "Michael Faes" [email protected] wrote:
I think Java 8 default methods would be a great way to convert or enrich
parsed arguments. For example, I tried the following to convert a String to
a Path:
public interface Args { @option(shortName = "d")
String directory();
I think Java 8 default methods would be a great way to convert or enrich parsed arguments. For example, I tried the following to convert a String to a Path:
Unfortunately, jewelcli does not seem to support default methods. When calling
directoryPath()
, I getnull
.Without having looked at the code, I feel like this should be easy to implement. All that needs to be done it to not override/implement default methods in proxies.
The text was updated successfully, but these errors were encountered: