How to test if one java class extends another at runtime?

Are you looking for:

Super.class.isAssignableFrom(Sub.class)

Leave a Comment