Lines Matching refs:clazz

66         Class<? extends ConstructorGenericType> clazz = ConstructorGenericType.class;
67 TypeVariable<Class> typeVariable = getTypeParameter(clazz);
68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class);
77 Class<? extends GenericType> clazz = GenericType.class;
78 TypeVariable<Class> typeVariable = getTypeParameter(clazz);
80 Method method = clazz.getDeclaredMethod("staticMethodGenericType", Object.class);
90 Class<? extends GenericType> clazz = GenericType.class;
91 TypeVariable<Class> typeVariable = getTypeParameter(clazz);
93 Method method = clazz.getDeclaredMethod("hidingMethodGenericType", Object.class);
110 Class<? extends MultipleGenericTypes> clazz = MultipleGenericTypes.class;
111 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
114 assertEquals(clazz, typeVariableT.getGenericDeclaration());
118 assertEquals(clazz, typeVariableS.getGenericDeclaration());
121 Method multipleGenericTypesT = clazz.getDeclaredMethod("multipleGenericTypesT", new Class[]{Object.class});
128 Method multipleGenericTypesS = clazz.getDeclaredMethod("multipleGenericTypesS", new Class[]{Object.class});
135 Method multipleGenericTypesTS = clazz.getDeclaredMethod("multipleGenericTypesTS", new Class[]{Object.class, Object.class});
147 Class<? extends MultipleBoundedGenericTypes> clazz = MultipleBoundedGenericTypes.class;
148 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
151 assertEquals(clazz, typeVariableT.getGenericDeclaration());
155 assertEquals(clazz, typeVariableS.getGenericDeclaration());
163 Class<? extends SimpleInheritance> clazz = SimpleInheritance.class;
164 TypeVariable<Class> subTypeVariable = getTypeParameter(clazz);
166 assertInstanceOf(ParameterizedType.class, clazz.getGenericSuperclass());
167 ParameterizedType parameterizedSuperType = (ParameterizedType) clazz.getGenericSuperclass();
184 Class<? extends InnerClassTest> clazz =InnerClassTest.class;
185 TypeVariable<Class> typeVariable = getTypeParameter(clazz);
187 Class<?>[] declaredClasses = clazz.getDeclaredClasses();
201 assertEquals(clazz ,constructorTypeVariable.getGenericDeclaration());
210 assertEquals(clazz, methodTypeVariable.getGenericDeclaration());
214 Class<? extends ExceptionTest> clazz = ExceptionTest.class;
215 TypeVariable<Class> typeVariable = getTypeParameter(clazz);
216 Method method = clazz.getDeclaredMethod("exceptionTest");
221 Class<?>[] declaredClasses = clazz.getDeclaredClasses();
233 assertEquals(clazz, methodTypeVariable.getGenericDeclaration());