Home
last modified time | relevance | path

Searched refs:DeclaredType (Results 1 – 25 of 29) sorted by relevance

12

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectionBinding.java41 import javax.lang.model.type.DeclaredType;
134 ExecutableElement methodElement, DeclaredType containingType) { in injectionSiteForInjectMethod()
147 VariableElement fieldElement, DeclaredType containingType) { in injectionSiteForInjectField()
163 DeclaredType unresolved = MoreTypes.asDeclared(binding.bindingElement().asType()); in unresolve()
168 boolean hasInjectedMembers(DeclaredType declaredType) { in hasInjectedMembers()
178 DeclaredType declaredType, Optional<TypeMirror> resolvedType) { in forInjectedType()
181 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in forInjectedType()
205 new Function<DeclaredType, DependencyRequest>() { in forInjectedType()
207 public DependencyRequest apply(DeclaredType input) { in forInjectedType()
225 private ImmutableSortedSet<InjectionSite> getInjectionSites(DeclaredType declaredType) { in getInjectionSites()
[all …]
DDependencyRequest.java41 import javax.lang.model.type.DeclaredType;
116 abstract DeclaredType enclosingType(); in enclosingType()
142 ImmutableSet<DependencyRequest> forRequiredResolvedVariables(DeclaredType container, in forRequiredResolvedVariables()
197 DependencyRequest forRequiredResolvedVariable(DeclaredType container, in forRequiredResolvedVariable()
232 DeclaredType container = getEnclosingType(productionMethod); in forComponentProductionMethod()
239 qualifier, Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())), in forComponentProductionMethod()
263 Iterables.getOnlyElement(((DeclaredType) returnType).getTypeArguments())), in forComponentMembersInjectionMethod()
280 DependencyRequest forMembersInjectedType(DeclaredType type) { in forMembersInjectedType()
305 DeclaredType container, in newDependencyRequest()
350 Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())); in extractKindAndType()
[all …]
DProvisionBinding.java30 import javax.lang.model.type.DeclaredType;
100 DeclaredType enclosingCxtorType = in forInjectConstructor()
104 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in forInjectConstructor()
132 Optional.<DeclaredType>absent(), in forInjectConstructor()
143 private Optional<DependencyRequest> membersInjectionRequest(DeclaredType type) { in membersInjectionRequest()
164 DeclaredType declaredContainer = MoreTypes.asDeclared(contributedBy); in forProvidesMethod()
205 Optional.<DeclaredType>absent(), in implicitMapOfProviderBinding()
221 Optional.<DeclaredType>absent(), in forComponent()
253 DeclaredType declaredContainer = asDeclared(contributedBy.asType()); in forSubcomponentBuilderMethod()
260 Optional.<DeclaredType>absent(), in forSubcomponentBuilderMethod()
DMapKeys.java39 import javax.lang.model.type.DeclaredType;
103 public static DeclaredType getUnwrappedMapKeyType( in getUnwrappedMapKeyType()
104 final DeclaredType mapKeyAnnotationType, final Types types) { in getUnwrappedMapKeyType()
113 SimpleTypeVisitor6<DeclaredType, Void> keyTypeElementVisitor = in getUnwrappedMapKeyType()
114 new SimpleTypeVisitor6<DeclaredType, Void>() { in getUnwrappedMapKeyType()
117 public DeclaredType visitArray(ArrayType t, Void p) { in getUnwrappedMapKeyType()
123 public DeclaredType visitPrimitive(PrimitiveType t, Void p) { in getUnwrappedMapKeyType()
128 public DeclaredType visitDeclared(DeclaredType t, Void p) { in getUnwrappedMapKeyType()
323 public TypeName visitDeclared(DeclaredType t, Void p) {
DContributionBinding.java42 import javax.lang.model.type.DeclaredType;
98 abstract Optional<DeclaredType> nullableType(); in nullableType()
275 static ImmutableSetMultimap<Wrapper<DeclaredType>, ContributionBinding>
280 new Function<ContributionBinding, Equivalence.Wrapper<DeclaredType>>() {
282 public Equivalence.Wrapper<DeclaredType> apply(ContributionBinding mapBinding) {
DInjectProcessingStep.java33 import javax.lang.model.type.DeclaredType;
82 final ImmutableSet.Builder<DeclaredType> membersInjectedTypes = ImmutableSet.builder(); in process()
100 DeclaredType type = in process()
145 for (DeclaredType injectedType : membersInjectedTypes.build()) { in process()
DUtil.java32 import javax.lang.model.type.DeclaredType;
52 public static TypeMirror getProvidedValueTypeOfMap(DeclaredType mapType) { in getProvidedValueTypeOfMap()
61 public static TypeMirror getValueTypeOfMap(DeclaredType mapType) { in getValueTypeOfMap()
69 public static TypeMirror getKeyTypeOfMap(DeclaredType mapType) { in getKeyTypeOfMap()
DProductionBinding.java30 import javax.lang.model.type.DeclaredType;
113 DeclaredType declaredContainer = MoreTypes.asDeclared(contributedBy); in forProducesMethod()
157 Optional.<DeclaredType>absent(), in implicitMapOfProducerBinding()
177 Optional.<DeclaredType>absent(), in forComponentMethod()
DConfigurationAnnotations.java42 import javax.lang.model.type.DeclaredType;
97 static Optional<DeclaredType> getNullableType(Element element) { in getNullableType()
195 static ImmutableList<DeclaredType> enclosedBuilders(TypeElement typeElement, in enclosedBuilders()
197 final ImmutableList.Builder<DeclaredType> builders = ImmutableList.builder(); in enclosedBuilders()
218 public Optional<AnnotationMirror> visitDeclared(DeclaredType t, Void p) { in visitDeclared()
DMethodSignatureFormatter.java27 import javax.lang.model.type.DeclaredType;
50 return format(method, Optional.<DeclaredType>absent()); in format()
57 public String format(ExecutableElement method, Optional<DeclaredType> container) { in format()
DProducesMethodValidator.java30 import javax.lang.model.type.DeclaredType;
141 DeclaredType declaredReturnType = MoreTypes.asDeclared(returnType); in validate()
176 DeclaredType declaredType = MoreTypes.asDeclared(type); in validateSingleReturnType()
195 DeclaredType declaredType = MoreTypes.asDeclared(type); in validateSetType()
DKeyVariableNamer.java20 import javax.lang.model.type.DeclaredType;
48 public Void visitDeclared(DeclaredType t, StringBuilder builder) { in apply()
DComponentDescriptor.java45 import javax.lang.model.type.DeclaredType;
268 DeclaredType declaredComponentType = MoreTypes.asDeclared(componentDefinitionType.asType());
339 ImmutableList<DeclaredType> enclosedBuilders = kind.builderAnnotationType() == null
340 ? ImmutableList.<DeclaredType>of()
342 Optional<DeclaredType> builderType =
432 private Optional<BuilderSpec> createBuilderSpec(Optional<DeclaredType> builderType) {
DComponentValidator.java41 import javax.lang.model.type.DeclaredType;
142 ImmutableList<DeclaredType> builders = in validate()
150 DeclaredType subjectType = MoreTypes.asDeclared(subject.asType()); in validate()
277 @Override public Optional<TypeElement> visitDeclared(DeclaredType t, Void p) { in validateSubcomponentMethod()
340 public Optional<AnnotationMirror> visitDeclared(DeclaredType t, Void p) { in checkForAnnotation()
DKey.java40 import javax.lang.model.type.DeclaredType;
122 @Override public Boolean visitDeclared(DeclaredType type, Void ignored) { in isValidImplicitProvisionKey()
206 ExecutableElement subcomponentBuilderMethod, DeclaredType declaredContainer) {
346 DeclaredType declaredMapType = MoreTypes.asDeclared(possibleMapKey.type());
356 DeclaredType wrappedType = types.getDeclaredType(wrappingElement, mapValueType);
DProductionComponentValidator.java25 import javax.lang.model.type.DeclaredType;
66 public Void visitDeclared(DeclaredType t, Void p) { in validate()
DMapKeyProcessingStep.java30 import javax.lang.model.type.DeclaredType;
76 DeclaredType keyType = in process()
DProvidesMethodValidator.java28 import javax.lang.model.type.DeclaredType;
139 DeclaredType declaredReturnType = (DeclaredType) returnType; in validate()
DBinding.java36 import javax.lang.model.type.DeclaredType;
190 public Void visitDeclared(DeclaredType t, ImmutableSet.Builder<String> p) { in nonPublicPackageUse()
256 public List<TypeMirror> visitDeclared(DeclaredType t, Void p) { in hasNonDefaultTypeParameters()
DMapKeyGenerator.java41 import javax.lang.model.type.DeclaredType;
168 public Void visitDeclared(DeclaredType t, Set<TypeElement> p) {
DBindingGraphValidator.java61 import javax.lang.model.type.DeclaredType;
218 DeclaredType componentType = in subgraphFactoryMethodParameters()
393 ImmutableSetMultimap<Equivalence.Wrapper<DeclaredType>, ContributionBinding> in hasInconsistentMapKeyAnnotationTypes()
421 public Boolean visitDeclared(DeclaredType type, Void ignored) { in validateMembersInjectionBinding()
441 public Boolean visitDeclared(DeclaredType t, Void p) { in validateMembersInjectionBinding()
878 Multimap<Equivalence.Wrapper<DeclaredType>, ContributionBinding> in reportInconsistentMapKeyAnnotations() argument
882 for (Map.Entry<Equivalence.Wrapper<DeclaredType>, Collection<ContributionBinding>> entry : in reportInconsistentMapKeyAnnotations()
884 DeclaredType annotationType = entry.getKey().get(); in reportInconsistentMapKeyAnnotations()
/external/protobuf/src/google/protobuf/
Dwire_format_lite_inl.h228 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
235 if (!ReadPrimitive<CType, DeclaredType>(input, &value)) return false; in ReadRepeatedPrimitive()
239 if (!ReadPrimitive<CType, DeclaredType>(input, &value)) return false; in ReadRepeatedPrimitive()
246 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
254 if (!ReadPrimitive<CType, DeclaredType>(input, &value)) in ReadRepeatedFixedSizePrimitive()
281 buffer = ReadPrimitiveFromArray<CType, DeclaredType>(buffer, &value); in ReadRepeatedFixedSizePrimitive()
317 template <typename CType, enum WireFormatLite::FieldType DeclaredType> in READ_REPEATED_FIXED_SIZE_PRIMITIVE()
323 return ReadRepeatedPrimitive<CType, DeclaredType>( in READ_REPEATED_FIXED_SIZE_PRIMITIVE()
327 template <typename CType, enum WireFormatLite::FieldType DeclaredType>
335 if (!ReadPrimitive<CType, DeclaredType>(input, &value)) return false; in ReadPackedPrimitive()
[all …]
Dwire_format_lite.h253 template <typename CType, enum FieldType DeclaredType>
259 template <typename CType, enum FieldType DeclaredType>
267 template <typename CType, enum FieldType DeclaredType>
278 template <typename CType, enum FieldType DeclaredType>
285 template <typename CType, enum FieldType DeclaredType>
291 template <typename CType, enum FieldType DeclaredType>
501 template <typename CType, enum FieldType DeclaredType>
509 template <typename CType, enum FieldType DeclaredType>
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DTypeNames.java22 import javax.lang.model.type.DeclaredType;
69 public TypeName visitDeclared(DeclaredType t, Void p) { in forTypeMirror()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java22 import javax.lang.model.type.DeclaredType;
56 DeclaredType setType = in forTypeMirror_parameterizedType()

12