Is it possible to have a method that takes generic inside generic parameter such as
public static P parent(Object o,
P parent(Object o,