getAllInterfaces abstract method

Iterable<Class> getAllInterfaces()

Returns all interfaces implemented by this class, including those inherited through superclasses.


Returns

  • An Iterable of all implemented interfaces (direct + transitive)
  • An empty iterable if the class does not implement any interfaces

Notes

  • Includes interfaces declared directly on the class
  • Includes interfaces inherited from superclasses
  • Order is deterministic but implementation-defined

Implementation

Iterable<Class> getAllInterfaces();