package com.shealevy.android.model.injection;

public class ClassDelegate<T> {
	
	public ClassDelegate(Class<T> delegate) {
		
	}

}

@@ -72,16 +72,44 @@
 te%3CT%3E %7B%0A
+%09private Class%3CT%3E delegate;%0A
 %09%0A%09publi
@@ -151,11 +151,290 @@
 %7B%0A%09%09
+setDelegate(delegate);%0A%09%7D%0A%0A%09public Class%3CT%3E getDelegate() %7B%0A%09%09return delegate;%0A%09%7D%0A%09%0A%09public void setDelegate(Class%3CT%3E delegate) %7B%0A%09%09this.delegate = delegate;%0A%09%7D%0A%09%0A%09public T newInstance() throws IllegalAccessException, InstantiationException %7B%0A%09%09return getDelegate().newInstance();
 %0A%09%7D
-%0A
 %0A%7D%0A

Set up ClassDelegate with default delegate methods and newInstance() method