I just noticed that java.beans.Introspector getBeanInfo does not get any supersurface properties. Example:
public interface Person { String getName(); } public interface Employee extends Person { int getSalary(); }
Introspection on Employee only gives a salary, even if the name is inherited from Person.
Why is this? I would rather not use reflection to get all getters.
source share