/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | MembersInjectionBinding.java | 41 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 …]
|
D | DependencyRequest.java | 41 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 …]
|
D | ProvisionBinding.java | 30 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()
|
D | MapKeys.java | 39 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) {
|
D | ContributionBinding.java | 42 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) {
|
D | InjectProcessingStep.java | 33 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()
|
D | Util.java | 32 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()
|
D | ProductionBinding.java | 30 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()
|
D | ConfigurationAnnotations.java | 42 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()
|
D | MethodSignatureFormatter.java | 27 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()
|
D | ProducesMethodValidator.java | 30 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()
|
D | KeyVariableNamer.java | 20 import javax.lang.model.type.DeclaredType; 48 public Void visitDeclared(DeclaredType t, StringBuilder builder) { in apply()
|
D | ComponentDescriptor.java | 45 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) {
|
D | ComponentValidator.java | 41 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()
|
D | Key.java | 40 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);
|
D | ProductionComponentValidator.java | 25 import javax.lang.model.type.DeclaredType; 66 public Void visitDeclared(DeclaredType t, Void p) { in validate()
|
D | MapKeyProcessingStep.java | 30 import javax.lang.model.type.DeclaredType; 76 DeclaredType keyType = in process()
|
D | ProvidesMethodValidator.java | 28 import javax.lang.model.type.DeclaredType; 139 DeclaredType declaredReturnType = (DeclaredType) returnType; in validate()
|
D | Binding.java | 36 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()
|
D | MapKeyGenerator.java | 41 import javax.lang.model.type.DeclaredType; 168 public Void visitDeclared(DeclaredType t, Set<TypeElement> p) {
|
D | BindingGraphValidator.java | 61 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/ |
D | wire_format_lite_inl.h | 228 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 …]
|
D | wire_format_lite.h | 253 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/ |
D | TypeNames.java | 22 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/ |
D | TypeNamesTest.java | 22 import javax.lang.model.type.DeclaredType; 56 DeclaredType setType = in forTypeMirror_parameterizedType()
|