We might need some minimal working (non-working) e...
# announcements
o
We might need some minimal working (non-working) example to suggest anything
z
are you responding to me? 😳
o
yes 🙂
z
instance is a Java class:
public class InstanceClass extends Service
,
Service
is https://docs.oracle.com/javase/7/docs/api/javax/xml/ws/Service.html and is defined as
public class Service
Copy code
public class Service {
    private ServiceDelegate delegate;
...
I want this delegate, but I guess if the implementation is important is not anymore a Kotlin question?
o
Returns an array containing {@code Field} objects reflecting all the accessible public fields of the class or interface
Try
instance.javaClass.superclass.declaredFields.firstOrNull { it.name == "delegate" }
👌 1