/external/guice/core/src/com/google/inject/util/ |
Types.java | 49 public static ParameterizedType newParameterizedType(Type rawType, Type... typeArguments) { 100 return newParameterizedType(List.class, elementType); 110 return newParameterizedType(Set.class, elementType); 120 return newParameterizedType(Map.class, keyType, valueType); 123 // for other custom collections types, use newParameterizedType() 132 return newParameterizedType(Provider.class, providedType);
|
/external/guice/core/test/com/google/inject/ |
TypeLiteralTypeResolutionTest.java | 23 import static com.google.inject.util.Types.newParameterizedType; 53 Type arrayListOfString = newParameterizedType(ArrayList.class, String.class); 107 assertEquals(newParameterizedType(Collection.class, String.class), 109 assertEquals(newParameterizedType(Iterable.class, String.class), 111 assertEquals(newParameterizedType(AbstractList.class, String.class), 286 assertEquals(Types.newParameterizedType(AbstractCollection.class, String.class), 289 TypeLiteral arrayListOfE = TypeLiteral.get(newParameterizedType( 292 newParameterizedType(AbstractCollection.class, ArrayList.class.getTypeParameters()), 299 TypeLiteral type = TypeLiteral.get(newParameterizedType(AbstractList.class, anotherE)); 300 assertEquals(newParameterizedType(AbstractCollection.class, anotherE) [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
TypesTest.java | 51 ParameterizedType ourType = Types.newParameterizedType( 60 ParameterizedType ourType = Types.newParameterizedType( 81 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); 92 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); 115 SerializableTester.reserializeAndAssert(Types.newParameterizedType( 129 Types.newParameterizedType(Map.Entry.class, String.class, Integer.class), 153 Types.newParameterizedType(List.class, String.class)); 380 = Types.newParameterizedType(Map.class, typesIn); 394 Types.newParameterizedType(
|
TypeTokenResolutionTest.java | 458 assertEquals(Types.newParameterizedType(Enum.class, typeVariable), 468 assertEquals(Types.newParameterizedType(List.class, v), k.getBounds()[0]); 469 assertEquals(Types.newParameterizedType(List.class, k), v.getBounds()[0]);
|
TypeTokenTest.java | 95 assertEquals(Types.newParameterizedType(Local.class, String.class), 107 assertEquals(Types.newParameterizedType(Local.class, String.class), [all...] |
/external/guice/core/test/com/google/inject/util/ |
TypesTest.java | 82 ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, arguments); 105 Types.newParameterizedType(Map.class, String.class, int.class); 155 = Types.newParameterizedType(Map.class, String.class, Integer.class); 160 Types.newParameterizedType(Set.class, String.class))); 184 Types.newParameterizedType(Owning.class, String.class);
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
OptionalBinder.java | 22 import static com.google.inject.util.Types.newParameterizedType; 217 Types.newParameterizedType(Optional.class, type.getType())); 223 return TypeLiteral.get(Types.newParameterizedType(JAVA_OPTIONAL_CLASS, type.getType())); 230 Types.newParameterizedType(Optional.class, 231 newParameterizedType(javax.inject.Provider.class, type.getType()))); 237 return TypeLiteral.get(Types.newParameterizedType(JAVA_OPTIONAL_CLASS, 238 newParameterizedType(javax.inject.Provider.class, type.getType()))); 243 return (TypeLiteral<Optional<Provider<T>>>) TypeLiteral.get(Types.newParameterizedType( 244 Optional.class, newParameterizedType(Provider.class, type.getType()))); 249 return TypeLiteral.get(Types.newParameterizedType(JAVA_OPTIONAL_CLASS [all...] |
Multibinder.java | 202 Type type = Types.newParameterizedType(Collection.class, providerType); 210 Types.newParameterizedType(javax.inject.Provider.class, elementType.getType()); 211 Type type = Types.newParameterizedType(Collection.class, providerType);
|
MapBinder.java | 23 import static com.google.inject.util.Types.newParameterizedType; 222 newParameterizedType(javax.inject.Provider.class, valueType.getType()))); [all...] |
/external/guava/guava/src/com/google/common/reflect/ |
Invokable.java | 253 return Types.newParameterizedType(declaringClass, typeParams);
|
Types.java | 93 return newParameterizedType(rawType, arguments); 105 static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) {
|
TypeToken.java | [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
MapBinderTest.java | 106 return Types.newParameterizedType(javax.inject.Provider.class, type); 114 return Types.newParameterizedType(Collection.class, type); [all...] |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
sisu-guice-3.1.3-no_aop.jar | |
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/ |
sisu-guice-3.1.0-no_aop.jar | |
sisu-guice-3.1.0.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/ |
sisu-guice-2.1.7-noaop.jar | |
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/ |
sisu-guice-2.1.7-noaop.jar | |
/external/testng/lib-supplied/ |
guice-2.0.jar | |
/external/dagger2/lib/ |
google-java-format-0.1-20151017.042846-2.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar | |
/external/guice/extensions/struts2/lib/ |
core-3.1.1.jar | |
/external/guice/lib/ |
guava-16.0.1.jar | |
/prebuilts/devtools/tools/lib/ |
guava-13.0.1.jar | |
guava-17.0.jar | |