public static < T extends MethodDescription > ElementMatcher . Junction < T > definedMethod ( ElementMatcher < ? super MethodDescription . InDefinedShape > matcher ) { return new DefinedShapeMatcher < T , MethodDescription . InDefinedShape > ( matcher ) ; }
Matches a method in its defined shape .