Closed paul-bennett closed 1 year ago
Something's not right with access modifiers and the declaration-based syntax. For example the first two invocations here should produce identical results.:
$ juggle -a private java.net.Inet6Address public static java.net.Inet6Address java.net.Inet6Address.getByAddress(String,byte[],int) throws java.net.UnknownHostException public static java.net.Inet6Address java.net.Inet6Address.getByAddress(String,byte[],java.net.NetworkInterface) throws java.net.UnknownHostException java.net.Inet6Address.<init>() java.net.Inet6Address.<init>(String,byte[]) java.net.Inet6Address.<init>(String,byte[],int) java.net.Inet6Address.<init>(String,byte[],String) throws java.net.UnknownHostException java.net.Inet6Address.<init>(String,byte[],java.net.NetworkInterface) throws java.net.UnknownHostException $ juggle private java.net.Inet6Address public static java.net.Inet6Address java.net.Inet6Address.getByAddress(String,byte[],int) throws java.net.UnknownHostException public static java.net.Inet6Address java.net.Inet6Address.getByAddress(String,byte[],java.net.NetworkInterface) throws java.net.UnknownHostException $ juggle --show-query --dry-run private java.net.Inet6Address QUERY: DeclQuery{annotationTypes=null, accessibility=PRIVATE, modifierMask=0, modifiers=0, returnType=BoundedType[upperBound=[class java.net.Inet6Address], lowerBound=class java.net.Inet6Address], declarationPattern=null, params=null, exceptions=null} $
Instead it looks as though the private modifier isn't being evaluated properly, although we can see it is being propagated through to the query.
private
Something's not right with access modifiers and the declaration-based syntax. For example the first two invocations here should produce identical results.:
Instead it looks as though the
private
modifier isn't being evaluated properly, although we can see it is being propagated through to the query.