Home
last modified time | relevance | path

Searched refs:typeMirrorOf (Results 1 – 9 of 9) sorted by relevance

/external/auto/value/src/test/java/com/google/auto/value/processor/
DTypeEncoderTest.java112 typeMirrorOf(java.lang.String.class), in testImportsForImplicitlyImportedTypes()
113 typeMirrorOf(javax.management.MBeanServer.class), // Same package, so no import. in testImportsForImplicitlyImportedTypes()
128 typeMirrorOf(java.lang.String.class), in testImportsForPlainTypes()
129 typeMirrorOf(java.net.Proxy.class), in testImportsForPlainTypes()
130 typeMirrorOf(java.net.Proxy.Type.class), in testImportsForPlainTypes()
131 typeMirrorOf(java.util.regex.Pattern.class), in testImportsForPlainTypes()
132 typeMirrorOf(javax.management.MBeanServer.class)); in testImportsForPlainTypes()
148 typeMirrorOf(java.util.regex.Pattern.class), in testImportsForComplicatedTypes()
151 typeMirrorOf(java.util.Timer.class)), in testImportsForComplicatedTypes()
154 typeUtils.getWildcardType(typeMirrorOf(java.util.Timer.class), null), in testImportsForComplicatedTypes()
[all …]
DTypeSimplifierTest.java246 return typeMirrorOf(Object.class); in objectMirror()
265 private TypeMirror typeMirrorOf(Class<?> c) { in typeMirrorOf() method in TypeSimplifierTest
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/impl/
DIdentitySerializerFactoryTest.java32 TypeMirror typeMirror = typeMirrorOf(String.class); in proxyFieldType_isUnchanged()
42 TypeMirror typeMirror = typeMirrorOf(String.class); in toProxy_isUnchanged()
53 TypeMirror typeMirror = typeMirrorOf(String.class); in fromProxy_isUnchanged()
64 TypeMirror typeMirror = typeMirrorOf(String.class); in isIdentity()
DOptionalSerializerExtensionTest.java46 TypeMirror typeMirror = typeMirrorOf(String.class); in getSerializer_nonOptional_emptyReturned()
56 TypeMirror typeMirror = typeMirrorOf(Optional.class); in getSerializer_optional_serializerReturned()
73 assertThat(actualTypeMirror).isEqualTo(typeMirrorOf(Integer.class)); in proxyFieldType()
DImmutableListSerializerExtensionTest.java52 TypeMirror typeMirror = typeMirrorOf(String.class); in getSerializer_nonImmutableList_emptyReturned()
63 TypeMirror typeMirror = typeMirrorOf(ImmutableList.class); in getSerializer_immutableListWithSerializableContainedType_emptyReturned()
73 TypeMirror typeMirror = typeMirrorOf(ImmutableList.class); in getSerializer_immutableList_serializerReturned()
DImmutableMapSerializerExtensionTest.java54 TypeMirror typeMirror = typeMirrorOf(String.class); in getSerializer_nonImmutableMap_emptyReturned()
65 TypeMirror typeMirror = typeMirrorOf(ImmutableMap.class); in getSerializer_immutableMapWithSerializableContainedTypes_emptyReturned()
75 TypeMirror typeMirror = typeMirrorOf(ImmutableMap.class); in getSerializer_immutableMap_serializerReturned()
DSerializerFactoryImplTest.java36 Serializer actualSerializer = factory.getSerializer(typeMirrorOf(String.class)); in getSerializer_emptyFactories_identitySerializerReturned()
48 Serializer actualSerializer = factory.getSerializer(typeMirrorOf(String.class)); in getSerializer_factoriesProvided_factoryReturned()
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/
DCompilationAbstractTest.java65 protected TypeMirror typeMirrorOf(Class<?> c) { in typeMirrorOf() method in CompilationAbstractTest
70 return typeUtils.getDeclaredType(typeElementOf(enclosingClass), typeMirrorOf(containedClass)); in declaredTypeOf()
78 .map(this::typeMirrorOf) in declaredTypeOf()
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/
DSerializerFactoryLoaderTest.java34 Serializer actualSerializer = factory.getSerializer(typeMirrorOf(String.class)); in getFactory_extensionsLoaded()