Home
last modified time | relevance | path

Searched refs:wrappedType (Results 1 – 13 of 13) sorted by relevance

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DProtoParcelableWrapperGenerator.java85 parcelableWrapper.wrappedType(), in generateProtoParcelableWrapper()
89 FieldSpec.builder(ClassName.get(parcelableWrapper.wrappedType()), "proto", Modifier.PRIVATE) in generateProtoParcelableWrapper()
102 "Create a wrapper for the given {@link $T}.\n", parcelableWrapper.wrappedType()) in generateProtoParcelableWrapper()
106 .addParameter(ClassName.get(parcelableWrapper.wrappedType()), "proto") in generateProtoParcelableWrapper()
114 .returns(ClassName.get(parcelableWrapper.wrappedType())) in generateProtoParcelableWrapper()
123 .addParameter(ClassName.get(parcelableWrapper.wrappedType()), "proto") in generateProtoParcelableWrapper()
139 .addStatement("proto = $T.parseFrom(protoBytes)", parcelableWrapper.wrappedType()) in generateProtoParcelableWrapper()
DSupportedTypes.java122 TypeMirror wrappedType = TypeUtils.extractTypeFromArray(type); in isValidReturnType() local
123 if (TypeUtils.isGeneric(wrappedType)) { in isValidReturnType()
126 if (wrappedType.getKind().isPrimitive()) { in isValidReturnType()
129 if (TypeUtils.isArray(wrappedType)) { in isValidReturnType()
132 return isValidReturnType(wrappedType, context); in isValidReturnType()
195 TypeMirror wrappedType = TypeUtils.extractTypeFromArray(type); in isValidParameterType() local
196 if (TypeUtils.isGeneric(wrappedType)) { in isValidParameterType()
199 if (wrappedType.getKind().isPrimitive()) { in isValidParameterType()
202 if (TypeUtils.isArray(wrappedType)) { in isValidParameterType()
205 return isValidParameterType(wrappedType, context.toBuilder().setWrapped(true).build()); in isValidParameterType()
[all …]
DAlwaysThrowsGenerator.java188 TypeMirror wrappedType = TypeUtils.extractTypeArguments(method.returnType()).get(0); in generateFutureMethodOnAlwaysThrowsClass() local
190 ParameterizedTypeName.get(futureWrapper.wrapperClassName(), ClassName.get(wrappedType)); in generateFutureMethodOnAlwaysThrowsClass()
207 TypeUtils.generateBundlerType(wrappedType)) in generateFutureMethodOnAlwaysThrowsClass()
DFakeOtherGenerator.java309 TypeMirror wrappedType = TypeUtils.extractTypeArguments(method.returnType()).get(0); in generateFutureMethodOnFakeOther() local
311 ParameterizedTypeName.get(futureWrapper.wrapperClassName(), ClassName.get(wrappedType)); in generateFutureMethodOnFakeOther()
319 TypeUtils.generateBundlerType(wrappedType)); in generateFutureMethodOnFakeOther()
DMultipleProfilesGenerator.java307 TypeMirror wrappedType = TypeUtils.extractTypeArguments(method.returnType()).iterator().next(); in generateFutureMethodOnMultipleProfilesClass() local
309 TypeMirror boxedWrappedType = generatorUtilities.boxIfNecessary(wrappedType); in generateFutureMethodOnMultipleProfilesClass()
DInterfaceGenerator.java598 TypeMirror wrappedType = TypeUtils.extractTypeArguments(method.returnType()).iterator().next(); in generateFutureMethodOnMultipleSenderInterface() local
600 TypeMirror boxedWrappedType = generatorUtilities.boxIfNecessary(wrappedType); in generateFutureMethodOnMultipleSenderInterface()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DFutureWrapper.java41 public abstract TypeMirror wrappedType(); in wrappedType() method in FutureWrapper
50 TypeMirror wrappedType, ClassName defaultWrapperClassName, WrapperType wrapperType) { in create() argument
51 return create(wrappedType, defaultWrapperClassName, defaultWrapperClassName, wrapperType); in create()
55 TypeMirror wrappedType, in create() argument
60 wrappedType, defaultWrapperClassName, wrapperClassName, wrapperType); in create()
DParcelableWrapper.java50 public abstract TypeMirror wrappedType(); in wrappedType() method in ParcelableWrapper
59 TypeMirror wrappedType, ClassName defaultWrapperClassName, WrapperType wrapperType) { in create() argument
60 return create(wrappedType, defaultWrapperClassName, defaultWrapperClassName, wrapperType); in create()
64 TypeMirror wrappedType, in create() argument
69 wrappedType, defaultWrapperClassName, wrapperClassName, wrapperType); in create()
/external/dagger2/java/dagger/model/
DKey.java61 return wrappedType().get(); in type()
80 abstract Equivalence.Wrapper<TypeMirror> wrappedType(); in wrappedType() method in Key
184 abstract Builder wrappedType(Equivalence.Wrapper<TypeMirror> wrappedType);
187 return wrappedType(MoreTypes.equivalence().wrap(checkNotNull(type)));
/external/dagger2/java/dagger/internal/codegen/binding/
DComponentRequirement.java91 public abstract Equivalence.Wrapper<TypeMirror> wrappedType(); in wrappedType() method in ComponentRequirement
95 return wrappedType().get(); in type()
DAssistedInjectionAnnotations.java248 public abstract Equivalence.Wrapper<TypeMirror> wrappedType(); in wrappedType() method in AssistedInjectionAnnotations.AssistedParameter
252 return wrappedType().get(); in type()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp750 auto wrappedType = arg.getType().dyn_cast<LLVM::LLVMType>(); in convertBlock() local
751 if (!wrappedType) in convertBlock()
754 llvm::Type *type = convertType(wrappedType); in convertBlock()
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentDescriptorValidator.java342 toImmutableSetMultimap(entry -> entry.getKey().wrappedType(), Entry::getValue)); in validateCreators()