public static < T extends MethodDescription > ElementMatcher . Junction < T > isDefaultMethod ( ) { return new MethodSortMatcher < T > ( MethodSortMatcher . Sort . DEFAULT_METHOD ) ; }
Only matches Java 8 default methods .