Ammar Khaku

Results 7 issues of Ammar Khaku

``` Caused by: java.lang.IllegalAccessException: access to public member failed: com.mypackage.MyInterface.getSomething()Set/invokeSpecial, from com.mypackage.MyInterface/2 (unnamed module @5a5c1ce0) at java.base/java.lang.invoke.MemberName.makeAccessException(MemberName.java:914) at java.base/java.lang.invoke.MethodHandles$Lookup.checkAccess(MethodHandles.java:2193) at java.base/java.lang.invoke.MethodHandles$Lookup.checkMethod(MethodHandles.java:2133) at java.base/java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(MethodHandles.java:2282) at java.base/java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager(MethodHandles.java:2276) at java.base/java.lang.invoke.MethodHandles$Lookup.unreflectSpecial(MethodHandles.java:1800) at com.netflix.archaius.ConfigProxyFactory.newProxy(ConfigProxyFactory.java:312) ......

bug
v2

This PR open-sources the work Joey Lynch and I did and presented at ApacheCon 2022. It requires a bit of work before it's mergeable, but hoping to get some feedback...

Since the driver's default implementation is for BatchStatement#add* methods to be immutable, we should annotate those methods with @CheckReturnValue

DefaultBoundStatement#getRoutingKey has logic to infer the routing key when no one has explicitly called setRoutingKey or otherwise set the routing key on the statement. It however doesn't check for cases...

Opening this PR up sort of as a heads-up and hopefully a bit of discussion - I wrote a gradle plugin for my employer that started failing with the kotlin...

Gradle Plugin