Home
last modified time | relevance | path

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

12

/external/dagger2/java/dagger/internal/codegen/
DSourceFileGeneratorsModule.java39 FactoryGenerator generator, CompilerOptions compilerOptions) { in factoryGenerator() argument
40 return hjarWrapper(generator, compilerOptions); in factoryGenerator()
45 ProducerFactoryGenerator generator, CompilerOptions compilerOptions) { in producerFactoryGenerator() argument
46 return hjarWrapper(generator, compilerOptions); in producerFactoryGenerator()
51 MembersInjectorGenerator generator, CompilerOptions compilerOptions) { in membersInjectorGenerator() argument
52 return hjarWrapper(generator, compilerOptions); in membersInjectorGenerator()
58 ModuleConstructorProxyGenerator generator, CompilerOptions compilerOptions) { in moduleConstructorProxyGenerator() argument
59 return hjarWrapper(generator, compilerOptions); in moduleConstructorProxyGenerator()
63 SourceFileGenerator<T> generator, CompilerOptions compilerOptions) { in hjarWrapper() argument
64 return compilerOptions.headerCompilation() in hjarWrapper()
DProcessingEnvironmentModule.java57 static Filer filer(CompilerOptions compilerOptions, ProcessingEnvironment processingEnvironment) { in filer() argument
58 if (compilerOptions.headerCompilation() || !compilerOptions.formatGeneratedSource()) { in filer()
/external/dagger2/java/dagger/internal/codegen/validation/
DBindingGraphValidator.java38 private final CompilerOptions compilerOptions; field in BindingGraphValidator
45 CompilerOptions compilerOptions) { in BindingGraphValidator() argument
49 this.compilerOptions = compilerOptions; in BindingGraphValidator()
55 || compilerOptions.pluginsVisitFullBindingGraphs(component); in shouldDoFullBindingGraphValidation()
59 return !compilerOptions.fullBindingGraphValidationType().equals(ValidationType.NONE); in requiresFullBindingGraphValidation()
75 && compilerOptions.fullBindingGraphValidationType().equals(ValidationType.WARNING); in validate()
87 && !compilerOptions.pluginsVisitFullBindingGraphs(component)) { in visitPlugins()
DComponentDescriptorValidator.java93 private final CompilerOptions compilerOptions; field in ComponentDescriptorValidator
102 CompilerOptions compilerOptions, in ComponentDescriptorValidator() argument
108 this.compilerOptions = compilerOptions; in ComponentDescriptorValidator()
179 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateComponentDependencyHierarchy()
182 } else if (compilerOptions.validateTransitiveComponentDependencies() in validateComponentDependencyHierarchy()
217 if (compilerOptions.scopeCycleValidationType().diagnosticKind().isPresent() in validateDependencyScopes()
227 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateDependencyScopes()
233 if (!compilerOptions.scopeCycleValidationType().equals(ValidationType.NONE)) { in validateDependencyScopes()
427 if (compilerOptions.scopeCycleValidationType().diagnosticKind().isPresent()) { in validateDependencyScopeHierarchy()
429 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateDependencyScopeHierarchy()
[all …]
DInjectValidator.java69 private final CompilerOptions compilerOptions; field in InjectValidator
81 CompilerOptions compilerOptions, in InjectValidator() argument
87 compilerOptions, in InjectValidator()
97 CompilerOptions compilerOptions, in InjectValidator() argument
104 this.compilerOptions = compilerOptions; in InjectValidator()
122 return compilerOptions.ignorePrivateAndStaticInjectionForComponent() in whenGeneratingCode()
127 compilerOptions, in whenGeneratingCode()
413 compilerOptions.privateMemberValidationKind()); in privateMemberDiagnosticKind()
418 compilerOptions.staticMemberValidationKind()); in staticMemberDiagnosticKind()
DComponentHierarchyValidator.java56 private final CompilerOptions compilerOptions; field in ComponentHierarchyValidator
59 ComponentHierarchyValidator(CompilerOptions compilerOptions) { in ComponentHierarchyValidator() argument
60 this.compilerOptions = compilerOptions; in ComponentHierarchyValidator()
72 if (compilerOptions.scopeCycleValidationType().diagnosticKind().isPresent()) { in validate()
169 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateScopeHierarchy()
DInjectBindingRegistryImpl.java80 private final CompilerOptions compilerOptions; field in InjectBindingRegistryImpl
125 if (compilerOptions.warnIfInjectionFactoryNotGeneratedUpstream() in tryToGenerateBinding()
174 CompilerOptions compilerOptions) { in InjectBindingRegistryImpl() argument
182 this.compilerOptions = compilerOptions; in InjectBindingRegistryImpl()
/external/dagger2/java/dagger/internal/codegen/writing/
DComponentProvisionBindingExpression.java35 private final CompilerOptions compilerOptions; field in ComponentProvisionBindingExpression
41 CompilerOptions compilerOptions) { in ComponentProvisionBindingExpression() argument
46 this.compilerOptions = checkNotNull(compilerOptions); in ComponentProvisionBindingExpression()
58 maybeCheckForNull(binding, compilerOptions, invocation)); in getDependencyExpression()
68 ProvisionBinding binding, CompilerOptions compilerOptions, CodeBlock invocation) { in maybeCheckForNull() argument
69 return binding.shouldCheckForNull(compilerOptions) in maybeCheckForNull()
DPrivateMethodBindingExpression.java43 private final CompilerOptions compilerOptions; field in PrivateMethodBindingExpression
54 CompilerOptions compilerOptions) { in PrivateMethodBindingExpression() argument
65 this.compilerOptions = checkNotNull(compilerOptions); in PrivateMethodBindingExpression()
DComponentImplementation.java143 private final CompilerOptions compilerOptions; field in ComponentImplementation
164 CompilerOptions compilerOptions) { in ComponentImplementation() argument
171 this.compilerOptions = compilerOptions; in ComponentImplementation()
179 this.compilerOptions = shardOwner.compilerOptions; in ComponentImplementation()
197 CompilerOptions compilerOptions) { in topLevelComponentImplementation() argument
198 return new ComponentImplementation(graph, name, subcomponentNames, compilerOptions); in topLevelComponentImplementation()
205 return new ComponentImplementation(graph, childName, subcomponentNames, compilerOptions); in childComponentImplementation()
212 int keysPerShard = compilerOptions.keysPerComponentShard(graph.componentTypeElement()); in shardImplementation()
DDependencyMethodProviderCreationExpression.java53 private final CompilerOptions compilerOptions; field in DependencyMethodProviderCreationExpression
61 CompilerOptions compilerOptions, in DependencyMethodProviderCreationExpression() argument
66 this.compilerOptions = checkNotNull(compilerOptions); in DependencyMethodProviderCreationExpression()
81 compilerOptions, in creationExpression()
DSimpleMethodBindingExpression.java52 private final CompilerOptions compilerOptions; field in SimpleMethodBindingExpression
63 CompilerOptions compilerOptions, in SimpleMethodBindingExpression() argument
71 this.compilerOptions = compilerOptions; in SimpleMethodBindingExpression()
87 return requiresInjectionMethod(provisionBinding, compilerOptions, requestingClass) in getDependencyExpression()
144 compilerOptions, in invokeInjectionMethod()
DComponentBindingExpressions.java87 private final CompilerOptions compilerOptions; field in ComponentBindingExpressions
104 CompilerOptions compilerOptions, in ComponentBindingExpressions() argument
115 this.compilerOptions = checkNotNull(compilerOptions); in ComponentBindingExpressions()
345 compilerOptions, in frameworkInstanceCreationExpression()
463 } else if (compilerOptions.fastInit( in providerBindingExpression()
547 compilerOptions)); in unscopedDirectInstanceExpression()
584 compilerOptions, in unscopedDirectInstanceExpression()
613 return !compilerOptions.fastInit( in useStaticFactoryCreation()
629 || compilerOptions.fastInit( in canUseDirectInstanceExpression()
687 compilerOptions); in wrapInMethod()
[all …]
DFactoryGenerator.java82 private final CompilerOptions compilerOptions; field in FactoryGenerator
91 CompilerOptions compilerOptions, in FactoryGenerator() argument
95 this.compilerOptions = compilerOptions; in FactoryGenerator()
134 factoryBuilder.addMethod(ProvisionMethod.create(binding, compilerOptions, metadataUtil)); in factoryBuilder()
253 compilerOptions, in getMethod()
DInjectionMethods.java120 CompilerOptions compilerOptions, in create() argument
131 CheckNotNullPolicy.get(binding, compilerOptions), in create()
147 CompilerOptions compilerOptions, in invoke() argument
154 MethodSpec methodSpec = create(binding, compilerOptions, metadataUtil); in invoke()
207 ProvisionBinding binding, CompilerOptions compilerOptions, ClassName requestingClass) { in requiresInjectionMethod() argument
210 || binding.shouldCheckForNull(compilerOptions) in requiresInjectionMethod()
429 static CheckNotNullPolicy get(ProvisionBinding binding, CompilerOptions compilerOptions) { in get() argument
430 return binding.shouldCheckForNull(compilerOptions) ? CHECK_FOR_NULL : IGNORE; in get()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDependsOnProductionExecutorValidator.java36 private final CompilerOptions compilerOptions; field in DependsOnProductionExecutorValidator
40 DependsOnProductionExecutorValidator(CompilerOptions compilerOptions, KeyFactory keyFactory) { in DependsOnProductionExecutorValidator() argument
41 this.compilerOptions = compilerOptions; in DependsOnProductionExecutorValidator()
52 if (!compilerOptions.usesProducers()) { in visitGraph()
DNullableBindingValidator.java39 private final CompilerOptions compilerOptions; field in NullableBindingValidator
42 NullableBindingValidator(CompilerOptions compilerOptions) { in NullableBindingValidator() argument
43 this.compilerOptions = compilerOptions; in NullableBindingValidator()
51 compilerOptions.nullableValidationKind(), in visitGraph()
DIncompatiblyScopedBindingsValidator.java49 private final CompilerOptions compilerOptions; field in IncompatiblyScopedBindingsValidator
53 MethodSignatureFormatter methodSignatureFormatter, CompilerOptions compilerOptions) { in IncompatiblyScopedBindingsValidator() argument
55 this.compilerOptions = compilerOptions; in IncompatiblyScopedBindingsValidator()
106 diagnosticKind = compilerOptions.moduleHasDifferentScopesDiagnosticKind(); in report()
DDuplicateBindingsValidator.java70 private final CompilerOptions compilerOptions; field in DuplicateBindingsValidator
74 BindingDeclarationFormatter bindingDeclarationFormatter, CompilerOptions compilerOptions) { in DuplicateBindingsValidator() argument
76 this.compilerOptions = compilerOptions; in DuplicateBindingsValidator()
153 compilerOptions in reportDuplicateBindings()
170 if (compilerOptions.experimentalDaggerErrorMessages()) { in reportDuplicateBindings()
212 if (compilerOptions.experimentalDaggerErrorMessages()) { in reportExplicitBindingConflictsWithInject()
232 if (compilerOptions.experimentalDaggerErrorMessages()) { in duplicateBindingMessage()
264 if (compilerOptions.experimentalDaggerErrorMessages()) { in incompatibleBindingsMessage()
DBindingGraphValidationModule.java35 CompilerOptions compilerOptions, in providePlugins() argument
57 if (compilerOptions.experimentalDaggerErrorMessages()) { in providePlugins()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentImplementationFactory.java40 private final CompilerOptions compilerOptions; field in ComponentImplementationFactory
46 CompilerOptions compilerOptions, in ComponentImplementationFactory() argument
49 this.compilerOptions = compilerOptions; in ComponentImplementationFactory()
69 compilerOptions); in createComponentImplementationUncached()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
DMain.java80 Map<String, String> compilerOptions = this.jdtOptions; in execute() local
81 if (compilerOptions == null) { in execute()
82 compilerOptions = defaultJdtOptions(); in execute()
85 parser.setCompilerOptions(compilerOptions); in execute()
95 inputFile, parser, source, new PrintWriter(reportWriter), compilerOptions in execute()
299 Document document, Map<String, String> compilerOptions) { in parseDocument() argument
301 parser.setCompilerOptions(compilerOptions); in parseDocument()
/external/python/cpython3/Tools/freeze/
Dcheckextensions_win32.py40 self.compilerOptions = []
48 self.compilerOptions.append(option)
50 return self.compilerOptions
/external/python/cpython2/Tools/freeze/
Dcheckextensions_win32.py40 self.compilerOptions = []
48 self.compilerOptions.append(option)
50 return self.compilerOptions
/external/dagger2/java/dagger/internal/codegen/javac/
DJavacPluginModule.java46 abstract CompilerOptions compilerOptions(JavacPluginCompilerOptions compilerOptions); in compilerOptions() method in JavacPluginModule

12