@@ -0,0 +1,1469 @@
+package com.googlecode.gentyref;%0Aimport java.lang.reflect.Field;%0Aimport java.lang.reflect.Method;%0Aimport java.lang.reflect.ParameterizedType;%0Aimport java.lang.reflect.Type;%0A%0Aimport com.googlecode.gentyref.GenericTypeReflector;%0A%0A%0A%0Apublic class GenericTypeReflectorTest extends AbstractGenericsReflectorTest %7B%0A%09@Override%0A%09protected void testExactSuperclass(Type expectedSuperclass, Type type) %7B%0A%09%09// test if it's really seen as a supertype%0A%09%09assertTrue(GenericTypeReflector.isSuperType(expectedSuperclass, type));%0A%09%09%0A%09%09// test if the supertype of the given class is as expected%0A%09%09assertEquals(expectedSuperclass, getExactSuperType(type, getClass(expectedSuperclass)));%0A%09%7D%0A%09%0A%09@Override%0A%09protected void testInexactSupertype(Type superType, Type subType) %7B%0A%09%09// first if it's seen as a supertype%0A%09%09assertTrue(GenericTypeReflector.isSuperType(superType, subType));%0A%09%09%0A%09%09%0A%09%09if (superType instanceof ParameterizedType %7C%7C superType instanceof Class) %7B%0A%09%09%09// test if it's not exact%0A%09%09%09assertFalse(superType.equals(getExactSuperType(subType, getClass(superType))));%0A%09%09%7D%0A%09%7D%0A%09%0A%09private Type getExactSuperType(Type type, Class%3C?%3E searchClass) %7B%0A%09%09return GenericTypeReflector.getExactSuperType(type, searchClass);%0A%09%7D%0A%09%0A%09@Override%0A%09protected Type getExactReturnType(Method m, Type type) %7B%0A%09%09return GenericTypeReflector.getExactReturnType(m, type);%0A%09%7D%0A%09%0A%09@Override%0A%09protected Type getExactFieldType(Field f, Type type) %7B%0A%09%09return GenericTypeReflector.getExactFieldType(f, type);%0A%09%7D%0A%09%0A%7D%0A

Rename main class to match project name