I have the following code:
public class Animal { public void doSomething(T instance) { //do stuff } }