Home
last modified time | relevance | path

Searched refs:HasTypeParameters (Results 1 – 2 of 2) sorted by relevance

/external/guice/core/test/com/google/inject/
DTypeLiteralTest.java156 TypeVariable<Class<HasTypeParameters>>[] typeVariables = in testTypeVariableWithNoBound()
157 HasTypeParameters.class.getTypeParameters(); in testTypeVariableWithNoBound()
163 assertEquals(HasTypeParameters.class, aTv.getGenericDeclaration()); in testTypeVariableWithNoBound()
167 assertEqualsBothWays(aTl, TypeLiteral.get(HasTypeParameters.class.getTypeParameters()[0])); in testTypeVariableWithNoBound()
171 TypeVariable<Class<HasTypeParameters>>[] typeVariables = in testTypeVariablesWithSingleBound()
172 HasTypeParameters.class.getTypeParameters(); in testTypeVariablesWithSingleBound()
178 assertEquals(HasTypeParameters.class, cTv.getGenericDeclaration()); in testTypeVariablesWithSingleBound()
182 assertEqualsBothWays(cTl, TypeLiteral.get(HasTypeParameters.class.getTypeParameters()[2])); in testTypeVariablesWithSingleBound()
186 TypeVariable<Class<HasTypeParameters>>[] typeVariables = in testTypeVariableWithMultipleBounds()
187 HasTypeParameters.class.getTypeParameters(); in testTypeVariableWithMultipleBounds()
[all …]
DKeyTest.java257 static class HasTypeParameters<A, B extends List<A> & Runnable, C extends Runnable> { class in KeyTest