Lines Matching defs:variable
155 //test type variable
157 ITypeVariableDefinition variable = sigClass.getTypeParameters().get(0);
158 assertEquals("T", variable.getName());
159 //test type variable bound
160 assertEquals(1, variable.getUpperBounds().size());
161 IClassReference bound = (IClassReference) variable.getUpperBounds().get(0);
174 //test type variable
176 ITypeVariableDefinition variable = sigClass.getTypeParameters().get(0);
177 assertEquals("T", variable.getName());
178 //test type variable bound
179 assertEquals(1, variable.getUpperBounds().size());
180 IClassReference bound = (IClassReference) variable.getUpperBounds().get(0);
193 //test type variable
197 //test type variable bound
204 //test type variable bound
219 //test type variable
223 //test type variable bound
230 //test type variable bound
316 //get type variable from class
329 //get type variable from interface
340 //test if type variable of A is type argument of I
586 ITypeVariableReference variable = (ITypeVariableReference) parametrizedType.getTypeArguments().get(0);
587 assertSame(typeVariable, variable.getTypeVariableDefinition());