Home
last modified time | relevance | path

Searched refs:getTypeMirror (Results 1 – 12 of 12) sorted by relevance

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DType.java37 public abstract TypeMirror getTypeMirror(); in getTypeMirror() method in Type
40 return getTypeMirror().toString(); in getQualifiedName()
50 return TypeUtils.isArray(getTypeMirror()); in isArray()
58 return getTypeMirror().getKind().isPrimitive(); in isPrimitive()
62 return TypeUtils.isGeneric(getTypeMirror()); in isGeneric()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DBundlerGenerator.java144 TypeUtils.getRawTypeQualifiedName(type.getTypeMirror())); in addWriteToParcelTypes()
157 CodeBlock.of("($L) value", TypeUtils.getRawTypeQualifiedName(type.getTypeMirror())); in addWriteToParcelType()
201 TypeUtils.getRawTypeQualifiedName(type.getTypeMirror())); in addReadFromParcelTypes()
208 TypeMirror objectType = type.getTypeMirror(); in addReadFromParcelType()
256 TypeUtils.getRawTypeQualifiedName(type.getTypeMirror())); in addCreateArrayTypes()
263 codeBuilder.addStatement("return new $T[size]", type.getTypeMirror()); in addCreateArrayType()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoAnnotationProcessor.java337 TypeMirror memberType = member.getTypeMirror(); in getParameters()
424 typeUtils.getDeclaredType(javaUtilCollection, getTypeMirror(wrapper)); in wrapperTypesUsedInCollections()
435 private TypeMirror getTypeMirror(Class<?> c) { in getTypeMirror() method in AutoAnnotationProcessor
489 return TypeEncoder.encode(getTypeMirror()); in getType()
493 Preconditions.checkState(getTypeMirror().getKind() == TypeKind.ARRAY); in getComponentType()
494 ArrayType arrayType = (ArrayType) getTypeMirror(); in getComponentType()
498 public TypeMirror getTypeMirror() { in getTypeMirror() method in AutoAnnotationProcessor.Member
503 return getTypeMirror().getKind(); in getKind()
513 if (getTypeMirror().getKind() != TypeKind.ARRAY) { in isArrayOfClassWithBounds()
516 TypeMirror componentType = ((ArrayType) getTypeMirror()).getComponentType(); in isArrayOfClassWithBounds()
DGwtSerialization.java112 this.isCastingUnchecked = TypeSimplifier.isCastingUnchecked(property.getTypeMirror()); in Property()
139 TypeMirror typeMirror = property.getTypeMirror(); in getGwtType()
263 String encodedProp = prop + ":" + TypeEncoder.encode(prop.getTypeMirror()) + ";"; in computeClassHash()
DAutoValueProcessor.java491 return typeUtils().isAssignable(type.asType(), getTypeMirror(Annotation.class)); in implementsAnnotation()
494 private TypeMirror getTypeMirror(Class<?> c) { in getTypeMirror() method in AutoValueProcessor
DAutoValueOrOneOfProcessor.java207 public TypeMirror getTypeMirror() { in getTypeMirror() method in AutoValueOrOneOfProcessor.Property
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/
DSimpleServiceTest.java96 assertEquals(SimpleRequest.class.getCanonicalName(), e.getTypeMirror().toString()); in verifyRpcMethodAnnotation()
102 assertEquals(SimpleResponse.class.getCanonicalName(), e.getTypeMirror().toString()); in verifyRpcMethodAnnotation()
/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java156 public void getTypeMirror() { in getTypeMirror() method in AnnotationValuesTest
159 assertThat(AnnotationValues.getTypeMirror(value).asElement()).isEqualTo(insideClassA); in getTypeMirror()
167 assertThat(AnnotationValues.getTypeMirror(gvalue).asElement()).isEqualTo(genericClass); in getTypeMirrorGenericClass()
/external/turbine/javatests/com/google/turbine/processing/
DTurbineAnnotationProxyTest.java168 assertThat(e.getTypeMirror().getKind()).isEqualTo(TypeKind.DECLARED); in test()
169 assertThat(getQualifiedName(e.getTypeMirror())).contains("java.lang.String"); in test()
/external/auto/common/src/main/java/com/google/auto/common/
DAnnotationValues.java173 public static DeclaredType getTypeMirror(AnnotationValue value) { in getTypeMirror() method in AnnotationValues
333 new ArrayVisitor<>(AnnotationValues::getTypeMirror);
/external/dagger2/java/dagger/hilt/processor/internal/
DAnnotationValues.java73 public static DeclaredType getTypeMirror(AnnotationValue value) { in getTypeMirror() method in AnnotationValues
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/
DDefineComponentMetadatas.java151 TypeElement parent = asTypeElement(AnnotationValues.getTypeMirror(parentValue)); in getUncached()