code: public static <T extends ByteCodeElement> ElementMatcher.Junction<T> isDeclaredByGeneric(Type type) {
          return isDeclaredByGeneric(TypeDefinition.Sort.describe(type));
      }
docs: Matches a {@link ByteCodeElement} for being declared by a given generic {@link 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}.