getDeclaredInterface<I> abstract method
Gets a specific declared interface (non-transitive).
Type Parameters:
I: The exact interface type to retrieve
Returns:
- The interface if directly declared
nullif not found or only inherited
Implementation
Class<I>? getDeclaredInterface<I>();