Home
last modified time | relevance | path

Searched refs:fromClass (Results 1 – 25 of 36) sorted by relevance

12

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProducerFactoryGenerator.java101 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 …]
DAbstractComponentWriter.java350 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 …]
DMonitoringModuleGenerator.java47 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()
DFactoryGenerator.java153 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()
DFrameworkField.java50 ClassName.fromClass(frameworkClass), in createWithTypeFromKey()
DSourceFiles.java173 return Snippet.format("%s.create(%s)", ClassName.fromClass(DoubleCheckLazy.class), in frameworkTypeUsageStatement()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java47 .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()
DClassNameTest.java113 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/library/src/org/hamcrest/
DTypeSafeMatcher.java25 private static Class<?> findExpectedType(Class<?> fromClass) { in findExpectedType() argument
26 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { in findExpectedType()
/external/junit/src/org/junit/internal/matchers/
DTypeSafeMatcher.java27 private static Class<?> findExpectedType(Class<?> fromClass) { in findExpectedType() argument
28 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { in findExpectedType()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DTypeWriter.java70 new MethodWriter(ClassName.fromClass(returnType), name); in addMethod()
90 return addField(ClassName.fromClass(type), name); in addField()
DModifiable.java52 return annotate(ClassName.fromClass(annotation)); in annotate()
DAnnotationWriter.java51 Snippet snippet = Snippet.format("%s.%s", ClassName.fromClass(value.getClass()), value); in setMember()
DConstructorWriter.java41 return addParameter(ClassName.fromClass(type), name); in addParameter()
DTypeNames.java47 return ClassName.fromClass(clazz); in forClass()
DParameterizedTypeName.java104 return new ParameterizedTypeName(ClassName.fromClass(parameterizedClass), in create()
DMethodWriter.java64 return addParameter(ClassName.fromClass(type), name); in addParameter()
DClassName.java172 public static ClassName fromClass(Class<?> clazz) { in fromClass() method in ClassName
DJavaWriter.java80 explicitImports.add(ClassName.fromClass(importedClass)); in addImport()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DBindingFieldTest.java71 ClassName.fromClass(Provider.class), xClass)); in frameworkType()
76 ClassName.fromClass(MembersInjector.class), xClass)); in frameworkType()
/external/guava/guava/src/com/google/common/reflect/
DTypeResolver.java144 @Override void visitClass(Class<?> fromClass) { in populateTypeMappings() argument
148 throw new IllegalArgumentException("No type mapping from " + fromClass); in populateTypeMappings()
DTypeToken.java839 Class<?> fromClass = (Class<?>) from;
840 if (!fromClass.isArray()) {
843 return isAssignable(fromClass.getComponentType(), to.getGenericComponentType());
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.databinding_1.3.100.I20100601-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/opencv3/modules/java/pure_test/lib/
Djunit-4.11.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/owasp/sanitizer/lib/junit/
Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...

12