/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/ |
D | CustomTestApplicationMetadata.java | 27 import dagger.hilt.processor.internal.ClassNames; 55 Processors.hasAnnotation(element, ClassNames.CUSTOM_TEST_APPLICATION), in of() 58 ClassNames.CUSTOM_TEST_APPLICATION.simpleName()); in of() 64 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in of() 77 Processors.getAnnotationMirror(element, ClassNames.CUSTOM_TEST_APPLICATION), in getBaseElement() 83 !Processors.hasAnnotation(baseSuperclassElement, ClassNames.HILT_ANDROID_APP), in getBaseElement() 86 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement() 87 ClassNames.HILT_ANDROID_APP.simpleName(), in getBaseElement() 92 .filter(field -> Processors.hasAnnotation(field, ClassNames.INJECT)) in getBaseElement() 99 ClassNames.CUSTOM_TEST_APPLICATION.simpleName(), in getBaseElement() [all …]
|
D | CustomTestApplicationGenerator.java | 26 import dagger.hilt.processor.internal.ClassNames; 37 ParameterSpec.builder(ClassNames.TEST_APPLICATION_COMPONENT_MANAGER, "componentManager") 56 ParameterizedTypeName.get(ClassNames.GENERATED_COMPONENT_MANAGER, TypeName.OBJECT)) in generate() 57 .addSuperinterface(ClassNames.TEST_APPLICATION_COMPONENT_MANAGER_HOLDER) in generate() 93 .addParameter(ClassNames.CONTEXT, "base") in getAttachBaseContextMethod()
|
/external/dagger2/java/dagger/hilt/processor/internal/root/ |
D | TestComponentDataGenerator.java | 34 import dagger.hilt.processor.internal.ClassNames; 92 generator, processingEnv, ClassNames.ROOT_PROCESSOR.toString()); in generate() 103 ClassName.get(testElement), ClassNames.SINGLETON_COMPONENT); in getMethod() 105 rootMetadata.modulesThatDaggerCannotConstruct(ClassNames.SINGLETON_COMPONENT); in getMethod() 113 .returns(ClassNames.TEST_COMPONENT_DATA) in getMethod() 116 ClassNames.TEST_COMPONENT_DATA, in getMethod() 127 ClassNames.APPLICATION_CONTEXT_MODULE, in getMethod() 128 ClassNames.APPLICATION_PROVIDER, in getMethod() 185 ? CodeBlock.of("$T.emptySet()", ClassNames.COLLECTIONS) in getElementsListed() 188 ClassNames.HASH_SET, in getElementsListed() [all …]
|
D | RootType.java | 20 import dagger.hilt.processor.internal.ClassNames; 28 ROOT(ClassNames.HILT_ANDROID_APP), 31 HILT_ANDROID_TEST_ROOT(ClassNames.HILT_ANDROID_TEST), 33 TEST_ROOT(ClassNames.INTERNAL_TEST_ROOT); 51 if (Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_APP)) { in of() 53 } else if (Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_TEST)) { in of() 55 } else if (Processors.hasAnnotation(element, ClassNames.INTERNAL_TEST_ROOT)) { in of()
|
D | TestComponentDataSupplierGenerator.java | 33 import dagger.hilt.processor.internal.ClassNames; 43 ParameterizedTypeName.get(ClassNames.CLASS, WildcardTypeName.subtypeOf(TypeName.OBJECT)); 45 ParameterizedTypeName.get(ClassNames.MAP, CLASS_TYPE, ClassNames.TEST_COMPONENT_DATA); 79 .superclass(ClassNames.TEST_COMPONENT_DATA_SUPPLIER) in generate() 83 .initializer("new $T<>($L)", ClassNames.HASH_MAP, rootMetadatas.size()) in generate() 89 generator, processingEnv, ClassNames.ROOT_PROCESSOR.toString()); in generate()
|
D | RootGenerator.java | 36 import dagger.hilt.processor.internal.ClassNames; 76 Processors.addGeneratedAnnotation(componentsWrapper, env, ClassNames.ROOT_PROCESSOR.toString()); in generateComponents() 160 AnnotationSpec.builder(ClassNames.MODULE) in subcomponentBuilderModule() 163 .addAnnotation(ClassNames.DISABLE_INSTALL_IN_CHECK) in subcomponentBuilderModule() 167 .addAnnotation(ClassNames.BINDS) in subcomponentBuilderModule() 173 subcomponentBuilderModule, env, ClassNames.ROOT_PROCESSOR.toString()); in subcomponentBuilderModule() 194 return ClassNames.SUBCOMPONENT; in componentAnnotation() 196 return ClassNames.COMPONENT; in componentAnnotation() 202 return ClassNames.COMPONENT_BUILDER; in componentBuilderAnnotation() 204 return ClassNames.SUBCOMPONENT_BUILDER; in componentBuilderAnnotation()
|
D | TestInjectorGenerator.java | 25 import dagger.hilt.processor.internal.ClassNames; 50 .addAnnotation(ClassNames.GENERATED_ENTRY_POINT) in generate() 52 AnnotationSpec.builder(ClassNames.INSTALL_IN) in generate() 57 ParameterizedTypeName.get(ClassNames.TEST_INJECTOR, metadata.testName())) in generate() 75 return ClassNames.SINGLETON_COMPONENT; in installInComponent()
|
D | TestRootMetadata.java | 22 import dagger.hilt.processor.internal.ClassNames; 64 env.getElementUtils().getTypeElement(ClassNames.MULTI_DEX_APPLICATION.toString()); in of() 66 !Processors.hasAnnotation(element, ClassNames.ANDROID_ENTRY_POINT), in of() 71 Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_TEST), in of()
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | Components.java | 51 if (Processors.hasAnnotation(element, ClassNames.INSTALL_IN) in getComponents() 52 || Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN)) { in getComponents() 61 && Processors.hasAnnotation(enclosing, ClassNames.MODULE) in getComponents() 84 AnnotationSpec.Builder builder = AnnotationSpec.builder(ClassNames.INSTALL_IN); in getInstallInAnnotationSpec() 92 Processors.hasAnnotation(element, ClassNames.INSTALL_IN) in getHiltInstallInComponents() 93 || Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN)); in getHiltInstallInComponents() 97 Processors.hasAnnotation(element, ClassNames.INSTALL_IN) in getHiltInstallInComponents() 100 Processors.getAnnotationMirror(element, ClassNames.INSTALL_IN), in getHiltInstallInComponents() 104 Processors.getAnnotationMirror(element, ClassNames.TEST_INSTALL_IN), in getHiltInstallInComponents() 109 .filter(component -> !Processors.hasAnnotation(component, ClassNames.DEFINE_COMPONENT)) in getHiltInstallInComponents()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/ |
D | ViewModelModuleGenerator.kt | 26 import dagger.hilt.processor.internal.ClassNames in <lambda>() 69 AnnotationSpec.builder(ClassNames.ORIGINATING_ELEMENT) in <lambda>() 101 .addAnnotation(ClassNames.BINDS) in <lambda>() 102 .addAnnotation(ClassNames.INTO_MAP) in <lambda>() 104 AnnotationSpec.builder(ClassNames.STRING_KEY) in <lambda>() 129 .addAnnotation(ClassNames.PROVIDES) in <lambda>() 130 .addAnnotation(ClassNames.INTO_SET) in <lambda>() 140 .addAnnotation(ClassNames.MODULE) in <lambda>() 142 AnnotationSpec.builder(ClassNames.INSTALL_IN) in <lambda>()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/uninstallmodules/ |
D | UninstallModulesProcessor.java | 27 import dagger.hilt.processor.internal.ClassNames; 43 return ImmutableSet.of(ClassNames.IGNORE_MODULES.toString()); in getSupportedAnnotationTypes() 52 && Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_TEST), in processEach() 56 ClassNames.HILT_ANDROID_TEST.simpleName(), in processEach() 62 Processors.getAnnotationMirror(element, ClassNames.IGNORE_MODULES), in processEach() 67 !(Processors.hasAnnotation(module, ClassNames.MODULE) in processEach() 68 && Processors.hasAnnotation(module, ClassNames.INSTALL_IN))) in processEach()
|
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/ |
D | AggregatedDepsProcessor.java | 38 import dagger.hilt.processor.internal.ClassNames; 67 ClassNames.ENTRY_POINT, 68 ClassNames.GENERATED_ENTRY_POINT, 69 ClassNames.COMPONENT_ENTRY_POINT); 73 ClassNames.MODULE); 76 ImmutableSet.of(ClassNames.INSTALL_IN, ClassNames.TEST_INSTALL_IN); 159 || Processors.hasAnnotation(module.getEnclosingElement(), ClassNames.HILT_ANDROID_TEST), in processModule() 188 if (Processors.hasAnnotation(module, ClassNames.TEST_INSTALL_IN)) { in processModule() 201 Processors.getAnnotationMirror(module, ClassNames.TEST_INSTALL_IN); in processModule() 215 !Processors.hasAnnotation(replacedModule, ClassNames.INSTALL_IN)) in processModule() [all …]
|
D | PkgPrivateMetadata.java | 26 import dagger.hilt.processor.internal.ClassNames; 73 if (Processors.hasAnnotation(element, ClassNames.INSTALL_IN)) { in of() 74 installIn = Optional.of(Processors.getAnnotationMirror(element, ClassNames.INSTALL_IN)); in of() 75 } else if (Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN)) { in of() 76 installIn = Optional.of(Processors.getAnnotationMirror(element, ClassNames.TEST_INSTALL_IN)); in of() 82 if (annotation.equals(ClassNames.MODULE) in of()
|
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/ |
D | DefineComponentProcessor.java | 28 import dagger.hilt.processor.internal.ClassNames; 53 ClassNames.DEFINE_COMPONENT.toString(), ClassNames.DEFINE_COMPONENT_BUILDER.toString()); in getSupportedAnnotationTypes() 58 if (ClassName.get(annotation).equals(ClassNames.DEFINE_COMPONENT)) { in processEach() 64 } else if (ClassName.get(annotation).equals(ClassNames.DEFINE_COMPONENT_BUILDER)) { in processEach() 77 AnnotationSpec.builder(ClassNames.DEFINE_COMPONENT_CLASSES) in generateFile()
|
D | DefineComponentMetadatas.java | 31 import dagger.hilt.processor.internal.ClassNames; 80 Processors.hasAnnotation(element, ClassNames.DEFINE_COMPONENT), in getUncached() 130 Processors.getAnnotationsAnnotatedWith(component, ClassNames.ALIAS_OF); in getUncached() 140 Processors.getAnnotationMirror(component, ClassNames.DEFINE_COMPONENT); in getUncached() 154 ClassName.get(parent).equals(ClassNames.DEFINE_COMPONENT_NO_PARENT) in getUncached() 155 || Processors.hasAnnotation(parent, ClassNames.DEFINE_COMPONENT), in getUncached() 162 ClassName.get(parent).equals(ClassNames.DEFINE_COMPONENT_NO_PARENT) in getUncached() 168 || ClassName.get(component).equals(ClassNames.SINGLETON_COMPONENT), in getUncached()
|
D | DefineComponents.java | 30 import dagger.hilt.processor.internal.ClassNames; 108 ClassNames.DEFINE_COMPONENT_BUILDER, in getComponentTree() 109 ClassNames.DEFINE_COMPONENT, in getComponentTree() 180 Processors.hasAnnotation(typeElement, ClassNames.DEFINE_COMPONENT_CLASSES), in from() 184 ClassNames.DEFINE_COMPONENT_CLASSES.simpleName(), in from() 205 Processors.getAnnotationMirror(element, ClassNames.DEFINE_COMPONENT_CLASSES); in defineComponentClass() 218 ClassNames.DEFINE_COMPONENT_CLASSES.simpleName(), in defineComponentClass()
|
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/ |
D | AliasOfProcessor.java | 24 import dagger.hilt.processor.internal.ClassNames; 40 return ImmutableSet.of(ClassNames.ALIAS_OF.toString()); in getSupportedAnnotationTypes() 46 Processors.hasAnnotation(element, ClassNames.SCOPE), in processEach() 52 Processors.getAnnotationMirror(element, ClassNames.ALIAS_OF); in processEach()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/ |
D | BindValueGenerator.java | 34 import dagger.hilt.processor.internal.ClassNames; 76 ImmutableSet.of(ClassNames.SINGLETON_COMPONENT))) in generate() 105 ParameterSpec.builder(ClassNames.CONTEXT, "context") in providesTestMethod() 106 .addAnnotation(ClassNames.APPLICATION_CONTEXT) in providesTestMethod() 112 ClassNames.TEST_APPLICATION_COMPONENT_MANAGER, in providesTestMethod() 113 ClassNames.TEST_APPLICATION_COMPONENT_MANAGER_HOLDER); in providesTestMethod()
|
D | BindValueMetadata.java | 26 import dagger.hilt.processor.internal.ClassNames; 49 ClassNames.ANDROID_BIND_VALUE); 52 ClassNames.ANDROID_BIND_VALUE_INTO_SET); 55 ClassNames.ANDROID_BIND_ELEMENTS_INTO_SET); 58 ClassNames.ANDROID_BIND_VALUE_INTO_MAP);
|
/external/dagger2/java/dagger/hilt/processor/internal/disableinstallincheck/ |
D | DisableInstallInCheckProcessor.java | 24 import dagger.hilt.processor.internal.ClassNames; 38 return ImmutableSet.of(ClassNames.DISABLE_INSTALL_IN_CHECK.toString()); in getSupportedAnnotationTypes() 44 Processors.hasAnnotation(element, ClassNames.MODULE), in processEach()
|
/external/dagger2/java/dagger/hilt/processor/internal/generatesrootinput/ |
D | GeneratesRootInputs.java | 27 import dagger.hilt.processor.internal.ClassNames; 84 Processors.getAnnotationMirror(element, ClassNames.GENERATES_ROOT_INPUT_PROPAGATED_DATA); in getAnnotationList() 92 ClassNames.GENERATES_ROOT_INPUT_PROPAGATED_DATA, in getAnnotationList() 103 builder.add(ClassNames.PRODUCTION_COMPONENT); in getAnnotationList()
|
/external/dagger2/java/dagger/hilt/processor/internal/originatingelement/ |
D | OriginatingElementProcessor.java | 25 import dagger.hilt.processor.internal.ClassNames; 43 return ImmutableSet.of(ClassNames.ORIGINATING_ELEMENT.toString()); in getSupportedAnnotationTypes() 58 Processors.getAnnotationMirror(element, ClassNames.ORIGINATING_ELEMENT), in processEach()
|
/external/libcxx/src/ |
D | regex.cpp | 199 const classnames ClassNames[] = variable 243 _VSTD::lower_bound(begin(ClassNames), end(ClassNames), s, use_strcmp()); in __get_classname() 245 if (i != end(ClassNames) && strcmp(s, i->elem_) == 0) in __get_classname()
|
/external/llvm-project/libcxx/src/ |
D | regex.cpp | 200 const classnames ClassNames[] = variable 244 _VSTD::lower_bound(begin(ClassNames), end(ClassNames), s, use_strcmp()); in __get_classname() 246 if (i != end(ClassNames) && strcmp(s, i->elem_) == 0) in __get_classname()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/processor/ |
D | ClassNames.java | 19 final class ClassNames { class 23 private ClassNames() {} in ClassNames() method in ClassNames
|