code: public static <T extends ByteCodeElement> ElementMatcher.Junction<T> isDeclaredBy(TypeDescription type) {
          return isDeclaredBy(is(type));
      }
docs: Matches a {@link ByteCodeElement} for being declared by a given {@link TypeDescription}. This matcher matches
  a declared element's raw declaring type.
  
  @param type The type that is expected to declare the matched byte code element.
  @param <T>  The type of the matched object.
  @return A matcher for byte code elements being declared by the given {@code type}.