code: public static <T extends MethodDescription> ElementMatcher.Junction<T> is(MethodDescription.InDefinedShape method) {
          return definedMethod(new EqualityMatcher<MethodDescription.InDefinedShape>(method));
      }
docs: Exactly matches a given method or constructor as a {@link MethodDescription} in its defined shape.
  
  @param method The method to match by its description
  @param <T>    The type of the matched object.
  @return An element matcher that exactly matches the given method or constructor in its defined shape.