/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ProducerFactoryGenerator.java | 101 ClassName.fromClass(ListenableFuture.class), providedTypeName); in write() 117 ClassName.fromClass(ProducerToken.class), in write() 172 ClassName.fromClass(ListenableFuture.class), in write() 185 ClassName.fromClass(Producers.class), in write() 201 ClassName.fromClass(AsyncFunction.class), in write() 215 ClassName.fromClass(Futures.class), in write() 275 ClassName.fromClass(Futures.class), in futureSnippet() 276 ClassName.fromClass(Void.class)); in futureSnippet() 281 return ClassName.fromClass(Void.class); in applyArgType() 362 ClassName.fromClass(Futures.class), in futureSnippet() [all …]
|
D | AbstractComponentWriter.java | 350 ClassName.fromClass(IllegalStateException.class), in addBuildMethod() 393 ClassName.fromClass(UnsupportedOperationException.class), in addBuilderMethods() 394 ClassName.fromClass(String.class), in addBuilderMethods() 569 ClassName.fromClass(MembersInjectors.class), in staticMemberSelect() 571 ClassName.fromClass(MembersInjector.class))); in staticMemberSelect() 772 ClassName.fromClass(factoryClass), in initializeSetMultibindings() 852 ClassName.fromClass(DelegateFactory.class))); in initializeDelegateFactories() 869 ClassName.fromClass(DelegateFactory.class), in initializeMember() 894 ClassName.fromClass(InstanceFactory.class), in initializeFactoryForContributionBinding() 942 /* 1 */ ClassName.fromClass(Factory.class), in initializeFactoryForContributionBinding() [all …]
|
D | MonitoringModuleGenerator.java | 47 Set.class, ClassName.fromClass(ProductionComponentMonitor.Factory.class)); 83 .addSnippet("return %s.of();", ClassName.fromClass(ImmutableSet.class)); in write() 87 providerField.setInitializer("new %s()", ClassName.fromClass(MonitorCache.class)); in write()
|
D | FactoryGenerator.java | 153 ParameterizedTypeName.create(ClassName.fromClass(Factory.class), providedTypeName)); in write() 191 TypeName returnType = ParameterizedTypeName.create(ClassName.fromClass(Factory.class), in write() 244 ClassName.fromClass(Collections.class), paramTypeName, providesMethodInvocation); in write()
|
D | FrameworkField.java | 50 ClassName.fromClass(frameworkClass), in createWithTypeFromKey()
|
D | SourceFiles.java | 173 return Snippet.format("%s.create(%s)", ClassName.fromClass(DoubleCheckLazy.class), in frameworkTypeUsageStatement()
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
D | TypeNamesTest.java | 47 .isEqualTo(ClassName.fromClass(Object.class)); in forTypeMirror_basicTypes() 49 .isEqualTo(ClassName.fromClass(Charset.class)); in forTypeMirror_basicTypes() 51 .isEqualTo(ClassName.fromClass(TypeNamesTest.class)); in forTypeMirror_basicTypes() 59 .isEqualTo(ParameterizedTypeName.create(Set.class, ClassName.fromClass(Object.class))); in forTypeMirror_parameterizedType() 92 .isEqualTo(new ArrayTypeName(ClassName.fromClass(Object.class))); in forTypeMirror_arrays()
|
D | ClassNameTest.java | 113 ClassName className = ClassName.fromClass(ClassNameTest.class); in fromClass_NonNestedClass() 119 ClassName className = ClassName.fromClass(InnerClass.class); in fromClass_NestedClass() 125 ClassName className = ClassName.fromClass(InnerClass.class); in fromClass_classFileName()
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/ |
D | ReflectiveTypeFinder.java | 41 public Class<?> findExpectedType(Class<?> fromClass) { in findExpectedType() argument 42 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { in findExpectedType()
|
/external/junit/src/main/java/org/junit/internal/matchers/ |
D | TypeSafeMatcher.java | 30 private static Class<?> findExpectedType(Class<?> fromClass) { in findExpectedType() argument 31 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { in findExpectedType()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | TypeWriter.java | 70 new MethodWriter(ClassName.fromClass(returnType), name); in addMethod() 90 return addField(ClassName.fromClass(type), name); in addField()
|
D | Modifiable.java | 52 return annotate(ClassName.fromClass(annotation)); in annotate()
|
D | AnnotationWriter.java | 51 Snippet snippet = Snippet.format("%s.%s", ClassName.fromClass(value.getClass()), value); in setMember()
|
D | TypeNames.java | 47 return ClassName.fromClass(clazz); in forClass()
|
D | ParameterizedTypeName.java | 104 return new ParameterizedTypeName(ClassName.fromClass(parameterizedClass), in create()
|
D | ConstructorWriter.java | 41 return addParameter(ClassName.fromClass(type), name); in addParameter()
|
D | MethodWriter.java | 64 return addParameter(ClassName.fromClass(type), name); in addParameter()
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | BindingFieldTest.java | 71 ClassName.fromClass(Provider.class), xClass)); in frameworkType() 76 ClassName.fromClass(MembersInjector.class), xClass)); in frameworkType()
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/ |
D | Zeros.java | 50 int zeroSize = DataType.fromClass(type).byteSize(); in create()
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
D | Tensor.java | 106 DataType dtype = DataType.fromClass(type); in create() 244 Tensor<T> ret = (Tensor<T>) create(DataType.fromClass(type), shape, data); in create() 292 DataType dt = DataType.fromClass(type); in expect()
|
D | DataType.java | 96 public static DataType fromClass(Class<?> c) { in fromClass() method in DataType
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/ |
D | LabelImage.java | 185 DataType dtype = DataType.fromClass(type); in cast() 204 .setAttr("dtype", DataType.fromClass(type)) in constant()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 144 @Override void visitClass(Class<?> fromClass) { in populateTypeMappings() argument 148 throw new IllegalArgumentException("No type mapping from " + fromClass); in populateTypeMappings()
|
D | TypeToken.java | 839 Class<?> fromClass = (Class<?>) from; 840 if (!fromClass.isArray()) { 843 return isAssignable(fromClass.getComponentType(), to.getGenericComponentType());
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TestUtil.java | 59 .setAttr("dtype", DataType.fromClass(type)) in placeholder()
|