From 8691ec6f08308072e5b2e23a58a730c23995099d Mon Sep 17 00:00:00 2001 From: Dagger Team Date: Fri, 1 Dec 2023 19:27:09 +0000 Subject: [PATCH] 2.49 docs --- api/2.49/allclasses-index.html | 1674 +++ api/2.49/allclasses.html | 271 + api/2.49/allpackages-index.html | 351 + api/2.49/constant-values.html | 150 + api/2.49/dagger/Binds.html | 222 + api/2.49/dagger/BindsInstance.html | 240 + api/2.49/dagger/BindsOptionalOf.html | 243 + api/2.49/dagger/Component.Builder.html | 236 + api/2.49/dagger/Component.Factory.html | 236 + api/2.49/dagger/Component.html | 485 + api/2.49/dagger/Lazy.html | 378 + api/2.49/dagger/MapKey.html | 331 + api/2.49/dagger/MembersInjector.html | 277 + api/2.49/dagger/Module.html | 287 + api/2.49/dagger/Provides.html | 204 + api/2.49/dagger/Reusable.html | 198 + api/2.49/dagger/Subcomponent.Builder.html | 197 + api/2.49/dagger/Subcomponent.Factory.html | 201 + api/2.49/dagger/Subcomponent.html | 261 + api/2.49/dagger/android/AndroidInjection.html | 385 + .../dagger/android/AndroidInjectionKey.html | 251 + .../android/AndroidInjectionModule.html | 226 + .../android/AndroidInjector.Builder.html | 384 + .../android/AndroidInjector.Factory.html | 270 + api/2.49/dagger/android/AndroidInjector.html | 307 + .../android/ContributesAndroidInjector.html | 259 + api/2.49/dagger/android/DaggerActivity.html | 427 + .../dagger/android/DaggerApplication.html | 441 + .../android/DaggerBroadcastReceiver.html | 357 + .../dagger/android/DaggerContentProvider.html | 363 + .../dagger/android/DaggerDialogFragment.html | 420 + api/2.49/dagger/android/DaggerFragment.html | 401 + .../dagger/android/DaggerIntentService.html | 395 + api/2.49/dagger/android/DaggerService.html | 383 + ...ector.InvalidInjectorBindingException.html | 260 + .../android/DispatchingAndroidInjector.html | 353 + .../dagger/android/HasAndroidInjector.html | 259 + .../android/class-use/AndroidInjection.html | 148 + .../class-use/AndroidInjectionKey.html | 148 + .../class-use/AndroidInjectionModule.html | 148 + .../class-use/AndroidInjector.Builder.html | 148 + .../class-use/AndroidInjector.Factory.html | 198 + .../android/class-use/AndroidInjector.html | 312 + .../class-use/ContributesAndroidInjector.html | 148 + .../android/class-use/DaggerActivity.html | 148 + .../android/class-use/DaggerApplication.html | 225 + .../class-use/DaggerBroadcastReceiver.html | 148 + .../class-use/DaggerContentProvider.html | 148 + .../class-use/DaggerDialogFragment.html | 148 + .../android/class-use/DaggerFragment.html | 148 + .../class-use/DaggerIntentService.html | 148 + .../android/class-use/DaggerService.html | 148 + ...ector.InvalidInjectorBindingException.html | 148 + .../class-use/DispatchingAndroidInjector.html | 148 + .../android/class-use/HasAndroidInjector.html | 288 + .../internal/AndroidInjectionKeys.html | 276 + .../class-use/AndroidInjectionKeys.html | 148 + .../android/internal/package-summary.html | 168 + .../dagger/android/internal/package-tree.html | 163 + .../dagger/android/internal/package-use.html | 148 + api/2.49/dagger/android/package-summary.html | 317 + api/2.49/dagger/android/package-tree.html | 246 + api/2.49/dagger/android/package-use.html | 242 + .../support/AndroidSupportInjection.html | 291 + .../AndroidSupportInjectionModule.html | 225 + .../support/DaggerAppCompatActivity.html | 506 + .../DaggerAppCompatDialogFragment.html | 418 + .../android/support/DaggerApplication.html | 410 + .../android/support/DaggerDialogFragment.html | 406 + .../android/support/DaggerFragment.html | 401 + .../class-use/AndroidSupportInjection.html | 148 + .../AndroidSupportInjectionModule.html | 148 + .../class-use/DaggerAppCompatActivity.html | 148 + .../DaggerAppCompatDialogFragment.html | 148 + .../support/class-use/DaggerApplication.html | 192 + .../class-use/DaggerDialogFragment.html | 148 + .../support/class-use/DaggerFragment.html | 148 + .../android/support/package-summary.html | 211 + .../dagger/android/support/package-tree.html | 221 + .../dagger/android/support/package-use.html | 186 + api/2.49/dagger/assisted/Assisted.html | 295 + api/2.49/dagger/assisted/AssistedFactory.html | 204 + api/2.49/dagger/assisted/AssistedInject.html | 238 + .../dagger/assisted/class-use/Assisted.html | 148 + .../assisted/class-use/AssistedFactory.html | 148 + .../assisted/class-use/AssistedInject.html | 148 + api/2.49/dagger/assisted/package-summary.html | 187 + api/2.49/dagger/assisted/package-tree.html | 161 + api/2.49/dagger/assisted/package-use.html | 148 + api/2.49/dagger/class-use/Binds.html | 148 + api/2.49/dagger/class-use/BindsInstance.html | 275 + .../dagger/class-use/BindsOptionalOf.html | 148 + .../dagger/class-use/Component.Builder.html | 148 + .../dagger/class-use/Component.Factory.html | 148 + api/2.49/dagger/class-use/Component.html | 148 + api/2.49/dagger/class-use/Lazy.html | 148 + api/2.49/dagger/class-use/MapKey.html | 248 + .../dagger/class-use/MembersInjector.html | 148 + api/2.49/dagger/class-use/Module.html | 310 + api/2.49/dagger/class-use/Provides.html | 148 + api/2.49/dagger/class-use/Reusable.html | 148 + .../class-use/Subcomponent.Builder.html | 148 + .../class-use/Subcomponent.Factory.html | 148 + api/2.49/dagger/class-use/Subcomponent.html | 148 + api/2.49/dagger/grpc/server/CallScoped.html | 190 + .../grpc/server/CurrentContextModule.html | 270 + .../dagger/grpc/server/ForGrpcService.html | 246 + .../grpc/server/GrpcCallMetadataModule.html | 270 + api/2.49/dagger/grpc/server/GrpcService.html | 267 + .../grpc/server/InProcessServerModule.html | 276 + .../dagger/grpc/server/NettyServerModule.html | 289 + ...rCallHandler.ServiceDefinitionFactory.html | 261 + .../grpc/server/ProxyServerCallHandler.html | 333 + api/2.49/dagger/grpc/server/ServerModule.html | 270 + .../grpc/server/class-use/CallScoped.html | 148 + .../class-use/CurrentContextModule.html | 148 + .../grpc/server/class-use/ForGrpcService.html | 148 + .../class-use/GrpcCallMetadataModule.html | 148 + .../grpc/server/class-use/GrpcService.html | 192 + .../class-use/InProcessServerModule.html | 194 + .../server/class-use/NettyServerModule.html | 201 + ...rCallHandler.ServiceDefinitionFactory.html | 195 + .../class-use/ProxyServerCallHandler.html | 148 + .../grpc/server/class-use/ServerModule.html | 148 + .../dagger/grpc/server/package-summary.html | 248 + api/2.49/dagger/grpc/server/package-tree.html | 182 + api/2.49/dagger/grpc/server/package-use.html | 223 + .../processor/GrpcServiceProcessor.html | 435 + .../class-use/GrpcServiceProcessor.html | 192 + .../server/processor/package-summary.html | 168 + .../grpc/server/processor/package-tree.html | 171 + .../grpc/server/processor/package-use.html | 185 + .../dagger/hilt/DefineComponent.Builder.html | 197 + api/2.49/dagger/hilt/DefineComponent.html | 266 + api/2.49/dagger/hilt/EntryPoint.html | 210 + api/2.49/dagger/hilt/EntryPoints.html | 282 + api/2.49/dagger/hilt/GeneratesRootInput.html | 189 + api/2.49/dagger/hilt/InstallIn.html | 262 + ...tyRetainedLifecycle.OnClearedListener.html | 223 + .../android/ActivityRetainedLifecycle.html | 248 + .../hilt/android/AndroidEntryPoint.html | 289 + .../dagger/hilt/android/EarlyEntryPoint.html | 203 + .../dagger/hilt/android/EarlyEntryPoints.html | 282 + .../dagger/hilt/android/HiltAndroidApp.html | 295 + api/2.49/dagger/hilt/android/UnstableApi.html | 189 + .../hilt/android/ViewModelLifecycle.html | 240 + .../hilt/android/WithFragmentBindings.html | 192 + ...tyRetainedLifecycle.OnClearedListener.html | 148 + .../class-use/ActivityRetainedLifecycle.html | 194 + .../android/class-use/AndroidEntryPoint.html | 148 + .../android/class-use/EarlyEntryPoint.html | 148 + .../android/class-use/EarlyEntryPoints.html | 148 + .../android/class-use/HiltAndroidApp.html | 148 + .../hilt/android/class-use/UnstableApi.html | 196 + .../android/class-use/ViewModelLifecycle.html | 220 + .../class-use/WithFragmentBindings.html | 148 + .../android/components/ActivityComponent.html | 191 + .../components/ActivityRetainedComponent.html | 191 + .../android/components/FragmentComponent.html | 191 + .../android/components/ServiceComponent.html | 191 + .../android/components/ViewComponent.html | 191 + .../components/ViewModelComponent.html | 222 + .../components/ViewWithFragmentComponent.html | 191 + .../class-use/ActivityComponent.html | 192 + .../class-use/ActivityRetainedComponent.html | 192 + .../class-use/FragmentComponent.html | 192 + .../class-use/ServiceComponent.html | 192 + .../components/class-use/ViewComponent.html | 192 + .../class-use/ViewModelComponent.html | 192 + .../class-use/ViewWithFragmentComponent.html | 192 + .../android/components/package-summary.html | 213 + .../hilt/android/components/package-tree.html | 165 + .../hilt/android/components/package-use.html | 221 + ...ntextFix.DisableFragmentGetContextFix.html | 189 + ...xtFix.FragmentGetContextFixEntryPoint.html | 255 + .../android/flags/FragmentGetContextFix.html | 322 + ...ntextFix.DisableFragmentGetContextFix.html | 194 + ...xtFix.FragmentGetContextFixEntryPoint.html | 148 + .../class-use/FragmentGetContextFix.html | 148 + .../hilt/android/flags/package-summary.html | 215 + .../hilt/android/flags/package-tree.html | 175 + .../hilt/android/flags/package-use.html | 187 + .../builders/ActivityComponentBuilder.html | 266 + .../ActivityRetainedComponentBuilder.html | 266 + .../builders/FragmentComponentBuilder.html | 266 + .../builders/ServiceComponentBuilder.html | 266 + .../builders/ViewComponentBuilder.html | 266 + .../builders/ViewModelComponentBuilder.html | 281 + .../ViewWithFragmentComponentBuilder.html | 266 + .../class-use/ActivityComponentBuilder.html | 218 + .../ActivityRetainedComponentBuilder.html | 192 + .../class-use/FragmentComponentBuilder.html | 218 + .../class-use/ServiceComponentBuilder.html | 218 + .../class-use/ViewComponentBuilder.html | 218 + .../class-use/ViewModelComponentBuilder.html | 223 + .../ViewWithFragmentComponentBuilder.html | 218 + .../internal/builders/package-summary.html | 204 + .../internal/builders/package-tree.html | 165 + .../internal/builders/package-use.html | 291 + ...ViewModelFactories.ActivityEntryPoint.html | 255 + ...ViewModelFactories.FragmentEntryPoint.html | 255 + ...ModelFactories.InternalFactoryFactory.html | 227 + .../lifecycle/DefaultViewModelFactories.html | 339 + .../lifecycle/HiltViewModelAssistedMap.html | 191 + ...lFactory.ViewModelFactoriesEntryPoint.html | 269 + .../lifecycle/HiltViewModelFactory.html | 477 + .../lifecycle/HiltViewModelMap.KeySet.html | 190 + .../internal/lifecycle/HiltViewModelMap.html | 190 + .../lifecycle/RetainedLifecycleImpl.html | 386 + ...ViewModelFactories.ActivityEntryPoint.html | 148 + ...ViewModelFactories.FragmentEntryPoint.html | 148 + ...ModelFactories.InternalFactoryFactory.html | 197 + .../class-use/DefaultViewModelFactories.html | 148 + .../class-use/HiltViewModelAssistedMap.html | 192 + ...lFactory.ViewModelFactoriesEntryPoint.html | 148 + .../class-use/HiltViewModelFactory.html | 148 + .../class-use/HiltViewModelMap.KeySet.html | 148 + .../lifecycle/class-use/HiltViewModelMap.html | 192 + .../class-use/RetainedLifecycleImpl.html | 148 + .../internal/lifecycle/package-summary.html | 246 + .../internal/lifecycle/package-tree.html | 182 + .../internal/lifecycle/package-use.html | 198 + ...er.ActivityComponentBuilderEntryPoint.html | 255 + .../managers/ActivityComponentManager.html | 417 + .../managers/ApplicationComponentManager.html | 318 + .../BroadcastReceiverComponentManager.html | 269 + .../internal/managers/ComponentSupplier.html | 253 + ...er.FragmentComponentBuilderEntryPoint.html | 255 + .../managers/FragmentComponentManager.html | 427 + .../managers/SavedStateHandleHolder.html | 295 + ...ger.ServiceComponentBuilderEntryPoint.html | 255 + .../managers/ServiceComponentManager.html | 347 + ...mponentManager.FragmentContextWrapper.html | 318 + ...anager.ViewComponentBuilderEntryPoint.html | 255 + ...ithFragmentComponentBuilderEntryPoint.html | 255 + .../managers/ViewComponentManager.html | 377 + ...er.ActivityComponentBuilderEntryPoint.html | 148 + .../class-use/ActivityComponentManager.html | 148 + .../ApplicationComponentManager.html | 148 + .../BroadcastReceiverComponentManager.html | 148 + .../managers/class-use/ComponentSupplier.html | 190 + ...er.FragmentComponentBuilderEntryPoint.html | 148 + .../class-use/FragmentComponentManager.html | 148 + .../class-use/SavedStateHandleHolder.html | 218 + ...ger.ServiceComponentBuilderEntryPoint.html | 148 + .../class-use/ServiceComponentManager.html | 148 + ...mponentManager.FragmentContextWrapper.html | 148 + ...anager.ViewComponentBuilderEntryPoint.html | 148 + ...ithFragmentComponentBuilderEntryPoint.html | 148 + .../class-use/ViewComponentManager.html | 148 + .../internal/managers/package-summary.html | 257 + .../internal/managers/package-tree.html | 189 + .../internal/managers/package-use.html | 214 + .../internal/migration/HasCustomInject.html | 252 + .../internal/migration/InjectedByHilt.html | 254 + .../migration/class-use/HasCustomInject.html | 148 + .../migration/class-use/InjectedByHilt.html | 148 + .../internal/migration/package-summary.html | 174 + .../internal/migration/package-tree.html | 160 + .../internal/migration/package-use.html | 148 + .../modules/ApplicationContextModule.html | 270 + .../class-use/ApplicationContextModule.html | 148 + .../internal/modules/package-summary.html | 168 + .../internal/modules/package-tree.html | 163 + .../android/internal/modules/package-use.html | 148 + .../EarlySingletonComponentCreator.html | 269 + .../internal/testing/InternalTestRoot.html | 268 + .../testing/MarkThatRulesRanRule.html | 363 + .../TestApplicationComponentManager.html | 403 + ...TestApplicationComponentManagerHolder.html | 230 + .../TestComponentData.ComponentSupplier.html | 259 + .../internal/testing/TestComponentData.html | 413 + .../testing/TestComponentDataSupplier.html | 310 + .../internal/testing/TestInjector.html | 253 + .../EarlySingletonComponentCreator.html | 148 + .../testing/class-use/InternalTestRoot.html | 148 + .../class-use/MarkThatRulesRanRule.html | 148 + .../TestApplicationComponentManager.html | 148 + ...TestApplicationComponentManagerHolder.html | 196 + .../TestComponentData.ComponentSupplier.html | 211 + .../testing/class-use/TestComponentData.html | 194 + .../class-use/TestComponentDataSupplier.html | 148 + .../testing/class-use/TestInjector.html | 211 + .../internal/testing/package-summary.html | 238 + .../internal/testing/package-tree.html | 189 + .../android/internal/testing/package-use.html | 222 + .../lifecycle/ActivityRetainedSavedState.html | 190 + .../hilt/android/lifecycle/HiltViewModel.html | 329 + .../RetainedLifecycle.OnClearedListener.html | 259 + .../android/lifecycle/RetainedLifecycle.html | 316 + .../class-use/ActivityRetainedSavedState.html | 148 + .../lifecycle/class-use/HiltViewModel.html | 148 + .../RetainedLifecycle.OnClearedListener.html | 264 + .../class-use/RetainedLifecycle.html | 231 + .../android/lifecycle/package-summary.html | 211 + .../hilt/android/lifecycle/package-tree.html | 167 + .../hilt/android/lifecycle/package-use.html | 247 + .../hilt/android/migration/CustomInject.html | 217 + .../android/migration/CustomInjection.html | 275 + .../android/migration/OptionalInject.html | 226 + .../migration/OptionalInjectCheck.html | 373 + .../migration/class-use/CustomInject.html | 148 + .../migration/class-use/CustomInjection.html | 148 + .../migration/class-use/OptionalInject.html | 148 + .../class-use/OptionalInjectCheck.html | 148 + .../android/migration/package-summary.html | 213 + .../hilt/android/migration/package-tree.html | 171 + .../hilt/android/migration/package-use.html | 148 + .../dagger/hilt/android/package-summary.html | 255 + .../dagger/hilt/android/package-tree.html | 189 + api/2.49/dagger/hilt/android/package-use.html | 239 + .../android/qualifiers/ActivityContext.html | 190 + .../qualifiers/ApplicationContext.html | 189 + .../qualifiers/class-use/ActivityContext.html | 148 + .../class-use/ApplicationContext.html | 148 + .../android/qualifiers/package-summary.html | 179 + .../hilt/android/qualifiers/package-tree.html | 160 + .../hilt/android/qualifiers/package-use.html | 148 + .../scopes/ActivityRetainedScoped.html | 190 + .../hilt/android/scopes/ActivityScoped.html | 189 + .../hilt/android/scopes/FragmentScoped.html | 189 + .../hilt/android/scopes/ServiceScoped.html | 189 + .../hilt/android/scopes/ViewModelScoped.html | 235 + .../hilt/android/scopes/ViewScoped.html | 190 + .../class-use/ActivityRetainedScoped.html | 196 + .../scopes/class-use/ActivityScoped.html | 196 + .../scopes/class-use/FragmentScoped.html | 196 + .../scopes/class-use/ServiceScoped.html | 196 + .../scopes/class-use/ViewModelScoped.html | 196 + .../android/scopes/class-use/ViewScoped.html | 203 + .../hilt/android/scopes/package-summary.html | 208 + .../hilt/android/scopes/package-tree.html | 164 + .../hilt/android/scopes/package-use.html | 218 + .../android/testing/BindElementsIntoSet.html | 215 + .../hilt/android/testing/BindValue.html | 199 + .../android/testing/BindValueIntoMap.html | 207 + .../android/testing/BindValueIntoSet.html | 203 + .../testing/CustomTestApplication.html | 249 + .../hilt/android/testing/HiltAndroidRule.html | 390 + .../hilt/android/testing/HiltAndroidTest.html | 189 + .../android/testing/HiltTestApplication.html | 423 + ...tReadyRunner.OnComponentReadyListener.html | 262 + ...dyRunner.OnComponentReadyRunnerHolder.html | 259 + .../testing/OnComponentReadyRunner.html | 378 + .../android/testing/UninstallModules.html | 274 + .../class-use/BindElementsIntoSet.html | 148 + .../android/testing/class-use/BindValue.html | 148 + .../testing/class-use/BindValueIntoMap.html | 148 + .../testing/class-use/BindValueIntoSet.html | 148 + .../class-use/CustomTestApplication.html | 148 + .../testing/class-use/HiltAndroidRule.html | 203 + .../testing/class-use/HiltAndroidTest.html | 148 + .../class-use/HiltTestApplication.html | 148 + ...tReadyRunner.OnComponentReadyListener.html | 198 + ...dyRunner.OnComponentReadyRunnerHolder.html | 194 + .../class-use/OnComponentReadyRunner.html | 220 + .../testing/class-use/UninstallModules.html | 148 + .../hilt/android/testing/package-summary.html | 271 + .../hilt/android/testing/package-tree.html | 200 + .../hilt/android/testing/package-use.html | 230 + .../class-use/DefineComponent.Builder.html | 236 + .../hilt/class-use/DefineComponent.html | 268 + .../dagger/hilt/class-use/EntryPoint.html | 294 + .../dagger/hilt/class-use/EntryPoints.html | 148 + .../hilt/class-use/GeneratesRootInput.html | 451 + api/2.49/dagger/hilt/class-use/InstallIn.html | 322 + .../hilt/codegen/OriginatingElement.html | 270 + .../codegen/class-use/OriginatingElement.html | 148 + .../dagger/hilt/codegen/package-summary.html | 174 + .../dagger/hilt/codegen/package-tree.html | 159 + api/2.49/dagger/hilt/codegen/package-use.html | 148 + .../hilt/components/SingletonComponent.html | 192 + .../class-use/SingletonComponent.html | 148 + .../hilt/components/package-summary.html | 177 + .../dagger/hilt/components/package-tree.html | 159 + .../dagger/hilt/components/package-use.html | 148 + .../aliasof/AliasOfPropagatedData.html | 262 + .../class-use/AliasOfPropagatedData.html | 148 + .../internal/aliasof/package-summary.html | 168 + .../hilt/internal/aliasof/package-tree.html | 159 + .../hilt/internal/aliasof/package-use.html | 148 + .../DefineComponentClasses.html | 283 + .../DefineComponentNoParent.html | 223 + .../class-use/DefineComponentClasses.html | 148 + .../class-use/DefineComponentNoParent.html | 148 + .../definecomponent/package-summary.html | 185 + .../definecomponent/package-tree.html | 169 + .../internal/definecomponent/package-use.html | 148 + .../GeneratesRootInputPropagatedData.html | 244 + .../GeneratesRootInputPropagatedData.html | 148 + .../generatesrootinput/package-summary.html | 169 + .../generatesrootinput/package-tree.html | 159 + .../generatesrootinput/package-use.html | 148 + api/2.49/dagger/hilt/migration/AliasOf.html | 257 + .../hilt/migration/DisableInstallInCheck.html | 191 + .../hilt/migration/class-use/AliasOf.html | 148 + .../class-use/DisableInstallInCheck.html | 148 + .../hilt/migration/package-summary.html | 183 + .../dagger/hilt/migration/package-tree.html | 160 + .../dagger/hilt/migration/package-use.html | 148 + api/2.49/dagger/hilt/package-summary.html | 224 + api/2.49/dagger/hilt/package-tree.html | 173 + api/2.49/dagger/hilt/package-use.html | 524 + .../dagger/hilt/testing/TestInstallIn.html | 289 + .../hilt/testing/class-use/TestInstallIn.html | 148 + .../dagger/hilt/testing/package-summary.html | 180 + .../dagger/hilt/testing/package-tree.html | 159 + api/2.49/dagger/hilt/testing/package-use.html | 148 + api/2.49/dagger/model/Binding.html | 451 + .../BindingGraph.ChildFactoryMethodEdge.html | 264 + .../model/BindingGraph.ComponentNode.html | 340 + .../model/BindingGraph.DependencyEdge.html | 290 + api/2.49/dagger/model/BindingGraph.Edge.html | 199 + .../model/BindingGraph.MaybeBinding.html | 309 + .../model/BindingGraph.MissingBinding.html | 392 + api/2.49/dagger/model/BindingGraph.Node.html | 266 + ...gGraph.SubcomponentCreatorBindingEdge.html | 271 + api/2.49/dagger/model/BindingGraph.html | 849 ++ api/2.49/dagger/model/BindingKind.html | 660 + api/2.49/dagger/model/ComponentPath.html | 497 + .../model/DependencyRequest.Builder.html | 368 + api/2.49/dagger/model/DependencyRequest.html | 410 + api/2.49/dagger/model/Key.Builder.html | 384 + ...ey.MultibindingContributionIdentifier.html | 435 + api/2.49/dagger/model/Key.html | 474 + api/2.49/dagger/model/RequestKind.html | 504 + api/2.49/dagger/model/Scope.html | 450 + api/2.49/dagger/model/class-use/Binding.html | 275 + .../BindingGraph.ChildFactoryMethodEdge.html | 210 + .../class-use/BindingGraph.ComponentNode.html | 272 + .../BindingGraph.DependencyEdge.html | 277 + .../model/class-use/BindingGraph.Edge.html | 230 + .../class-use/BindingGraph.MaybeBinding.html | 308 + .../BindingGraph.MissingBinding.html | 197 + .../model/class-use/BindingGraph.Node.html | 255 + ...gGraph.SubcomponentCreatorBindingEdge.html | 148 + .../dagger/model/class-use/BindingGraph.html | 198 + .../dagger/model/class-use/BindingKind.html | 212 + .../dagger/model/class-use/ComponentPath.html | 268 + .../class-use/DependencyRequest.Builder.html | 217 + .../model/class-use/DependencyRequest.html | 250 + .../dagger/model/class-use/Key.Builder.html | 229 + ...ey.MultibindingContributionIdentifier.html | 227 + api/2.49/dagger/model/class-use/Key.html | 245 + .../dagger/model/class-use/RequestKind.html | 227 + api/2.49/dagger/model/class-use/Scope.html | 221 + api/2.49/dagger/model/package-summary.html | 317 + api/2.49/dagger/model/package-tree.html | 208 + api/2.49/dagger/model/package-use.html | 332 + api/2.49/dagger/multibindings/ClassKey.html | 248 + .../dagger/multibindings/ElementsIntoSet.html | 196 + api/2.49/dagger/multibindings/IntKey.html | 245 + api/2.49/dagger/multibindings/IntoMap.html | 197 + api/2.49/dagger/multibindings/IntoSet.html | 196 + api/2.49/dagger/multibindings/LongKey.html | 245 + api/2.49/dagger/multibindings/Multibinds.html | 216 + api/2.49/dagger/multibindings/StringKey.html | 245 + .../multibindings/class-use/ClassKey.html | 148 + .../class-use/ElementsIntoSet.html | 148 + .../multibindings/class-use/IntKey.html | 148 + .../multibindings/class-use/IntoMap.html | 148 + .../multibindings/class-use/IntoSet.html | 148 + .../multibindings/class-use/LongKey.html | 148 + .../multibindings/class-use/Multibinds.html | 148 + .../multibindings/class-use/StringKey.html | 148 + .../dagger/multibindings/package-summary.html | 223 + .../dagger/multibindings/package-tree.html | 166 + .../dagger/multibindings/package-use.html | 148 + api/2.49/dagger/package-summary.html | 283 + api/2.49/dagger/package-tree.html | 178 + api/2.49/dagger/package-use.html | 321 + .../CancellationPolicy.Propagation.html | 390 + .../dagger/producers/CancellationPolicy.html | 263 + api/2.49/dagger/producers/Produced.html | 379 + api/2.49/dagger/producers/Producer.html | 332 + api/2.49/dagger/producers/ProducerModule.html | 292 + api/2.49/dagger/producers/Producers.html | 290 + api/2.49/dagger/producers/Produces.html | 198 + api/2.49/dagger/producers/Production.html | 195 + .../ProductionComponent.Builder.html | 193 + .../ProductionComponent.Factory.html | 197 + .../dagger/producers/ProductionComponent.html | 325 + .../dagger/producers/ProductionScope.html | 191 + .../ProductionSubcomponent.Builder.html | 197 + .../ProductionSubcomponent.Factory.html | 201 + .../producers/ProductionSubcomponent.html | 265 + .../CancellationPolicy.Propagation.html | 212 + .../class-use/CancellationPolicy.html | 148 + .../dagger/producers/class-use/Produced.html | 204 + .../dagger/producers/class-use/Producer.html | 203 + .../producers/class-use/ProducerModule.html | 148 + .../dagger/producers/class-use/Producers.html | 148 + .../dagger/producers/class-use/Produces.html | 148 + .../producers/class-use/Production.html | 148 + .../ProductionComponent.Builder.html | 148 + .../ProductionComponent.Factory.html | 148 + .../class-use/ProductionComponent.html | 148 + .../producers/class-use/ProductionScope.html | 148 + .../ProductionSubcomponent.Builder.html | 148 + .../ProductionSubcomponent.Factory.html | 148 + .../class-use/ProductionSubcomponent.html | 148 + .../producers/monitoring/ProducerMonitor.html | 532 + .../monitoring/ProducerTimingRecorder.html | 423 + .../producers/monitoring/ProducerToken.html | 356 + .../ProductionComponentMonitor.Factory.html | 334 + .../ProductionComponentMonitor.html | 380 + ...uctionComponentTimingRecorder.Factory.html | 257 + .../ProductionComponentTimingRecorder.html | 289 + ...ingProductionComponentMonitor.Factory.html | 330 + .../TimingProductionComponentMonitor.html | 315 + .../producers/monitoring/TimingRecorders.html | 317 + .../monitoring/class-use/ProducerMonitor.html | 208 + .../class-use/ProducerTimingRecorder.html | 203 + .../monitoring/class-use/ProducerToken.html | 232 + .../ProductionComponentMonitor.Factory.html | 211 + .../class-use/ProductionComponentMonitor.html | 226 + ...uctionComponentTimingRecorder.Factory.html | 237 + .../ProductionComponentTimingRecorder.html | 203 + ...ingProductionComponentMonitor.Factory.html | 148 + .../TimingProductionComponentMonitor.html | 148 + .../monitoring/class-use/TimingRecorders.html | 148 + .../producers/monitoring/package-summary.html | 238 + .../producers/monitoring/package-tree.html | 183 + .../producers/monitoring/package-use.html | 221 + .../dagger/producers/package-summary.html | 301 + api/2.49/dagger/producers/package-tree.html | 200 + api/2.49/dagger/producers/package-use.html | 201 + api/2.49/dagger/spi/BindingGraphPlugin.html | 408 + api/2.49/dagger/spi/DiagnosticReporter.html | 433 + .../spi/class-use/BindingGraphPlugin.html | 148 + .../spi/class-use/DiagnosticReporter.html | 198 + api/2.49/dagger/spi/model/Binding.html | 451 + .../BindingGraph.ChildFactoryMethodEdge.html | 264 + .../spi/model/BindingGraph.ComponentNode.html | 340 + .../model/BindingGraph.DependencyEdge.html | 290 + .../dagger/spi/model/BindingGraph.Edge.html | 199 + .../spi/model/BindingGraph.MaybeBinding.html | 309 + .../model/BindingGraph.MissingBinding.html | 392 + .../dagger/spi/model/BindingGraph.Node.html | 266 + ...gGraph.SubcomponentCreatorBindingEdge.html | 271 + api/2.49/dagger/spi/model/BindingGraph.html | 864 ++ .../dagger/spi/model/BindingGraphPlugin.html | 339 + api/2.49/dagger/spi/model/BindingKind.html | 661 + api/2.49/dagger/spi/model/ComponentPath.html | 497 + .../dagger/spi/model/DaggerAnnotation.html | 367 + api/2.49/dagger/spi/model/DaggerElement.html | 353 + .../spi/model/DaggerExecutableElement.html | 353 + .../model/DaggerProcessingEnv.Backend.html | 383 + .../dagger/spi/model/DaggerProcessingEnv.html | 399 + api/2.49/dagger/spi/model/DaggerType.html | 353 + .../dagger/spi/model/DaggerTypeElement.html | 353 + .../spi/model/DependencyRequest.Builder.html | 367 + .../dagger/spi/model/DependencyRequest.html | 410 + .../dagger/spi/model/DiagnosticReporter.html | 489 + api/2.49/dagger/spi/model/Key.Builder.html | 369 + ...ey.MultibindingContributionIdentifier.html | 357 + api/2.49/dagger/spi/model/Key.html | 512 + api/2.49/dagger/spi/model/RequestKind.html | 504 + api/2.49/dagger/spi/model/Scope.html | 433 + .../dagger/spi/model/class-use/Binding.html | 275 + .../BindingGraph.ChildFactoryMethodEdge.html | 210 + .../class-use/BindingGraph.ComponentNode.html | 258 + .../BindingGraph.DependencyEdge.html | 263 + .../model/class-use/BindingGraph.Edge.html | 230 + .../class-use/BindingGraph.MaybeBinding.html | 284 + .../BindingGraph.MissingBinding.html | 197 + .../model/class-use/BindingGraph.Node.html | 255 + ...gGraph.SubcomponentCreatorBindingEdge.html | 148 + .../spi/model/class-use/BindingGraph.html | 198 + .../model/class-use/BindingGraphPlugin.html | 148 + .../spi/model/class-use/BindingKind.html | 212 + .../spi/model/class-use/ComponentPath.html | 268 + .../spi/model/class-use/DaggerAnnotation.html | 259 + .../spi/model/class-use/DaggerElement.html | 219 + .../class-use/DaggerExecutableElement.html | 222 + .../DaggerProcessingEnv.Backend.html | 252 + .../model/class-use/DaggerProcessingEnv.html | 198 + .../spi/model/class-use/DaggerType.html | 226 + .../model/class-use/DaggerTypeElement.html | 312 + .../class-use/DependencyRequest.Builder.html | 217 + .../model/class-use/DependencyRequest.html | 250 + .../model/class-use/DiagnosticReporter.html | 198 + .../spi/model/class-use/Key.Builder.html | 218 + ...ey.MultibindingContributionIdentifier.html | 197 + api/2.49/dagger/spi/model/class-use/Key.html | 268 + .../spi/model/class-use/RequestKind.html | 227 + .../dagger/spi/model/class-use/Scope.html | 221 + .../dagger/spi/model/package-summary.html | 371 + api/2.49/dagger/spi/model/package-tree.html | 217 + api/2.49/dagger/spi/model/package-use.html | 342 + api/2.49/dagger/spi/package-summary.html | 185 + api/2.49/dagger/spi/package-tree.html | 160 + api/2.49/dagger/spi/package-use.html | 188 + api/2.49/deprecated-list.html | 301 + api/2.49/element-list | 35 + api/2.49/help-doc.html | 280 + api/2.49/index-all.html | 3533 +++++ api/2.49/index.html | 347 + api/2.49/jquery-ui.overrides.css | 35 + api/2.49/jquery/external/jquery/jquery.js | 10872 +++++++++++++++ api/2.49/jquery/jquery-3.6.1.min.js | 2 + api/2.49/jquery/jquery-ui.min.css | 6 + api/2.49/jquery/jquery-ui.min.js | 6 + .../jquery/jszip-utils/dist/jszip-utils-ie.js | 56 + .../jszip-utils/dist/jszip-utils-ie.min.js | 10 + .../jquery/jszip-utils/dist/jszip-utils.js | 118 + .../jszip-utils/dist/jszip-utils.min.js | 10 + api/2.49/jquery/jszip/dist/jszip.js | 11370 ++++++++++++++++ api/2.49/jquery/jszip/dist/jszip.min.js | 13 + api/2.49/legal/ADDITIONAL_LICENSE_INFO | 37 + api/2.49/legal/ASSEMBLY_EXCEPTION | 27 + api/2.49/legal/LICENSE | 347 + api/2.49/legal/jquery.md | 72 + api/2.49/legal/jqueryUI.md | 49 + api/2.49/legal/jszip.md | 653 + api/2.49/legal/pako.md | 45 + api/2.49/member-search-index.js | 1 + api/2.49/member-search-index.zip | Bin 0 -> 6746 bytes api/2.49/overview-summary.html | 23 + api/2.49/overview-tree.html | 598 + api/2.49/package-search-index.js | 1 + api/2.49/package-search-index.zip | Bin 0 -> 445 bytes api/2.49/resources/glass.png | Bin 0 -> 499 bytes api/2.49/resources/x.png | Bin 0 -> 394 bytes api/2.49/script.js | 149 + api/2.49/search.js | 326 + api/2.49/serialized-form.html | 163 + api/2.49/stylesheet.css | 910 ++ api/2.49/type-search-index.js | 1 + api/2.49/type-search-index.zip | Bin 0 -> 2096 bytes 630 files changed, 171980 insertions(+) create mode 100644 api/2.49/allclasses-index.html create mode 100644 api/2.49/allclasses.html create mode 100644 api/2.49/allpackages-index.html create mode 100644 api/2.49/constant-values.html create mode 100644 api/2.49/dagger/Binds.html create mode 100644 api/2.49/dagger/BindsInstance.html create mode 100644 api/2.49/dagger/BindsOptionalOf.html create mode 100644 api/2.49/dagger/Component.Builder.html create mode 100644 api/2.49/dagger/Component.Factory.html create mode 100644 api/2.49/dagger/Component.html create mode 100644 api/2.49/dagger/Lazy.html create mode 100644 api/2.49/dagger/MapKey.html create mode 100644 api/2.49/dagger/MembersInjector.html create mode 100644 api/2.49/dagger/Module.html create mode 100644 api/2.49/dagger/Provides.html create mode 100644 api/2.49/dagger/Reusable.html create mode 100644 api/2.49/dagger/Subcomponent.Builder.html create mode 100644 api/2.49/dagger/Subcomponent.Factory.html create mode 100644 api/2.49/dagger/Subcomponent.html create mode 100644 api/2.49/dagger/android/AndroidInjection.html create mode 100644 api/2.49/dagger/android/AndroidInjectionKey.html create mode 100644 api/2.49/dagger/android/AndroidInjectionModule.html create mode 100644 api/2.49/dagger/android/AndroidInjector.Builder.html create mode 100644 api/2.49/dagger/android/AndroidInjector.Factory.html create mode 100644 api/2.49/dagger/android/AndroidInjector.html create mode 100644 api/2.49/dagger/android/ContributesAndroidInjector.html create mode 100644 api/2.49/dagger/android/DaggerActivity.html create mode 100644 api/2.49/dagger/android/DaggerApplication.html create mode 100644 api/2.49/dagger/android/DaggerBroadcastReceiver.html create mode 100644 api/2.49/dagger/android/DaggerContentProvider.html create mode 100644 api/2.49/dagger/android/DaggerDialogFragment.html create mode 100644 api/2.49/dagger/android/DaggerFragment.html create mode 100644 api/2.49/dagger/android/DaggerIntentService.html create mode 100644 api/2.49/dagger/android/DaggerService.html create mode 100644 api/2.49/dagger/android/DispatchingAndroidInjector.InvalidInjectorBindingException.html create mode 100644 api/2.49/dagger/android/DispatchingAndroidInjector.html create mode 100644 api/2.49/dagger/android/HasAndroidInjector.html create mode 100644 api/2.49/dagger/android/class-use/AndroidInjection.html create mode 100644 api/2.49/dagger/android/class-use/AndroidInjectionKey.html create mode 100644 api/2.49/dagger/android/class-use/AndroidInjectionModule.html create mode 100644 api/2.49/dagger/android/class-use/AndroidInjector.Builder.html create mode 100644 api/2.49/dagger/android/class-use/AndroidInjector.Factory.html create mode 100644 api/2.49/dagger/android/class-use/AndroidInjector.html create mode 100644 api/2.49/dagger/android/class-use/ContributesAndroidInjector.html create mode 100644 api/2.49/dagger/android/class-use/DaggerActivity.html create mode 100644 api/2.49/dagger/android/class-use/DaggerApplication.html create mode 100644 api/2.49/dagger/android/class-use/DaggerBroadcastReceiver.html create mode 100644 api/2.49/dagger/android/class-use/DaggerContentProvider.html create mode 100644 api/2.49/dagger/android/class-use/DaggerDialogFragment.html create mode 100644 api/2.49/dagger/android/class-use/DaggerFragment.html create mode 100644 api/2.49/dagger/android/class-use/DaggerIntentService.html create mode 100644 api/2.49/dagger/android/class-use/DaggerService.html create mode 100644 api/2.49/dagger/android/class-use/DispatchingAndroidInjector.InvalidInjectorBindingException.html create mode 100644 api/2.49/dagger/android/class-use/DispatchingAndroidInjector.html create mode 100644 api/2.49/dagger/android/class-use/HasAndroidInjector.html create mode 100644 api/2.49/dagger/android/internal/AndroidInjectionKeys.html create mode 100644 api/2.49/dagger/android/internal/class-use/AndroidInjectionKeys.html create mode 100644 api/2.49/dagger/android/internal/package-summary.html create mode 100644 api/2.49/dagger/android/internal/package-tree.html create mode 100644 api/2.49/dagger/android/internal/package-use.html create mode 100644 api/2.49/dagger/android/package-summary.html create mode 100644 api/2.49/dagger/android/package-tree.html create mode 100644 api/2.49/dagger/android/package-use.html create mode 100644 api/2.49/dagger/android/support/AndroidSupportInjection.html create mode 100644 api/2.49/dagger/android/support/AndroidSupportInjectionModule.html create mode 100644 api/2.49/dagger/android/support/DaggerAppCompatActivity.html create mode 100644 api/2.49/dagger/android/support/DaggerAppCompatDialogFragment.html create mode 100644 api/2.49/dagger/android/support/DaggerApplication.html create mode 100644 api/2.49/dagger/android/support/DaggerDialogFragment.html create mode 100644 api/2.49/dagger/android/support/DaggerFragment.html create mode 100644 api/2.49/dagger/android/support/class-use/AndroidSupportInjection.html create mode 100644 api/2.49/dagger/android/support/class-use/AndroidSupportInjectionModule.html create mode 100644 api/2.49/dagger/android/support/class-use/DaggerAppCompatActivity.html create mode 100644 api/2.49/dagger/android/support/class-use/DaggerAppCompatDialogFragment.html create mode 100644 api/2.49/dagger/android/support/class-use/DaggerApplication.html create mode 100644 api/2.49/dagger/android/support/class-use/DaggerDialogFragment.html create mode 100644 api/2.49/dagger/android/support/class-use/DaggerFragment.html create mode 100644 api/2.49/dagger/android/support/package-summary.html create mode 100644 api/2.49/dagger/android/support/package-tree.html create mode 100644 api/2.49/dagger/android/support/package-use.html create mode 100644 api/2.49/dagger/assisted/Assisted.html create mode 100644 api/2.49/dagger/assisted/AssistedFactory.html create mode 100644 api/2.49/dagger/assisted/AssistedInject.html create mode 100644 api/2.49/dagger/assisted/class-use/Assisted.html create mode 100644 api/2.49/dagger/assisted/class-use/AssistedFactory.html create mode 100644 api/2.49/dagger/assisted/class-use/AssistedInject.html create mode 100644 api/2.49/dagger/assisted/package-summary.html create mode 100644 api/2.49/dagger/assisted/package-tree.html create mode 100644 api/2.49/dagger/assisted/package-use.html create mode 100644 api/2.49/dagger/class-use/Binds.html create mode 100644 api/2.49/dagger/class-use/BindsInstance.html create mode 100644 api/2.49/dagger/class-use/BindsOptionalOf.html create mode 100644 api/2.49/dagger/class-use/Component.Builder.html create mode 100644 api/2.49/dagger/class-use/Component.Factory.html create mode 100644 api/2.49/dagger/class-use/Component.html create mode 100644 api/2.49/dagger/class-use/Lazy.html create mode 100644 api/2.49/dagger/class-use/MapKey.html create mode 100644 api/2.49/dagger/class-use/MembersInjector.html create mode 100644 api/2.49/dagger/class-use/Module.html create mode 100644 api/2.49/dagger/class-use/Provides.html create mode 100644 api/2.49/dagger/class-use/Reusable.html create mode 100644 api/2.49/dagger/class-use/Subcomponent.Builder.html create mode 100644 api/2.49/dagger/class-use/Subcomponent.Factory.html create mode 100644 api/2.49/dagger/class-use/Subcomponent.html create mode 100644 api/2.49/dagger/grpc/server/CallScoped.html create mode 100644 api/2.49/dagger/grpc/server/CurrentContextModule.html create mode 100644 api/2.49/dagger/grpc/server/ForGrpcService.html create mode 100644 api/2.49/dagger/grpc/server/GrpcCallMetadataModule.html create mode 100644 api/2.49/dagger/grpc/server/GrpcService.html create mode 100644 api/2.49/dagger/grpc/server/InProcessServerModule.html create mode 100644 api/2.49/dagger/grpc/server/NettyServerModule.html create mode 100644 api/2.49/dagger/grpc/server/ProxyServerCallHandler.ServiceDefinitionFactory.html create mode 100644 api/2.49/dagger/grpc/server/ProxyServerCallHandler.html create mode 100644 api/2.49/dagger/grpc/server/ServerModule.html create mode 100644 api/2.49/dagger/grpc/server/class-use/CallScoped.html create mode 100644 api/2.49/dagger/grpc/server/class-use/CurrentContextModule.html create mode 100644 api/2.49/dagger/grpc/server/class-use/ForGrpcService.html create mode 100644 api/2.49/dagger/grpc/server/class-use/GrpcCallMetadataModule.html create mode 100644 api/2.49/dagger/grpc/server/class-use/GrpcService.html create mode 100644 api/2.49/dagger/grpc/server/class-use/InProcessServerModule.html create mode 100644 api/2.49/dagger/grpc/server/class-use/NettyServerModule.html create mode 100644 api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.ServiceDefinitionFactory.html create mode 100644 api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.html create mode 100644 api/2.49/dagger/grpc/server/class-use/ServerModule.html create mode 100644 api/2.49/dagger/grpc/server/package-summary.html create mode 100644 api/2.49/dagger/grpc/server/package-tree.html create mode 100644 api/2.49/dagger/grpc/server/package-use.html create mode 100644 api/2.49/dagger/grpc/server/processor/GrpcServiceProcessor.html create mode 100644 api/2.49/dagger/grpc/server/processor/class-use/GrpcServiceProcessor.html create mode 100644 api/2.49/dagger/grpc/server/processor/package-summary.html create mode 100644 api/2.49/dagger/grpc/server/processor/package-tree.html create mode 100644 api/2.49/dagger/grpc/server/processor/package-use.html create mode 100644 api/2.49/dagger/hilt/DefineComponent.Builder.html create mode 100644 api/2.49/dagger/hilt/DefineComponent.html create mode 100644 api/2.49/dagger/hilt/EntryPoint.html create mode 100644 api/2.49/dagger/hilt/EntryPoints.html create mode 100644 api/2.49/dagger/hilt/GeneratesRootInput.html create mode 100644 api/2.49/dagger/hilt/InstallIn.html create mode 100644 api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.OnClearedListener.html create mode 100644 api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.html create mode 100644 api/2.49/dagger/hilt/android/AndroidEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/EarlyEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/EarlyEntryPoints.html create mode 100644 api/2.49/dagger/hilt/android/HiltAndroidApp.html create mode 100644 api/2.49/dagger/hilt/android/UnstableApi.html create mode 100644 api/2.49/dagger/hilt/android/ViewModelLifecycle.html create mode 100644 api/2.49/dagger/hilt/android/WithFragmentBindings.html create mode 100644 api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.OnClearedListener.html create mode 100644 api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.html create mode 100644 api/2.49/dagger/hilt/android/class-use/AndroidEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/class-use/EarlyEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/class-use/EarlyEntryPoints.html create mode 100644 api/2.49/dagger/hilt/android/class-use/HiltAndroidApp.html create mode 100644 api/2.49/dagger/hilt/android/class-use/UnstableApi.html create mode 100644 api/2.49/dagger/hilt/android/class-use/ViewModelLifecycle.html create mode 100644 api/2.49/dagger/hilt/android/class-use/WithFragmentBindings.html create mode 100644 api/2.49/dagger/hilt/android/components/ActivityComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/ActivityRetainedComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/FragmentComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/ServiceComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/ViewComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/ViewModelComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/ViewWithFragmentComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/ActivityComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/ActivityRetainedComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/FragmentComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/ServiceComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/ViewComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/ViewModelComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/class-use/ViewWithFragmentComponent.html create mode 100644 api/2.49/dagger/hilt/android/components/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/components/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/components/package-use.html create mode 100644 api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.DisableFragmentGetContextFix.html create mode 100644 api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.html create mode 100644 api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.DisableFragmentGetContextFix.html create mode 100644 api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.html create mode 100644 api/2.49/dagger/hilt/android/flags/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/flags/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/flags/package-use.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/ActivityComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/ActivityRetainedComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/FragmentComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/ServiceComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/ViewComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/ViewModelComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/ViewWithFragmentComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityRetainedComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/FragmentComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/ServiceComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/ViewComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/ViewModelComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/class-use/ViewWithFragmentComponentBuilder.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/internal/builders/package-use.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.ActivityEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.FragmentEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.InternalFactoryFactory.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelAssistedMap.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.KeySet.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/RetainedLifecycleImpl.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.ActivityEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.FragmentEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.InternalFactoryFactory.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelAssistedMap.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.KeySet.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/class-use/RetainedLifecycleImpl.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/internal/lifecycle/package-use.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ApplicationComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/BroadcastReceiverComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ComponentSupplier.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/SavedStateHandleHolder.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.FragmentContextWrapper.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ApplicationComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/BroadcastReceiverComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ComponentSupplier.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/SavedStateHandleHolder.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.FragmentContextWrapper.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/internal/managers/package-use.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/HasCustomInject.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/InjectedByHilt.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/class-use/HasCustomInject.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/class-use/InjectedByHilt.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/internal/migration/package-use.html create mode 100644 api/2.49/dagger/hilt/android/internal/modules/ApplicationContextModule.html create mode 100644 api/2.49/dagger/hilt/android/internal/modules/class-use/ApplicationContextModule.html create mode 100644 api/2.49/dagger/hilt/android/internal/modules/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/internal/modules/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/internal/modules/package-use.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/EarlySingletonComponentCreator.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/InternalTestRoot.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/MarkThatRulesRanRule.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManagerHolder.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/TestComponentData.ComponentSupplier.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/TestComponentData.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/TestComponentDataSupplier.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/TestInjector.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/EarlySingletonComponentCreator.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/InternalTestRoot.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/MarkThatRulesRanRule.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManager.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManagerHolder.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.ComponentSupplier.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentDataSupplier.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/class-use/TestInjector.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/internal/testing/package-use.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/ActivityRetainedSavedState.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/HiltViewModel.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.OnClearedListener.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/class-use/ActivityRetainedSavedState.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/class-use/HiltViewModel.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.OnClearedListener.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/lifecycle/package-use.html create mode 100644 api/2.49/dagger/hilt/android/migration/CustomInject.html create mode 100644 api/2.49/dagger/hilt/android/migration/CustomInjection.html create mode 100644 api/2.49/dagger/hilt/android/migration/OptionalInject.html create mode 100644 api/2.49/dagger/hilt/android/migration/OptionalInjectCheck.html create mode 100644 api/2.49/dagger/hilt/android/migration/class-use/CustomInject.html create mode 100644 api/2.49/dagger/hilt/android/migration/class-use/CustomInjection.html create mode 100644 api/2.49/dagger/hilt/android/migration/class-use/OptionalInject.html create mode 100644 api/2.49/dagger/hilt/android/migration/class-use/OptionalInjectCheck.html create mode 100644 api/2.49/dagger/hilt/android/migration/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/migration/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/migration/package-use.html create mode 100644 api/2.49/dagger/hilt/android/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/package-use.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/ActivityContext.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/ApplicationContext.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/class-use/ActivityContext.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/class-use/ApplicationContext.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/qualifiers/package-use.html create mode 100644 api/2.49/dagger/hilt/android/scopes/ActivityRetainedScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/ActivityScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/FragmentScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/ServiceScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/ViewModelScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/ViewScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/class-use/ActivityRetainedScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/class-use/ActivityScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/class-use/FragmentScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/class-use/ServiceScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/class-use/ViewModelScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/class-use/ViewScoped.html create mode 100644 api/2.49/dagger/hilt/android/scopes/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/scopes/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/scopes/package-use.html create mode 100644 api/2.49/dagger/hilt/android/testing/BindElementsIntoSet.html create mode 100644 api/2.49/dagger/hilt/android/testing/BindValue.html create mode 100644 api/2.49/dagger/hilt/android/testing/BindValueIntoMap.html create mode 100644 api/2.49/dagger/hilt/android/testing/BindValueIntoSet.html create mode 100644 api/2.49/dagger/hilt/android/testing/CustomTestApplication.html create mode 100644 api/2.49/dagger/hilt/android/testing/HiltAndroidRule.html create mode 100644 api/2.49/dagger/hilt/android/testing/HiltAndroidTest.html create mode 100644 api/2.49/dagger/hilt/android/testing/HiltTestApplication.html create mode 100644 api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyListener.html create mode 100644 api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html create mode 100644 api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.html create mode 100644 api/2.49/dagger/hilt/android/testing/UninstallModules.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/BindElementsIntoSet.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/BindValue.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoMap.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoSet.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/CustomTestApplication.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidRule.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidTest.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/HiltTestApplication.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyListener.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.html create mode 100644 api/2.49/dagger/hilt/android/testing/class-use/UninstallModules.html create mode 100644 api/2.49/dagger/hilt/android/testing/package-summary.html create mode 100644 api/2.49/dagger/hilt/android/testing/package-tree.html create mode 100644 api/2.49/dagger/hilt/android/testing/package-use.html create mode 100644 api/2.49/dagger/hilt/class-use/DefineComponent.Builder.html create mode 100644 api/2.49/dagger/hilt/class-use/DefineComponent.html create mode 100644 api/2.49/dagger/hilt/class-use/EntryPoint.html create mode 100644 api/2.49/dagger/hilt/class-use/EntryPoints.html create mode 100644 api/2.49/dagger/hilt/class-use/GeneratesRootInput.html create mode 100644 api/2.49/dagger/hilt/class-use/InstallIn.html create mode 100644 api/2.49/dagger/hilt/codegen/OriginatingElement.html create mode 100644 api/2.49/dagger/hilt/codegen/class-use/OriginatingElement.html create mode 100644 api/2.49/dagger/hilt/codegen/package-summary.html create mode 100644 api/2.49/dagger/hilt/codegen/package-tree.html create mode 100644 api/2.49/dagger/hilt/codegen/package-use.html create mode 100644 api/2.49/dagger/hilt/components/SingletonComponent.html create mode 100644 api/2.49/dagger/hilt/components/class-use/SingletonComponent.html create mode 100644 api/2.49/dagger/hilt/components/package-summary.html create mode 100644 api/2.49/dagger/hilt/components/package-tree.html create mode 100644 api/2.49/dagger/hilt/components/package-use.html create mode 100644 api/2.49/dagger/hilt/internal/aliasof/AliasOfPropagatedData.html create mode 100644 api/2.49/dagger/hilt/internal/aliasof/class-use/AliasOfPropagatedData.html create mode 100644 api/2.49/dagger/hilt/internal/aliasof/package-summary.html create mode 100644 api/2.49/dagger/hilt/internal/aliasof/package-tree.html create mode 100644 api/2.49/dagger/hilt/internal/aliasof/package-use.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/DefineComponentClasses.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/DefineComponentNoParent.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentClasses.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentNoParent.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/package-summary.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/package-tree.html create mode 100644 api/2.49/dagger/hilt/internal/definecomponent/package-use.html create mode 100644 api/2.49/dagger/hilt/internal/generatesrootinput/GeneratesRootInputPropagatedData.html create mode 100644 api/2.49/dagger/hilt/internal/generatesrootinput/class-use/GeneratesRootInputPropagatedData.html create mode 100644 api/2.49/dagger/hilt/internal/generatesrootinput/package-summary.html create mode 100644 api/2.49/dagger/hilt/internal/generatesrootinput/package-tree.html create mode 100644 api/2.49/dagger/hilt/internal/generatesrootinput/package-use.html create mode 100644 api/2.49/dagger/hilt/migration/AliasOf.html create mode 100644 api/2.49/dagger/hilt/migration/DisableInstallInCheck.html create mode 100644 api/2.49/dagger/hilt/migration/class-use/AliasOf.html create mode 100644 api/2.49/dagger/hilt/migration/class-use/DisableInstallInCheck.html create mode 100644 api/2.49/dagger/hilt/migration/package-summary.html create mode 100644 api/2.49/dagger/hilt/migration/package-tree.html create mode 100644 api/2.49/dagger/hilt/migration/package-use.html create mode 100644 api/2.49/dagger/hilt/package-summary.html create mode 100644 api/2.49/dagger/hilt/package-tree.html create mode 100644 api/2.49/dagger/hilt/package-use.html create mode 100644 api/2.49/dagger/hilt/testing/TestInstallIn.html create mode 100644 api/2.49/dagger/hilt/testing/class-use/TestInstallIn.html create mode 100644 api/2.49/dagger/hilt/testing/package-summary.html create mode 100644 api/2.49/dagger/hilt/testing/package-tree.html create mode 100644 api/2.49/dagger/hilt/testing/package-use.html create mode 100644 api/2.49/dagger/model/Binding.html create mode 100644 api/2.49/dagger/model/BindingGraph.ChildFactoryMethodEdge.html create mode 100644 api/2.49/dagger/model/BindingGraph.ComponentNode.html create mode 100644 api/2.49/dagger/model/BindingGraph.DependencyEdge.html create mode 100644 api/2.49/dagger/model/BindingGraph.Edge.html create mode 100644 api/2.49/dagger/model/BindingGraph.MaybeBinding.html create mode 100644 api/2.49/dagger/model/BindingGraph.MissingBinding.html create mode 100644 api/2.49/dagger/model/BindingGraph.Node.html create mode 100644 api/2.49/dagger/model/BindingGraph.SubcomponentCreatorBindingEdge.html create mode 100644 api/2.49/dagger/model/BindingGraph.html create mode 100644 api/2.49/dagger/model/BindingKind.html create mode 100644 api/2.49/dagger/model/ComponentPath.html create mode 100644 api/2.49/dagger/model/DependencyRequest.Builder.html create mode 100644 api/2.49/dagger/model/DependencyRequest.html create mode 100644 api/2.49/dagger/model/Key.Builder.html create mode 100644 api/2.49/dagger/model/Key.MultibindingContributionIdentifier.html create mode 100644 api/2.49/dagger/model/Key.html create mode 100644 api/2.49/dagger/model/RequestKind.html create mode 100644 api/2.49/dagger/model/Scope.html create mode 100644 api/2.49/dagger/model/class-use/Binding.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.ChildFactoryMethodEdge.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.ComponentNode.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.DependencyEdge.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.Edge.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.MaybeBinding.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.MissingBinding.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.Node.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html create mode 100644 api/2.49/dagger/model/class-use/BindingGraph.html create mode 100644 api/2.49/dagger/model/class-use/BindingKind.html create mode 100644 api/2.49/dagger/model/class-use/ComponentPath.html create mode 100644 api/2.49/dagger/model/class-use/DependencyRequest.Builder.html create mode 100644 api/2.49/dagger/model/class-use/DependencyRequest.html create mode 100644 api/2.49/dagger/model/class-use/Key.Builder.html create mode 100644 api/2.49/dagger/model/class-use/Key.MultibindingContributionIdentifier.html create mode 100644 api/2.49/dagger/model/class-use/Key.html create mode 100644 api/2.49/dagger/model/class-use/RequestKind.html create mode 100644 api/2.49/dagger/model/class-use/Scope.html create mode 100644 api/2.49/dagger/model/package-summary.html create mode 100644 api/2.49/dagger/model/package-tree.html create mode 100644 api/2.49/dagger/model/package-use.html create mode 100644 api/2.49/dagger/multibindings/ClassKey.html create mode 100644 api/2.49/dagger/multibindings/ElementsIntoSet.html create mode 100644 api/2.49/dagger/multibindings/IntKey.html create mode 100644 api/2.49/dagger/multibindings/IntoMap.html create mode 100644 api/2.49/dagger/multibindings/IntoSet.html create mode 100644 api/2.49/dagger/multibindings/LongKey.html create mode 100644 api/2.49/dagger/multibindings/Multibinds.html create mode 100644 api/2.49/dagger/multibindings/StringKey.html create mode 100644 api/2.49/dagger/multibindings/class-use/ClassKey.html create mode 100644 api/2.49/dagger/multibindings/class-use/ElementsIntoSet.html create mode 100644 api/2.49/dagger/multibindings/class-use/IntKey.html create mode 100644 api/2.49/dagger/multibindings/class-use/IntoMap.html create mode 100644 api/2.49/dagger/multibindings/class-use/IntoSet.html create mode 100644 api/2.49/dagger/multibindings/class-use/LongKey.html create mode 100644 api/2.49/dagger/multibindings/class-use/Multibinds.html create mode 100644 api/2.49/dagger/multibindings/class-use/StringKey.html create mode 100644 api/2.49/dagger/multibindings/package-summary.html create mode 100644 api/2.49/dagger/multibindings/package-tree.html create mode 100644 api/2.49/dagger/multibindings/package-use.html create mode 100644 api/2.49/dagger/package-summary.html create mode 100644 api/2.49/dagger/package-tree.html create mode 100644 api/2.49/dagger/package-use.html create mode 100644 api/2.49/dagger/producers/CancellationPolicy.Propagation.html create mode 100644 api/2.49/dagger/producers/CancellationPolicy.html create mode 100644 api/2.49/dagger/producers/Produced.html create mode 100644 api/2.49/dagger/producers/Producer.html create mode 100644 api/2.49/dagger/producers/ProducerModule.html create mode 100644 api/2.49/dagger/producers/Producers.html create mode 100644 api/2.49/dagger/producers/Produces.html create mode 100644 api/2.49/dagger/producers/Production.html create mode 100644 api/2.49/dagger/producers/ProductionComponent.Builder.html create mode 100644 api/2.49/dagger/producers/ProductionComponent.Factory.html create mode 100644 api/2.49/dagger/producers/ProductionComponent.html create mode 100644 api/2.49/dagger/producers/ProductionScope.html create mode 100644 api/2.49/dagger/producers/ProductionSubcomponent.Builder.html create mode 100644 api/2.49/dagger/producers/ProductionSubcomponent.Factory.html create mode 100644 api/2.49/dagger/producers/ProductionSubcomponent.html create mode 100644 api/2.49/dagger/producers/class-use/CancellationPolicy.Propagation.html create mode 100644 api/2.49/dagger/producers/class-use/CancellationPolicy.html create mode 100644 api/2.49/dagger/producers/class-use/Produced.html create mode 100644 api/2.49/dagger/producers/class-use/Producer.html create mode 100644 api/2.49/dagger/producers/class-use/ProducerModule.html create mode 100644 api/2.49/dagger/producers/class-use/Producers.html create mode 100644 api/2.49/dagger/producers/class-use/Produces.html create mode 100644 api/2.49/dagger/producers/class-use/Production.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionComponent.Builder.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionComponent.Factory.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionComponent.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionScope.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionSubcomponent.Builder.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionSubcomponent.Factory.html create mode 100644 api/2.49/dagger/producers/class-use/ProductionSubcomponent.html create mode 100644 api/2.49/dagger/producers/monitoring/ProducerMonitor.html create mode 100644 api/2.49/dagger/producers/monitoring/ProducerTimingRecorder.html create mode 100644 api/2.49/dagger/producers/monitoring/ProducerToken.html create mode 100644 api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.Factory.html create mode 100644 api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.html create mode 100644 api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.Factory.html create mode 100644 api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.html create mode 100644 api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.Factory.html create mode 100644 api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.html create mode 100644 api/2.49/dagger/producers/monitoring/TimingRecorders.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProducerMonitor.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProducerTimingRecorder.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProducerToken.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.Factory.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.Factory.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.Factory.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.html create mode 100644 api/2.49/dagger/producers/monitoring/class-use/TimingRecorders.html create mode 100644 api/2.49/dagger/producers/monitoring/package-summary.html create mode 100644 api/2.49/dagger/producers/monitoring/package-tree.html create mode 100644 api/2.49/dagger/producers/monitoring/package-use.html create mode 100644 api/2.49/dagger/producers/package-summary.html create mode 100644 api/2.49/dagger/producers/package-tree.html create mode 100644 api/2.49/dagger/producers/package-use.html create mode 100644 api/2.49/dagger/spi/BindingGraphPlugin.html create mode 100644 api/2.49/dagger/spi/DiagnosticReporter.html create mode 100644 api/2.49/dagger/spi/class-use/BindingGraphPlugin.html create mode 100644 api/2.49/dagger/spi/class-use/DiagnosticReporter.html create mode 100644 api/2.49/dagger/spi/model/Binding.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.ChildFactoryMethodEdge.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.ComponentNode.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.DependencyEdge.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.Edge.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.MaybeBinding.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.MissingBinding.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.Node.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.SubcomponentCreatorBindingEdge.html create mode 100644 api/2.49/dagger/spi/model/BindingGraph.html create mode 100644 api/2.49/dagger/spi/model/BindingGraphPlugin.html create mode 100644 api/2.49/dagger/spi/model/BindingKind.html create mode 100644 api/2.49/dagger/spi/model/ComponentPath.html create mode 100644 api/2.49/dagger/spi/model/DaggerAnnotation.html create mode 100644 api/2.49/dagger/spi/model/DaggerElement.html create mode 100644 api/2.49/dagger/spi/model/DaggerExecutableElement.html create mode 100644 api/2.49/dagger/spi/model/DaggerProcessingEnv.Backend.html create mode 100644 api/2.49/dagger/spi/model/DaggerProcessingEnv.html create mode 100644 api/2.49/dagger/spi/model/DaggerType.html create mode 100644 api/2.49/dagger/spi/model/DaggerTypeElement.html create mode 100644 api/2.49/dagger/spi/model/DependencyRequest.Builder.html create mode 100644 api/2.49/dagger/spi/model/DependencyRequest.html create mode 100644 api/2.49/dagger/spi/model/DiagnosticReporter.html create mode 100644 api/2.49/dagger/spi/model/Key.Builder.html create mode 100644 api/2.49/dagger/spi/model/Key.MultibindingContributionIdentifier.html create mode 100644 api/2.49/dagger/spi/model/Key.html create mode 100644 api/2.49/dagger/spi/model/RequestKind.html create mode 100644 api/2.49/dagger/spi/model/Scope.html create mode 100644 api/2.49/dagger/spi/model/class-use/Binding.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.ChildFactoryMethodEdge.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.ComponentNode.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.DependencyEdge.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.Edge.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.MaybeBinding.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.MissingBinding.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.Node.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraph.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingGraphPlugin.html create mode 100644 api/2.49/dagger/spi/model/class-use/BindingKind.html create mode 100644 api/2.49/dagger/spi/model/class-use/ComponentPath.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerAnnotation.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerElement.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerExecutableElement.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.Backend.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerType.html create mode 100644 api/2.49/dagger/spi/model/class-use/DaggerTypeElement.html create mode 100644 api/2.49/dagger/spi/model/class-use/DependencyRequest.Builder.html create mode 100644 api/2.49/dagger/spi/model/class-use/DependencyRequest.html create mode 100644 api/2.49/dagger/spi/model/class-use/DiagnosticReporter.html create mode 100644 api/2.49/dagger/spi/model/class-use/Key.Builder.html create mode 100644 api/2.49/dagger/spi/model/class-use/Key.MultibindingContributionIdentifier.html create mode 100644 api/2.49/dagger/spi/model/class-use/Key.html create mode 100644 api/2.49/dagger/spi/model/class-use/RequestKind.html create mode 100644 api/2.49/dagger/spi/model/class-use/Scope.html create mode 100644 api/2.49/dagger/spi/model/package-summary.html create mode 100644 api/2.49/dagger/spi/model/package-tree.html create mode 100644 api/2.49/dagger/spi/model/package-use.html create mode 100644 api/2.49/dagger/spi/package-summary.html create mode 100644 api/2.49/dagger/spi/package-tree.html create mode 100644 api/2.49/dagger/spi/package-use.html create mode 100644 api/2.49/deprecated-list.html create mode 100644 api/2.49/element-list create mode 100644 api/2.49/help-doc.html create mode 100644 api/2.49/index-all.html create mode 100644 api/2.49/index.html create mode 100644 api/2.49/jquery-ui.overrides.css create mode 100644 api/2.49/jquery/external/jquery/jquery.js create mode 100644 api/2.49/jquery/jquery-3.6.1.min.js create mode 100644 api/2.49/jquery/jquery-ui.min.css create mode 100644 api/2.49/jquery/jquery-ui.min.js create mode 100644 api/2.49/jquery/jszip-utils/dist/jszip-utils-ie.js create mode 100644 api/2.49/jquery/jszip-utils/dist/jszip-utils-ie.min.js create mode 100644 api/2.49/jquery/jszip-utils/dist/jszip-utils.js create mode 100644 api/2.49/jquery/jszip-utils/dist/jszip-utils.min.js create mode 100644 api/2.49/jquery/jszip/dist/jszip.js create mode 100644 api/2.49/jquery/jszip/dist/jszip.min.js create mode 100644 api/2.49/legal/ADDITIONAL_LICENSE_INFO create mode 100644 api/2.49/legal/ASSEMBLY_EXCEPTION create mode 100644 api/2.49/legal/LICENSE create mode 100644 api/2.49/legal/jquery.md create mode 100644 api/2.49/legal/jqueryUI.md create mode 100644 api/2.49/legal/jszip.md create mode 100644 api/2.49/legal/pako.md create mode 100644 api/2.49/member-search-index.js create mode 100644 api/2.49/member-search-index.zip create mode 100644 api/2.49/overview-summary.html create mode 100644 api/2.49/overview-tree.html create mode 100644 api/2.49/package-search-index.js create mode 100644 api/2.49/package-search-index.zip create mode 100644 api/2.49/resources/glass.png create mode 100644 api/2.49/resources/x.png create mode 100644 api/2.49/script.js create mode 100644 api/2.49/search.js create mode 100644 api/2.49/serialized-form.html create mode 100644 api/2.49/stylesheet.css create mode 100644 api/2.49/type-search-index.js create mode 100644 api/2.49/type-search-index.zip diff --git a/api/2.49/allclasses-index.html b/api/2.49/allclasses-index.html new file mode 100644 index 00000000000..7942cb56bf3 --- /dev/null +++ b/api/2.49/allclasses-index.html @@ -0,0 +1,1674 @@ + + + + + +All Classes + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes

+
+
+ +
+
+ + + diff --git a/api/2.49/allclasses.html b/api/2.49/allclasses.html new file mode 100644 index 00000000000..f36d8759742 --- /dev/null +++ b/api/2.49/allclasses.html @@ -0,0 +1,271 @@ + + + + + +All Classes + + + + + + + + + + + + +
+

All Classes

+
+ +
+
+ + diff --git a/api/2.49/allpackages-index.html b/api/2.49/allpackages-index.html new file mode 100644 index 00000000000..4ce3f0c6087 --- /dev/null +++ b/api/2.49/allpackages-index.html @@ -0,0 +1,351 @@ + + + + + +All Packages + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
+ +
+
+ + + diff --git a/api/2.49/constant-values.html b/api/2.49/constant-values.html new file mode 100644 index 00000000000..e060f7c5fe5 --- /dev/null +++ b/api/2.49/constant-values.html @@ -0,0 +1,150 @@ + + + + + +Constant Field Values + + + + + + + + + + + + + + +
+ +
+
+
+

Constant Field Values

+
+

Contents

+
+
+
+ + + diff --git a/api/2.49/dagger/Binds.html b/api/2.49/dagger/Binds.html new file mode 100644 index 00000000000..9e9ca70afd9 --- /dev/null +++ b/api/2.49/dagger/Binds.html @@ -0,0 +1,222 @@ + + + + + +Binds + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Binds

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface Binds
    +
    Annotates abstract methods of a Module that delegate bindings. For example, to + bind Random to SecureRandom a module could declare the + following: @Binds abstract Random bindRandom(SecureRandom secureRandom); + +

    @Binds methods are a drop-in replacement for Provides methods that simply + return an injected parameter. Prefer @Binds because the generated implementation is + likely to be more efficient. + +

    A @Binds method: + +

      +
    • Must be abstract. +
    • May be scoped. +
    • May be qualified. +
    • Must have a single parameter whose type is assignable to the return type. The return type + declares the bound type (just as it would for a @Provides method) + and the parameter is the type to which it is bound. +

      For multibindings, assignability is checked in similar + ways: +

      +
      IntoSet +
      The parameter must be assignable to the only parameter of Set.add(E) + when viewed as a member of the return type — the parameter must be assignable to the + return type. +
      ElementsIntoSet +
      The parameter must be assignable to the only parameter of Set.addAll(java.util.Collection<? extends E>) when viewed as a member of the return type — if the return type + is Set<E>, the parameter must be assignable to Collection<? extends + E>. +
      IntoMap +
      The parameter must be assignable to the value parameter of Map.put(K, V) when viewed as a member of a Map in which + V is bound to the return type — the parameter must be assignable to the return type +
      +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/BindsInstance.html b/api/2.49/dagger/BindsInstance.html new file mode 100644 index 00000000000..1e8566d0543 --- /dev/null +++ b/api/2.49/dagger/BindsInstance.html @@ -0,0 +1,240 @@ + + + + + +BindsInstance + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type BindsInstance

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target({METHOD,PARAMETER})
    +@Beta
    +public @interface BindsInstance
    +
    Marks a method on a component builder or a parameter on a + component factory as binding an instance to some key within the + component. + +

    For example: + +

    +   @Component.Builder
    +   interface Builder {
    +     @BindsInstance Builder foo(Foo foo);
    +     @BindsInstance Builder bar(@Blue Bar bar);
    +     ...
    +   }
    +
    +   // or
    +
    +   @Component.Factory
    +   interface Factory {
    +     MyComponent newMyComponent(
    +         @BindsInstance Foo foo,
    +         @BindsInstance @Blue Bar bar);
    +   }
    + 
    + +

    will allow clients of the builder or factory to pass their own instances of Foo and + Bar, and those instances can be injected within the component as Foo or + @Blue Bar, respectively. It's important to note that unlike in factories, the methods in + builders should only accept and bind a single parameter each. Using the following will result in + an error: + +

    +   @Component.Builder
    +   interface Builder {
    +     // Error! Builder methods can only have one parameter
    +     @BindsInstance Builder fooAndBar(Foo foo, @Blue Bar bar);
    +     ...
    +   }
    + 
    + +

    @BindsInstance arguments may not be null unless the parameter is annotated + with @Nullable. + +

    For builders, @BindsInstance methods must be called before building the component, + unless their parameter is marked @Nullable, in which case the component will act as + though it was called with a null argument. Primitives, of course, may not be marked + @Nullable. + +

    Binding an instance is equivalent to passing an instance to a module constructor and providing + that instance, but is often more efficient. When possible, binding object instances should be + preferred to using module instances.

    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/BindsOptionalOf.html b/api/2.49/dagger/BindsOptionalOf.html new file mode 100644 index 00000000000..7b1f945fa79 --- /dev/null +++ b/api/2.49/dagger/BindsOptionalOf.html @@ -0,0 +1,243 @@ + + + + + +BindsOptionalOf + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type BindsOptionalOf

+
+
+
+
    +
  • +
    +
    @Documented
    +@Beta
    +@Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface BindsOptionalOf
    +
    Annotates methods that declare bindings for Optional containers of values from bindings + that may or may not be present in the component. + +

    If a module contains a method declaration like this: + +

    + @BindsOptionalOf abstract Foo optionalFoo();
    + + then any binding in the component can depend on an Optional of Foo. If there is + no binding for Foo in the component, the Optional will be absent. If there is a + binding for Foo in the component, the Optional will be present, and its value + will be the value given by the binding for Foo. + +

    A @BindsOptionalOf method: + +

      +
    • must be abstract +
    • may have a qualifier annotation +
    • must not return void +
    • must not have parameters +
    • must not throw exceptions +
    • must not return an unqualified type with an @Inject-annotated constructor, + since such a type is always present +
    + +

    Other bindings may inject any of: + +

      +
    • Optional<Foo> (unless there is a @Nullable binding for Foo; see + below) +
    • Optional<Provider<Foo>> +
    • Optional<Lazy<Foo>> +
    • Optional<Provider<Lazy<Foo>>> +
    + +

    If there is a binding for Foo, and that binding is @Nullable, then it is a + compile-time error to inject Optional<Foo>, because Optional cannot contain + null. You can always inject the other forms, because Provider and Lazy + can always return null from their get() methods. + +

    Explicit bindings for any of the above will conflict with a @BindsOptionalOf binding. + +

    If the binding for Foo is a @Produces binding, then another @Produces + binding can depend on any of: + +

      +
    • Optional<Foo> + +
    • Optional<Producer<Foo>> +
    • Optional<Produced<Foo>> +
    + +

    You can inject either com.google.common.base.Optional or java.util.Optional.

    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Component.Builder.html b/api/2.49/dagger/Component.Builder.html new file mode 100644 index 00000000000..e0abfedfdf5 --- /dev/null +++ b/api/2.49/dagger/Component.Builder.html @@ -0,0 +1,236 @@ + + + + + +Component.Builder + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Component.Builder

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +@Documented
    +public static @interface Component.Builder
    +
    A builder for a component. + +

    A builder is a type with setter methods for the modules, + dependencies and bound instances + required by the component and a single no-argument build method that creates a new component + instance. + +

    Components may have a single nested static abstract class or interface + annotated with @Component.Builder. If they do, then Dagger will generate a builder + class that implements that type. Note that a component with a @Component.Builder may + not also have a @Component.Factory. + +

    Builder types must follow some rules: + +

      +
    • There must be exactly one abstract no-argument method that returns the component + type or one of its supertypes, called the "build method". +
    • There may be other other abstract methods, called "setter methods". +
    • Setter methods must take a single argument and return void, the builder + type or a supertype of the builder type. +
    • There must be a setter method for each component dependency. +
    • There must be a setter method for each non-abstract module that has non-static binding methods, unless Dagger can + instantiate that module with a visible no-argument constructor. +
    • There may be setter methods for modules that Dagger can instantiate or does not + need to instantiate. +
    • There may be setter methods annotated with @BindsInstance. These methods + bind the instance passed to them within the component. See @BindsInstance for more information. +
    • There may be non-abstract methods, but they are ignored as far as + validation and builder generation are concerned. +
    + + For example, this could be a valid Component with a Builder: + +
    
    + @Component(modules = {BackendModule.class, FrontendModule.class})
    + interface MyComponent {
    +   MyWidget myWidget();
    +
    +   @Component.Builder
    +   interface Builder {
    +     Builder backendModule(BackendModule bm);
    +     Builder frontendModule(FrontendModule fm);
    +     @BindsInstance
    +     Builder foo(Foo foo);
    +     MyComponent build();
    +   }
    + }
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Component.Factory.html b/api/2.49/dagger/Component.Factory.html new file mode 100644 index 00000000000..b9704cd50e9 --- /dev/null +++ b/api/2.49/dagger/Component.Factory.html @@ -0,0 +1,236 @@ + + + + + +Component.Factory + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Component.Factory

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +@Documented
    +public static @interface Component.Factory
    +
    A factory for a component. + +

    A factory is a type with a single method that returns a new component instance each time it + is called. The parameters of that method allow the caller to provide the modules, dependencies and bound instances required by the component. + +

    Components may have a single nested static abstract class or interface + annotated with @Component.Factory. If they do, then Dagger will generate a factory + class that will implement that type. Note that a component with a @Component.Factory + may not also have a @Component.Builder. + +

    Factory types must follow some rules: + +

      +
    • There must be exactly one abstract method, which must return the component type or + one of its supertypes. +
    • The method must have a parameter for each component dependency. +
    • The method must have a parameter for each non-abstract module that has non-static binding methods, unless Dagger can + instantiate that module with a visible no-argument constructor. +
    • The method may have parameters for modules that Dagger can instantiate or does not + need to instantiate. +
    • The method may have parameters annotated with @BindsInstance. These + parameters bind the instance passed for that parameter within the component. See @BindsInstance for more information. +
    • There may be non-abstract methods, but they are ignored as far as + validation and factory generation are concerned. +
    + + For example, this could be a valid Component with a Factory: + +
    
    + @Component(modules = {BackendModule.class, FrontendModule.class})
    + interface MyComponent {
    +   MyWidget myWidget();
    +
    +   @Component.Factory
    +   interface Factory {
    +     MyComponent newMyComponent(
    +         BackendModule bm, FrontendModule fm, @BindsInstance Foo foo);
    +   }
    + }
    + +

    For a root component, if a @Component.Factory is defined, the generated component + type will have a static method named factory() that returns an instance of that + factory.

    +
    +
    Since:
    +
    2.22
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Component.html b/api/2.49/dagger/Component.html new file mode 100644 index 00000000000..a7bfe252fde --- /dev/null +++ b/api/2.49/dagger/Component.html @@ -0,0 +1,485 @@ + + + + + +Component + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Component

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +@Documented
    +public @interface Component
    +
    Annotates an interface or abstract class for which a fully-formed, dependency-injected + implementation is to be generated from a set of modules(). The generated class will + have the name of the type annotated with @Component prepended with Dagger. For + example, @Component interface MyComponent {...} will produce an implementation named + DaggerMyComponent. + +

    + +

    Component methods

    + +

    Every type annotated with @Component must contain at least one abstract component + method. Component methods may have any name, but must have signatures that conform to either + provision or members-injection contracts. + +

    + +

    Provision methods

    + +

    Provision methods have no parameters and return an injected or provided type. Each method may have a Qualifier annotation as well. The following are + all valid provision method declarations: + +

    
    +   SomeType getSomeType();
    +   Set<SomeType> getSomeTypes();
    +   @PortNumber int getPortNumber();
    + 
    + +

    Provision methods, like typical injection sites, may use Provider or + Lazy to more explicitly control provision requests. A Provider allows the user of + the component to request provision any number of times by calling Provider.get(). A Lazy will only ever request a single provision, but will defer it until the first call to Lazy.get(). The following provision methods all request provision of the same type, but each + implies different semantics: + +

    
    +   SomeType getSomeType();
    +   Provider<SomeType> getSomeTypeProvider();
    +   Lazy<SomeType> getLazySomeType();
    + 
    + + + +

    Members-injection methods

    + +

    Members-injection methods have a single parameter and inject dependencies into each of the + Inject-annotated fields and methods of the passed instance. A members-injection method + may be void or return its single parameter as a convenience for chaining. The following are all + valid members-injection method declarations: + +

    
    +   void injectSomeType(SomeType someType);
    +   SomeType injectAndReturnSomeType(SomeType someType);
    + 
    + +

    A method with no parameters that returns a MembersInjector is equivalent to a members + injection method. Calling MembersInjector.injectMembers(T) on the returned object will + perform the same work as a members injection method. For example: + +

    
    +   MembersInjector<SomeType> getSomeTypeMembersInjector();
    + 
    + +

    A note about covariance

    + +

    While a members-injection method for a type will accept instances of its subtypes, only Inject-annotated members of the parameter type and its supertypes will be injected; members of + subtypes will not. For example, given the following types, only a and b will be + injected into an instance of Child when it is passed to the members-injection method + injectSelf(Self instance): + +

    
    +   class Parent {
    +     @Inject A a;
    +   }
    +
    +   class Self extends Parent {
    +     @Inject B b;
    +   }
    +
    +   class Child extends Self {
    +     @Inject C c;
    +   }
    + 
    + + + +

    Instantiation

    + +

    Component implementations are primarily instantiated via a generated builder or factory. + +

    If a nested @Component.Builder or @Component.Factory type + exists in the component, Dagger will generate an implementation of that type. If neither exists, + Dagger will generate a builder type that has a method to set each of the modules() + and component dependencies() named with the lower camel case version of the module or + dependency type. + +

    In either case, the Dagger-generated component type will have a static method, named either + builder() or factory(), that returns a builder or factory instance. + +

    Example of using a builder: + +

    
    + public static void main(String[] args) {
    +   OtherComponent otherComponent = ...;
    +   MyComponent component = DaggerMyComponent.builder()
    +       // required because component dependencies must be set
    +       .otherComponent(otherComponent)
    +       // required because FlagsModule has constructor parameters
    +       .flagsModule(new FlagsModule(args))
    +       // may be elided because a no-args constructor is visible
    +       .myApplicationModule(new MyApplicationModule())
    +       .build();
    + }
    + 
    + +

    Example of using a factory: + +

    
    + public static void main(String[] args) {
    +     OtherComponent otherComponent = ...;
    +     MyComponent component = DaggerMyComponent.factory()
    +         .create(otherComponent, new FlagsModule(args), new MyApplicationModule());
    +     // Note that all parameters to a factory method are required, even if one is for a module
    +     // that Dagger could instantiate. The only case where null is legal is for a
    +     // @BindsInstance @Nullable parameter.
    +   }
    + 
    + +

    In the case that a component has no component dependencies and only no-arg modules, the + generated component will also have a factory method create(). + SomeComponent.create() and SomeComponent.builder().build() are both valid and + equivalent. + +

    + +

    Scope

    + +

    Each Dagger component can be associated with a scope by annotating it with the scope annotation. The component implementation ensures that there is only one provision of + each scoped binding per instance of the component. If the component declares a scope, it may only + contain unscoped bindings or bindings of that scope anywhere in the graph. For example: + +

    
    +   @Singleton @Component
    +   interface MyApplicationComponent {
    +     // this component can only inject types using unscoped or @Singleton bindings
    +   }
    + 
    + +

    In order to get the proper behavior associated with a scope annotation, it is the caller's + responsibility to instantiate new component instances when appropriate. A Singleton + component, for instance, should only be instantiated once per application, while a + RequestScoped component should be instantiated once per request. Because components are + self-contained implementations, exiting a scope is as simple as dropping all references to the + component instance. + +

    + +

    Component relationships

    + +

    While there is much utility in isolated components with purely unscoped bindings, many + applications will call for multiple components with multiple scopes to interact. Dagger provides + two mechanisms for relating components. + +

    + +

    Subcomponents

    + +

    The simplest way to relate two components is by declaring a Subcomponent. A + subcomponent behaves exactly like a component, but has its implementation generated within a + parent component or subcomponent. That relationship allows the subcomponent implementation to + inherit the entire binding graph from its parent when it is declared. For that reason, a + subcomponent isn't evaluated for completeness until it is associated with a parent. + +

    Subcomponents are declared by listing the class in the Module.subcomponents() + attribute of one of the parent component's modules. This binds the Subcomponent.Builder + or Subcomponent.Factory for that subcomponent within the parent component. + +

    Subcomponents may also be declared via a factory method on a parent component or subcomponent. + The method may have any name, but must return the subcomponent. The factory method's parameters + may be any number of the subcomponent's modules, but must at least include those without visible + no-arg constructors. The following is an example of a factory method that creates a + request-scoped subcomponent from a singleton-scoped parent: + +

    
    +   @Singleton @Component
    +   interface ApplicationComponent {
    +     // component methods...
    +
    +     RequestComponent newRequestComponent(RequestModule requestModule);
    +   }
    + 
    + + + +

    Component dependencies

    + +

    While subcomponents are the simplest way to compose subgraphs of bindings, subcomponents are + tightly coupled with the parents; they may use any binding defined by their ancestor component + and subcomponents. As an alternative, components can use bindings only from another component + interface by declaring a component dependency. When a type is + used as a component dependency, each provision method on the + dependency is bound as a provider. Note that only the bindings exposed as provision + methods are available through component dependencies.

    +
    +
    Since:
    +
    2.0
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>[]dependencies +
      A list of types that are to be used as component + dependencies.
      +
      java.lang.Class<?>[]modules +
      A list of classes annotated with Module whose bindings are used to generate the + component implementation.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        modules

        +
        java.lang.Class<?>[] modules
        +
        A list of classes annotated with Module whose bindings are used to generate the + component implementation. Note that through the use of Module.includes() the full set of + modules used to implement the component may include more modules that just those listed here.
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        dependencies

        +
        java.lang.Class<?>[] dependencies
        +
        A list of types that are to be used as component + dependencies.
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Lazy.html b/api/2.49/dagger/Lazy.html new file mode 100644 index 00000000000..c10e8d5190e --- /dev/null +++ b/api/2.49/dagger/Lazy.html @@ -0,0 +1,378 @@ + + + + + +Lazy + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Interface Lazy<T>

+
+
+
+
    +
  • +
    +
    public interface Lazy<T>
    +
    A handle to a lazily-computed value. Each Lazy computes its value on + the first call to get() and remembers that same value for all + subsequent calls to get(). + +

    All implementations are expected to be thread-safe and compute their value at most once. + +

    Example

    + The differences between direct injection, provider + injection and lazy injection are best demonstrated + with an example. Start with a module that computes a different integer for + each use:
    
    +   @Module
    +   final class CounterModule {
    +     int next = 100;
    +
    +     @Provides Integer provideInteger() {
    +       System.out.println("computing...");
    +       return next++;
    +     }
    +   }
    + 
    + +

    Direct Injection

    + This class injects that integer and prints it 3 times:
    
    +   final class DirectCounter {
    +     @Inject Integer value;
    +
    +     void print() {
    +       System.out.println("printing...");
    +       System.out.println(value);
    +       System.out.println(value);
    +       System.out.println(value);
    +     }
    +   }
    + 
    + Injecting a DirectCounter and invoking print() reveals that + the value is computed before it is required:
    
    +   computing...
    +   printing...
    +   100
    +   100
    +   100
    + 
    + +

    Provider Injection

    + This class injects a provider for the + integer. It calls Provider.get() 3 times and prints each result: +
    
    +   final class ProviderCounter {
    +     @Inject Provider<Integer> provider;
    +
    +     void print() {
    +       System.out.println("printing...");
    +       System.out.println(provider.get());
    +       System.out.println(provider.get());
    +       System.out.println(provider.get());
    +     }
    +   }
    + 
    + Injecting a ProviderCounter and invoking print() shows that + a new value is computed each time Provider.get() is used:
    
    +   printing...
    +   computing...
    +   100
    +   computing...
    +   101
    +   computing...
    +   102
    + 
    + +

    Lazy Injection

    + This class injects a Lazy for the integer. Like the provider above, + it calls Lazy.get() 3 times and prints each result:
    
    +   final class LazyCounter {
    +     @Inject Lazy<Integer> lazy;
    +
    +     void print() {
    +       System.out.println("printing...");
    +       System.out.println(lazy.get());
    +       System.out.println(lazy.get());
    +       System.out.println(lazy.get());
    +     }
    +   }
    + 
    + Injecting a LazyCounter and invoking print() shows that a new + value is computed immediately before it is needed. The same value is returned + for all subsequent uses:
    
    +   printing...
    +   computing...
    +   100
    +   100
    +   100
    + 
    + +

    Lazy != Singleton

    + Note that each injected Lazy is independent, and remembers its value + in isolation of other Lazy instances. In this example, two + LazyCounter objects are created and print() is called on each: +
    
    +   final class LazyCounters {
    +     @Inject LazyCounter counter1;
    +     @Inject LazyCounter counter2;
    +
    +     void print() {
    +       counter1.print();
    +       counter2.print();
    +     }
    +   }
    + 
    + The output demonstrates that each Lazy works independently: +
    
    +   printing...
    +   computing...
    +   100
    +   100
    +   100
    +   printing...
    +   computing...
    +   101
    +   101
    +   101
    + 
    + Use @Singleton to share one instance among all + clients, and Lazy for lazy computation in a single client.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      Tget() +
      Return the underlying value, computing the value if necessary.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        T get()
        +
        Return the underlying value, computing the value if necessary. All calls to + the same Lazy instance will return the same result.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/MapKey.html b/api/2.49/dagger/MapKey.html new file mode 100644 index 00000000000..98a30c96a37 --- /dev/null +++ b/api/2.49/dagger/MapKey.html @@ -0,0 +1,331 @@ + + + + + +MapKey + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type MapKey

+
+
+
+
    +
  • +
    +
    @Documented
    +@Target(ANNOTATION_TYPE)
    +@Retention(RUNTIME)
    +public @interface MapKey
    +
    Identifies annotation types that are used to associate keys with values returned by provider methods in order to compose a map. + +

    Every provider method annotated with @Provides and @IntoMap must also have an + annotation that identifies the key for that map entry. That annotation's type must be annotated + with @MapKey. + +

    Typically, the key annotation has a single member, whose value is used as the map key. + +

    For example, to add an entry to a Map<SomeEnum, Integer> with key + SomeEnum.FOO, you could use an annotation called @SomeEnumKey: + +

    
    + @MapKey
    + @interface SomeEnumKey {
    +   SomeEnum value();
    + }
    +
    + @Module
    + class SomeModule {
    +   @Provides
    +   @IntoMap
    +   @SomeEnumKey(SomeEnum.FOO)
    +   Integer provideFooValue() {
    +     return 2;
    +   }
    + }
    +
    + class SomeInjectedType {
    +   @Inject
    +   SomeInjectedType(Map<SomeEnum, Integer> map) {
    +     assert map.get(SomeEnum.FOO) == 2;
    +   }
    + }
    + 
    + +

    If unwrapValue is true, the annotation's single member can be any type except an + array. + +

    See dagger.multibindings for standard unwrapped map key annotations for keys that are + boxed primitives, strings, or classes. + +

    Annotations as keys

    + +

    If unwrapValue() is false, then the annotation itself is used as the map key. For + example, to add an entry to a Map<MyMapKey, Integer> map: + +

    
    + @MapKey(unwrapValue = false)
    + @interface MyMapKey {
    +   String someString();
    +   MyEnum someEnum();
    + }
    +
    + @Module
    + class SomeModule {
    +   @Provides
    +   @IntoMap
    +   @MyMapKey(someString = "foo", someEnum = BAR)
    +   Integer provideFooBarValue() {
    +     return 2;
    +   }
    + }
    +
    + class SomeInjectedType {
    +   @Inject
    +   SomeInjectedType(Map<MyMapKey, Integer> map) {
    +     assert map.get(new MyMapKeyImpl("foo", MyEnum.BAR)) == 2;
    +   }
    + }
    + 
    + +

    (Note that there must be a class MyMapKeyImpl that implements MyMapKey in + order to call Map.get(Object) on the provided map.)

    +
    +
    See Also:
    +
    Map multibinding
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      booleanunwrapValue +
      True to use the value of the single member of the annotated annotation as the map key; false + to use the annotation instance as the map key.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        unwrapValue

        +
        boolean unwrapValue
        +
        True to use the value of the single member of the annotated annotation as the map key; false + to use the annotation instance as the map key. + +

        If true, the single member must not be an array.

        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/MembersInjector.html b/api/2.49/dagger/MembersInjector.html new file mode 100644 index 00000000000..0760caaf82d --- /dev/null +++ b/api/2.49/dagger/MembersInjector.html @@ -0,0 +1,277 @@ + + + + + +MembersInjector + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Interface MembersInjector<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - type to inject members of
    +
    +
    +
    public interface MembersInjector<T>
    +
    Injects dependencies into the fields and methods on instances of type T. Ignores the + presence or absence of an injectable constructor.
    +
    +
    Since:
    +
    2.0 (since 1.0 without the provision that injectMembers(T) cannot accept + null)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        injectMembers

        +
        void injectMembers​(T instance)
        +
        Injects dependencies into the fields and methods of instance. Ignores the presence or + absence of an injectable constructor. + +

        Whenever a Component creates an instance, it performs this injection automatically + (after first performing constructor injection), so if you're able to let the component create + all your objects for you, you'll never need to use this method.

        +
        +
        Parameters:
        +
        instance - into which members are to be injected
        +
        Throws:
        +
        java.lang.NullPointerException - if instance is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Module.html b/api/2.49/dagger/Module.html new file mode 100644 index 00000000000..08f7ee31748 --- /dev/null +++ b/api/2.49/dagger/Module.html @@ -0,0 +1,287 @@ + + + + + +Module + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Module

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface Module
    +
    Annotates a class that contributes to the object graph.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>[]includes +
      Additional @Module-annotated classes from which this module is composed.
      +
      java.lang.Class<?>[]subcomponents +
      Any Subcomponent- or @ProductionSubcomponent-annotated classes which should be + children of the component in which this module is installed.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        includes

        +
        java.lang.Class<?>[] includes
        +
        Additional @Module-annotated classes from which this module is composed. The + de-duplicated contributions of the modules in includes, and of their inclusions + recursively, are all contributed to the object graph.
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        subcomponents

        +
        @Beta
        +java.lang.Class<?>[] subcomponents
        +
        Any Subcomponent- or @ProductionSubcomponent-annotated classes which should be + children of the component in which this module is installed. A subcomponent may be listed in + more than one module in a component.
        +
        +
        Since:
        +
        2.7
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Provides.html b/api/2.49/dagger/Provides.html new file mode 100644 index 00000000000..612c897591d --- /dev/null +++ b/api/2.49/dagger/Provides.html @@ -0,0 +1,204 @@ + + + + + +Provides + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Provides

+
+
+
+
    +
  • +
    +
    @Documented
    +@Target(METHOD)
    +@Retention(RUNTIME)
    +public @interface Provides
    +
    Annotates methods of a module to create a provider method binding. The + method's return type is bound to its returned value. The component + implementation will pass dependencies to the method as parameters. + +

    Nullability

    + +

    Dagger forbids injecting null by default. Component implementations that invoke + @Provides methods that return null will throw a NullPointerException + immediately thereafter. @Provides methods may opt into allowing null by + annotating the method with any @Nullable annotation like + javax.annotation.Nullable or androidx.annotation.Nullable. + +

    If a @Provides method is marked @Nullable, Dagger will only allow + injection into sites that are marked @Nullable as well. A component that attempts to pair + a @Nullable provision with a non-@Nullable injection site will fail to compile.

    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Reusable.html b/api/2.49/dagger/Reusable.html new file mode 100644 index 00000000000..f9036e004a1 --- /dev/null +++ b/api/2.49/dagger/Reusable.html @@ -0,0 +1,198 @@ + + + + + +Reusable + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Reusable

+
+
+
+
    +
  • +
    +
    @Documented
    +@Beta
    +@Retention(RUNTIME)
    +@Scope
    +public @interface Reusable
    +
    A scope that indicates that the object returned by a binding may be (but might not be) reused. + +

    @Reusable is useful when you want to limit the number of provisions of a type, but + there is no specific lifetime over which there must be only one instance.

    +
    +
    See Also:
    +
    Reusable Scope
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Subcomponent.Builder.html b/api/2.49/dagger/Subcomponent.Builder.html new file mode 100644 index 00000000000..c041421f53b --- /dev/null +++ b/api/2.49/dagger/Subcomponent.Builder.html @@ -0,0 +1,197 @@ + + + + + +Subcomponent.Builder + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Subcomponent.Builder

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +@Documented
    +public static @interface Subcomponent.Builder
    +
    A builder for a subcomponent. + +

    This follows all the rules of Component.Builder, except it must appear in classes + annotated with Subcomponent instead of Component. + +

    If a subcomponent defines a builder, its parent component(s) will have a binding for that + builder type, allowing an instance or Provider of that builder to be injected or + returned from a method on that component like any other binding.

    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Subcomponent.Factory.html b/api/2.49/dagger/Subcomponent.Factory.html new file mode 100644 index 00000000000..8747e165eba --- /dev/null +++ b/api/2.49/dagger/Subcomponent.Factory.html @@ -0,0 +1,201 @@ + + + + + +Subcomponent.Factory + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Subcomponent.Factory

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +@Documented
    +public static @interface Subcomponent.Factory
    +
    A factory for a subcomponent. + +

    This follows all the rules of Component.Factory, except it must appear in classes + annotated with Subcomponent instead of Component. + +

    If a subcomponent defines a factory, its parent component(s) will have a binding for that + factory type, allowing an instance of that factory to be injected or returned from a method on + that component like any other binding.

    +
    +
    Since:
    +
    2.22
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/Subcomponent.html b/api/2.49/dagger/Subcomponent.html new file mode 100644 index 00000000000..ef379b96752 --- /dev/null +++ b/api/2.49/dagger/Subcomponent.html @@ -0,0 +1,261 @@ + + + + + +Subcomponent + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger
+

Annotation Type Subcomponent

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +@Documented
    +public @interface Subcomponent
    +
    A subcomponent that inherits the bindings from a parent Component or + Subcomponent. The details of how to associate a subcomponent with a parent are described + in the documentation for Component.
    +
    +
    Since:
    +
    2.0
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>[]modules +
      A list of classes annotated with Module whose bindings are used to generate the + subcomponent implementation.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        modules

        +
        java.lang.Class<?>[] modules
        +
        A list of classes annotated with Module whose bindings are used to generate the + subcomponent implementation. Note that through the use of Module.includes() the full set + of modules used to implement the subcomponent may include more modules that just those listed + here.
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/AndroidInjection.html b/api/2.49/dagger/android/AndroidInjection.html new file mode 100644 index 00000000000..73f080418a3 --- /dev/null +++ b/api/2.49/dagger/android/AndroidInjection.html @@ -0,0 +1,385 @@ + + + + + +AndroidInjection + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AndroidInjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.AndroidInjection
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +public final class AndroidInjection
    +extends java.lang.Object
    +
    Injects core Android types.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidinject​(android.app.Activity activity) +
      Injects activity if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
      +
      static voidinject​(android.app.Fragment fragment) +
      Injects fragment if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
      +
      static voidinject​(android.app.Service service) +
      Injects service if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
      +
      static voidinject​(android.content.BroadcastReceiver broadcastReceiver, + android.content.Context context) +
      Injects broadcastReceiver if an associated AndroidInjector implementation can + be found, otherwise throws an IllegalArgumentException.
      +
      static voidinject​(android.content.ContentProvider contentProvider) +
      Injects contentProvider if an associated AndroidInjector implementation can be + found, otherwise throws an IllegalArgumentException.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        inject

        +
        public static void inject​(android.app.Activity activity)
        +
        Injects activity if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
        +
        +
        Throws:
        +
        java.lang.RuntimeException - if the Application doesn't implement HasAndroidInjector.
        +
        +
      • +
      + + + +
        +
      • +

        inject

        +
        public static void inject​(android.app.Fragment fragment)
        +
        Injects fragment if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException. + +

        Uses the following algorithm to find the appropriate AndroidInjector<Fragment> to + use to inject fragment: + +

          +
        1. Walks the parent-fragment hierarchy to find the a fragment that implements HasAndroidInjector, and if none do +
        2. Uses the fragment's activity if it implements + HasAndroidInjector, and if not +
        3. Uses the Application if it implements HasAndroidInjector. +
        + + If none of them implement HasAndroidInjector, a IllegalArgumentException is + thrown.
        +
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if no parent fragment, activity, or application implements + HasAndroidInjector.
        +
        +
      • +
      + + + +
        +
      • +

        inject

        +
        public static void inject​(android.app.Service service)
        +
        Injects service if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
        +
        +
        Throws:
        +
        java.lang.RuntimeException - if the Application doesn't implement HasAndroidInjector.
        +
        +
      • +
      + + + +
        +
      • +

        inject

        +
        public static void inject​(android.content.BroadcastReceiver broadcastReceiver,
        +                          android.content.Context context)
        +
        Injects broadcastReceiver if an associated AndroidInjector implementation can + be found, otherwise throws an IllegalArgumentException.
        +
        +
        Throws:
        +
        java.lang.RuntimeException - if the Application from Context.getApplicationContext() doesn't implement HasAndroidInjector.
        +
        +
      • +
      + + + +
        +
      • +

        inject

        +
        public static void inject​(android.content.ContentProvider contentProvider)
        +
        Injects contentProvider if an associated AndroidInjector implementation can be + found, otherwise throws an IllegalArgumentException.
        +
        +
        Throws:
        +
        java.lang.RuntimeException - if the Application doesn't implement HasAndroidInjector.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/AndroidInjectionKey.html b/api/2.49/dagger/android/AndroidInjectionKey.html new file mode 100644 index 00000000000..c8e943ff45d --- /dev/null +++ b/api/2.49/dagger/android/AndroidInjectionKey.html @@ -0,0 +1,251 @@ + + + + + +AndroidInjectionKey + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type AndroidInjectionKey

+
+
+
+
    +
  • +
    +
    @Beta
    +@MapKey
    +@Target(METHOD)
    +@Documented
    +public @interface AndroidInjectionKey
    +
    MapKey annotation to key AndroidInjector.Factory bindings. The value of the annotation is the canonical name of the class that will be passed to + AndroidInjector.inject(Object). + +

    All key strings will be obfuscated by ProGuard/R8 if the named class is obfuscated.

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Stringvalue +
      The fully qualified class name of the type to be injected.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.String value
        +
        The fully qualified class name of the type to be injected.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/AndroidInjectionModule.html b/api/2.49/dagger/android/AndroidInjectionModule.html new file mode 100644 index 00000000000..37196aceefb --- /dev/null +++ b/api/2.49/dagger/android/AndroidInjectionModule.html @@ -0,0 +1,226 @@ + + + + + +AndroidInjectionModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AndroidInjectionModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.AndroidInjectionModule
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +@Module
    +public abstract class AndroidInjectionModule
    +extends java.lang.Object
    +
    Contains bindings to ensure the usability of dagger.android framework classes. This + module should be installed in the component that is used to inject the Application class.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/AndroidInjector.Builder.html b/api/2.49/dagger/android/AndroidInjector.Builder.html new file mode 100644 index 00000000000..fa40036474c --- /dev/null +++ b/api/2.49/dagger/android/AndroidInjector.Builder.html @@ -0,0 +1,384 @@ + + + + + +AndroidInjector.Builder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AndroidInjector.Builder<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.AndroidInjector.Builder<T>
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/android/AndroidInjector.Factory.html b/api/2.49/dagger/android/AndroidInjector.Factory.html new file mode 100644 index 00000000000..e93c7838d7e --- /dev/null +++ b/api/2.49/dagger/android/AndroidInjector.Factory.html @@ -0,0 +1,270 @@ + + + + + +AndroidInjector.Factory + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface AndroidInjector.Factory<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the concrete type to be injected
    +
    +
    +
    All Known Implementing Classes:
    +
    AndroidInjector.Builder
    +
    +
    +
    Enclosing interface:
    +
    AndroidInjector<T>
    +
    +
    +
    public static interface AndroidInjector.Factory<T>
    +
    Creates AndroidInjectors for a concrete subtype of a core Android type.
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/android/AndroidInjector.html b/api/2.49/dagger/android/AndroidInjector.html new file mode 100644 index 00000000000..7909853c5c4 --- /dev/null +++ b/api/2.49/dagger/android/AndroidInjector.html @@ -0,0 +1,307 @@ + + + + + +AndroidInjector + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface AndroidInjector<T>

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        inject

        +
        void inject​(T instance)
        +
        Injects the members of instance.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/ContributesAndroidInjector.html b/api/2.49/dagger/android/ContributesAndroidInjector.html new file mode 100644 index 00000000000..fa942166e89 --- /dev/null +++ b/api/2.49/dagger/android/ContributesAndroidInjector.html @@ -0,0 +1,259 @@ + + + + + +ContributesAndroidInjector + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type ContributesAndroidInjector

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface ContributesAndroidInjector
    +
    Generates an AndroidInjector for the return type of this method. The injector is + implemented with a Subcomponent and will be a child of the Module's + component. + +

    This annotation must be applied to an abstract method in a Module that returns + a concrete Android framework type (e.g. FooActivity, BarFragment, + MyService, etc). The method should have no parameters. + +

    For more information, see the docs

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>[]modules +
      Modules to be installed in the generated Subcomponent.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        modules

        +
        java.lang.Class<?>[] modules
        +
        Modules to be installed in the generated Subcomponent.
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerActivity.html b/api/2.49/dagger/android/DaggerActivity.html new file mode 100644 index 00000000000..ab62a5993cc --- /dev/null +++ b/api/2.49/dagger/android/DaggerActivity.html @@ -0,0 +1,427 @@ + + + + + +DaggerActivity + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerActivity

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • +
        +
      • android.content.ContextWrapper
      • +
      • +
          +
        • android.view.ContextThemeWrapper
        • +
        • +
            +
          • android.app.Activity
          • +
          • +
              +
            • dagger.android.DaggerActivity
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.LayoutInflater.Factory2, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback, HasAndroidInjector
    +
    +
    +
    @Beta
    +public abstract class DaggerActivity
    +extends android.app.Activity
    +implements HasAndroidInjector
    +
    An Activity that injects its members in onCreate(Bundle) and can be used to + inject Fragments attached to it.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.app.Activity

        +DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
      • +
      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerActivity() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Returns an AndroidInjector.
      +
      protected voidonCreate​(android.os.Bundle savedInstanceState) 
      +
        +
      • + + +

        Methods inherited from class android.app.Activity

        +addContentView, attachBaseContext, closeContextMenu, closeOptionsMenu, createPendingResult, dismissDialog, dismissKeyboardShortcutsHelper, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, dump, enterPictureInPictureMode, enterPictureInPictureMode, findViewById, finish, finishActivity, finishActivityFromChild, finishAffinity, finishAfterTransition, finishAndRemoveTask, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getContentScene, getContentTransitionManager, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLoaderManager, getLocalClassName, getMaxNumPictureInPictureActions, getMediaController, getMenuInflater, getParent, getParentActivityIntent, getPreferences, getReferrer, getRequestedOrientation, getSearchEvent, getSplashScreen, getSystemService, getTaskId, getTitle, getTitleColor, getVoiceInteractor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, invalidateOptionsMenu, isActivityTransitionRunning, isChangingConfigurations, isChild, isDestroyed, isFinishing, isImmersive, isInMultiWindowMode, isInPictureInPictureMode, isLaunchedFromBubble, isLocalVoiceInteractionSupported, isTaskRoot, isVoiceInteraction, isVoiceInteractionRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onActivityReenter, onActivityResult, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onBackPressed, onChildTitleChanged, onConfigurationChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreate, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onCreateView, onDestroy, onDetachedFromWindow, onEnterAnimationComplete, onGenericMotionEvent, onGetDirectActions, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onLocalVoiceInteractionStarted, onLocalVoiceInteractionStopped, onLowMemory, onMenuItemSelected, onMenuOpened, onMultiWindowModeChanged, onMultiWindowModeChanged, onNavigateUp, onNavigateUpFromChild, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPerformDirectAction, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPictureInPictureRequested, onPictureInPictureUiStateChanged, onPostCreate, onPostCreate, onPostResume, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onPrepareOptionsMenu, onPreparePanel, onProvideAssistContent, onProvideAssistData, onProvideKeyboardShortcuts, onProvideReferrer, onRequestPermissionsResult, onRestart, onRestoreInstanceState, onRestoreInstanceState, onResume, onRetainNonConfigurationInstance, onSaveInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStateNotSaved, onStop, onTitleChanged, onTopResumedActivityChanged, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onVisibleBehindCanceled, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, overridePendingTransition, postponeEnterTransition, recreate, registerActivityLifecycleCallbacks, registerForContextMenu, releaseInstance, removeDialog, reportFullyDrawn, requestDragAndDropPermissions, requestPermissions, requestShowKeyboardShortcuts, requestVisibleBehind, requestWindowFeature, requireViewById, runOnUiThread, setActionBar, setContentTransitionManager, setContentView, setContentView, setContentView, setDefaultKeyMode, setEnterSharedElementCallback, setExitSharedElementCallback, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setImmersive, setInheritShowWhenLocked, setIntent, setLocusContext, setMediaController, setPictureInPictureParams, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setShowWhenLocked, setTaskDescription, setTheme, setTitle, setTitle, setTitleColor, setTranslucent, setTurnScreenOn, setVisible, setVolumeControlStream, setVrModeEnabled, shouldShowRequestPermissionRationale, shouldUpRecreateTask, showAssist, showDialog, showDialog, showLockTaskEscapeMessage, startActionMode, startActionMode, startActivities, startActivities, startActivity, startActivity, startActivityForResult, startActivityForResult, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromChild, startIntentSenderFromChild, startLocalVoiceInteraction, startLockTask, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startPostponedEnterTransition, startSearch, stopLocalVoiceInteraction, stopLockTask, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterActivityLifecycleCallbacks, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class android.view.ContextThemeWrapper

        +applyOverrideConfiguration, getAssets, getResources, getTheme, setTheme
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getSharedPreferences, getSystemServiceName, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setWallpaper, setWallpaper, startForegroundService, startInstrumentation, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, sendBroadcastWithMultiplePermissions, unregisterComponentCallbacks
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface android.view.Window.Callback

        +onPointerCaptureChanged
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerActivity

        +
        public DaggerActivity()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerApplication.html b/api/2.49/dagger/android/DaggerApplication.html new file mode 100644 index 00000000000..da5e3d227a1 --- /dev/null +++ b/api/2.49/dagger/android/DaggerApplication.html @@ -0,0 +1,441 @@ + + + + + +DaggerApplication + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerApplication

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • +
        +
      • android.content.ContextWrapper
      • +
      • +
          +
        • android.app.Application
        • +
        • +
            +
          • dagger.android.DaggerApplication
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, HasAndroidInjector
    +
    +
    +
    Direct Known Subclasses:
    +
    DaggerApplication
    +
    +
    +
    @Beta
    +public abstract class DaggerApplication
    +extends android.app.Application
    +implements HasAndroidInjector
    +
    An Application that injects its members and can be used to inject objects that the + Android framework instantiates, such as Activitys, Fragments, or Services. Injection is performed + in onCreate() or the first call to AndroidInjection.inject(ContentProvider), + whichever happens first.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.app.Application

        +android.app.Application.ActivityLifecycleCallbacks, android.app.Application.OnProvideAssistDataListener
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerApplication() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Returns an AndroidInjector.
      +
      protected abstract AndroidInjector<? extends DaggerApplication>applicationInjector() +
      Implementations should return an AndroidInjector for the concrete DaggerApplication.
      +
      voidonCreate() 
      +
        +
      • + + +

        Methods inherited from class android.app.Application

        +getProcessName, onConfigurationChanged, onLowMemory, onTerminate, onTrimMemory, registerActivityLifecycleCallbacks, registerComponentCallbacks, registerOnProvideAssistDataListener, unregisterActivityLifecycleCallbacks, unregisterComponentCallbacks, unregisterOnProvideAssistDataListener
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +attachBaseContext, bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getResources, getSharedPreferences, getSystemService, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, sendBroadcastWithMultiplePermissions
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerBroadcastReceiver.html b/api/2.49/dagger/android/DaggerBroadcastReceiver.html new file mode 100644 index 00000000000..b4c2ae77174 --- /dev/null +++ b/api/2.49/dagger/android/DaggerBroadcastReceiver.html @@ -0,0 +1,357 @@ + + + + + +DaggerBroadcastReceiver + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerBroadcastReceiver

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.BroadcastReceiver
    • +
    • +
        +
      • dagger.android.DaggerBroadcastReceiver
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +public abstract class DaggerBroadcastReceiver
    +extends android.content.BroadcastReceiver
    +
    A BroadcastReceiver that injects its members in every call to onReceive(Context, + Intent). + +

    This class should only be used for BroadcastReceivers that are declared in an + AndroidManifest.xml. If, instead, the BroadcastReceiver is created in code, prefer + constructor injection. + +

    Note: this class is not thread safe and should not be used with multiple Handlers in calls to Context.registerReceiver(BroadcastReceiver, + android.content.IntentFilter, String, android.os.Handler). Injection is performed on each + invocation to onReceive(Context, Intent) which could result in inconsistent views of + injected dependencies across threads. + +

    Subclasses should override onReceive(Context, Intent) and call + super.onReceive(context, intent) immediately to ensure injection is performed immediately.

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.content.BroadcastReceiver

        +android.content.BroadcastReceiver.PendingResult
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidonReceive​(android.content.Context context, + android.content.Intent intent) 
      +
        +
      • + + +

        Methods inherited from class android.content.BroadcastReceiver

        +abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerBroadcastReceiver

        +
        public DaggerBroadcastReceiver()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onReceive

        +
        @CallSuper
        +public void onReceive​(android.content.Context context,
        +                      android.content.Intent intent)
        +
        +
        Specified by:
        +
        onReceive in class android.content.BroadcastReceiver
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerContentProvider.html b/api/2.49/dagger/android/DaggerContentProvider.html new file mode 100644 index 00000000000..262bda4b6d9 --- /dev/null +++ b/api/2.49/dagger/android/DaggerContentProvider.html @@ -0,0 +1,363 @@ + + + + + +DaggerContentProvider + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerContentProvider

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.ContentProvider
    • +
    • +
        +
      • dagger.android.DaggerContentProvider
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2
    +
    +
    +
    @Beta
    +public abstract class DaggerContentProvider
    +extends android.content.ContentProvider
    +
    A ContentProvider that injects its members in onCreate().
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.content.ContentProvider

        +android.content.ContentProvider.CallingIdentity, android.content.ContentProvider.PipeDataWriter<T extends java.lang.Object>
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleanonCreate() 
      +
        +
      • + + +

        Methods inherited from class android.content.ContentProvider

        +applyBatch, applyBatch, attachInfo, bulkInsert, call, call, canonicalize, clearCallingIdentity, delete, delete, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getType, getWritePermission, insert, insert, isTemporary, onCallingPackageChanged, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openAssetFile, openFile, openFile, openFileHelper, openPipeHelper, openTypedAssetFile, openTypedAssetFile, query, query, query, refresh, requireContext, restoreCallingIdentity, setPathPermissions, setReadPermission, setWritePermission, shutdown, uncanonicalize, update, update
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerContentProvider

        +
        public DaggerContentProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onCreate

        +
        @CallSuper
        +public boolean onCreate()
        +
        +
        Specified by:
        +
        onCreate in class android.content.ContentProvider
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerDialogFragment.html b/api/2.49/dagger/android/DaggerDialogFragment.html new file mode 100644 index 00000000000..3b20a68199a --- /dev/null +++ b/api/2.49/dagger/android/DaggerDialogFragment.html @@ -0,0 +1,420 @@ + + + + + +DaggerDialogFragment + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerDialogFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.app.Fragment
    • +
    • +
        +
      • android.app.DialogFragment
      • +
      • +
          +
        • dagger.android.DaggerDialogFragment
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnDismissListener, android.view.View.OnCreateContextMenuListener, HasAndroidInjector
    +
    +
    +
    @Deprecated
    +@Beta
    +public abstract class DaggerDialogFragment
    +extends android.app.DialogFragment
    +implements HasAndroidInjector
    +
    Deprecated. +
    Framework fragments are deprecated in Android P; prefer + dagger.android.support.DaggerDialogFragment to use a support-library-friendly + dagger.android dialog fragment implementation.
    +
    +
    A DialogFragment that injects its members in onAttach(Context) and can be used + to inject child Fragments attached to it. Note that when this fragment gets reattached, + its members will be injected again.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.app.Fragment

        +android.app.Fragment.InstantiationException, android.app.Fragment.SavedState
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.app.DialogFragment

        +STYLE_NO_FRAME, STYLE_NO_INPUT, STYLE_NO_TITLE, STYLE_NORMAL
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerDialogFragment() +
      Deprecated.
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Deprecated.
      +
      Returns an AndroidInjector.
      +
      voidonAttach​(android.content.Context context) +
      Deprecated.
      +
        +
      • + + +

        Methods inherited from class android.app.DialogFragment

        +dismiss, dismissAllowingStateLoss, dump, getDialog, getShowsDialog, getTheme, isCancelable, onActivityCreated, onCancel, onCreate, onCreateDialog, onDestroyView, onDetach, onDismiss, onGetLayoutInflater, onSaveInstanceState, onStart, onStop, setCancelable, setShowsDialog, setStyle, show, show
      • +
      +
        +
      • + + +

        Methods inherited from class android.app.Fragment

        +equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onResume, onTrimMemory, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerDialogFragment

        +
        public DaggerDialogFragment()
        +
        Deprecated.
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerFragment.html b/api/2.49/dagger/android/DaggerFragment.html new file mode 100644 index 00000000000..3b6e624c4d3 --- /dev/null +++ b/api/2.49/dagger/android/DaggerFragment.html @@ -0,0 +1,401 @@ + + + + + +DaggerFragment + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.app.Fragment
    • +
    • +
        +
      • dagger.android.DaggerFragment
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, android.view.View.OnCreateContextMenuListener, HasAndroidInjector
    +
    +
    +
    @Beta
    +@Deprecated
    +public abstract class DaggerFragment
    +extends android.app.Fragment
    +implements HasAndroidInjector
    +
    Deprecated. +
    Framework fragments are deprecated in Android P; prefer + dagger.android.support.DaggerFragment to use a support-library-friendly + dagger.android fragment implementation.
    +
    +
    A Fragment that injects its members in onAttach(Context) and can be used to + inject child Fragments attached to it. Note that when this fragment gets reattached, its + members will be injected again.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.app.Fragment

        +android.app.Fragment.InstantiationException, android.app.Fragment.SavedState
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerFragment() +
      Deprecated.
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Deprecated.
      +
      Returns an AndroidInjector.
      +
      voidonAttach​(android.content.Context context) +
      Deprecated.
      +
        +
      • + + +

        Methods inherited from class android.app.Fragment

        +dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onResume, onSaveInstanceState, onStart, onStop, onTrimMemory, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerFragment

        +
        public DaggerFragment()
        +
        Deprecated.
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerIntentService.html b/api/2.49/dagger/android/DaggerIntentService.html new file mode 100644 index 00000000000..447220fa457 --- /dev/null +++ b/api/2.49/dagger/android/DaggerIntentService.html @@ -0,0 +1,395 @@ + + + + + +DaggerIntentService + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerIntentService

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • +
        +
      • android.content.ContextWrapper
      • +
      • +
          +
        • android.app.Service
        • +
        • +
            +
          • android.app.IntentService
          • +
          • +
              +
            • dagger.android.DaggerIntentService
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2
    +
    +
    +
    @Beta
    +public abstract class DaggerIntentService
    +extends android.app.IntentService
    +
    An IntentService that injects its members in onCreate().
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.app.Service

        +START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITY, STOP_FOREGROUND_DETACH, STOP_FOREGROUND_REMOVE
      • +
      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerIntentService​(java.lang.String name) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidonCreate() 
      +
        +
      • + + +

        Methods inherited from class android.app.IntentService

        +onBind, onDestroy, onHandleIntent, onStart, onStartCommand, setIntentRedelivery
      • +
      +
        +
      • + + +

        Methods inherited from class android.app.Service

        +attachBaseContext, dump, getApplication, getForegroundServiceType, onConfigurationChanged, onLowMemory, onRebind, onTaskRemoved, onTrimMemory, onUnbind, startForeground, startForeground, stopForeground, stopForeground, stopSelf, stopSelf, stopSelfResult
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getResources, getSharedPreferences, getSystemService, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, sendBroadcastWithMultiplePermissions, unregisterComponentCallbacks
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerIntentService

        +
        public DaggerIntentService​(java.lang.String name)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onCreate

        +
        public void onCreate()
        +
        +
        Overrides:
        +
        onCreate in class android.app.IntentService
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DaggerService.html b/api/2.49/dagger/android/DaggerService.html new file mode 100644 index 00000000000..395d48b78b8 --- /dev/null +++ b/api/2.49/dagger/android/DaggerService.html @@ -0,0 +1,383 @@ + + + + + +DaggerService + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerService

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • +
        +
      • android.content.ContextWrapper
      • +
      • +
          +
        • android.app.Service
        • +
        • +
            +
          • dagger.android.DaggerService
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2
    +
    +
    +
    @Beta
    +public abstract class DaggerService
    +extends android.app.Service
    +
    A Service that injects its members in onCreate().
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.app.Service

        +START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITY, STOP_FOREGROUND_DETACH, STOP_FOREGROUND_REMOVE
      • +
      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerService() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidonCreate() 
      +
        +
      • + + +

        Methods inherited from class android.app.Service

        +attachBaseContext, dump, getApplication, getForegroundServiceType, onBind, onConfigurationChanged, onDestroy, onLowMemory, onRebind, onStart, onStartCommand, onTaskRemoved, onTrimMemory, onUnbind, startForeground, startForeground, stopForeground, stopForeground, stopSelf, stopSelf, stopSelfResult
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getResources, getSharedPreferences, getSystemService, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, sendBroadcastWithMultiplePermissions, unregisterComponentCallbacks
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerService

        +
        public DaggerService()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onCreate

        +
        public void onCreate()
        +
        +
        Overrides:
        +
        onCreate in class android.app.Service
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DispatchingAndroidInjector.InvalidInjectorBindingException.html b/api/2.49/dagger/android/DispatchingAndroidInjector.InvalidInjectorBindingException.html new file mode 100644 index 00000000000..10ad54102a3 --- /dev/null +++ b/api/2.49/dagger/android/DispatchingAndroidInjector.InvalidInjectorBindingException.html @@ -0,0 +1,260 @@ + + + + + +DispatchingAndroidInjector.InvalidInjectorBindingException + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DispatchingAndroidInjector.InvalidInjectorBindingException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • java.lang.RuntimeException
        • +
        • +
            +
          • dagger.android.DispatchingAndroidInjector.InvalidInjectorBindingException
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    Enclosing class:
    +
    DispatchingAndroidInjector<T>
    +
    +
    +
    @Beta
    +public static final class DispatchingAndroidInjector.InvalidInjectorBindingException
    +extends java.lang.RuntimeException
    +
    Exception thrown if an incorrect binding is made for a AndroidInjector.Factory. If you + see this exception, make sure the value in your @ActivityKey(YourActivity.class) or + @FragmentKey(YourFragment.class) matches the type argument of the injector factory.
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/DispatchingAndroidInjector.html b/api/2.49/dagger/android/DispatchingAndroidInjector.html new file mode 100644 index 00000000000..b556c68bff6 --- /dev/null +++ b/api/2.49/dagger/android/DispatchingAndroidInjector.html @@ -0,0 +1,353 @@ + + + + + +DispatchingAndroidInjector + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DispatchingAndroidInjector<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.DispatchingAndroidInjector<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the core Android type to be injected
    +
    +
    +
    All Implemented Interfaces:
    +
    AndroidInjector<T>
    +
    +
    +
    @Beta
    +public final class DispatchingAndroidInjector<T>
    +extends java.lang.Object
    +implements AndroidInjector<T>
    +
    Performs members-injection on instances of core Android types (e.g. Activity, Fragment) that are constructed by the Android framework and not by Dagger. This class relies on + an injected mapping from each concrete class to an AndroidInjector.Factory for an AndroidInjector of that class. Each concrete class must have its own entry in the map, even if + it extends another class which is already present in the map. Calls Object.getClass() on + the instance in order to find the appropriate AndroidInjector.Factory.
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/android/HasAndroidInjector.html b/api/2.49/dagger/android/HasAndroidInjector.html new file mode 100644 index 00000000000..a1977de9bbe --- /dev/null +++ b/api/2.49/dagger/android/HasAndroidInjector.html @@ -0,0 +1,259 @@ + + + + + +HasAndroidInjector + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface HasAndroidInjector

+
+
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/android/class-use/AndroidInjection.html b/api/2.49/dagger/android/class-use/AndroidInjection.html new file mode 100644 index 00000000000..2466847a907 --- /dev/null +++ b/api/2.49/dagger/android/class-use/AndroidInjection.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.AndroidInjection + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.AndroidInjection

+
+
No usage of dagger.android.AndroidInjection
+
+ + + diff --git a/api/2.49/dagger/android/class-use/AndroidInjectionKey.html b/api/2.49/dagger/android/class-use/AndroidInjectionKey.html new file mode 100644 index 00000000000..0ab9feda269 --- /dev/null +++ b/api/2.49/dagger/android/class-use/AndroidInjectionKey.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.AndroidInjectionKey + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.AndroidInjectionKey

+
+
No usage of dagger.android.AndroidInjectionKey
+
+ + + diff --git a/api/2.49/dagger/android/class-use/AndroidInjectionModule.html b/api/2.49/dagger/android/class-use/AndroidInjectionModule.html new file mode 100644 index 00000000000..7ebd6650f17 --- /dev/null +++ b/api/2.49/dagger/android/class-use/AndroidInjectionModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.AndroidInjectionModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.AndroidInjectionModule

+
+
No usage of dagger.android.AndroidInjectionModule
+
+ + + diff --git a/api/2.49/dagger/android/class-use/AndroidInjector.Builder.html b/api/2.49/dagger/android/class-use/AndroidInjector.Builder.html new file mode 100644 index 00000000000..65497e33533 --- /dev/null +++ b/api/2.49/dagger/android/class-use/AndroidInjector.Builder.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.AndroidInjector.Builder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.AndroidInjector.Builder

+
+
No usage of dagger.android.AndroidInjector.Builder
+
+ + + diff --git a/api/2.49/dagger/android/class-use/AndroidInjector.Factory.html b/api/2.49/dagger/android/class-use/AndroidInjector.Factory.html new file mode 100644 index 00000000000..7f0034e845e --- /dev/null +++ b/api/2.49/dagger/android/class-use/AndroidInjector.Factory.html @@ -0,0 +1,198 @@ + + + + + +Uses of Interface dagger.android.AndroidInjector.Factory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.android.AndroidInjector.Factory

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/class-use/AndroidInjector.html b/api/2.49/dagger/android/class-use/AndroidInjector.html new file mode 100644 index 00000000000..7fc78f11bd5 --- /dev/null +++ b/api/2.49/dagger/android/class-use/AndroidInjector.html @@ -0,0 +1,312 @@ + + + + + +Uses of Interface dagger.android.AndroidInjector + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.android.AndroidInjector

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/class-use/ContributesAndroidInjector.html b/api/2.49/dagger/android/class-use/ContributesAndroidInjector.html new file mode 100644 index 00000000000..748e42b46ee --- /dev/null +++ b/api/2.49/dagger/android/class-use/ContributesAndroidInjector.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.ContributesAndroidInjector + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.ContributesAndroidInjector

+
+
No usage of dagger.android.ContributesAndroidInjector
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerActivity.html b/api/2.49/dagger/android/class-use/DaggerActivity.html new file mode 100644 index 00000000000..61d714430e3 --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerActivity.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerActivity + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerActivity

+
+
No usage of dagger.android.DaggerActivity
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerApplication.html b/api/2.49/dagger/android/class-use/DaggerApplication.html new file mode 100644 index 00000000000..e9f53a8fd68 --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerApplication.html @@ -0,0 +1,225 @@ + + + + + +Uses of Class dagger.android.DaggerApplication + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerApplication

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerBroadcastReceiver.html b/api/2.49/dagger/android/class-use/DaggerBroadcastReceiver.html new file mode 100644 index 00000000000..f3876008c9a --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerBroadcastReceiver.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerBroadcastReceiver + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerBroadcastReceiver

+
+
No usage of dagger.android.DaggerBroadcastReceiver
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerContentProvider.html b/api/2.49/dagger/android/class-use/DaggerContentProvider.html new file mode 100644 index 00000000000..ab94c076ff4 --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerContentProvider.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerContentProvider + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerContentProvider

+
+
No usage of dagger.android.DaggerContentProvider
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerDialogFragment.html b/api/2.49/dagger/android/class-use/DaggerDialogFragment.html new file mode 100644 index 00000000000..438e643ad9a --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerDialogFragment.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerDialogFragment + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerDialogFragment

+
+
No usage of dagger.android.DaggerDialogFragment
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerFragment.html b/api/2.49/dagger/android/class-use/DaggerFragment.html new file mode 100644 index 00000000000..295a9834fa7 --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerFragment.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerFragment + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerFragment

+
+
No usage of dagger.android.DaggerFragment
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerIntentService.html b/api/2.49/dagger/android/class-use/DaggerIntentService.html new file mode 100644 index 00000000000..28da17b0a08 --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerIntentService.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerIntentService + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerIntentService

+
+
No usage of dagger.android.DaggerIntentService
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DaggerService.html b/api/2.49/dagger/android/class-use/DaggerService.html new file mode 100644 index 00000000000..42932952e8a --- /dev/null +++ b/api/2.49/dagger/android/class-use/DaggerService.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DaggerService + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DaggerService

+
+
No usage of dagger.android.DaggerService
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DispatchingAndroidInjector.InvalidInjectorBindingException.html b/api/2.49/dagger/android/class-use/DispatchingAndroidInjector.InvalidInjectorBindingException.html new file mode 100644 index 00000000000..d716454203d --- /dev/null +++ b/api/2.49/dagger/android/class-use/DispatchingAndroidInjector.InvalidInjectorBindingException.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DispatchingAndroidInjector.InvalidInjectorBindingException + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DispatchingAndroidInjector.InvalidInjectorBindingException

+
+
No usage of dagger.android.DispatchingAndroidInjector.InvalidInjectorBindingException
+
+ + + diff --git a/api/2.49/dagger/android/class-use/DispatchingAndroidInjector.html b/api/2.49/dagger/android/class-use/DispatchingAndroidInjector.html new file mode 100644 index 00000000000..9b6cb7b48c3 --- /dev/null +++ b/api/2.49/dagger/android/class-use/DispatchingAndroidInjector.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.DispatchingAndroidInjector + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.DispatchingAndroidInjector

+
+
No usage of dagger.android.DispatchingAndroidInjector
+
+ + + diff --git a/api/2.49/dagger/android/class-use/HasAndroidInjector.html b/api/2.49/dagger/android/class-use/HasAndroidInjector.html new file mode 100644 index 00000000000..4bcdc4f55b7 --- /dev/null +++ b/api/2.49/dagger/android/class-use/HasAndroidInjector.html @@ -0,0 +1,288 @@ + + + + + +Uses of Interface dagger.android.HasAndroidInjector + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.android.HasAndroidInjector

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/internal/AndroidInjectionKeys.html b/api/2.49/dagger/android/internal/AndroidInjectionKeys.html new file mode 100644 index 00000000000..15ed4ef8aea --- /dev/null +++ b/api/2.49/dagger/android/internal/AndroidInjectionKeys.html @@ -0,0 +1,276 @@ + + + + + +AndroidInjectionKeys + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AndroidInjectionKeys

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.internal.AndroidInjectionKeys
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class AndroidInjectionKeys
    +extends java.lang.Object
    +
    An internal implementation detail of Dagger's generated code. This is not guaranteed to remain + consistent from version to version.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.Stringof​(java.lang.String mapKey) +
      Accepts the fully qualified name of a class that is injected with dagger.android.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        of

        +
        public static java.lang.String of​(java.lang.String mapKey)
        +
        Accepts the fully qualified name of a class that is injected with dagger.android. + +

        From a runtime perspective, this method does nothing except return its single argument. It + is used as a signal to bytecode shrinking tools that its argument should be rewritten if it + corresponds to a class that has been obfuscated/relocated. Once it is done so, it is expected + that the argument will be inlined and this method will go away.

        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/internal/class-use/AndroidInjectionKeys.html b/api/2.49/dagger/android/internal/class-use/AndroidInjectionKeys.html new file mode 100644 index 00000000000..c7b44b4e436 --- /dev/null +++ b/api/2.49/dagger/android/internal/class-use/AndroidInjectionKeys.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.internal.AndroidInjectionKeys + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.internal.AndroidInjectionKeys

+
+
No usage of dagger.android.internal.AndroidInjectionKeys
+
+ + + diff --git a/api/2.49/dagger/android/internal/package-summary.html b/api/2.49/dagger/android/internal/package-summary.html new file mode 100644 index 00000000000..de144d7b82a --- /dev/null +++ b/api/2.49/dagger/android/internal/package-summary.html @@ -0,0 +1,168 @@ + + + + + +dagger.android.internal + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.android.internal

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    AndroidInjectionKeys +
    An internal implementation detail of Dagger's generated code.
    +
    +
  • +
+
+
+ + + diff --git a/api/2.49/dagger/android/internal/package-tree.html b/api/2.49/dagger/android/internal/package-tree.html new file mode 100644 index 00000000000..31b4a04a225 --- /dev/null +++ b/api/2.49/dagger/android/internal/package-tree.html @@ -0,0 +1,163 @@ + + + + + +dagger.android.internal Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.android.internal

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/api/2.49/dagger/android/internal/package-use.html b/api/2.49/dagger/android/internal/package-use.html new file mode 100644 index 00000000000..8e579552c12 --- /dev/null +++ b/api/2.49/dagger/android/internal/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.android.internal + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.android.internal

+
+
No usage of dagger.android.internal
+
+ + + diff --git a/api/2.49/dagger/android/package-summary.html b/api/2.49/dagger/android/package-summary.html new file mode 100644 index 00000000000..d287d7edfe3 --- /dev/null +++ b/api/2.49/dagger/android/package-summary.html @@ -0,0 +1,317 @@ + + + + + +dagger.android + + + + + + + + + + + + + + +
+ +
+
+
+

@CheckReturnValue +

+

Package dagger.android

+
+
+
+ + +
APIs to assist with performing injection on Android.
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/package-tree.html b/api/2.49/dagger/android/package-tree.html new file mode 100644 index 00000000000..56b3fd15ef8 --- /dev/null +++ b/api/2.49/dagger/android/package-tree.html @@ -0,0 +1,246 @@ + + + + + +dagger.android Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.android

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+ +
+
+
+ + + diff --git a/api/2.49/dagger/android/package-use.html b/api/2.49/dagger/android/package-use.html new file mode 100644 index 00000000000..05b7375e27d --- /dev/null +++ b/api/2.49/dagger/android/package-use.html @@ -0,0 +1,242 @@ + + + + + +Uses of Package dagger.android + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.android

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/support/AndroidSupportInjection.html b/api/2.49/dagger/android/support/AndroidSupportInjection.html new file mode 100644 index 00000000000..82a3007f799 --- /dev/null +++ b/api/2.49/dagger/android/support/AndroidSupportInjection.html @@ -0,0 +1,291 @@ + + + + + +AndroidSupportInjection + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AndroidSupportInjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.support.AndroidSupportInjection
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +public final class AndroidSupportInjection
    +extends java.lang.Object
    +
    Injects core Android types from support libraries.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidinject​(androidx.fragment.app.Fragment fragment) +
      Injects fragment if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        inject

        +
        public static void inject​(androidx.fragment.app.Fragment fragment)
        +
        Injects fragment if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException. + +

        Uses the following algorithm to find the appropriate AndroidInjector<Fragment> to + use to inject fragment: + +

          +
        1. Walks the parent-fragment hierarchy to find the a fragment that implements HasAndroidInjector, and if none do +
        2. Uses the fragment's activity if it implements + HasAndroidInjector, and if not +
        3. Uses the Application if it implements HasAndroidInjector. +
        + + If none of them implement HasAndroidInjector, a IllegalArgumentException is + thrown.
        +
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if no parent fragment, activity, or application implements + HasAndroidInjector.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/AndroidSupportInjectionModule.html b/api/2.49/dagger/android/support/AndroidSupportInjectionModule.html new file mode 100644 index 00000000000..d84ce2edc9d --- /dev/null +++ b/api/2.49/dagger/android/support/AndroidSupportInjectionModule.html @@ -0,0 +1,225 @@ + + + + + +AndroidSupportInjectionModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AndroidSupportInjectionModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.android.support.AndroidSupportInjectionModule
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/DaggerAppCompatActivity.html b/api/2.49/dagger/android/support/DaggerAppCompatActivity.html new file mode 100644 index 00000000000..adb76c9c1c3 --- /dev/null +++ b/api/2.49/dagger/android/support/DaggerAppCompatActivity.html @@ -0,0 +1,506 @@ + + + + + +DaggerAppCompatActivity + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerAppCompatActivity

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • +
        +
      • android.content.ContextWrapper
      • +
      • +
          +
        • android.view.ContextThemeWrapper
        • +
        • +
            +
          • android.app.Activity
          • +
          • +
              +
            • androidx.core.app.ComponentActivity
            • +
            • +
                +
              • androidx.activity.ComponentActivity
              • +
              • +
                  +
                • androidx.fragment.app.FragmentActivity
                • +
                • +
                    +
                  • androidx.appcompat.app.AppCompatActivity
                  • +
                  • +
                      +
                    • dagger.android.support.DaggerAppCompatActivity
                    • +
                    +
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.LayoutInflater.Factory2, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback, androidx.activity.contextaware.ContextAware, androidx.activity.OnBackPressedDispatcherOwner, androidx.activity.result.ActivityResultCaller, androidx.activity.result.ActivityResultRegistryOwner, androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider, androidx.appcompat.app.AppCompatCallback, androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback, androidx.core.app.ActivityCompat.RequestPermissionsRequestCodeValidator, androidx.core.app.OnMultiWindowModeChangedProvider, androidx.core.app.OnNewIntentProvider, androidx.core.app.OnPictureInPictureModeChangedProvider, androidx.core.app.TaskStackBuilder.SupportParentable, androidx.core.content.OnConfigurationChangedProvider, androidx.core.content.OnTrimMemoryProvider, androidx.core.view.KeyEventDispatcher.Component, androidx.core.view.MenuHost, androidx.lifecycle.HasDefaultViewModelProviderFactory, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, androidx.savedstate.SavedStateRegistryOwner, HasAndroidInjector
    +
    +
    +
    @Beta
    +public abstract class DaggerAppCompatActivity
    +extends androidx.appcompat.app.AppCompatActivity
    +implements HasAndroidInjector
    +
    An AppCompatActivity that injects its members in onCreate(Bundle) and can be + used to inject Fragments attached to it.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class androidx.core.app.ComponentActivity

        +androidx.core.app.ComponentActivity.ExtraData
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.app.Activity

        +DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
      • +
      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Returns an AndroidInjector.
      +
      protected voidonCreate​(android.os.Bundle savedInstanceState) 
      +
        +
      • + + +

        Methods inherited from class androidx.appcompat.app.AppCompatActivity

        +addContentView, attachBaseContext, closeOptionsMenu, dispatchKeyEvent, findViewById, getDelegate, getDrawerToggleDelegate, getMenuInflater, getResources, getSupportActionBar, getSupportParentActivityIntent, invalidateOptionsMenu, onConfigurationChanged, onContentChanged, onCreateSupportNavigateUpTaskStack, onDestroy, onKeyDown, onMenuItemSelected, onMenuOpened, onNightModeChanged, onPanelClosed, onPostCreate, onPostResume, onPrepareSupportNavigateUpTaskStack, onStart, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onSupportContentChanged, onSupportNavigateUp, onTitleChanged, onWindowStartingSupportActionMode, openOptionsMenu, setContentView, setContentView, setContentView, setSupportActionBar, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setTheme, startSupportActionMode, supportInvalidateOptionsMenu, supportNavigateUpTo, supportRequestWindowFeature, supportShouldUpRecreateTask
      • +
      +
        +
      • + + +

        Methods inherited from class androidx.fragment.app.FragmentActivity

        +dump, getSupportFragmentManager, getSupportLoaderManager, onActivityResult, onAttachFragment, onCreateView, onCreateView, onPause, onRequestPermissionsResult, onResume, onResumeFragments, onStateNotSaved, setEnterSharedElementCallback, setExitSharedElementCallback, startActivityFromFragment, startActivityFromFragment, startIntentSenderFromFragment, supportFinishAfterTransition, supportPostponeEnterTransition, supportStartPostponedEnterTransition, validateRequestPermissionsRequestCode
      • +
      +
        +
      • + + +

        Methods inherited from class androidx.activity.ComponentActivity

        +addMenuProvider, addMenuProvider, addMenuProvider, addOnConfigurationChangedListener, addOnContextAvailableListener, addOnMultiWindowModeChangedListener, addOnNewIntentListener, addOnPictureInPictureModeChangedListener, addOnTrimMemoryListener, getActivityResultRegistry, getDefaultViewModelCreationExtras, getDefaultViewModelProviderFactory, getLastCustomNonConfigurationInstance, getLifecycle, getOnBackPressedDispatcher, getSavedStateRegistry, getViewModelStore, invalidateMenu, onBackPressed, onCreatePanelMenu, onMultiWindowModeChanged, onMultiWindowModeChanged, onNewIntent, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPreparePanel, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onSaveInstanceState, onTrimMemory, peekAvailableContext, registerForActivityResult, registerForActivityResult, removeMenuProvider, removeOnConfigurationChangedListener, removeOnContextAvailableListener, removeOnMultiWindowModeChangedListener, removeOnNewIntentListener, removeOnPictureInPictureModeChangedListener, removeOnTrimMemoryListener, reportFullyDrawn, startActivityForResult, startActivityForResult, startIntentSenderForResult, startIntentSenderForResult
      • +
      +
        +
      • + + +

        Methods inherited from class androidx.core.app.ComponentActivity

        +dispatchKeyShortcutEvent, getExtraData, putExtraData, shouldDumpInternalState, superDispatchKeyEvent
      • +
      +
        +
      • + + +

        Methods inherited from class android.app.Activity

        +closeContextMenu, createPendingResult, dismissDialog, dismissKeyboardShortcutsHelper, dispatchGenericMotionEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, enterPictureInPictureMode, enterPictureInPictureMode, finish, finishActivity, finishActivityFromChild, finishAffinity, finishAfterTransition, finishAndRemoveTask, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getContentScene, getContentTransitionManager, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLoaderManager, getLocalClassName, getMaxNumPictureInPictureActions, getMediaController, getParent, getParentActivityIntent, getPreferences, getReferrer, getRequestedOrientation, getSearchEvent, getSplashScreen, getSystemService, getTaskId, getTitle, getTitleColor, getVoiceInteractor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, isActivityTransitionRunning, isChangingConfigurations, isChild, isDestroyed, isFinishing, isImmersive, isInMultiWindowMode, isInPictureInPictureMode, isLaunchedFromBubble, isLocalVoiceInteractionSupported, isTaskRoot, isVoiceInteraction, isVoiceInteractionRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onActivityReenter, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onChildTitleChanged, onContextItemSelected, onContextMenuClosed, onCreate, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail, onDetachedFromWindow, onEnterAnimationComplete, onGenericMotionEvent, onGetDirectActions, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onLocalVoiceInteractionStarted, onLocalVoiceInteractionStopped, onLowMemory, onNavigateUp, onNavigateUpFromChild, onOptionsItemSelected, onOptionsMenuClosed, onPerformDirectAction, onPictureInPictureRequested, onPictureInPictureUiStateChanged, onPostCreate, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onPrepareOptionsMenu, onProvideAssistContent, onProvideAssistData, onProvideKeyboardShortcuts, onProvideReferrer, onRestart, onRestoreInstanceState, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onTopResumedActivityChanged, onTouchEvent, onTrackballEvent, onUserInteraction, onUserLeaveHint, onVisibleBehindCanceled, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, overridePendingTransition, postponeEnterTransition, recreate, registerActivityLifecycleCallbacks, registerForContextMenu, releaseInstance, removeDialog, requestDragAndDropPermissions, requestPermissions, requestShowKeyboardShortcuts, requestVisibleBehind, requestWindowFeature, requireViewById, runOnUiThread, setActionBar, setContentTransitionManager, setDefaultKeyMode, setEnterSharedElementCallback, setExitSharedElementCallback, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setImmersive, setInheritShowWhenLocked, setIntent, setLocusContext, setMediaController, setPictureInPictureParams, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setShowWhenLocked, setTaskDescription, setTitle, setTitle, setTitleColor, setTranslucent, setTurnScreenOn, setVisible, setVolumeControlStream, setVrModeEnabled, shouldShowRequestPermissionRationale, shouldUpRecreateTask, showAssist, showDialog, showDialog, showLockTaskEscapeMessage, startActionMode, startActionMode, startActivities, startActivities, startActivity, startActivity, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderFromChild, startIntentSenderFromChild, startLocalVoiceInteraction, startLockTask, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startPostponedEnterTransition, startSearch, stopLocalVoiceInteraction, stopLockTask, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterActivityLifecycleCallbacks, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class android.view.ContextThemeWrapper

        +applyOverrideConfiguration, getAssets, getTheme, setTheme
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getSharedPreferences, getSystemServiceName, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setWallpaper, setWallpaper, startForegroundService, startInstrumentation, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, sendBroadcastWithMultiplePermissions, unregisterComponentCallbacks
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface android.view.Window.Callback

        +onPointerCaptureChanged
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerAppCompatActivity

        +
        public DaggerAppCompatActivity()
        +
      • +
      + + + +
        +
      • +

        DaggerAppCompatActivity

        +
        public DaggerAppCompatActivity​(@LayoutRes
        +                               int contentLayoutId)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/DaggerAppCompatDialogFragment.html b/api/2.49/dagger/android/support/DaggerAppCompatDialogFragment.html new file mode 100644 index 00000000000..030975dd113 --- /dev/null +++ b/api/2.49/dagger/android/support/DaggerAppCompatDialogFragment.html @@ -0,0 +1,418 @@ + + + + + +DaggerAppCompatDialogFragment + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerAppCompatDialogFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • androidx.fragment.app.Fragment
    • +
    • +
        +
      • androidx.fragment.app.DialogFragment
      • +
      • +
          +
        • androidx.appcompat.app.AppCompatDialogFragment
        • +
        • +
            +
          • dagger.android.support.DaggerAppCompatDialogFragment
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnDismissListener, android.view.View.OnCreateContextMenuListener, androidx.activity.result.ActivityResultCaller, androidx.lifecycle.HasDefaultViewModelProviderFactory, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, androidx.savedstate.SavedStateRegistryOwner, HasAndroidInjector
    +
    +
    +
    @Beta
    +public abstract class DaggerAppCompatDialogFragment
    +extends androidx.appcompat.app.AppCompatDialogFragment
    +implements HasAndroidInjector
    +
    An AppCompatDialogFragment that injects its members in onAttach(Context) and can + be used to inject child Fragments attached to it. Note that when this fragment gets + reattached, its members will be injected again.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class androidx.fragment.app.Fragment

        +androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class androidx.fragment.app.DialogFragment

        +STYLE_NO_FRAME, STYLE_NO_INPUT, STYLE_NO_TITLE, STYLE_NORMAL
      • +
      +
        +
      • + + +

        Fields inherited from class androidx.fragment.app.Fragment

        +mPreviousWho
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Returns an AndroidInjector.
      +
      voidonAttach​(android.content.Context context) 
      +
        +
      • + + +

        Methods inherited from class androidx.appcompat.app.AppCompatDialogFragment

        +onCreateDialog, setupDialog
      • +
      +
        +
      • + + +

        Methods inherited from class androidx.fragment.app.DialogFragment

        +dismiss, dismissAllowingStateLoss, dismissNow, getDialog, getShowsDialog, getTheme, isCancelable, onActivityCreated, onCancel, onCreate, onDestroyView, onDetach, onDismiss, onGetLayoutInflater, onSaveInstanceState, onStart, onStop, onViewStateRestored, requireDialog, setCancelable, setShowsDialog, setStyle, show, show, showNow
      • +
      +
        +
      • + + +

        Methods inherited from class androidx.fragment.app.Fragment

        +dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelCreationExtras, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, onViewCreated, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerAppCompatDialogFragment

        +
        public DaggerAppCompatDialogFragment()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/DaggerApplication.html b/api/2.49/dagger/android/support/DaggerApplication.html new file mode 100644 index 00000000000..001d1085fca --- /dev/null +++ b/api/2.49/dagger/android/support/DaggerApplication.html @@ -0,0 +1,410 @@ + + + + + +DaggerApplication + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerApplication

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • + +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, HasAndroidInjector
    +
    +
    +
    public abstract class DaggerApplication
    +extends DaggerApplication
    +
    An Application that injects its members and can be used to inject classes that the + Android framework instantiates. Injection is performed in DaggerApplication.onCreate() or the first call + to AndroidInjection#inject(ContentProvider), whichever happens first.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.app.Application

        +android.app.Application.ActivityLifecycleCallbacks, android.app.Application.OnProvideAssistDataListener
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DaggerApplication() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      protected abstract AndroidInjector<? extends DaggerApplication>applicationInjector() +
      Implementations should return an AndroidInjector for the concrete DaggerApplication.
      +
      + +
        +
      • + + +

        Methods inherited from class android.app.Application

        +getProcessName, onConfigurationChanged, onLowMemory, onTerminate, onTrimMemory, registerActivityLifecycleCallbacks, registerComponentCallbacks, registerOnProvideAssistDataListener, unregisterActivityLifecycleCallbacks, unregisterComponentCallbacks, unregisterOnProvideAssistDataListener
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +attachBaseContext, bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getResources, getSharedPreferences, getSystemService, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, sendBroadcastWithMultiplePermissions
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/DaggerDialogFragment.html b/api/2.49/dagger/android/support/DaggerDialogFragment.html new file mode 100644 index 00000000000..8e62e0fbc47 --- /dev/null +++ b/api/2.49/dagger/android/support/DaggerDialogFragment.html @@ -0,0 +1,406 @@ + + + + + +DaggerDialogFragment + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerDialogFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • androidx.fragment.app.Fragment
    • +
    • +
        +
      • androidx.fragment.app.DialogFragment
      • +
      • +
          +
        • dagger.android.support.DaggerDialogFragment
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnDismissListener, android.view.View.OnCreateContextMenuListener, androidx.activity.result.ActivityResultCaller, androidx.lifecycle.HasDefaultViewModelProviderFactory, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, androidx.savedstate.SavedStateRegistryOwner, HasAndroidInjector
    +
    +
    +
    @Beta
    +public abstract class DaggerDialogFragment
    +extends androidx.fragment.app.DialogFragment
    +implements HasAndroidInjector
    +
    A DialogFragment that injects its members in onAttach(Context) and can be used + to inject child Fragments attached to it. Note that when this fragment gets reattached, + its members will be injected again.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class androidx.fragment.app.Fragment

        +androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class androidx.fragment.app.DialogFragment

        +STYLE_NO_FRAME, STYLE_NO_INPUT, STYLE_NO_TITLE, STYLE_NORMAL
      • +
      +
        +
      • + + +

        Fields inherited from class androidx.fragment.app.Fragment

        +mPreviousWho
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Returns an AndroidInjector.
      +
      voidonAttach​(android.content.Context context) 
      +
        +
      • + + +

        Methods inherited from class androidx.fragment.app.DialogFragment

        +dismiss, dismissAllowingStateLoss, dismissNow, getDialog, getShowsDialog, getTheme, isCancelable, onActivityCreated, onCancel, onCreate, onCreateDialog, onDestroyView, onDetach, onDismiss, onGetLayoutInflater, onSaveInstanceState, onStart, onStop, onViewStateRestored, requireDialog, setCancelable, setShowsDialog, setStyle, setupDialog, show, show, showNow
      • +
      +
        +
      • + + +

        Methods inherited from class androidx.fragment.app.Fragment

        +dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelCreationExtras, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, onViewCreated, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerDialogFragment

        +
        public DaggerDialogFragment()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/DaggerFragment.html b/api/2.49/dagger/android/support/DaggerFragment.html new file mode 100644 index 00000000000..5f106e79976 --- /dev/null +++ b/api/2.49/dagger/android/support/DaggerFragment.html @@ -0,0 +1,401 @@ + + + + + +DaggerFragment + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DaggerFragment

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • androidx.fragment.app.Fragment
    • +
    • +
        +
      • dagger.android.support.DaggerFragment
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.view.View.OnCreateContextMenuListener, androidx.activity.result.ActivityResultCaller, androidx.lifecycle.HasDefaultViewModelProviderFactory, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, androidx.savedstate.SavedStateRegistryOwner, HasAndroidInjector
    +
    +
    +
    @Beta
    +public abstract class DaggerFragment
    +extends androidx.fragment.app.Fragment
    +implements HasAndroidInjector
    +
    A Fragment that injects its members in onAttach(Context) and can be used to + inject child Fragments attached to it. Note that when this fragment gets reattached, its + members will be injected again.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class androidx.fragment.app.Fragment

        +androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class androidx.fragment.app.Fragment

        +mPreviousWho
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AndroidInjector<java.lang.Object>androidInjector() +
      Returns an AndroidInjector.
      +
      voidonAttach​(android.content.Context context) 
      +
        +
      • + + +

        Methods inherited from class androidx.fragment.app.Fragment

        +dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelCreationExtras, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DaggerFragment

        +
        public DaggerFragment()
        +
      • +
      + + + +
        +
      • +

        DaggerFragment

        +
        public DaggerFragment​(@LayoutRes
        +                      int contentLayoutId)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/android/support/class-use/AndroidSupportInjection.html b/api/2.49/dagger/android/support/class-use/AndroidSupportInjection.html new file mode 100644 index 00000000000..dfd8172e0e7 --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/AndroidSupportInjection.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.support.AndroidSupportInjection + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.AndroidSupportInjection

+
+
No usage of dagger.android.support.AndroidSupportInjection
+
+ + + diff --git a/api/2.49/dagger/android/support/class-use/AndroidSupportInjectionModule.html b/api/2.49/dagger/android/support/class-use/AndroidSupportInjectionModule.html new file mode 100644 index 00000000000..1b9b94a0a70 --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/AndroidSupportInjectionModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.support.AndroidSupportInjectionModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.AndroidSupportInjectionModule

+
+
No usage of dagger.android.support.AndroidSupportInjectionModule
+
+ + + diff --git a/api/2.49/dagger/android/support/class-use/DaggerAppCompatActivity.html b/api/2.49/dagger/android/support/class-use/DaggerAppCompatActivity.html new file mode 100644 index 00000000000..f2d96eb4613 --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/DaggerAppCompatActivity.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.support.DaggerAppCompatActivity + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.DaggerAppCompatActivity

+
+
No usage of dagger.android.support.DaggerAppCompatActivity
+
+ + + diff --git a/api/2.49/dagger/android/support/class-use/DaggerAppCompatDialogFragment.html b/api/2.49/dagger/android/support/class-use/DaggerAppCompatDialogFragment.html new file mode 100644 index 00000000000..a20fb5c134d --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/DaggerAppCompatDialogFragment.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.support.DaggerAppCompatDialogFragment + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.DaggerAppCompatDialogFragment

+
+
No usage of dagger.android.support.DaggerAppCompatDialogFragment
+
+ + + diff --git a/api/2.49/dagger/android/support/class-use/DaggerApplication.html b/api/2.49/dagger/android/support/class-use/DaggerApplication.html new file mode 100644 index 00000000000..817d80d2f94 --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/DaggerApplication.html @@ -0,0 +1,192 @@ + + + + + +Uses of Class dagger.android.support.DaggerApplication + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.DaggerApplication

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/support/class-use/DaggerDialogFragment.html b/api/2.49/dagger/android/support/class-use/DaggerDialogFragment.html new file mode 100644 index 00000000000..d7f2bbfaf52 --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/DaggerDialogFragment.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.support.DaggerDialogFragment + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.DaggerDialogFragment

+
+
No usage of dagger.android.support.DaggerDialogFragment
+
+ + + diff --git a/api/2.49/dagger/android/support/class-use/DaggerFragment.html b/api/2.49/dagger/android/support/class-use/DaggerFragment.html new file mode 100644 index 00000000000..3dc4c4bef2d --- /dev/null +++ b/api/2.49/dagger/android/support/class-use/DaggerFragment.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.android.support.DaggerFragment + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.android.support.DaggerFragment

+
+
No usage of dagger.android.support.DaggerFragment
+
+ + + diff --git a/api/2.49/dagger/android/support/package-summary.html b/api/2.49/dagger/android/support/package-summary.html new file mode 100644 index 00000000000..02da0dc218f --- /dev/null +++ b/api/2.49/dagger/android/support/package-summary.html @@ -0,0 +1,211 @@ + + + + + +dagger.android.support + + + + + + + + + + + + + + +
+ +
+
+
+

@CheckReturnValue +

+

Package dagger.android.support

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/android/support/package-tree.html b/api/2.49/dagger/android/support/package-tree.html new file mode 100644 index 00000000000..fb82b7099d6 --- /dev/null +++ b/api/2.49/dagger/android/support/package-tree.html @@ -0,0 +1,221 @@ + + + + + +dagger.android.support Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.android.support

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • dagger.android.support.AndroidSupportInjection
    • +
    • dagger.android.support.AndroidSupportInjectionModule
    • +
    • android.content.Context +
        +
      • android.content.ContextWrapper +
          +
        • android.app.Application (implements android.content.ComponentCallbacks2) + +
        • +
        • android.view.ContextThemeWrapper +
            +
          • android.app.Activity (implements android.content.ComponentCallbacks2, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory2, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback) +
              +
            • androidx.core.app.ComponentActivity (implements androidx.core.view.KeyEventDispatcher.Component, androidx.lifecycle.LifecycleOwner) +
                +
              • androidx.activity.ComponentActivity (implements androidx.activity.result.ActivityResultCaller, androidx.activity.result.ActivityResultRegistryOwner, androidx.activity.contextaware.ContextAware, androidx.lifecycle.HasDefaultViewModelProviderFactory, androidx.lifecycle.LifecycleOwner, androidx.core.view.MenuHost, androidx.activity.OnBackPressedDispatcherOwner, androidx.core.content.OnConfigurationChangedProvider, androidx.core.app.OnMultiWindowModeChangedProvider, androidx.core.app.OnNewIntentProvider, androidx.core.app.OnPictureInPictureModeChangedProvider, androidx.core.content.OnTrimMemoryProvider, androidx.savedstate.SavedStateRegistryOwner, androidx.lifecycle.ViewModelStoreOwner) +
                  +
                • androidx.fragment.app.FragmentActivity (implements androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback, androidx.core.app.ActivityCompat.RequestPermissionsRequestCodeValidator) +
                    +
                  • androidx.appcompat.app.AppCompatActivity (implements androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider, androidx.appcompat.app.AppCompatCallback, androidx.core.app.TaskStackBuilder.SupportParentable) + +
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    • androidx.fragment.app.Fragment (implements androidx.activity.result.ActivityResultCaller, android.content.ComponentCallbacks, androidx.lifecycle.HasDefaultViewModelProviderFactory, androidx.lifecycle.LifecycleOwner, androidx.savedstate.SavedStateRegistryOwner, android.view.View.OnCreateContextMenuListener, androidx.lifecycle.ViewModelStoreOwner) + +
    • +
    +
  • +
+
+
+
+ + + diff --git a/api/2.49/dagger/android/support/package-use.html b/api/2.49/dagger/android/support/package-use.html new file mode 100644 index 00000000000..a02c2e816c2 --- /dev/null +++ b/api/2.49/dagger/android/support/package-use.html @@ -0,0 +1,186 @@ + + + + + +Uses of Package dagger.android.support + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.android.support

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/assisted/Assisted.html b/api/2.49/dagger/assisted/Assisted.html new file mode 100644 index 00000000000..7eb6044012f --- /dev/null +++ b/api/2.49/dagger/assisted/Assisted.html @@ -0,0 +1,295 @@ + + + + + +Assisted + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type Assisted

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target(PARAMETER)
    +public @interface Assisted
    +
    Annotates a parameter within an AssistedInject-annotated constructor. + +

    See AssistedInject.

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Stringvalue +
      Returns an identifier for an Assisted parameter.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.String value
        +
        Returns an identifier for an Assisted parameter. + +

        Within an AssistedInject constructor, each Assisted parameter must be + uniquely defined by the combination of its identifier and type. If no identifier is specified, + the default identifier is an empty string. Thus, the following parameters are equivalent within + an AssistedInject constructor: + +

          +
        • @Assisted Foo foo +
        • @Assisted("") Foo foo +
        + +

        Within an AssistedFactory method, each parameter must match an Assisted + parameter in the associated AssistedInject constructor (i.e. identifier + type). + A parameter with no @Assisted annotation will be assigned the default identifier. Thus, + the following parameters are equivalent within an AssistedFactory method: + +

          +
        • Foo foo +
        • @Assisted Foo foo +
        • @Assisted("") Foo foo +
        + +

        Example: + +

        
        + final class DataService {
        +   @AssistedInject
        +   DataService(
        +       BindingFromDagger bindingFromDagger,
        +       @Assisted String name,
        +       @Assisted("id") String id,
        +       @Assisted("repo") String repo) {}
        + }
        +
        + @AssistedFactory
        + interface DataServiceFactory {
        +   DataService create(
        +       String name,
        +       @Assisted("id") String id,
        +       @Assisted("repo") String repo);
        + }
        + 
        +
        +
        Default:
        +
        ""
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/assisted/AssistedFactory.html b/api/2.49/dagger/assisted/AssistedFactory.html new file mode 100644 index 00000000000..fd4501fbaa6 --- /dev/null +++ b/api/2.49/dagger/assisted/AssistedFactory.html @@ -0,0 +1,204 @@ + + + + + +AssistedFactory + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type AssistedFactory

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface AssistedFactory
    +
    Annotates an abstract class or interface used to create an instance of a type via an AssistedInject constructor. + +

    An AssistedFactory-annotated type must obey the following constraints: + +

      +
    • The type must be an abstract class or interface, +
    • The type must contain exactly one abstract, non-default method whose +
        +
      • return type must exactly match the type of an assisted injection type, and +
      • parameters must match the exact list of Assisted parameters in the assisted + injection type's constructor (and in the same order). +
      +
    + + See AssistedInject
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/assisted/AssistedInject.html b/api/2.49/dagger/assisted/AssistedInject.html new file mode 100644 index 00000000000..94206b94377 --- /dev/null +++ b/api/2.49/dagger/assisted/AssistedInject.html @@ -0,0 +1,238 @@ + + + + + +AssistedInject + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type AssistedInject

+
+
+
+
    +
  • +
    +
    @Documented
    +@Retention(RUNTIME)
    +@Target(CONSTRUCTOR)
    +public @interface AssistedInject
    +
    Annotates the constuctor of a type that will be created via assisted injection. + +

    Note that an assisted injection type cannot be scoped. In addition, assisted injection + requires the use of a factory annotated with AssistedFactory (see the example below). + +

    Example usage: + +

    Suppose we have a type, DataService, that has two dependencies: DataFetcher + and Config. When creating DataService, we would like to pass in an instance of + Config manually rather than having Dagger create it for us. This can be done using + assisted injection. + +

    To start, we annotate the DataService constructor with AssistedInject and we + annotate the Config parameter with Assisted, as shown below: + +

    
    +   final class DataService {
    +     private final DataFetcher dataFetcher;
    +     private final Config config;
    +
    +     @AssistedInject
    +     DataService(DataFetcher dataFetcher, @Assisted Config config) {
    +       this.dataFetcher = dataFetcher;
    +       this.config = config;
    +     }
    +   }
    + 
    + +

    Next, we define a factory for the assisted type, DataService, and annotate it with + AssistedFactory. The factory must contain a single abstract, non-default method which + takes in all of the assisted parameters (in order) and returns the assisted type. + +

    
    +   @AssistedFactory
    +   interface DataServiceFactory {
    +     DataService create(Config config);
    +   }
    + 
    + +

    Dagger will generate an implementation of the factory and bind it to the factory type. The + factory can then be used to create an instance of the assisted type: + +

    
    +   class MyApplication {
    +     @Inject DataServiceFactory dataServiceFactory;
    +
    +     dataService = dataServiceFactory.create(new Config(...));
    +   }
    + 
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/assisted/class-use/Assisted.html b/api/2.49/dagger/assisted/class-use/Assisted.html new file mode 100644 index 00000000000..20cd430610e --- /dev/null +++ b/api/2.49/dagger/assisted/class-use/Assisted.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.assisted.Assisted + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.assisted.Assisted

+
+
No usage of dagger.assisted.Assisted
+
+ + + diff --git a/api/2.49/dagger/assisted/class-use/AssistedFactory.html b/api/2.49/dagger/assisted/class-use/AssistedFactory.html new file mode 100644 index 00000000000..7d49e1f9963 --- /dev/null +++ b/api/2.49/dagger/assisted/class-use/AssistedFactory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.assisted.AssistedFactory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.assisted.AssistedFactory

+
+
No usage of dagger.assisted.AssistedFactory
+
+ + + diff --git a/api/2.49/dagger/assisted/class-use/AssistedInject.html b/api/2.49/dagger/assisted/class-use/AssistedInject.html new file mode 100644 index 00000000000..3b7618c6672 --- /dev/null +++ b/api/2.49/dagger/assisted/class-use/AssistedInject.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.assisted.AssistedInject + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.assisted.AssistedInject

+
+
No usage of dagger.assisted.AssistedInject
+
+ + + diff --git a/api/2.49/dagger/assisted/package-summary.html b/api/2.49/dagger/assisted/package-summary.html new file mode 100644 index 00000000000..04534f790b5 --- /dev/null +++ b/api/2.49/dagger/assisted/package-summary.html @@ -0,0 +1,187 @@ + + + + + +dagger.assisted + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.assisted

+
+
+
+ + +
This package contains the API for Dagger's assisted injection. + + TODO(bcorso): Link to dagger.dev documentation.
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    Assisted +
    Annotates a parameter within an AssistedInject-annotated constructor.
    +
    AssistedFactory +
    Annotates an abstract class or interface used to create an instance of a type via an AssistedInject constructor.
    +
    AssistedInject +
    Annotates the constuctor of a type that will be created via assisted injection.
    +
    +
  • +
+
+
+ + + diff --git a/api/2.49/dagger/assisted/package-tree.html b/api/2.49/dagger/assisted/package-tree.html new file mode 100644 index 00000000000..350022af15f --- /dev/null +++ b/api/2.49/dagger/assisted/package-tree.html @@ -0,0 +1,161 @@ + + + + + +dagger.assisted Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.assisted

+Package Hierarchies: + +
+
+
+

Annotation Type Hierarchy

+
    +
  • dagger.assisted.Assisted (implements java.lang.annotation.Annotation)
  • +
  • dagger.assisted.AssistedFactory (implements java.lang.annotation.Annotation)
  • +
  • dagger.assisted.AssistedInject (implements java.lang.annotation.Annotation)
  • +
+
+
+
+ + + diff --git a/api/2.49/dagger/assisted/package-use.html b/api/2.49/dagger/assisted/package-use.html new file mode 100644 index 00000000000..aa8eb361af3 --- /dev/null +++ b/api/2.49/dagger/assisted/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.assisted + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.assisted

+
+
No usage of dagger.assisted
+
+ + + diff --git a/api/2.49/dagger/class-use/Binds.html b/api/2.49/dagger/class-use/Binds.html new file mode 100644 index 00000000000..1b78f5d328a --- /dev/null +++ b/api/2.49/dagger/class-use/Binds.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Binds + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Binds

+
+
No usage of dagger.Binds
+
+ + + diff --git a/api/2.49/dagger/class-use/BindsInstance.html b/api/2.49/dagger/class-use/BindsInstance.html new file mode 100644 index 00000000000..380345c7c00 --- /dev/null +++ b/api/2.49/dagger/class-use/BindsInstance.html @@ -0,0 +1,275 @@ + + + + + +Uses of Class dagger.BindsInstance + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.BindsInstance

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/class-use/BindsOptionalOf.html b/api/2.49/dagger/class-use/BindsOptionalOf.html new file mode 100644 index 00000000000..8b554d7dfed --- /dev/null +++ b/api/2.49/dagger/class-use/BindsOptionalOf.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.BindsOptionalOf + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.BindsOptionalOf

+
+
No usage of dagger.BindsOptionalOf
+
+ + + diff --git a/api/2.49/dagger/class-use/Component.Builder.html b/api/2.49/dagger/class-use/Component.Builder.html new file mode 100644 index 00000000000..68c59a4d5cb --- /dev/null +++ b/api/2.49/dagger/class-use/Component.Builder.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Component.Builder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Component.Builder

+
+
No usage of dagger.Component.Builder
+
+ + + diff --git a/api/2.49/dagger/class-use/Component.Factory.html b/api/2.49/dagger/class-use/Component.Factory.html new file mode 100644 index 00000000000..7a2c10a4d9b --- /dev/null +++ b/api/2.49/dagger/class-use/Component.Factory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Component.Factory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Component.Factory

+
+
No usage of dagger.Component.Factory
+
+ + + diff --git a/api/2.49/dagger/class-use/Component.html b/api/2.49/dagger/class-use/Component.html new file mode 100644 index 00000000000..04805c9d882 --- /dev/null +++ b/api/2.49/dagger/class-use/Component.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Component + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Component

+
+
No usage of dagger.Component
+
+ + + diff --git a/api/2.49/dagger/class-use/Lazy.html b/api/2.49/dagger/class-use/Lazy.html new file mode 100644 index 00000000000..b7b0436e61e --- /dev/null +++ b/api/2.49/dagger/class-use/Lazy.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.Lazy + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.Lazy

+
+
No usage of dagger.Lazy
+
+ + + diff --git a/api/2.49/dagger/class-use/MapKey.html b/api/2.49/dagger/class-use/MapKey.html new file mode 100644 index 00000000000..02e0a832498 --- /dev/null +++ b/api/2.49/dagger/class-use/MapKey.html @@ -0,0 +1,248 @@ + + + + + +Uses of Class dagger.MapKey + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.MapKey

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/class-use/MembersInjector.html b/api/2.49/dagger/class-use/MembersInjector.html new file mode 100644 index 00000000000..10dd1afa24f --- /dev/null +++ b/api/2.49/dagger/class-use/MembersInjector.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.MembersInjector + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.MembersInjector

+
+
No usage of dagger.MembersInjector
+
+ + + diff --git a/api/2.49/dagger/class-use/Module.html b/api/2.49/dagger/class-use/Module.html new file mode 100644 index 00000000000..6f3a902a1f9 --- /dev/null +++ b/api/2.49/dagger/class-use/Module.html @@ -0,0 +1,310 @@ + + + + + +Uses of Class dagger.Module + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Module

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/class-use/Provides.html b/api/2.49/dagger/class-use/Provides.html new file mode 100644 index 00000000000..69056df12d8 --- /dev/null +++ b/api/2.49/dagger/class-use/Provides.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Provides + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Provides

+
+
No usage of dagger.Provides
+
+ + + diff --git a/api/2.49/dagger/class-use/Reusable.html b/api/2.49/dagger/class-use/Reusable.html new file mode 100644 index 00000000000..24041768b1f --- /dev/null +++ b/api/2.49/dagger/class-use/Reusable.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Reusable + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Reusable

+
+
No usage of dagger.Reusable
+
+ + + diff --git a/api/2.49/dagger/class-use/Subcomponent.Builder.html b/api/2.49/dagger/class-use/Subcomponent.Builder.html new file mode 100644 index 00000000000..342adc1b53c --- /dev/null +++ b/api/2.49/dagger/class-use/Subcomponent.Builder.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Subcomponent.Builder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Subcomponent.Builder

+
+
No usage of dagger.Subcomponent.Builder
+
+ + + diff --git a/api/2.49/dagger/class-use/Subcomponent.Factory.html b/api/2.49/dagger/class-use/Subcomponent.Factory.html new file mode 100644 index 00000000000..5e32291cb7c --- /dev/null +++ b/api/2.49/dagger/class-use/Subcomponent.Factory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Subcomponent.Factory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Subcomponent.Factory

+
+
No usage of dagger.Subcomponent.Factory
+
+ + + diff --git a/api/2.49/dagger/class-use/Subcomponent.html b/api/2.49/dagger/class-use/Subcomponent.html new file mode 100644 index 00000000000..7ab8972eaf7 --- /dev/null +++ b/api/2.49/dagger/class-use/Subcomponent.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.Subcomponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.Subcomponent

+
+
No usage of dagger.Subcomponent
+
+ + + diff --git a/api/2.49/dagger/grpc/server/CallScoped.html b/api/2.49/dagger/grpc/server/CallScoped.html new file mode 100644 index 00000000000..af9883a36c2 --- /dev/null +++ b/api/2.49/dagger/grpc/server/CallScoped.html @@ -0,0 +1,190 @@ + + + + + +CallScoped + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type CallScoped

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Scope
    +@Documented
    +public @interface CallScoped
    +
    A scope that lasts as long as a single gRPC ServerCall.
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/CurrentContextModule.html b/api/2.49/dagger/grpc/server/CurrentContextModule.html new file mode 100644 index 00000000000..840e0948a2b --- /dev/null +++ b/api/2.49/dagger/grpc/server/CurrentContextModule.html @@ -0,0 +1,270 @@ + + + + + +CurrentContextModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CurrentContextModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.grpc.server.CurrentContextModule
    • +
    +
  • +
+
+
    +
  • +
    +
    @Module
    +public final class CurrentContextModule
    +extends java.lang.Object
    +
    Provides the current Context.
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CurrentContextModule

        +
        public CurrentContextModule()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/ForGrpcService.html b/api/2.49/dagger/grpc/server/ForGrpcService.html new file mode 100644 index 00000000000..2ae99c0ed7b --- /dev/null +++ b/api/2.49/dagger/grpc/server/ForGrpcService.html @@ -0,0 +1,246 @@ + + + + + +ForGrpcService + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type ForGrpcService

+
+
+
+
    +
  • +
    +
    @Documented
    +@Qualifier
    +public @interface ForGrpcService
    +
    Qualifies some per-service types provided by Modules generated by GrpcService.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Class<?>value +
      The gRPC service class.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.Class<?> value
        +
        The gRPC service class.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/GrpcCallMetadataModule.html b/api/2.49/dagger/grpc/server/GrpcCallMetadataModule.html new file mode 100644 index 00000000000..0bbee226e50 --- /dev/null +++ b/api/2.49/dagger/grpc/server/GrpcCallMetadataModule.html @@ -0,0 +1,270 @@ + + + + + +GrpcCallMetadataModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrpcCallMetadataModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.grpc.server.GrpcCallMetadataModule
    • +
    +
  • +
+
+
    +
  • +
    +
    @Module
    +public final class GrpcCallMetadataModule
    +extends java.lang.Object
    +
    Provides Metadata about a gRPC call.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      GrpcCallMetadataModule​(io.grpc.Metadata metadata) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GrpcCallMetadataModule

        +
        public GrpcCallMetadataModule​(io.grpc.Metadata metadata)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/GrpcService.html b/api/2.49/dagger/grpc/server/GrpcService.html new file mode 100644 index 00000000000..6b8bb4d07d3 --- /dev/null +++ b/api/2.49/dagger/grpc/server/GrpcService.html @@ -0,0 +1,267 @@ + + + + + +GrpcService + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type GrpcService

+
+
+
+
    +
  • +
    +
    @Documented
    +@Target(TYPE)
    +public @interface GrpcService
    +
    Annotates a class that implements a gRPC service. + +

    Generates several types when annotating a class Foo: + +

      +
    • Interfaces FooComponent and FooComponent.Factory. +
    • Modules FooGrpcProxyModule and + FooGrpcServiceModule. +
    + +

    To use these types to configure a server: + +

      +
    1. Create a subcomponent that implements FooComponent + and installs FooGrpcServiceModule. +
    2. Install NettyServerModule or another ServerModule subclass and + FooGrpcProxyModule into your @Singleton component. +
    3. Bind an implementation of FooComponent.Factory in your @Singleton component. The + implementation will typically inject the @Singleton + component and call subcomponent factory methods to instantiate + the correct subcomponent. +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Class<?>grpcClass +
      The class that gRPC generates from the proto service definition.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        grpcClass

        +
        java.lang.Class<?> grpcClass
        +
        The class that gRPC generates from the proto service definition.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/InProcessServerModule.html b/api/2.49/dagger/grpc/server/InProcessServerModule.html new file mode 100644 index 00000000000..de5e6c358e1 --- /dev/null +++ b/api/2.49/dagger/grpc/server/InProcessServerModule.html @@ -0,0 +1,276 @@ + + + + + +InProcessServerModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class InProcessServerModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.grpc.server.InProcessServerModule
    • +
    +
  • +
+
+
    +
  • +
    +
    @Module(includes=ServerModule.class)
    +public final class InProcessServerModule
    +extends java.lang.Object
    +
    Installing this module into a @Singleton component means the component can + provide a Server that serves in-process requests.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static InProcessServerModuleserverNamed​(java.lang.String name) +
      Creates a module that provides a server that binds to a given name
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        serverNamed

        +
        public static InProcessServerModule serverNamed​(java.lang.String name)
        +
        Creates a module that provides a server that binds to a given name
        +
        +
        Parameters:
        +
        name - the identity of the server for clients to connect to
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/NettyServerModule.html b/api/2.49/dagger/grpc/server/NettyServerModule.html new file mode 100644 index 00000000000..2b8085d7ffd --- /dev/null +++ b/api/2.49/dagger/grpc/server/NettyServerModule.html @@ -0,0 +1,289 @@ + + + + + +NettyServerModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NettyServerModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.grpc.server.NettyServerModule
    • +
    +
  • +
+
+
    +
  • +
    +
    @Module(includes=ServerModule.class)
    +public final class NettyServerModule
    +extends java.lang.Object
    +
    Installing this module into a @Singleton component means the component can + provide a Netty-based Server.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static NettyServerModulebindingTo​(java.net.SocketAddress socketAddress) +
      A module that binds to socketAddress.
      +
      static NettyServerModulebindingToPort​(int port) +
      A module that binds to port on the wildcard address.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        bindingToPort

        +
        public static NettyServerModule bindingToPort​(int port)
        +
        A module that binds to port on the wildcard address.
        +
      • +
      + + + +
        +
      • +

        bindingTo

        +
        public static NettyServerModule bindingTo​(java.net.SocketAddress socketAddress)
        +
        A module that binds to socketAddress.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/ProxyServerCallHandler.ServiceDefinitionFactory.html b/api/2.49/dagger/grpc/server/ProxyServerCallHandler.ServiceDefinitionFactory.html new file mode 100644 index 00000000000..6b5ad2d32e6 --- /dev/null +++ b/api/2.49/dagger/grpc/server/ProxyServerCallHandler.ServiceDefinitionFactory.html @@ -0,0 +1,261 @@ + + + + + +ProxyServerCallHandler.ServiceDefinitionFactory + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ProxyServerCallHandler.ServiceDefinitionFactory

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getServiceDefinition

        +
        io.grpc.ServerServiceDefinition getServiceDefinition​(io.grpc.Metadata headers)
        +
        Returns a service definition that contains a ServerCallHandler for the + ProxyServerCallHandler's method.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/ProxyServerCallHandler.html b/api/2.49/dagger/grpc/server/ProxyServerCallHandler.html new file mode 100644 index 00000000000..7eb93667972 --- /dev/null +++ b/api/2.49/dagger/grpc/server/ProxyServerCallHandler.html @@ -0,0 +1,333 @@ + + + + + +ProxyServerCallHandler + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ProxyServerCallHandler<RequestT,​ResponseT>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.grpc.server.ProxyServerCallHandler<RequestT,​ResponseT>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    RequestT - the type of the request payloads
    +
    ResponseT - the type of the response payloads
    +
    +
    +
    All Implemented Interfaces:
    +
    io.grpc.ServerCallHandler<java.io.InputStream,​java.io.InputStream>
    +
    +
    +
    public final class ProxyServerCallHandler<RequestT,​ResponseT>
    +extends java.lang.Object
    +implements io.grpc.ServerCallHandler<java.io.InputStream,​java.io.InputStream>
    +
    A ServerCallHandler that handles calls for a particular method by delegating to a handler + in a ServerServiceDefinition returned by a factory.
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static <RequestT,​ResponseT>
      io.grpc.ServerMethodDefinition<java.io.InputStream,​java.io.InputStream>
      proxyMethod​(io.grpc.MethodDescriptor<RequestT,​ResponseT> delegateMethodDescriptor, + ProxyServerCallHandler.ServiceDefinitionFactory delegateServiceDefinitionFactory) +
      Returns a proxy method definition for methodDescriptor.
      +
      io.grpc.ServerCall.Listener<java.io.InputStream>startCall​(io.grpc.ServerCall<java.io.InputStream,​java.io.InputStream> call, + io.grpc.Metadata headers) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        proxyMethod

        +
        public static <RequestT,​ResponseT> io.grpc.ServerMethodDefinition<java.io.InputStream,​java.io.InputStream> proxyMethod​(io.grpc.MethodDescriptor<RequestT,​ResponseT> delegateMethodDescriptor,
        +                                                                                                                                   ProxyServerCallHandler.ServiceDefinitionFactory delegateServiceDefinitionFactory)
        +
        Returns a proxy method definition for methodDescriptor.
        +
        +
        Parameters:
        +
        delegateServiceDefinitionFactory - factory for the delegate service definition
        +
        +
      • +
      + + + +
        +
      • +

        startCall

        +
        public io.grpc.ServerCall.Listener<java.io.InputStream> startCall​(io.grpc.ServerCall<java.io.InputStream,​java.io.InputStream> call,
        +                                                                  io.grpc.Metadata headers)
        +
        +
        Specified by:
        +
        startCall in interface io.grpc.ServerCallHandler<RequestT,​ResponseT>
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/ServerModule.html b/api/2.49/dagger/grpc/server/ServerModule.html new file mode 100644 index 00000000000..d6522d9bd33 --- /dev/null +++ b/api/2.49/dagger/grpc/server/ServerModule.html @@ -0,0 +1,270 @@ + + + + + +ServerModule + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServerModule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.grpc.server.ServerModule
    • +
    +
  • +
+
+
    +
  • +
    +
    @Module
    +public final class ServerModule
    +extends java.lang.Object
    +
    Provides a @Singleton Server.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ServerModule() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServerModule

        +
        public ServerModule()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/class-use/CallScoped.html b/api/2.49/dagger/grpc/server/class-use/CallScoped.html new file mode 100644 index 00000000000..3dc42cfe963 --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/CallScoped.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.grpc.server.CallScoped + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.CallScoped

+
+
No usage of dagger.grpc.server.CallScoped
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/CurrentContextModule.html b/api/2.49/dagger/grpc/server/class-use/CurrentContextModule.html new file mode 100644 index 00000000000..98c553251a4 --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/CurrentContextModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.grpc.server.CurrentContextModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.CurrentContextModule

+
+
No usage of dagger.grpc.server.CurrentContextModule
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/ForGrpcService.html b/api/2.49/dagger/grpc/server/class-use/ForGrpcService.html new file mode 100644 index 00000000000..ec915962291 --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/ForGrpcService.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.grpc.server.ForGrpcService + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.ForGrpcService

+
+
No usage of dagger.grpc.server.ForGrpcService
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/GrpcCallMetadataModule.html b/api/2.49/dagger/grpc/server/class-use/GrpcCallMetadataModule.html new file mode 100644 index 00000000000..700657f466d --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/GrpcCallMetadataModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.grpc.server.GrpcCallMetadataModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.GrpcCallMetadataModule

+
+
No usage of dagger.grpc.server.GrpcCallMetadataModule
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/GrpcService.html b/api/2.49/dagger/grpc/server/class-use/GrpcService.html new file mode 100644 index 00000000000..cecbbbd92a6 --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/GrpcService.html @@ -0,0 +1,192 @@ + + + + + +Uses of Class dagger.grpc.server.GrpcService + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.GrpcService

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/InProcessServerModule.html b/api/2.49/dagger/grpc/server/class-use/InProcessServerModule.html new file mode 100644 index 00000000000..0d0018f8d1c --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/InProcessServerModule.html @@ -0,0 +1,194 @@ + + + + + +Uses of Class dagger.grpc.server.InProcessServerModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.InProcessServerModule

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/NettyServerModule.html b/api/2.49/dagger/grpc/server/class-use/NettyServerModule.html new file mode 100644 index 00000000000..d6265a7425d --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/NettyServerModule.html @@ -0,0 +1,201 @@ + + + + + +Uses of Class dagger.grpc.server.NettyServerModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.NettyServerModule

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.ServiceDefinitionFactory.html b/api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.ServiceDefinitionFactory.html new file mode 100644 index 00000000000..6f677d4dcee --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.ServiceDefinitionFactory.html @@ -0,0 +1,195 @@ + + + + + +Uses of Interface dagger.grpc.server.ProxyServerCallHandler.ServiceDefinitionFactory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.grpc.server.ProxyServerCallHandler.ServiceDefinitionFactory

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.html b/api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.html new file mode 100644 index 00000000000..eb8cd842960 --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/ProxyServerCallHandler.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.grpc.server.ProxyServerCallHandler + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.ProxyServerCallHandler

+
+
No usage of dagger.grpc.server.ProxyServerCallHandler
+
+ + + diff --git a/api/2.49/dagger/grpc/server/class-use/ServerModule.html b/api/2.49/dagger/grpc/server/class-use/ServerModule.html new file mode 100644 index 00000000000..6687cb28447 --- /dev/null +++ b/api/2.49/dagger/grpc/server/class-use/ServerModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.grpc.server.ServerModule + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.ServerModule

+
+
No usage of dagger.grpc.server.ServerModule
+
+ + + diff --git a/api/2.49/dagger/grpc/server/package-summary.html b/api/2.49/dagger/grpc/server/package-summary.html new file mode 100644 index 00000000000..db051756519 --- /dev/null +++ b/api/2.49/dagger/grpc/server/package-summary.html @@ -0,0 +1,248 @@ + + + + + +dagger.grpc.server + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.grpc.server

+
+
+
    +
  • + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    ProxyServerCallHandler.ServiceDefinitionFactory +
    A factory for the ServerServiceDefinition that a ProxyServerCallHandler + delegates to.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    CurrentContextModule +
    Provides the current Context.
    +
    GrpcCallMetadataModule +
    Provides Metadata about a gRPC call.
    +
    InProcessServerModule +
    Installing this module into a @Singleton component means the component can + provide a Server that serves in-process requests.
    +
    NettyServerModule +
    Installing this module into a @Singleton component means the component can + provide a Netty-based Server.
    +
    ProxyServerCallHandler<RequestT,​ResponseT> +
    A ServerCallHandler that handles calls for a particular method by delegating to a handler + in a ServerServiceDefinition returned by a factory.
    +
    ServerModule +
    Provides a @Singleton Server.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    CallScoped +
    A scope that lasts as long as a single gRPC ServerCall.
    +
    ForGrpcService +
    Qualifies some per-service types provided by Modules generated by GrpcService.
    +
    GrpcService +
    Annotates a class that implements a gRPC service.
    +
    +
  • +
+
+
+ + + diff --git a/api/2.49/dagger/grpc/server/package-tree.html b/api/2.49/dagger/grpc/server/package-tree.html new file mode 100644 index 00000000000..703ba675d94 --- /dev/null +++ b/api/2.49/dagger/grpc/server/package-tree.html @@ -0,0 +1,182 @@ + + + + + +dagger.grpc.server Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.grpc.server

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+
    +
  • dagger.grpc.server.CallScoped (implements java.lang.annotation.Annotation)
  • +
  • dagger.grpc.server.ForGrpcService (implements java.lang.annotation.Annotation)
  • +
  • dagger.grpc.server.GrpcService (implements java.lang.annotation.Annotation)
  • +
+
+
+
+ + + diff --git a/api/2.49/dagger/grpc/server/package-use.html b/api/2.49/dagger/grpc/server/package-use.html new file mode 100644 index 00000000000..8b1d5c4e5c5 --- /dev/null +++ b/api/2.49/dagger/grpc/server/package-use.html @@ -0,0 +1,223 @@ + + + + + +Uses of Package dagger.grpc.server + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.grpc.server

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/processor/GrpcServiceProcessor.html b/api/2.49/dagger/grpc/server/processor/GrpcServiceProcessor.html new file mode 100644 index 00000000000..019a4c70575 --- /dev/null +++ b/api/2.49/dagger/grpc/server/processor/GrpcServiceProcessor.html @@ -0,0 +1,435 @@ + + + + + +GrpcServiceProcessor + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrpcServiceProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.annotation.processing.AbstractProcessor
    • +
    • +
        +
      • com.google.auto.common.BasicAnnotationProcessor
      • +
      • +
          +
        • dagger.grpc.server.processor.GrpcServiceProcessor
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.auto.common.BasicAnnotationProcessor.ProcessingStep, javax.annotation.processing.Processor
    +
    +
    +
    @AutoService(javax.annotation.processing.Processor.class)
    +public class GrpcServiceProcessor
    +extends com.google.auto.common.BasicAnnotationProcessor
    +implements com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
    +
    Generates code from types annotated with @GrpcService.
    +
    +
    See Also:
    +
    https://dagger.dev/dev-guide/grpc
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class com.google.auto.common.BasicAnnotationProcessor

        +com.google.auto.common.BasicAnnotationProcessor.ProcessingStep, com.google.auto.common.BasicAnnotationProcessor.Step
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javax.annotation.processing.AbstractProcessor

        +processingEnv
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      com.google.common.collect.ImmutableSet<java.lang.Class<GrpcService>>annotations() 
      javax.lang.model.SourceVersiongetSupportedSourceVersion() 
      protected com.google.common.collect.ImmutableList<GrpcServiceProcessor>initSteps() 
      java.util.Set<javax.lang.model.element.Element>process​(com.google.common.collect.SetMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,​javax.lang.model.element.Element> elementsByAnnotation) 
      +
        +
      • + + +

        Methods inherited from class com.google.auto.common.BasicAnnotationProcessor

        +asStep, getSupportedAnnotationTypes, init, postProcess, postRound, process, steps
      • +
      +
        +
      • + + +

        Methods inherited from class javax.annotation.processing.AbstractProcessor

        +getCompletions, getSupportedOptions, isInitialized
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GrpcServiceProcessor

        +
        public GrpcServiceProcessor()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initSteps

        +
        protected com.google.common.collect.ImmutableList<GrpcServiceProcessor> initSteps()
        +
        +
        Overrides:
        +
        initSteps in class com.google.auto.common.BasicAnnotationProcessor
        +
        +
      • +
      + + + +
        +
      • +

        annotations

        +
        public com.google.common.collect.ImmutableSet<java.lang.Class<GrpcService>> annotations()
        +
        +
        Specified by:
        +
        annotations in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
        +
        +
      • +
      + + + +
        +
      • +

        getSupportedSourceVersion

        +
        public javax.lang.model.SourceVersion getSupportedSourceVersion()
        +
        +
        Specified by:
        +
        getSupportedSourceVersion in interface javax.annotation.processing.Processor
        +
        Overrides:
        +
        getSupportedSourceVersion in class javax.annotation.processing.AbstractProcessor
        +
        +
      • +
      + + + +
        +
      • +

        process

        +
        public java.util.Set<javax.lang.model.element.Element> process​(com.google.common.collect.SetMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,​javax.lang.model.element.Element> elementsByAnnotation)
        +
        +
        Specified by:
        +
        process in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/grpc/server/processor/class-use/GrpcServiceProcessor.html b/api/2.49/dagger/grpc/server/processor/class-use/GrpcServiceProcessor.html new file mode 100644 index 00000000000..0f25d001d1c --- /dev/null +++ b/api/2.49/dagger/grpc/server/processor/class-use/GrpcServiceProcessor.html @@ -0,0 +1,192 @@ + + + + + +Uses of Class dagger.grpc.server.processor.GrpcServiceProcessor + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.grpc.server.processor.GrpcServiceProcessor

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/processor/package-summary.html b/api/2.49/dagger/grpc/server/processor/package-summary.html new file mode 100644 index 00000000000..88d8dc38b74 --- /dev/null +++ b/api/2.49/dagger/grpc/server/processor/package-summary.html @@ -0,0 +1,168 @@ + + + + + +dagger.grpc.server.processor + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.grpc.server.processor

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/grpc/server/processor/package-tree.html b/api/2.49/dagger/grpc/server/processor/package-tree.html new file mode 100644 index 00000000000..27443d27ae0 --- /dev/null +++ b/api/2.49/dagger/grpc/server/processor/package-tree.html @@ -0,0 +1,171 @@ + + + + + +dagger.grpc.server.processor Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.grpc.server.processor

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • javax.annotation.processing.AbstractProcessor (implements javax.annotation.processing.Processor) +
        +
      • com.google.auto.common.BasicAnnotationProcessor +
          +
        • dagger.grpc.server.processor.GrpcServiceProcessor (implements com.google.auto.common.BasicAnnotationProcessor.ProcessingStep)
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
+
+ + + diff --git a/api/2.49/dagger/grpc/server/processor/package-use.html b/api/2.49/dagger/grpc/server/processor/package-use.html new file mode 100644 index 00000000000..9325617ca8e --- /dev/null +++ b/api/2.49/dagger/grpc/server/processor/package-use.html @@ -0,0 +1,185 @@ + + + + + +Uses of Package dagger.grpc.server.processor + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.grpc.server.processor

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/DefineComponent.Builder.html b/api/2.49/dagger/hilt/DefineComponent.Builder.html new file mode 100644 index 00000000000..598d69b9ac5 --- /dev/null +++ b/api/2.49/dagger/hilt/DefineComponent.Builder.html @@ -0,0 +1,197 @@ + + + + + +DefineComponent.Builder + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger.hilt
+

Annotation Type DefineComponent.Builder

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target(TYPE)
    +public static @interface DefineComponent.Builder
    +
    Defines a builder for a Hilt component. + +
    
    +   @DefineComponent.Builder
    +   interface ParentComponentBuilder {
    +     ParentComponentBuilder seedData(SeedData seed);
    +     ParentComponent build();
    +   }
    + 
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/DefineComponent.html b/api/2.49/dagger/hilt/DefineComponent.html new file mode 100644 index 00000000000..f806ceda3a4 --- /dev/null +++ b/api/2.49/dagger/hilt/DefineComponent.html @@ -0,0 +1,266 @@ + + + + + +DefineComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger.hilt
+

Annotation Type DefineComponent

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target(TYPE)
    +public @interface DefineComponent
    +
    Defines a Hilt component. + +

    Example defining a root component, ParentComponent: + +

    
    +   @ParentScoped
    +   @DefineComponent
    +   interface ParentComponent {}
    + 
    + +

    Example defining a child component, ChildComponent: + +

    
    +   @ChildScoped
    +   @DefineComponent(parent = ParentComponent.class)
    +   interface ChildComponent {}
    + 
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>parent +
      Returns the parent of this component, if it exists.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        parent

        +
        java.lang.Class<?> parent
        +
        Returns the parent of this component, if it exists.
        +
        +
        Default:
        +
        dagger.hilt.internal.definecomponent.DefineComponentNoParent.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/EntryPoint.html b/api/2.49/dagger/hilt/EntryPoint.html new file mode 100644 index 00000000000..deada176125 --- /dev/null +++ b/api/2.49/dagger/hilt/EntryPoint.html @@ -0,0 +1,210 @@ + + + + + +EntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger.hilt
+

Annotation Type EntryPoint

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target(TYPE)
    +public @interface EntryPoint
    +
    Annotation for marking an interface as an entry point into a generated component. This annotation + must be used with InstallIn to indicate which component(s) should have this + entry point. When assembling components, Hilt will make the indicated components extend the + interface marked with this annotation. + +

    To use the annotated interface to access Dagger objects, use EntryPoints. + +

    Example usage: + +

    
    +   @EntryPoint
    +   @InstallIn(SingletonComponent.class)
    +   public interface FooEntryPoint {
    +     Foo getFoo();
    +   }
    +
    +   Foo foo = EntryPoints.get(component, FooEntryPoint.class).getFoo();
    + 
    +
    +
    See Also:
    +
    Entry points
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/EntryPoints.html b/api/2.49/dagger/hilt/EntryPoints.html new file mode 100644 index 00000000000..427081e2e06 --- /dev/null +++ b/api/2.49/dagger/hilt/EntryPoints.html @@ -0,0 +1,282 @@ + + + + + +EntryPoints + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger.hilt
+

Class EntryPoints

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.EntryPoints
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class EntryPoints
    +extends java.lang.Object
    +
    Static utility methods for accessing objects through entry points.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static <T> Tget​(java.lang.Object component, + java.lang.Class<T> entryPoint) +
      Returns the entry point interface given a component or component manager.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        @Nonnull
        +public static <T> T get​(java.lang.Object component,
        +                        java.lang.Class<T> entryPoint)
        +
        Returns the entry point interface given a component or component manager. Note that this + performs an unsafe cast and so callers should be sure that the given component/component + manager matches the entry point interface that is given.
        +
        +
        Parameters:
        +
        component - The Hilt-generated component instance. For convenience, also takes component + manager instances as well.
        +
        entryPoint - The interface marked with EntryPoint. The InstallIn annotation on this entry point should match the component argument + above.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/GeneratesRootInput.html b/api/2.49/dagger/hilt/GeneratesRootInput.html new file mode 100644 index 00000000000..b0cff13aee7 --- /dev/null +++ b/api/2.49/dagger/hilt/GeneratesRootInput.html @@ -0,0 +1,189 @@ + + + + + +GeneratesRootInput + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger.hilt
+

Annotation Type GeneratesRootInput

+
+
+
+
    +
  • +
    +
    @Target(ANNOTATION_TYPE)
    +@Retention(CLASS)
    +public @interface GeneratesRootInput
    +
    For annotating annotations that generate input for the GenerateComponents.
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/InstallIn.html b/api/2.49/dagger/hilt/InstallIn.html new file mode 100644 index 00000000000..5342e5093e5 --- /dev/null +++ b/api/2.49/dagger/hilt/InstallIn.html @@ -0,0 +1,262 @@ + + + + + +InstallIn + + + + + + + + + + + + + + +
+ +
+ +
+
+
Package dagger.hilt
+

Annotation Type InstallIn

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target(TYPE)
    +public @interface InstallIn
    +
    An annotation that declares which component(s) the annotated class should be included in when + Hilt generates the components. This may only be used with classes annotated with + @Module or @EntryPoint. + +

    Example usage for installing a module in the generated ApplicationComponent: + +

    
    +   @Module
    +   @InstallIn(SingletonComponent.class)
    +   public final class FooModule {
    +     @Provides
    +     static Foo provideFoo() {
    +       return new Foo();
    +     }
    +   }
    + 
    +
    +
    See Also:
    +
    Hilt Modules
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Class<?>[]value 
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.Class<?>[] value
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.OnClearedListener.html b/api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.OnClearedListener.html new file mode 100644 index 00000000000..1fab7be3564 --- /dev/null +++ b/api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.OnClearedListener.html @@ -0,0 +1,223 @@ + + + + + +ActivityRetainedLifecycle.OnClearedListener + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityRetainedLifecycle.OnClearedListener

+
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.html b/api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.html new file mode 100644 index 00000000000..b2f83853e5f --- /dev/null +++ b/api/2.49/dagger/hilt/android/ActivityRetainedLifecycle.html @@ -0,0 +1,248 @@ + + + + + +ActivityRetainedLifecycle + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityRetainedLifecycle

+
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/AndroidEntryPoint.html b/api/2.49/dagger/hilt/android/AndroidEntryPoint.html new file mode 100644 index 00000000000..0cebd8e4f93 --- /dev/null +++ b/api/2.49/dagger/hilt/android/AndroidEntryPoint.html @@ -0,0 +1,289 @@ + + + + + +AndroidEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type AndroidEntryPoint

+
+
+
+
    +
  • +
    +
    @Target(TYPE)
    +public @interface AndroidEntryPoint
    +
    Marks an Android component class to be setup for injection with the standard Hilt Dagger Android + components. Currently, this supports activities, fragments, views, services, and broadcast + receivers. + +

    This annotation will generate a base class that the annotated class should extend, either + directly or via the Hilt Gradle Plugin. This base class will take care of injecting members into + the Android class as well as handling instantiating the proper Hilt components at the right point + in the lifecycle. The name of the base class will be "Hilt_". + +

    Example usage (with the Hilt Gradle Plugin): + +

    
    +   @AndroidEntryPoint
    +   public final class FooActivity extends FragmentActivity {
    +     @Inject Foo foo;
    +
    +     @Override
    +     public void onCreate(Bundle savedInstanceState) {
    +       super.onCreate(savedInstanceState);  // The foo field is injected in super.onCreate()
    +     }
    +   }
    + 
    + +

    Example usage (without the Hilt Gradle Plugin): + +

    
    +   @AndroidEntryPoint(FragmentActivity.class)
    +   public final class FooActivity extends Hilt_FooActivity {
    +     @Inject Foo foo;
    +
    +     @Override
    +     public void onCreate(Bundle savedInstanceState) {
    +       super.onCreate(savedInstanceState);  // The foo field is injected in super.onCreate()
    +     }
    +   }
    + 
    +
    +
    See Also:
    +
    HiltAndroidApp
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>value +
      The base class for the generated Hilt class.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.Class<?> value
        +
        The base class for the generated Hilt class. When applying the Hilt Gradle Plugin this value + is not necessary and will be inferred from the current superclass.
        +
        +
        Default:
        +
        java.lang.Void.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/EarlyEntryPoint.html b/api/2.49/dagger/hilt/android/EarlyEntryPoint.html new file mode 100644 index 00000000000..1dccd4e6511 --- /dev/null +++ b/api/2.49/dagger/hilt/android/EarlyEntryPoint.html @@ -0,0 +1,203 @@ + + + + + +EarlyEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type EarlyEntryPoint

+
+
+
+
    +
  • +
    +
    @Beta
    +@Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface EarlyEntryPoint
    +
    An escape hatch for when a Hilt entry point usage needs to be called before the singleton + component is available in a Hilt test. + +

    Warning: Please see documentation for more details: + https://dagger.dev/hilt/early-entry-point + +

    Usage: + +

    To enable an existing entry point to be called early in a Hilt test, replace its + EntryPoint annotation with EarlyEntryPoint. (Note that, + EarlyEntryPoint is only allowed on entry points installed in the + SingletonComponent). + +

    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/EarlyEntryPoints.html b/api/2.49/dagger/hilt/android/EarlyEntryPoints.html new file mode 100644 index 00000000000..e84ca20abda --- /dev/null +++ b/api/2.49/dagger/hilt/android/EarlyEntryPoints.html @@ -0,0 +1,282 @@ + + + + + +EarlyEntryPoints + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EarlyEntryPoints

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.EarlyEntryPoints
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +public final class EarlyEntryPoints
    +extends java.lang.Object
    +
    Static utility methods for accessing entry points annotated with EarlyEntryPoint.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static <T> Tget​(android.content.Context applicationContext, + java.lang.Class<T> entryPoint) +
      Returns the early entry point interface given a component manager holder.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        @Nonnull
        +public static <T> T get​(android.content.Context applicationContext,
        +                        java.lang.Class<T> entryPoint)
        +
        Returns the early entry point interface given a component manager holder. Note that this + performs an unsafe cast and so callers should be sure that the given component/component + manager matches the early entry point interface that is given.
        +
        +
        Parameters:
        +
        applicationContext - The application context.
        +
        entryPoint - The interface marked with EarlyEntryPoint. The InstallIn annotation on this entry point should match the component argument + above.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/HiltAndroidApp.html b/api/2.49/dagger/hilt/android/HiltAndroidApp.html new file mode 100644 index 00000000000..a45c550b309 --- /dev/null +++ b/api/2.49/dagger/hilt/android/HiltAndroidApp.html @@ -0,0 +1,295 @@ + + + + + +HiltAndroidApp + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type HiltAndroidApp

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface HiltAndroidApp
    +
    Annotation for marking the Application class where the Dagger components + should be generated. Since all components will be built in the same compilation as the annotated + application, all modules and entry points that should be installed in the component need to be + transitive compilation dependencies of the annotated application. + +

    Usage of this annotation is similar to AndroidEntryPoint with the + only difference being that it only works on application classes and additionally triggers Dagger + component generation. + +

    This annotation will generate a base class that the annotated class should extend, either + directly or via the Hilt Gradle Plugin. This base class will take care of injecting members into + the Android class as well as handling instantiating the proper Hilt components at the right point + in the lifecycle. The name of the base class will be "Hilt_". + +

    Example usage (with the Hilt Gradle Plugin): + +

    
    +   @HiltAndroidApp
    +   public final class FooApplication extends Application {
    +     @Inject Foo foo;
    +
    +     @Override
    +     public void onCreate() {
    +       super.onCreate();  // The foo field is injected in super.onCreate()
    +     }
    +   }
    + 
    + +

    Example usage (without the Hilt Gradle Plugin): + +

    
    +   @HiltAndroidApp(Application.class)
    +   public final class FooApplication extends Hilt_FooApplication {
    +     @Inject Foo foo;
    +
    +     @Override
    +     public void onCreate() {
    +       super.onCreate();  // The foo field is injected in super.onCreate()
    +     }
    +   }
    + 
    +
    +
    See Also:
    +
    AndroidEntryPoint
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<?>value +
      The base class for the generated Hilt application.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.Class<?> value
        +
        The base class for the generated Hilt application. When applying the Hilt Gradle Plugin this + value is not necessary and will be inferred from the current superclass.
        +
        +
        Default:
        +
        java.lang.Void.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/UnstableApi.html b/api/2.49/dagger/hilt/android/UnstableApi.html new file mode 100644 index 00000000000..e655168a8aa --- /dev/null +++ b/api/2.49/dagger/hilt/android/UnstableApi.html @@ -0,0 +1,189 @@ + + + + + +UnstableApi + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type UnstableApi

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Target({METHOD,TYPE,ANNOTATION_TYPE})
    +public @interface UnstableApi
    +
    Mark unstable Api usage.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/ViewModelLifecycle.html b/api/2.49/dagger/hilt/android/ViewModelLifecycle.html new file mode 100644 index 00000000000..bf3b5fd63d7 --- /dev/null +++ b/api/2.49/dagger/hilt/android/ViewModelLifecycle.html @@ -0,0 +1,240 @@ + + + + + +ViewModelLifecycle + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewModelLifecycle

+
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/WithFragmentBindings.html b/api/2.49/dagger/hilt/android/WithFragmentBindings.html new file mode 100644 index 00000000000..5eba0c61735 --- /dev/null +++ b/api/2.49/dagger/hilt/android/WithFragmentBindings.html @@ -0,0 +1,192 @@ + + + + + +WithFragmentBindings + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type WithFragmentBindings

+
+
+
+
    +
  • +
    +
    @Target(TYPE)
    +public @interface WithFragmentBindings
    +
    Makes a View annotated with AndroidEntryPoint have access to fragment bindings. + +

    By default, views annotated with @AndroidEntryPoint do not have access to fragment + bindings and must use this annotation if fragment bindings are required. When this annotation is + used, this view must always be attached through a fragment.

    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.OnClearedListener.html b/api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.OnClearedListener.html new file mode 100644 index 00000000000..0d86c84a88d --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.OnClearedListener.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.ActivityRetainedLifecycle.OnClearedListener + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.ActivityRetainedLifecycle.OnClearedListener

+
+
No usage of dagger.hilt.android.ActivityRetainedLifecycle.OnClearedListener
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.html b/api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.html new file mode 100644 index 00000000000..1f86e097e54 --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/ActivityRetainedLifecycle.html @@ -0,0 +1,194 @@ + + + + + +Uses of Interface dagger.hilt.android.ActivityRetainedLifecycle + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.ActivityRetainedLifecycle

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/AndroidEntryPoint.html b/api/2.49/dagger/hilt/android/class-use/AndroidEntryPoint.html new file mode 100644 index 00000000000..72cf593b056 --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/AndroidEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.AndroidEntryPoint + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.AndroidEntryPoint

+
+
No usage of dagger.hilt.android.AndroidEntryPoint
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/EarlyEntryPoint.html b/api/2.49/dagger/hilt/android/class-use/EarlyEntryPoint.html new file mode 100644 index 00000000000..d6df8be70ea --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/EarlyEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.EarlyEntryPoint + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.EarlyEntryPoint

+
+
No usage of dagger.hilt.android.EarlyEntryPoint
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/EarlyEntryPoints.html b/api/2.49/dagger/hilt/android/class-use/EarlyEntryPoints.html new file mode 100644 index 00000000000..2ffaf66c64c --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/EarlyEntryPoints.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.EarlyEntryPoints + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.EarlyEntryPoints

+
+
No usage of dagger.hilt.android.EarlyEntryPoints
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/HiltAndroidApp.html b/api/2.49/dagger/hilt/android/class-use/HiltAndroidApp.html new file mode 100644 index 00000000000..bc4899f2c2d --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/HiltAndroidApp.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.HiltAndroidApp + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.HiltAndroidApp

+
+
No usage of dagger.hilt.android.HiltAndroidApp
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/UnstableApi.html b/api/2.49/dagger/hilt/android/class-use/UnstableApi.html new file mode 100644 index 00000000000..db1059aa710 --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/UnstableApi.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class dagger.hilt.android.UnstableApi + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.UnstableApi

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/ViewModelLifecycle.html b/api/2.49/dagger/hilt/android/class-use/ViewModelLifecycle.html new file mode 100644 index 00000000000..c126db0436b --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/ViewModelLifecycle.html @@ -0,0 +1,220 @@ + + + + + +Uses of Interface dagger.hilt.android.ViewModelLifecycle + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.ViewModelLifecycle

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/class-use/WithFragmentBindings.html b/api/2.49/dagger/hilt/android/class-use/WithFragmentBindings.html new file mode 100644 index 00000000000..e8ec52e30a2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/class-use/WithFragmentBindings.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.WithFragmentBindings + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.WithFragmentBindings

+
+
No usage of dagger.hilt.android.WithFragmentBindings
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/ActivityComponent.html b/api/2.49/dagger/hilt/android/components/ActivityComponent.html new file mode 100644 index 00000000000..c124f526501 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/ActivityComponent.html @@ -0,0 +1,191 @@ + + + + + +ActivityComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityComponent

+
+
+
+
    +
  • +
    +
    public interface ActivityComponent
    +
    A Hilt component that has the lifetime of the activity.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/ActivityRetainedComponent.html b/api/2.49/dagger/hilt/android/components/ActivityRetainedComponent.html new file mode 100644 index 00000000000..fbe0d197bf1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/ActivityRetainedComponent.html @@ -0,0 +1,191 @@ + + + + + +ActivityRetainedComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityRetainedComponent

+
+
+
+
    +
  • +
    +
    public interface ActivityRetainedComponent
    +
    A Hilt component that has the lifetime of a configuration surviving activity.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/FragmentComponent.html b/api/2.49/dagger/hilt/android/components/FragmentComponent.html new file mode 100644 index 00000000000..88baa655e51 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/FragmentComponent.html @@ -0,0 +1,191 @@ + + + + + +FragmentComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface FragmentComponent

+
+
+
+
    +
  • +
    +
    public interface FragmentComponent
    +
    A Hilt component that has the lifetime of the fragment.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/ServiceComponent.html b/api/2.49/dagger/hilt/android/components/ServiceComponent.html new file mode 100644 index 00000000000..ffed858894a --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/ServiceComponent.html @@ -0,0 +1,191 @@ + + + + + +ServiceComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ServiceComponent

+
+
+
+
    +
  • +
    +
    public interface ServiceComponent
    +
    A Hilt component that has the lifetime of the service.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/ViewComponent.html b/api/2.49/dagger/hilt/android/components/ViewComponent.html new file mode 100644 index 00000000000..8c8ff1605ae --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/ViewComponent.html @@ -0,0 +1,191 @@ + + + + + +ViewComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewComponent

+
+
+
+
    +
  • +
    +
    public interface ViewComponent
    +
    A Hilt component that has the lifetime of the view.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/ViewModelComponent.html b/api/2.49/dagger/hilt/android/components/ViewModelComponent.html new file mode 100644 index 00000000000..9cc9d2fd8e4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/ViewModelComponent.html @@ -0,0 +1,222 @@ + + + + + +ViewModelComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewModelComponent

+
+
+
+
    +
  • +
    +
    public interface ViewModelComponent
    +
    A Hilt component that has the lifetime of a single ViewModel. + +

    This Hilt component is the source of HiltViewModel-annotated ViewModels + used by the dagger.hilt.android.lifecycle.HiltViewModelFactory. It contains a default + binding for the SavedStateHandle associated with the + ViewModel that can be used by other dependencies provided by the component. + +

    Dependencies available in the SingletonComponent and ActivityRetainedComponent are also available in this component since it is a child of + ActivityRetainedComponent. + +

    Example usage: + +

    + @Module
    + @InstallIn(ViewModelComponent.class)
    + public final class ViewModelMovieModule {
    +     @Provides
    +     public static MovieRepository provideRepo(SavedStateHandle handle) {
    +         return new MovieRepository(handle.getString("movie-id"));
    +     }
    + }
    + 
    + +

    Dependencies in the ViewModelComponent can be scoped using the ViewModelScoped + annotation. This allows for a single instance of a dependency to be provided across the + dependencies of a single HiltViewModel-annotated + ViewModel.

    +
    +
    See Also:
    +
    HiltViewModel, +ViewModelScoped
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/ViewWithFragmentComponent.html b/api/2.49/dagger/hilt/android/components/ViewWithFragmentComponent.html new file mode 100644 index 00000000000..2d8ca5e2569 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/ViewWithFragmentComponent.html @@ -0,0 +1,191 @@ + + + + + +ViewWithFragmentComponent + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewWithFragmentComponent

+
+
+
+
    +
  • +
    +
    public interface ViewWithFragmentComponent
    +
    A Hilt component that has the lifetime of the view.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/class-use/ActivityComponent.html b/api/2.49/dagger/hilt/android/components/class-use/ActivityComponent.html new file mode 100644 index 00000000000..a45724e059d --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/ActivityComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.ActivityComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.ActivityComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/class-use/ActivityRetainedComponent.html b/api/2.49/dagger/hilt/android/components/class-use/ActivityRetainedComponent.html new file mode 100644 index 00000000000..46a206af85a --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/ActivityRetainedComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.ActivityRetainedComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.ActivityRetainedComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/class-use/FragmentComponent.html b/api/2.49/dagger/hilt/android/components/class-use/FragmentComponent.html new file mode 100644 index 00000000000..0eaa11ecfa4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/FragmentComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.FragmentComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.FragmentComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/class-use/ServiceComponent.html b/api/2.49/dagger/hilt/android/components/class-use/ServiceComponent.html new file mode 100644 index 00000000000..07c9810aaf1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/ServiceComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.ServiceComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.ServiceComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/class-use/ViewComponent.html b/api/2.49/dagger/hilt/android/components/class-use/ViewComponent.html new file mode 100644 index 00000000000..88c7d71421b --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/ViewComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.ViewComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.ViewComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/class-use/ViewModelComponent.html b/api/2.49/dagger/hilt/android/components/class-use/ViewModelComponent.html new file mode 100644 index 00000000000..83c7621c96a --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/ViewModelComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.ViewModelComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.ViewModelComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/class-use/ViewWithFragmentComponent.html b/api/2.49/dagger/hilt/android/components/class-use/ViewWithFragmentComponent.html new file mode 100644 index 00000000000..f8d8b831291 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/class-use/ViewWithFragmentComponent.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.components.ViewWithFragmentComponent + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.components.ViewWithFragmentComponent

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/components/package-summary.html b/api/2.49/dagger/hilt/android/components/package-summary.html new file mode 100644 index 00000000000..8bae59547d2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/package-summary.html @@ -0,0 +1,213 @@ + + + + + +dagger.hilt.android.components + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.hilt.android.components

+
+
+
+ + +
This package contains Hilt's built-in Components for Android.
+
+
See Also:
+
Hilt Components
+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    ActivityComponent +
    A Hilt component that has the lifetime of the activity.
    +
    ActivityRetainedComponent +
    A Hilt component that has the lifetime of a configuration surviving activity.
    +
    FragmentComponent +
    A Hilt component that has the lifetime of the fragment.
    +
    ServiceComponent +
    A Hilt component that has the lifetime of the service.
    +
    ViewComponent +
    A Hilt component that has the lifetime of the view.
    +
    ViewModelComponent +
    A Hilt component that has the lifetime of a single ViewModel.
    +
    ViewWithFragmentComponent +
    A Hilt component that has the lifetime of the view.
    +
    +
  • +
+
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/package-tree.html b/api/2.49/dagger/hilt/android/components/package-tree.html new file mode 100644 index 00000000000..330767535d2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/package-tree.html @@ -0,0 +1,165 @@ + + + + + +dagger.hilt.android.components Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.hilt.android.components

+Package Hierarchies: + +
+
+
+

Interface Hierarchy

+ +
+
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/components/package-use.html b/api/2.49/dagger/hilt/android/components/package-use.html new file mode 100644 index 00000000000..5418b869b6d --- /dev/null +++ b/api/2.49/dagger/hilt/android/components/package-use.html @@ -0,0 +1,221 @@ + + + + + +Uses of Package dagger.hilt.android.components + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.hilt.android.components

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.DisableFragmentGetContextFix.html b/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.DisableFragmentGetContextFix.html new file mode 100644 index 00000000000..3ff7769586a --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.DisableFragmentGetContextFix.html @@ -0,0 +1,189 @@ + + + + + +FragmentGetContextFix.DisableFragmentGetContextFix + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type FragmentGetContextFix.DisableFragmentGetContextFix

+
+
+
+
    +
  • +
    +
    @Target({METHOD,PARAMETER,FIELD})
    +@Qualifier
    +public static @interface FragmentGetContextFix.DisableFragmentGetContextFix
    +
    Qualifier annotation to bind disable the Fragment.getContext() fix at runtime.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html b/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html new file mode 100644 index 00000000000..c19f64ddeb0 --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +FragmentGetContextFix.FragmentGetContextFixEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface FragmentGetContextFix.FragmentGetContextFixEntryPoint

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    FragmentGetContextFix
    +
    +
    +
    public static interface FragmentGetContextFix.FragmentGetContextFixEntryPoint
    +
    Entry point for getting the flag.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDisableFragmentGetContextFix

        +
        java.util.Set<java.lang.Boolean> getDisableFragmentGetContextFix()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.html b/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.html new file mode 100644 index 00000000000..33a48c9cfcf --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/FragmentGetContextFix.html @@ -0,0 +1,322 @@ + + + + + +FragmentGetContextFix + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class FragmentGetContextFix

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.flags.FragmentGetContextFix
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class FragmentGetContextFix
    +extends java.lang.Object
    +
    Runtime flag for the Fragment.getContext() fix. See https://github.com/google/dagger/pull/2620 + for this change. Controls if fragment code should use the fixed getContext() behavior where it + correctly returns null after a fragment is removed. This fixed behavior matches the behavior of a + regular, non-Hilt fragment and can help catch issues where a removed or leaked fragment is + incorrectly used. + +

    In order to set the flag, bind a boolean value qualified with + FragmentGetContextFix.DisableFragmentGetContextFix into a set in the SingletonComponent. A set is used + instead of an optional binding to avoid a dependency on Guava. Only one value may be bound into + the set within a given app. If this is not set, the default is to not use the fix. Example for + binding the value: + +

    
    + @Module
    + @InstallIn(SingletonComponent.class)
    + public final class DisableFragmentGetContextFixModule {
    +   @Provides
    +   @IntoSet
    +   @FragmentGetContextFix.DisableFragmentGetContextFix
    +   static Boolean provideDisableFragmentGetContextFix() {
    +     return // true or false depending on some rollout logic for your app
    +   }
    + }
    + 
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isFragmentGetContextFixDisabled

        +
        public static boolean isFragmentGetContextFixDisabled​(android.content.Context context)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.DisableFragmentGetContextFix.html b/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.DisableFragmentGetContextFix.html new file mode 100644 index 00000000000..7506c20bdff --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.DisableFragmentGetContextFix.html @@ -0,0 +1,194 @@ + + + + + +Uses of Class dagger.hilt.android.flags.FragmentGetContextFix.DisableFragmentGetContextFix + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.flags.FragmentGetContextFix.DisableFragmentGetContextFix

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html b/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html new file mode 100644 index 00000000000..faffce04b23 --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.FragmentGetContextFixEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.flags.FragmentGetContextFix.FragmentGetContextFixEntryPoint + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.flags.FragmentGetContextFix.FragmentGetContextFixEntryPoint

+
+
No usage of dagger.hilt.android.flags.FragmentGetContextFix.FragmentGetContextFixEntryPoint
+
+ + + diff --git a/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.html b/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.html new file mode 100644 index 00000000000..27a7523da79 --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/class-use/FragmentGetContextFix.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.flags.FragmentGetContextFix + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.flags.FragmentGetContextFix

+
+
No usage of dagger.hilt.android.flags.FragmentGetContextFix
+
+ + + diff --git a/api/2.49/dagger/hilt/android/flags/package-summary.html b/api/2.49/dagger/hilt/android/flags/package-summary.html new file mode 100644 index 00000000000..5234d2f2888 --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/package-summary.html @@ -0,0 +1,215 @@ + + + + + +dagger.hilt.android.flags + + + + + + + + + + + + + + +
+ +
+
+
+

@ParametersAreNonnullByDefault +

+

Package dagger.hilt.android.flags

+
+
+
+ + +
Runtime flags to control Hilt behavior for rollout of changes. These flags are usually meant to + be temporary and so defaults may change with releases and then these flags may eventually be + removed, just like compiler options with similar purposes.
+
+
See Also:
+
Hilt Developer Docs
+
+
+ +
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/flags/package-tree.html b/api/2.49/dagger/hilt/android/flags/package-tree.html new file mode 100644 index 00000000000..5bea705644b --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/package-tree.html @@ -0,0 +1,175 @@ + + + + + +dagger.hilt.android.flags Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.hilt.android.flags

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+ +
+
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/flags/package-use.html b/api/2.49/dagger/hilt/android/flags/package-use.html new file mode 100644 index 00000000000..16b44bd7374 --- /dev/null +++ b/api/2.49/dagger/hilt/android/flags/package-use.html @@ -0,0 +1,187 @@ + + + + + +Uses of Package dagger.hilt.android.flags + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.hilt.android.flags

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/ActivityComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/ActivityComponentBuilder.html new file mode 100644 index 00000000000..620a3d57d1d --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/ActivityComponentBuilder.html @@ -0,0 +1,266 @@ + + + + + +ActivityComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityComponentBuilder

+
+
+
+
    +
  • +
    +
    public interface ActivityComponentBuilder
    +
    Interface for creating an ActivityComponent.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/ActivityRetainedComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/ActivityRetainedComponentBuilder.html new file mode 100644 index 00000000000..323f44272fa --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/ActivityRetainedComponentBuilder.html @@ -0,0 +1,266 @@ + + + + + +ActivityRetainedComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityRetainedComponentBuilder

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/FragmentComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/FragmentComponentBuilder.html new file mode 100644 index 00000000000..c5d2c117651 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/FragmentComponentBuilder.html @@ -0,0 +1,266 @@ + + + + + +FragmentComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface FragmentComponentBuilder

+
+
+
+
    +
  • +
    +
    public interface FragmentComponentBuilder
    +
    Interface for creating a FragmentComponent.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/ServiceComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/ServiceComponentBuilder.html new file mode 100644 index 00000000000..451712b108c --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/ServiceComponentBuilder.html @@ -0,0 +1,266 @@ + + + + + +ServiceComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ServiceComponentBuilder

+
+
+
+
    +
  • +
    +
    public interface ServiceComponentBuilder
    +
    Interface for creating a ServiceComponent.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/ViewComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/ViewComponentBuilder.html new file mode 100644 index 00000000000..9e4c39f5491 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/ViewComponentBuilder.html @@ -0,0 +1,266 @@ + + + + + +ViewComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewComponentBuilder

+
+
+
+
    +
  • +
    +
    public interface ViewComponentBuilder
    +
    Interface for creating a ViewComponent.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/ViewModelComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/ViewModelComponentBuilder.html new file mode 100644 index 00000000000..d255d6a4f9f --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/ViewModelComponentBuilder.html @@ -0,0 +1,281 @@ + + + + + +ViewModelComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewModelComponentBuilder

+
+
+
+
    +
  • +
    +
    public interface ViewModelComponentBuilder
    +
    Interface for creating a ViewModelComponent.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/ViewWithFragmentComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/ViewWithFragmentComponentBuilder.html new file mode 100644 index 00000000000..1e5e900e619 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/ViewWithFragmentComponentBuilder.html @@ -0,0 +1,266 @@ + + + + + +ViewWithFragmentComponentBuilder + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ViewWithFragmentComponentBuilder

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityComponentBuilder.html new file mode 100644 index 00000000000..bfb597912fd --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityComponentBuilder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.ActivityComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.ActivityComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityRetainedComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityRetainedComponentBuilder.html new file mode 100644 index 00000000000..c39932e3e77 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/ActivityRetainedComponentBuilder.html @@ -0,0 +1,192 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.ActivityRetainedComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.ActivityRetainedComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/FragmentComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/FragmentComponentBuilder.html new file mode 100644 index 00000000000..c0bad313e54 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/FragmentComponentBuilder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.FragmentComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.FragmentComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/ServiceComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/ServiceComponentBuilder.html new file mode 100644 index 00000000000..68e0b7d1766 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/ServiceComponentBuilder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.ServiceComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.ServiceComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewComponentBuilder.html new file mode 100644 index 00000000000..f94c9eab6f3 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewComponentBuilder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.ViewComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.ViewComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewModelComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewModelComponentBuilder.html new file mode 100644 index 00000000000..46a409f591a --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewModelComponentBuilder.html @@ -0,0 +1,223 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.ViewModelComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.ViewModelComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewWithFragmentComponentBuilder.html b/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewWithFragmentComponentBuilder.html new file mode 100644 index 00000000000..25fa695c64c --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/class-use/ViewWithFragmentComponentBuilder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.builders.ViewWithFragmentComponentBuilder + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.builders.ViewWithFragmentComponentBuilder

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/builders/package-summary.html b/api/2.49/dagger/hilt/android/internal/builders/package-summary.html new file mode 100644 index 00000000000..a4d698c4afd --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/package-summary.html @@ -0,0 +1,204 @@ + + + + + +dagger.hilt.android.internal.builders + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.hilt.android.internal.builders

+
+
+ +
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/package-tree.html b/api/2.49/dagger/hilt/android/internal/builders/package-tree.html new file mode 100644 index 00000000000..7561f385c37 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/package-tree.html @@ -0,0 +1,165 @@ + + + + + +dagger.hilt.android.internal.builders Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.hilt.android.internal.builders

+Package Hierarchies: + +
+
+
+

Interface Hierarchy

+ +
+
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/builders/package-use.html b/api/2.49/dagger/hilt/android/internal/builders/package-use.html new file mode 100644 index 00000000000..9dc7c5d19be --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/builders/package-use.html @@ -0,0 +1,291 @@ + + + + + +Uses of Package dagger.hilt.android.internal.builders + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.hilt.android.internal.builders

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.ActivityEntryPoint.html b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.ActivityEntryPoint.html new file mode 100644 index 00000000000..eb64549ba3d --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.ActivityEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +DefaultViewModelFactories.ActivityEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface DefaultViewModelFactories.ActivityEntryPoint

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    DefaultViewModelFactories
    +
    +
    +
    public static interface DefaultViewModelFactories.ActivityEntryPoint
    +
    The activity entry point to retrieve the factory.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.FragmentEntryPoint.html b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.FragmentEntryPoint.html new file mode 100644 index 00000000000..6759da560b4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.FragmentEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +DefaultViewModelFactories.FragmentEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface DefaultViewModelFactories.FragmentEntryPoint

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    DefaultViewModelFactories
    +
    +
    +
    public static interface DefaultViewModelFactories.FragmentEntryPoint
    +
    The fragment entry point to retrieve the factory.
    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.InternalFactoryFactory.html b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.InternalFactoryFactory.html new file mode 100644 index 00000000000..8d1e18b9b4b --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.InternalFactoryFactory.html @@ -0,0 +1,227 @@ + + + + + +DefaultViewModelFactories.InternalFactoryFactory + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultViewModelFactories.InternalFactoryFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.InternalFactoryFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    DefaultViewModelFactories
    +
    +
    +
    public static final class DefaultViewModelFactories.InternalFactoryFactory
    +extends java.lang.Object
    +
    Internal factory for the Hilt ViewModel Factory.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.html b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.html new file mode 100644 index 00000000000..f097166cdac --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/DefaultViewModelFactories.html @@ -0,0 +1,339 @@ + + + + + +DefaultViewModelFactories + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultViewModelFactories

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class DefaultViewModelFactories
    +extends java.lang.Object
    +
    Modules and entry points for the default view model factory used by activities and fragments + annotated with @AndroidEntryPoint. + +

    Entry points are used to acquire the factory because injected fields in the generated + activities and fragments are ignored by Dagger when using the transform due to the generated + class not being part of the hierarchy during compile time.

    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static androidx.lifecycle.ViewModelProvider.FactorygetActivityFactory​(androidx.activity.ComponentActivity activity, + androidx.lifecycle.ViewModelProvider.Factory delegateFactory) +
      Retrieves the default view model factory for the activity.
      +
      static androidx.lifecycle.ViewModelProvider.FactorygetFragmentFactory​(androidx.fragment.app.Fragment fragment, + androidx.lifecycle.ViewModelProvider.Factory delegateFactory) +
      Retrieves the default view model factory for the activity.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getActivityFactory

        +
        public static androidx.lifecycle.ViewModelProvider.Factory getActivityFactory​(androidx.activity.ComponentActivity activity,
        +                                                                              androidx.lifecycle.ViewModelProvider.Factory delegateFactory)
        +
        Retrieves the default view model factory for the activity. + +

        Do not use except in Hilt generated code!

        +
      • +
      + + + +
        +
      • +

        getFragmentFactory

        +
        public static androidx.lifecycle.ViewModelProvider.Factory getFragmentFactory​(androidx.fragment.app.Fragment fragment,
        +                                                                              androidx.lifecycle.ViewModelProvider.Factory delegateFactory)
        +
        Retrieves the default view model factory for the activity. + +

        Do not use except in Hilt generated code!

        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelAssistedMap.html b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelAssistedMap.html new file mode 100644 index 00000000000..dc74416be33 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelAssistedMap.html @@ -0,0 +1,191 @@ + + + + + +HiltViewModelAssistedMap + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type HiltViewModelAssistedMap

+
+
+
+
    +
  • +
    +
    @Qualifier
    +@Retention(CLASS)
    +@Target({METHOD,PARAMETER})
    +public @interface HiltViewModelAssistedMap
    +
    Internal qualifier for the multibinding map of assisted factories for @AssistedInject-annotated + ViewModels used by the dagger.hilt.android.lifecycle.HiltViewModelFactory.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html new file mode 100644 index 00000000000..3edbfc67e94 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html @@ -0,0 +1,269 @@ + + + + + +HiltViewModelFactory.ViewModelFactoriesEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface HiltViewModelFactory.ViewModelFactoriesEntryPoint

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    HiltViewModelFactory
    +
    +
    +
    public static interface HiltViewModelFactory.ViewModelFactoriesEntryPoint
    +
    Hilt entry point for getting the multi-binding map of ViewModels.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHiltViewModelMap

        +
        java.util.Map<java.lang.String,​javax.inject.Provider<androidx.lifecycle.ViewModel>> getHiltViewModelMap()
        +
      • +
      + + + +
        +
      • +

        getHiltViewModelAssistedMap

        +
        java.util.Map<java.lang.String,​java.lang.Object> getHiltViewModelAssistedMap()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.html b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.html new file mode 100644 index 00000000000..d5710b56f57 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelFactory.html @@ -0,0 +1,477 @@ + + + + + +HiltViewModelFactory + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class HiltViewModelFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    androidx.lifecycle.ViewModelProvider.Factory
    +
    +
    +
    public final class HiltViewModelFactory
    +extends java.lang.Object
    +implements androidx.lifecycle.ViewModelProvider.Factory
    +
    View Model Provider Factory for the Hilt Extension. + +

    A provider for this factory will be installed in the ActivityComponent and FragmentComponent. An instance of this factory will also be the + default factory by activities and fragments annotated with AndroidEntryPoint.

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static interface HiltViewModelFactory.ViewModelFactoriesEntryPoint +
      Hilt entry point for getting the multi-binding map of ViewModels.
      +
      +
        +
      • + + +

        Nested classes/interfaces inherited from interface androidx.lifecycle.ViewModelProvider.Factory

        +androidx.lifecycle.ViewModelProvider.Factory.Companion
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static androidx.lifecycle.viewmodel.CreationExtras.Key<kotlin.jvm.functions.Function1<java.lang.Object,​androidx.lifecycle.ViewModel>>CREATION_CALLBACK_KEY +
      Creation extra key for the callbacks that create @AssistedInject-annotated ViewModels.
      +
      +
        +
      • + + +

        Fields inherited from interface androidx.lifecycle.ViewModelProvider.Factory

        +Companion
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      HiltViewModelFactory​(java.util.Set<java.lang.String> hiltViewModelKeys, + androidx.lifecycle.ViewModelProvider.Factory delegateFactory, + ViewModelComponentBuilder viewModelComponentBuilder) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      <T extends androidx.lifecycle.ViewModel>
      T
      create​(java.lang.Class<T> modelClass) 
      <T extends androidx.lifecycle.ViewModel>
      T
      create​(java.lang.Class<T> modelClass, + androidx.lifecycle.viewmodel.CreationExtras extras) 
      static androidx.lifecycle.ViewModelProvider.FactorycreateInternal​(android.app.Activity activity, + androidx.lifecycle.ViewModelProvider.Factory delegateFactory) 
      static androidx.lifecycle.ViewModelProvider.FactorycreateInternal​(android.app.Activity activity, + androidx.savedstate.SavedStateRegistryOwner owner, + android.os.Bundle defaultArgs, + androidx.lifecycle.ViewModelProvider.Factory delegateFactory) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        CREATION_CALLBACK_KEY

        +
        public static final androidx.lifecycle.viewmodel.CreationExtras.Key<kotlin.jvm.functions.Function1<java.lang.Object,​androidx.lifecycle.ViewModel>> CREATION_CALLBACK_KEY
        +
        Creation extra key for the callbacks that create @AssistedInject-annotated ViewModels.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HiltViewModelFactory

        +
        public HiltViewModelFactory​(@NonNull
        +                            java.util.Set<java.lang.String> hiltViewModelKeys,
        +                            @NonNull
        +                            androidx.lifecycle.ViewModelProvider.Factory delegateFactory,
        +                            @NonNull
        +                            ViewModelComponentBuilder viewModelComponentBuilder)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        @NonNull
        +public <T extends androidx.lifecycle.ViewModel> T create​(@NonNull
        +                                                         java.lang.Class<T> modelClass,
        +                                                         @NonNull
        +                                                         androidx.lifecycle.viewmodel.CreationExtras extras)
        +
        +
        Specified by:
        +
        create in interface androidx.lifecycle.ViewModelProvider.Factory
        +
        +
      • +
      + + + +
        +
      • +

        create

        +
        @NonNull
        +public <T extends androidx.lifecycle.ViewModel> T create​(@NonNull
        +                                                         java.lang.Class<T> modelClass)
        +
        +
        Specified by:
        +
        create in interface androidx.lifecycle.ViewModelProvider.Factory
        +
        +
      • +
      + + + +
        +
      • +

        createInternal

        +
        public static androidx.lifecycle.ViewModelProvider.Factory createInternal​(@NonNull
        +                                                                          android.app.Activity activity,
        +                                                                          @NonNull
        +                                                                          androidx.savedstate.SavedStateRegistryOwner owner,
        +                                                                          @Nullable
        +                                                                          android.os.Bundle defaultArgs,
        +                                                                          @NonNull
        +                                                                          androidx.lifecycle.ViewModelProvider.Factory delegateFactory)
        +
      • +
      + + + +
        +
      • +

        createInternal

        +
        public static androidx.lifecycle.ViewModelProvider.Factory createInternal​(@NonNull
        +                                                                          android.app.Activity activity,
        +                                                                          @NonNull
        +                                                                          androidx.lifecycle.ViewModelProvider.Factory delegateFactory)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.KeySet.html b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.KeySet.html new file mode 100644 index 00000000000..e453269ddcb --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.KeySet.html @@ -0,0 +1,190 @@ + + + + + +HiltViewModelMap.KeySet + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type HiltViewModelMap.KeySet

+
+
+
+
    +
  • +
    +
    @Qualifier
    +@Retention(CLASS)
    +@Target({METHOD,PARAMETER})
    +public static @interface HiltViewModelMap.KeySet
    +
    Internal qualifier for the multibinding set of class names annotated with @ViewModelInject.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.html b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.html new file mode 100644 index 00000000000..c8568fda35b --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/HiltViewModelMap.html @@ -0,0 +1,190 @@ + + + + + +HiltViewModelMap + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type HiltViewModelMap

+
+
+
+
    +
  • +
    +
    @Qualifier
    +@Retention(CLASS)
    +@Target({METHOD,PARAMETER})
    +public @interface HiltViewModelMap
    +
    Internal qualifier for the multibinding map of ViewModels used by the dagger.hilt.android.lifecycle.HiltViewModelFactory.
    +
  • +
+
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/RetainedLifecycleImpl.html b/api/2.49/dagger/hilt/android/internal/lifecycle/RetainedLifecycleImpl.html new file mode 100644 index 00000000000..3ed69d4fac4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/RetainedLifecycleImpl.html @@ -0,0 +1,386 @@ + + + + + +RetainedLifecycleImpl + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RetainedLifecycleImpl

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.ActivityEntryPoint.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.ActivityEntryPoint.html new file mode 100644 index 00000000000..7a4f7b8c221 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.ActivityEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.ActivityEntryPoint + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.ActivityEntryPoint

+
+
No usage of dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.ActivityEntryPoint
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.FragmentEntryPoint.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.FragmentEntryPoint.html new file mode 100644 index 00000000000..82f16917484 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.FragmentEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.FragmentEntryPoint + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.FragmentEntryPoint

+
+
No usage of dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.FragmentEntryPoint
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.InternalFactoryFactory.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.InternalFactoryFactory.html new file mode 100644 index 00000000000..a99b8f504ed --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.InternalFactoryFactory.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.InternalFactoryFactory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.InternalFactoryFactory

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.html new file mode 100644 index 00000000000..caa2be659ed --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/DefaultViewModelFactories.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories

+
+
No usage of dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelAssistedMap.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelAssistedMap.html new file mode 100644 index 00000000000..3e6c4c58995 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelAssistedMap.html @@ -0,0 +1,192 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.HiltViewModelAssistedMap + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.HiltViewModelAssistedMap

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html new file mode 100644 index 00000000000..9004060626d --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.ViewModelFactoriesEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.ViewModelFactoriesEntryPoint + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.ViewModelFactoriesEntryPoint

+
+
No usage of dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.ViewModelFactoriesEntryPoint
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.html new file mode 100644 index 00000000000..5bbea28585e --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelFactory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.HiltViewModelFactory

+
+
No usage of dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.KeySet.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.KeySet.html new file mode 100644 index 00000000000..9cbfbed7e16 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.KeySet.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet

+
+
No usage of dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.html new file mode 100644 index 00000000000..c8a3b0b8ac6 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/HiltViewModelMap.html @@ -0,0 +1,192 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.HiltViewModelMap + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.HiltViewModelMap

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/RetainedLifecycleImpl.html b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/RetainedLifecycleImpl.html new file mode 100644 index 00000000000..0d30b9f9f18 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/class-use/RetainedLifecycleImpl.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl

+
+
No usage of dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/package-summary.html b/api/2.49/dagger/hilt/android/internal/lifecycle/package-summary.html new file mode 100644 index 00000000000..d7bf9dd4559 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/package-summary.html @@ -0,0 +1,246 @@ + + + + + +dagger.hilt.android.internal.lifecycle + + + + + + + + + + + + + + +
+ +
+
+
+

Package dagger.hilt.android.internal.lifecycle

+
+
+ +
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/package-tree.html b/api/2.49/dagger/hilt/android/internal/lifecycle/package-tree.html new file mode 100644 index 00000000000..a4eaa7bfd92 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/package-tree.html @@ -0,0 +1,182 @@ + + + + + +dagger.hilt.android.internal.lifecycle Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package dagger.hilt.android.internal.lifecycle

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+
    +
  • dagger.hilt.android.internal.lifecycle.HiltViewModelAssistedMap (implements java.lang.annotation.Annotation)
  • +
  • dagger.hilt.android.internal.lifecycle.HiltViewModelMap (implements java.lang.annotation.Annotation)
  • +
  • dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet (implements java.lang.annotation.Annotation)
  • +
+
+
+
+
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/lifecycle/package-use.html b/api/2.49/dagger/hilt/android/internal/lifecycle/package-use.html new file mode 100644 index 00000000000..a67e2989ad8 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/lifecycle/package-use.html @@ -0,0 +1,198 @@ + + + + + +Uses of Package dagger.hilt.android.internal.lifecycle + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
dagger.hilt.android.internal.lifecycle

+
+
+ +
+
+ + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..7bbc119dad8 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +ActivityComponentManager.ActivityComponentBuilderEntryPoint + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ActivityComponentManager.ActivityComponentBuilderEntryPoint

+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ +
+ + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.html new file mode 100644 index 00000000000..8b4bf0bb902 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ActivityComponentManager.html @@ -0,0 +1,417 @@ + + + + + +ActivityComponentManager + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ActivityComponentManager

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • dagger.hilt.android.internal.managers.ActivityComponentManager
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
    +
    +
    +
    public class ActivityComponentManager
    +extends java.lang.Object
    +implements dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
    +
    Do not use except in Hilt generated code! + +

    A manager for the creation of components that live in the Activity. + +

    Note: This class is not typed since its type in generated code is always or . This + is mainly due to the fact that we don't know the components at the time of generation, and + because even the injector interface type is not a valid type if we have a hilt base class. + + + +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          activity

          +
          protected final android.app.Activity activity
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ActivityComponentManager

          +
          public ActivityComponentManager​(android.app.Activity activity)
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          generatedComponent

          +
          public java.lang.Object generatedComponent()
          +
          +
          Specified by:
          +
          generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
          +
          +
        • +
        + + + + + + + +
          +
        • +

          createComponent

          +
          protected java.lang.Object createComponent()
          +
        • +
        +
      • +
      +
      +
    • +
    +
    + + + + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ApplicationComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/ApplicationComponentManager.html new file mode 100644 index 00000000000..0f665d4a3a9 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ApplicationComponentManager.html @@ -0,0 +1,318 @@ + + + + + +ApplicationComponentManager + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class ApplicationComponentManager

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • dagger.hilt.android.internal.managers.ApplicationComponentManager
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
      +
      +
      +
      public final class ApplicationComponentManager
      +extends java.lang.Object
      +implements dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
      +
      Do not use except in Hilt generated code! + +

      A manager for the creation of components that live in the Application.

      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ApplicationComponentManager

          +
          public ApplicationComponentManager​(ComponentSupplier componentCreator)
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          generatedComponent

          +
          public java.lang.Object generatedComponent()
          +
          +
          Specified by:
          +
          generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/BroadcastReceiverComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/BroadcastReceiverComponentManager.html new file mode 100644 index 00000000000..e29d4d1e6d3 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/BroadcastReceiverComponentManager.html @@ -0,0 +1,269 @@ + + + + + +BroadcastReceiverComponentManager + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class BroadcastReceiverComponentManager

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • dagger.hilt.android.internal.managers.BroadcastReceiverComponentManager
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public final class BroadcastReceiverComponentManager
      +extends java.lang.Object
      +
      Do not use except in Hilt generated code! + +

      A manager for the creation of components that live in the BroadcastReceiver.

      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + +
        All Methods Static Methods Concrete Methods 
        Modifier and TypeMethodDescription
        static java.lang.ObjectgeneratedComponent​(android.content.Context context) 
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          generatedComponent

          +
          public static java.lang.Object generatedComponent​(android.content.Context context)
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ComponentSupplier.html b/api/2.49/dagger/hilt/android/internal/managers/ComponentSupplier.html new file mode 100644 index 00000000000..3773d6af323 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ComponentSupplier.html @@ -0,0 +1,253 @@ + + + + + +ComponentSupplier + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Interface ComponentSupplier

    +
    +
    +
    +
      +
    • +
      +
      public interface ComponentSupplier
      +
      Interface for supplying a component. This is separate from the Supplier interface so that + optimizers can strip this method (and therefore all the Dagger code) from the main dex even if a + Supplier is referenced in code kept in the main dex.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          get

          +
          java.lang.Object get()
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + +
    + +
    + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..ed974aa31e1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +FragmentComponentManager.FragmentComponentBuilderEntryPoint + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Interface FragmentComponentManager.FragmentComponentBuilderEntryPoint

    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + +
    + +
    + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.html new file mode 100644 index 00000000000..f121cb46b65 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/FragmentComponentManager.html @@ -0,0 +1,427 @@ + + + + + +FragmentComponentManager + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class FragmentComponentManager

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • dagger.hilt.android.internal.managers.FragmentComponentManager
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
      +
      +
      +
      public class FragmentComponentManager
      +extends java.lang.Object
      +implements dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
      +
      Do not use except in Hilt generated code! + +

      A manager for the creation of components that live in the Fragment. + +

      Note: This class is not typed since its type in generated code is always or . This + is mainly due to the fact that we don't know the components at the time of generation, and + because even the injector interface type is not a valid type if we have a hilt base class. + + + +
      +
        +
      • + +
        + +
        + +
        +
          +
        • + + +

          Constructor Summary

          + + + + + + + + + + +
          Constructors 
          ConstructorDescription
          FragmentComponentManager​(androidx.fragment.app.Fragment fragment) 
          +
        • +
        +
        + +
        +
          +
        • + + +

          Method Summary

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          All Methods Static Methods Instance Methods Concrete Methods 
          Modifier and TypeMethodDescription
          static android.content.ContextWrappercreateContextWrapper​(android.content.Context base, + androidx.fragment.app.Fragment fragment) 
          static android.content.ContextWrappercreateContextWrapper​(android.view.LayoutInflater baseInflater, + androidx.fragment.app.Fragment fragment) 
          static android.content.ContextfindActivity​(android.content.Context context) 
          java.lang.ObjectgeneratedComponent() 
          static voidinitializeArguments​(androidx.fragment.app.Fragment fragment) +
          Returns the fragments bundle, creating a new one if none exists.
          +
          protected voidvalidate​(androidx.fragment.app.Fragment fragment) +
          Called immediately before component creation to allow validation on the Fragment.
          +
          +
            +
          • + + +

            Methods inherited from class java.lang.Object

            +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • +
          +
        • +
        +
        +
      • +
      +
      +
      +
        +
      • + +
        +
          +
        • + + +

          Constructor Detail

          + + + +
            +
          • +

            FragmentComponentManager

            +
            public FragmentComponentManager​(androidx.fragment.app.Fragment fragment)
            +
          • +
          +
        • +
        +
        + +
        +
          +
        • + + +

          Method Detail

          + + + +
            +
          • +

            generatedComponent

            +
            public java.lang.Object generatedComponent()
            +
            +
            Specified by:
            +
            generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
            +
            +
          • +
          + + + +
            +
          • +

            initializeArguments

            +
            public static final void initializeArguments​(androidx.fragment.app.Fragment fragment)
            +
            Returns the fragments bundle, creating a new one if none exists.
            +
          • +
          + + + +
            +
          • +

            findActivity

            +
            public static final android.content.Context findActivity​(android.content.Context context)
            +
          • +
          + + + +
            +
          • +

            createContextWrapper

            +
            public static android.content.ContextWrapper createContextWrapper​(android.content.Context base,
            +                                                                  androidx.fragment.app.Fragment fragment)
            +
          • +
          + + + +
            +
          • +

            createContextWrapper

            +
            public static android.content.ContextWrapper createContextWrapper​(android.view.LayoutInflater baseInflater,
            +                                                                  androidx.fragment.app.Fragment fragment)
            +
          • +
          + + + +
            +
          • +

            validate

            +
            protected void validate​(androidx.fragment.app.Fragment fragment)
            +
            Called immediately before component creation to allow validation on the Fragment.
            +
          • +
          +
        • +
        +
        +
      • +
      +
      + + + + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/SavedStateHandleHolder.html b/api/2.49/dagger/hilt/android/internal/managers/SavedStateHandleHolder.html new file mode 100644 index 00000000000..5ffb9b5fae7 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/SavedStateHandleHolder.html @@ -0,0 +1,295 @@ + + + + + +SavedStateHandleHolder + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +

      Class SavedStateHandleHolder

      +
      +
      +
        +
      • java.lang.Object
      • +
      • +
          +
        • dagger.hilt.android.internal.managers.SavedStateHandleHolder
        • +
        +
      • +
      +
      +
        +
      • +
        +
        public final class SavedStateHandleHolder
        +extends java.lang.Object
        +
        Implementation for SavedStateHandleHolder.
        +
      • +
      +
      +
      +
        +
      • + +
        +
          +
        • + + +

          Method Summary

          + + + + + + + + + + + + + + + + + + + + + + +
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethodDescription
          voidclear() 
          booleanisInvalid() 
          voidsetExtras​(androidx.lifecycle.viewmodel.CreationExtras extras) 
          +
            +
          • + + +

            Methods inherited from class java.lang.Object

            +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • +
          +
        • +
        +
        +
      • +
      +
      +
      +
        +
      • + +
        +
          +
        • + + +

          Method Detail

          + + + +
            +
          • +

            clear

            +
            public void clear()
            +
          • +
          + + + +
            +
          • +

            setExtras

            +
            public void setExtras​(androidx.lifecycle.viewmodel.CreationExtras extras)
            +
          • +
          + + + +
            +
          • +

            isInvalid

            +
            public boolean isInvalid()
            +
          • +
          +
        • +
        +
        +
      • +
      +
      +
      +
      + +
      + +
      + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..10d823b3e14 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +ServiceComponentManager.ServiceComponentBuilderEntryPoint + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +

      Interface ServiceComponentManager.ServiceComponentBuilderEntryPoint

      +
      +
      +
      + +
      +
      + +
      +
      + +
      +
      +
      + +
      + +
      + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.html new file mode 100644 index 00000000000..81e6accecbd --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ServiceComponentManager.html @@ -0,0 +1,347 @@ + + + + + +ServiceComponentManager + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +

      Class ServiceComponentManager

      +
      +
      +
        +
      • java.lang.Object
      • +
      • +
          +
        • dagger.hilt.android.internal.managers.ServiceComponentManager
        • +
        +
      • +
      +
      +
        +
      • +
        +
        All Implemented Interfaces:
        +
        dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
        +
        +
        +
        public final class ServiceComponentManager
        +extends java.lang.Object
        +implements dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
        +
        Do not use except in Hilt generated code! + +

        A manager for the creation of components that live in the Service. + +

        Note: This class is not typed since its type in generated code is always or . This + is mainly due to the fact that we don't know the components at the time of generation, and + because even the injector interface type is not a valid type if we have a hilt base class. + + + +
        + +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Constructor Detail

            + + + +
              +
            • +

              ServiceComponentManager

              +
              public ServiceComponentManager​(android.app.Service service)
              +
            • +
            +
          • +
          +
          + +
          +
            +
          • + + +

            Method Detail

            + + + +
              +
            • +

              generatedComponent

              +
              public java.lang.Object generatedComponent()
              +
              +
              Specified by:
              +
              generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
              +
              +
            • +
            +
          • +
          +
          +
        • +
        +
        + + + + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.FragmentContextWrapper.html b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.FragmentContextWrapper.html new file mode 100644 index 00000000000..aed239ffab3 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.FragmentContextWrapper.html @@ -0,0 +1,318 @@ + + + + + +ViewComponentManager.FragmentContextWrapper + + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Class ViewComponentManager.FragmentContextWrapper

        +
        +
        +
          +
        • java.lang.Object
        • +
        • +
            +
          • android.content.Context
          • +
          • +
              +
            • android.content.ContextWrapper
            • +
            • +
                +
              • dagger.hilt.android.internal.managers.ViewComponentManager.FragmentContextWrapper
              • +
              +
            • +
            +
          • +
          +
        • +
        +
        +
          +
        • +
          +
          Enclosing class:
          +
          ViewComponentManager
          +
          +
          +
          public static final class ViewComponentManager.FragmentContextWrapper
          +extends android.content.ContextWrapper
          +
          Do not use except in Hilt generated code! + +

          A wrapper class to expose the Fragment to the views they're inflating.

          +
        • +
        +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Field Summary

            +
              +
            • + + +

              Fields inherited from class android.content.Context

              +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
            • +
            +
          • +
          +
          + +
          +
            +
          • + + +

            Method Summary

            + + + + + + + + + + + + +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethodDescription
            java.lang.ObjectgetSystemService​(java.lang.String name) 
            +
              +
            • + + +

              Methods inherited from class android.content.ContextWrapper

              +attachBaseContext, bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getResources, getSharedPreferences, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
            • +
            +
              +
            • + + +

              Methods inherited from class android.content.Context

              +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, sendBroadcastWithMultiplePermissions, unregisterComponentCallbacks
            • +
            +
              +
            • + + +

              Methods inherited from class java.lang.Object

              +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
            • +
            +
          • +
          +
          +
        • +
        +
        +
        +
          +
        • + +
          +
            +
          • + + +

            Method Detail

            + + + +
              +
            • +

              getSystemService

              +
              public java.lang.Object getSystemService​(java.lang.String name)
              +
              +
              Overrides:
              +
              getSystemService in class android.content.ContextWrapper
              +
              +
            • +
            +
          • +
          +
          +
        • +
        +
        +
        +
        + + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..1cd4b590c15 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewComponentBuilderEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +ViewComponentManager.ViewComponentBuilderEntryPoint + + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Interface ViewComponentManager.ViewComponentBuilderEntryPoint

        +
        +
        +
        + +
        +
        + +
        +
        + +
        +
        +
        + +
        + +
        + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..5c6e90b8daf --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html @@ -0,0 +1,255 @@ + + + + + +ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint + + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Interface ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint

        +
        +
        +
        + +
        +
        + +
        +
        + +
        +
        +
        + +
        + +
        + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.html new file mode 100644 index 00000000000..9287c240b19 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/ViewComponentManager.html @@ -0,0 +1,377 @@ + + + + + +ViewComponentManager + + + + + + + + + + + + + + +
        + +
        + +
        +
        + +

        Class ViewComponentManager

        +
        +
        +
          +
        • java.lang.Object
        • +
        • +
            +
          • dagger.hilt.android.internal.managers.ViewComponentManager
          • +
          +
        • +
        +
        +
          +
        • +
          +
          All Implemented Interfaces:
          +
          dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
          +
          +
          +
          public final class ViewComponentManager
          +extends java.lang.Object
          +implements dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
          +
          Do not use except in Hilt generated code! + +

          A manager for the creation of components that live in the View. + +

          Note: This class is not typed since its type in generated code is always or . This + is mainly due to the fact that we don't know the components at the time of generation, and + because even the injector interface type is not a valid type if we have a hilt base class. + + + +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                ViewComponentManager

                +
                public ViewComponentManager​(android.view.View view,
                +                            boolean hasFragmentBindings)
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                generatedComponent

                +
                public java.lang.Object generatedComponent()
                +
                +
                Specified by:
                +
                generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
                +
                +
              • +
              + + + +
                +
              • +

                maybeGetParentComponentManager

                +
                public dagger.hilt.internal.GeneratedComponentManager<?> maybeGetParentComponentManager()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          + + + + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..4b06c2c8e06 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.ActivityComponentBuilderEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.managers.ActivityComponentManager.ActivityComponentBuilderEntryPoint + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.managers.ActivityComponentManager.ActivityComponentBuilderEntryPoint

          +
          +
          No usage of dagger.hilt.android.internal.managers.ActivityComponentManager.ActivityComponentBuilderEntryPoint
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.html new file mode 100644 index 00000000000..3fdd1dd7e24 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ActivityComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.ActivityComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.ActivityComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.managers.ActivityComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ApplicationComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ApplicationComponentManager.html new file mode 100644 index 00000000000..030cd48b8de --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ApplicationComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.ApplicationComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.ApplicationComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.managers.ApplicationComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/BroadcastReceiverComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/BroadcastReceiverComponentManager.html new file mode 100644 index 00000000000..c5778c672ad --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/BroadcastReceiverComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.BroadcastReceiverComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.BroadcastReceiverComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.managers.BroadcastReceiverComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ComponentSupplier.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ComponentSupplier.html new file mode 100644 index 00000000000..d1af11e5bd0 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ComponentSupplier.html @@ -0,0 +1,190 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.managers.ComponentSupplier + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.managers.ComponentSupplier

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..8917dd61fd9 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.FragmentComponentBuilderEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.managers.FragmentComponentManager.FragmentComponentBuilderEntryPoint + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.managers.FragmentComponentManager.FragmentComponentBuilderEntryPoint

          +
          +
          No usage of dagger.hilt.android.internal.managers.FragmentComponentManager.FragmentComponentBuilderEntryPoint
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.html new file mode 100644 index 00000000000..c7e4ac558de --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/FragmentComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.FragmentComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.FragmentComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.managers.FragmentComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/SavedStateHandleHolder.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/SavedStateHandleHolder.html new file mode 100644 index 00000000000..90d776ddfca --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/SavedStateHandleHolder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.SavedStateHandleHolder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.SavedStateHandleHolder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..df9259556e1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.ServiceComponentBuilderEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.managers.ServiceComponentManager.ServiceComponentBuilderEntryPoint + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.managers.ServiceComponentManager.ServiceComponentBuilderEntryPoint

          +
          +
          No usage of dagger.hilt.android.internal.managers.ServiceComponentManager.ServiceComponentBuilderEntryPoint
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.html new file mode 100644 index 00000000000..305e1d05dc8 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ServiceComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.ServiceComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.ServiceComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.managers.ServiceComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.FragmentContextWrapper.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.FragmentContextWrapper.html new file mode 100644 index 00000000000..671762f5c76 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.FragmentContextWrapper.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.ViewComponentManager.FragmentContextWrapper + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.ViewComponentManager.FragmentContextWrapper

          +
          +
          No usage of dagger.hilt.android.internal.managers.ViewComponentManager.FragmentContextWrapper
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..46545d0919c --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewComponentBuilderEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.managers.ViewComponentManager.ViewComponentBuilderEntryPoint + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.managers.ViewComponentManager.ViewComponentBuilderEntryPoint

          +
          +
          No usage of dagger.hilt.android.internal.managers.ViewComponentManager.ViewComponentBuilderEntryPoint
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html new file mode 100644 index 00000000000..cc8d79dfc90 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.managers.ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.managers.ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint

          +
          +
          No usage of dagger.hilt.android.internal.managers.ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.html b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.html new file mode 100644 index 00000000000..5c44f34029a --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/class-use/ViewComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.managers.ViewComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.managers.ViewComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.managers.ViewComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/package-summary.html b/api/2.49/dagger/hilt/android/internal/managers/package-summary.html new file mode 100644 index 00000000000..6240046ae08 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/package-summary.html @@ -0,0 +1,257 @@ + + + + + +dagger.hilt.android.internal.managers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.android.internal.managers

          +
          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/package-tree.html b/api/2.49/dagger/hilt/android/internal/managers/package-tree.html new file mode 100644 index 00000000000..0605d564c59 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/package-tree.html @@ -0,0 +1,189 @@ + + + + + +dagger.hilt.android.internal.managers Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.internal.managers

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/managers/package-use.html b/api/2.49/dagger/hilt/android/internal/managers/package-use.html new file mode 100644 index 00000000000..ca166eec5f2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/managers/package-use.html @@ -0,0 +1,214 @@ + + + + + +Uses of Package dagger.hilt.android.internal.managers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.internal.managers

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/HasCustomInject.html b/api/2.49/dagger/hilt/android/internal/migration/HasCustomInject.html new file mode 100644 index 00000000000..3d9a50ba82e --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/HasCustomInject.html @@ -0,0 +1,252 @@ + + + + + +HasCustomInject + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface HasCustomInject

          +
          +
          +
          +
            +
          • +
            +
            public interface HasCustomInject
            +
            Do not use except in Hilt generated code. Internal interface for application's using + CustomInject.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                customInject

                +
                void customInject()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/InjectedByHilt.html b/api/2.49/dagger/hilt/android/internal/migration/InjectedByHilt.html new file mode 100644 index 00000000000..129417fe865 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/InjectedByHilt.html @@ -0,0 +1,254 @@ + + + + + +InjectedByHilt + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface InjectedByHilt

          +
          +
          +
          +
            +
          • +
            +
            public interface InjectedByHilt
            +
            Do not use except in Hilt generated code!
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                wasInjectedByHilt

                +
                boolean wasInjectedByHilt()
                +
                Returns true if this class was injected by Hilt.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/class-use/HasCustomInject.html b/api/2.49/dagger/hilt/android/internal/migration/class-use/HasCustomInject.html new file mode 100644 index 00000000000..2491ded01d8 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/class-use/HasCustomInject.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.migration.HasCustomInject + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.migration.HasCustomInject

          +
          +
          No usage of dagger.hilt.android.internal.migration.HasCustomInject
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/class-use/InjectedByHilt.html b/api/2.49/dagger/hilt/android/internal/migration/class-use/InjectedByHilt.html new file mode 100644 index 00000000000..9c7ec68b300 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/class-use/InjectedByHilt.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.migration.InjectedByHilt + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.migration.InjectedByHilt

          +
          +
          No usage of dagger.hilt.android.internal.migration.InjectedByHilt
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/package-summary.html b/api/2.49/dagger/hilt/android/internal/migration/package-summary.html new file mode 100644 index 00000000000..6f2ef967468 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/package-summary.html @@ -0,0 +1,174 @@ + + + + + +dagger.hilt.android.internal.migration + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.android.internal.migration

          +
          +
          +
            +
          • + + + + + + + + + + + + + + + + +
            Interface Summary 
            InterfaceDescription
            HasCustomInject +
            Do not use except in Hilt generated code.
            +
            InjectedByHilt +
            Do not use except in Hilt generated code!
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/package-tree.html b/api/2.49/dagger/hilt/android/internal/migration/package-tree.html new file mode 100644 index 00000000000..b23f211c014 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/package-tree.html @@ -0,0 +1,160 @@ + + + + + +dagger.hilt.android.internal.migration Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.internal.migration

          +Package Hierarchies: + +
          +
          +
          +

          Interface Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/migration/package-use.html b/api/2.49/dagger/hilt/android/internal/migration/package-use.html new file mode 100644 index 00000000000..9cac5601f25 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/migration/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.android.internal.migration + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.internal.migration

          +
          +
          No usage of dagger.hilt.android.internal.migration
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/modules/ApplicationContextModule.html b/api/2.49/dagger/hilt/android/internal/modules/ApplicationContextModule.html new file mode 100644 index 00000000000..c4729ddfdbe --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/modules/ApplicationContextModule.html @@ -0,0 +1,270 @@ + + + + + +ApplicationContextModule + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ApplicationContextModule

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.internal.modules.ApplicationContextModule
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @Module
            +public final class ApplicationContextModule
            +extends java.lang.Object
            +
            Provides a binding for an Android BinderFragment Context.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              ApplicationContextModule​(android.content.Context applicationContext) 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                ApplicationContextModule

                +
                public ApplicationContextModule​(android.content.Context applicationContext)
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/modules/class-use/ApplicationContextModule.html b/api/2.49/dagger/hilt/android/internal/modules/class-use/ApplicationContextModule.html new file mode 100644 index 00000000000..16f16395bd1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/modules/class-use/ApplicationContextModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.modules.ApplicationContextModule + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.modules.ApplicationContextModule

          +
          +
          No usage of dagger.hilt.android.internal.modules.ApplicationContextModule
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/modules/package-summary.html b/api/2.49/dagger/hilt/android/internal/modules/package-summary.html new file mode 100644 index 00000000000..97ced1939d1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/modules/package-summary.html @@ -0,0 +1,168 @@ + + + + + +dagger.hilt.android.internal.modules + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.android.internal.modules

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Class Summary 
            ClassDescription
            ApplicationContextModule +
            Provides a binding for an Android BinderFragment Context.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/modules/package-tree.html b/api/2.49/dagger/hilt/android/internal/modules/package-tree.html new file mode 100644 index 00000000000..f78bdcf3a82 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/modules/package-tree.html @@ -0,0 +1,163 @@ + + + + + +dagger.hilt.android.internal.modules Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.internal.modules

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/modules/package-use.html b/api/2.49/dagger/hilt/android/internal/modules/package-use.html new file mode 100644 index 00000000000..2d0a2504626 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/modules/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.android.internal.modules + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.internal.modules

          +
          +
          No usage of dagger.hilt.android.internal.modules
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/EarlySingletonComponentCreator.html b/api/2.49/dagger/hilt/android/internal/testing/EarlySingletonComponentCreator.html new file mode 100644 index 00000000000..e86b7cb2679 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/EarlySingletonComponentCreator.html @@ -0,0 +1,269 @@ + + + + + +EarlySingletonComponentCreator + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class EarlySingletonComponentCreator

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.internal.testing.EarlySingletonComponentCreator
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class EarlySingletonComponentCreator
            +extends java.lang.Object
            +
            Creates a test's early component.
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                EarlySingletonComponentCreator

                +
                public EarlySingletonComponentCreator()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/InternalTestRoot.html b/api/2.49/dagger/hilt/android/internal/testing/InternalTestRoot.html new file mode 100644 index 00000000000..77f0d255b5f --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/InternalTestRoot.html @@ -0,0 +1,268 @@ + + + + + +InternalTestRoot + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type InternalTestRoot

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(TYPE)
            +public @interface InternalTestRoot
            +
            Annotation that generates a Hilt test application.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<? extends android.app.Application>applicationBaseClass +
              Returns the base Application class.
              +
              java.lang.Class<?>testClass +
              Returns the test class.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                testClass

                +
                java.lang.Class<?> testClass
                +
                Returns the test class.
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + +
                +
              • +

                applicationBaseClass

                +
                java.lang.Class<? extends android.app.Application> applicationBaseClass
                +
                Returns the base Application class.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/MarkThatRulesRanRule.html b/api/2.49/dagger/hilt/android/internal/testing/MarkThatRulesRanRule.html new file mode 100644 index 00000000000..0aea50642fa --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/MarkThatRulesRanRule.html @@ -0,0 +1,363 @@ + + + + + +MarkThatRulesRanRule + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class MarkThatRulesRanRule

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.internal.testing.MarkThatRulesRanRule
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            org.junit.rules.TestRule
            +
            +
            +
            public final class MarkThatRulesRanRule
            +extends java.lang.Object
            +implements org.junit.rules.TestRule
            +
            A Junit TestRule that's installed in all Hilt tests. + +

            This rule enforces that a Hilt TestRule has run. The Dagger component will not be created + without this test rule.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              MarkThatRulesRanRule​(java.lang.Object testInstance) 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              org.junit.runners.model.Statementapply​(org.junit.runners.model.Statement base, + org.junit.runner.Description description) 
              voidcomponentReady() 
              voiddelayComponentReady() 
              voidinject() 
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                MarkThatRulesRanRule

                +
                public MarkThatRulesRanRule​(java.lang.Object testInstance)
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                delayComponentReady

                +
                public void delayComponentReady()
                +
              • +
              + + + +
                +
              • +

                componentReady

                +
                public void componentReady()
                +
              • +
              + + + +
                +
              • +

                inject

                +
                public void inject()
                +
              • +
              + + + +
                +
              • +

                apply

                +
                public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                +                                               org.junit.runner.Description description)
                +
                +
                Specified by:
                +
                apply in interface org.junit.rules.TestRule
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManager.html b/api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManager.html new file mode 100644 index 00000000000..696664fc72a --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManager.html @@ -0,0 +1,403 @@ + + + + + +TestApplicationComponentManager + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class TestApplicationComponentManager

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.internal.testing.TestApplicationComponentManager
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            OnComponentReadyRunner.OnComponentReadyRunnerHolder, dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>, dagger.hilt.internal.TestSingletonComponentManager
            +
            +
            +
            public final class TestApplicationComponentManager
            +extends java.lang.Object
            +implements dagger.hilt.internal.TestSingletonComponentManager, OnComponentReadyRunner.OnComponentReadyRunnerHolder
            +
            Do not use except in Hilt generated code! + +

            A manager for the creation of components that live in the test Application.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                TestApplicationComponentManager

                +
                public TestApplicationComponentManager​(android.app.Application application)
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                earlySingletonComponent

                +
                public java.lang.Object earlySingletonComponent()
                +
                +
                Specified by:
                +
                earlySingletonComponent in interface dagger.hilt.internal.TestSingletonComponentManager
                +
                +
              • +
              + + + +
                +
              • +

                generatedComponent

                +
                public java.lang.Object generatedComponent()
                +
                +
                Specified by:
                +
                generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
                +
                +
              • +
              + + + + + + + +
                +
              • +

                getDescription

                +
                public org.junit.runner.Description getDescription()
                +
              • +
              + + + +
                +
              • +

                getTestInstance

                +
                public java.lang.Object getTestInstance()
                +
              • +
              + + + + + +
                +
              • +

                registerModule

                +
                public <T> void registerModule​(java.lang.Class<T> moduleClass,
                +                               T module)
                +
                For framework use only! This method should be called when a required module is installed.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManagerHolder.html b/api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManagerHolder.html new file mode 100644 index 00000000000..c438a6c8e0e --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/TestApplicationComponentManagerHolder.html @@ -0,0 +1,230 @@ + + + + + +TestApplicationComponentManagerHolder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface TestApplicationComponentManagerHolder

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>, dagger.hilt.internal.GeneratedComponentManagerHolder
            +
            +
            +
            All Known Implementing Classes:
            +
            HiltTestApplication
            +
            +
            +
            public interface TestApplicationComponentManagerHolder
            +extends dagger.hilt.internal.GeneratedComponentManagerHolder
            +
            For use by Hilt internally only! Returns the component manager.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              +
                +
              • + + +

                Methods inherited from interface dagger.hilt.internal.GeneratedComponentManager

                +generatedComponent
              • +
              +
                +
              • + + +

                Methods inherited from interface dagger.hilt.internal.GeneratedComponentManagerHolder

                +componentManager
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/TestComponentData.ComponentSupplier.html b/api/2.49/dagger/hilt/android/internal/testing/TestComponentData.ComponentSupplier.html new file mode 100644 index 00000000000..dbaa12a68ff --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/TestComponentData.ComponentSupplier.html @@ -0,0 +1,259 @@ + + + + + +TestComponentData.ComponentSupplier + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface TestComponentData.ComponentSupplier

          +
          +
          +
          +
            +
          • +
            +
            Enclosing class:
            +
            TestComponentData
            +
            +
            +
            public static interface TestComponentData.ComponentSupplier
            +
            Returns the component using the given registered modules.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              java.lang.Objectget​(java.util.Map<java.lang.Class<?>,​?> registeredModules, + java.lang.Object testInstance, + java.lang.Boolean autoAddModule) 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                get

                +
                java.lang.Object get​(java.util.Map<java.lang.Class<?>,​?> registeredModules,
                +                     java.lang.Object testInstance,
                +                     java.lang.Boolean autoAddModule)
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/TestComponentData.html b/api/2.49/dagger/hilt/android/internal/testing/TestComponentData.html new file mode 100644 index 00000000000..a1833f9d92c --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/TestComponentData.html @@ -0,0 +1,413 @@ + + + + + +TestComponentData + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class TestComponentData

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.internal.testing.TestComponentData
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public final class TestComponentData
            +extends java.lang.Object
            +
            Contains the data needed to create a test's component.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                TestComponentData

                +
                public TestComponentData​(boolean waitForBindValue,
                +                         TestInjector<java.lang.Object> testInjector,
                +                         java.util.Set<java.lang.Class<?>> daggerRequiredModules,
                +                         java.util.Set<java.lang.Class<?>> hiltRequiredModules,
                +                         TestComponentData.ComponentSupplier componentSupplier)
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + + + + + +
                +
              • +

                daggerRequiredModules

                +
                public java.util.Set<java.lang.Class<?>> daggerRequiredModules()
                +
                Returns the set of modules that Dagger cannot create instances of itself
                +
              • +
              + + + +
                +
              • +

                hiltRequiredModules

                +
                public java.util.Set<java.lang.Class<?>> hiltRequiredModules()
                +
                Returns a subset of daggerRequiredModules that filters out the modules Hilt can + instantiate itself.
                +
              • +
              + + + +
                +
              • +

                waitForBindValue

                +
                public boolean waitForBindValue()
                +
                Returns true if creation of the component needs to wait for bind() to be called.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/TestComponentDataSupplier.html b/api/2.49/dagger/hilt/android/internal/testing/TestComponentDataSupplier.html new file mode 100644 index 00000000000..680b201f6d2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/TestComponentDataSupplier.html @@ -0,0 +1,310 @@ + + + + + +TestComponentDataSupplier + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class TestComponentDataSupplier

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.internal.testing.TestComponentDataSupplier
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class TestComponentDataSupplier
            +extends java.lang.Object
            +
            Stores the TestComponentData for a Hilt test class.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                TestComponentDataSupplier

                +
                public TestComponentDataSupplier()
                +
              • +
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/TestInjector.html b/api/2.49/dagger/hilt/android/internal/testing/TestInjector.html new file mode 100644 index 00000000000..aab0fb15d3c --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/TestInjector.html @@ -0,0 +1,253 @@ + + + + + +TestInjector + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface TestInjector<T>

          +
          +
          +
          +
            +
          • +
            +
            public interface TestInjector<T>
            +
            Interface to expose a method for members injection for use in tests.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + +
                +
              • +

                injectTest

                +
                void injectTest​(T t)
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/EarlySingletonComponentCreator.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/EarlySingletonComponentCreator.html new file mode 100644 index 00000000000..8c155a5ba2b --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/EarlySingletonComponentCreator.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.testing.EarlySingletonComponentCreator + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.testing.EarlySingletonComponentCreator

          +
          +
          No usage of dagger.hilt.android.internal.testing.EarlySingletonComponentCreator
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/InternalTestRoot.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/InternalTestRoot.html new file mode 100644 index 00000000000..3624b70bfdf --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/InternalTestRoot.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.testing.InternalTestRoot + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.testing.InternalTestRoot

          +
          +
          No usage of dagger.hilt.android.internal.testing.InternalTestRoot
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/MarkThatRulesRanRule.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/MarkThatRulesRanRule.html new file mode 100644 index 00000000000..05e7b6073c2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/MarkThatRulesRanRule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.testing.MarkThatRulesRanRule + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.testing.MarkThatRulesRanRule

          +
          +
          No usage of dagger.hilt.android.internal.testing.MarkThatRulesRanRule
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManager.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManager.html new file mode 100644 index 00000000000..846cbfba4cb --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManager.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.testing.TestApplicationComponentManager + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.testing.TestApplicationComponentManager

          +
          +
          No usage of dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManagerHolder.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManagerHolder.html new file mode 100644 index 00000000000..751863ac39d --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestApplicationComponentManagerHolder.html @@ -0,0 +1,196 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.testing.TestApplicationComponentManagerHolder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.testing.TestApplicationComponentManagerHolder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.ComponentSupplier.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.ComponentSupplier.html new file mode 100644 index 00000000000..c0683db826c --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.ComponentSupplier.html @@ -0,0 +1,211 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.testing.TestComponentData.ComponentSupplier + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.testing.TestComponentData.ComponentSupplier

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.html new file mode 100644 index 00000000000..0f9fd273181 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentData.html @@ -0,0 +1,194 @@ + + + + + +Uses of Class dagger.hilt.android.internal.testing.TestComponentData + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.testing.TestComponentData

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentDataSupplier.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentDataSupplier.html new file mode 100644 index 00000000000..8296077bf50 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestComponentDataSupplier.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.internal.testing.TestComponentDataSupplier + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.internal.testing.TestComponentDataSupplier

          +
          +
          No usage of dagger.hilt.android.internal.testing.TestComponentDataSupplier
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/class-use/TestInjector.html b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestInjector.html new file mode 100644 index 00000000000..17ceb6160f1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/class-use/TestInjector.html @@ -0,0 +1,211 @@ + + + + + +Uses of Interface dagger.hilt.android.internal.testing.TestInjector + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.internal.testing.TestInjector

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/package-summary.html b/api/2.49/dagger/hilt/android/internal/testing/package-summary.html new file mode 100644 index 00000000000..f40a512e1d7 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/package-summary.html @@ -0,0 +1,238 @@ + + + + + +dagger.hilt.android.internal.testing + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.android.internal.testing

          +
          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/package-tree.html b/api/2.49/dagger/hilt/android/internal/testing/package-tree.html new file mode 100644 index 00000000000..9c91872e9d1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/package-tree.html @@ -0,0 +1,189 @@ + + + + + +dagger.hilt.android.internal.testing Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.internal.testing

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.internal.testing.InternalTestRoot (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/internal/testing/package-use.html b/api/2.49/dagger/hilt/android/internal/testing/package-use.html new file mode 100644 index 00000000000..edc42e54565 --- /dev/null +++ b/api/2.49/dagger/hilt/android/internal/testing/package-use.html @@ -0,0 +1,222 @@ + + + + + +Uses of Package dagger.hilt.android.internal.testing + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.internal.testing

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/ActivityRetainedSavedState.html b/api/2.49/dagger/hilt/android/lifecycle/ActivityRetainedSavedState.html new file mode 100644 index 00000000000..619f12ffe77 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/ActivityRetainedSavedState.html @@ -0,0 +1,190 @@ + + + + + +ActivityRetainedSavedState + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ActivityRetainedSavedState

          +
          +
          +
          +
            +
          • +
            +
            @Qualifier
            +@Target({METHOD,PARAMETER,FIELD})
            +@Retention(CLASS)
            +public @interface ActivityRetainedSavedState
            +
            Qualifies a binding that belongs to ActivityRetainedComponent.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/HiltViewModel.html b/api/2.49/dagger/hilt/android/lifecycle/HiltViewModel.html new file mode 100644 index 00000000000..f9d837af6dc --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/HiltViewModel.html @@ -0,0 +1,329 @@ + + + + + +HiltViewModel + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type HiltViewModel

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +@Retention(CLASS)
            +public @interface HiltViewModel
            +
            Identifies a ViewModel for construction injection. + +

            The ViewModel annotated with HiltViewModel will be available for creation by + the dagger.hilt.android.lifecycle.HiltViewModelFactory and can be retrieved by default in + an Activity or Fragment annotated with AndroidEntryPoint. The HiltViewModel containing a constructor + annotated with Inject will have its dependencies defined in the constructor + parameters injected by Dagger's Hilt. + +

            Example: + +

            + @HiltViewModel
            + public class DonutViewModel extends ViewModel {
            +     @Inject
            +     public DonutViewModel(SavedStateHandle handle, RecipeRepository repository) {
            +         // ...
            +     }
            + }
            + 
            + +
            + @AndroidEntryPoint
            + public class CookingActivity extends AppCompatActivity {
            +     public void onCreate(Bundle savedInstanceState) {
            +         DonutViewModel vm = new ViewModelProvider(this).get(DonutViewModel.class);
            +     }
            + }
            + 
            + +

            ViewModels annotated with HiltViewModel can also be used with assisted + injection: + +

            + @HiltViewModel(assistedFactory = DonutViewModel.Factory.class)
            + public class DonutViewModel extends ViewModel {
            +     @AssistedInject
            +     public DonutViewModel(
            +         SavedStateHandle handle,
            +         RecipeRepository repository, 
            +         $#64;Assisted int donutId
            +     ) {
            +         // ...
            +     }
            +
            +     @AssistedFactory
            +     public interface Factory {
            +         DonutViewModel create(int donutId);
            +     }
            + }
            + 
            + +
            + @AndroidEntryPoint
            + public class CookingActivity extends AppCompatActivity {
            +     public void onCreate(Bundle savedInstanceState) {
            +         DonutViewModel vm = new ViewModelProvider(
            +             getViewModelStore(),
            +             getDefaultViewModelProviderFactory(),
            +             HiltViewModelExtensions.withCreationCallback(
            +                 getDefaultViewModelCreationExtras(),
            +                 (DonutViewModel.Factory factory) -> factory.create(1)
            +             )
            +         ).get(DonutViewModel.class);
            +     }
            + }
            + 
            + +

            Exactly one constructor in the ViewModel must be annotated with Inject or + AssistedInject. + +

            Only dependencies available in the ViewModelComponent + can be injected into the ViewModel. + +

            +
            +
            See Also:
            +
            ViewModelComponent
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Optional Element Summary

              + + + + + + + + + + + + +
              Optional Elements 
              Modifier and TypeOptional ElementDescription
              java.lang.Class<?>assistedFactory +
              Returns a factory class that can be used to create this ViewModel with assisted injection.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                assistedFactory

                +
                java.lang.Class<?> assistedFactory
                +
                Returns a factory class that can be used to create this ViewModel with assisted injection. The + default value `Object.class` denotes that no factory is specified and the ViewModel is not + assisted injected.
                +
                +
                Default:
                +
                java.lang.Object.class
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.OnClearedListener.html b/api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.OnClearedListener.html new file mode 100644 index 00000000000..55dfa9f0a7c --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.OnClearedListener.html @@ -0,0 +1,259 @@ + + + + + +RetainedLifecycle.OnClearedListener + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface RetainedLifecycle.OnClearedListener

          +
          +
          +
          + +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                onCleared

                +
                void onCleared()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.html b/api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.html new file mode 100644 index 00000000000..7423d6d7e6b --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/RetainedLifecycle.html @@ -0,0 +1,316 @@ + + + + + +RetainedLifecycle + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface RetainedLifecycle

          +
          +
          +
          + +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/class-use/ActivityRetainedSavedState.html b/api/2.49/dagger/hilt/android/lifecycle/class-use/ActivityRetainedSavedState.html new file mode 100644 index 00000000000..90462a640c4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/class-use/ActivityRetainedSavedState.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.lifecycle.ActivityRetainedSavedState + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.lifecycle.ActivityRetainedSavedState

          +
          +
          No usage of dagger.hilt.android.lifecycle.ActivityRetainedSavedState
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/class-use/HiltViewModel.html b/api/2.49/dagger/hilt/android/lifecycle/class-use/HiltViewModel.html new file mode 100644 index 00000000000..85e9e692ea0 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/class-use/HiltViewModel.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.lifecycle.HiltViewModel + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.lifecycle.HiltViewModel

          +
          +
          No usage of dagger.hilt.android.lifecycle.HiltViewModel
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.OnClearedListener.html b/api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.OnClearedListener.html new file mode 100644 index 00000000000..6dff1b3aa98 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.OnClearedListener.html @@ -0,0 +1,264 @@ + + + + + +Uses of Interface dagger.hilt.android.lifecycle.RetainedLifecycle.OnClearedListener + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.lifecycle.RetainedLifecycle.OnClearedListener

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.html b/api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.html new file mode 100644 index 00000000000..47f67f9c584 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/class-use/RetainedLifecycle.html @@ -0,0 +1,231 @@ + + + + + +Uses of Interface dagger.hilt.android.lifecycle.RetainedLifecycle + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.lifecycle.RetainedLifecycle

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/package-summary.html b/api/2.49/dagger/hilt/android/lifecycle/package-summary.html new file mode 100644 index 00000000000..045a9d295ce --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/package-summary.html @@ -0,0 +1,211 @@ + + + + + +dagger.hilt.android.lifecycle + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @ParametersAreNonnullByDefault +

          +

          Package dagger.hilt.android.lifecycle

          +
          +
          +
          + + +
          This package contains Hilt APIs for Android applications. + +

          Hilt provides a standard way to incorporate Dagger dependency injection into an Android + application.

          +
          +
          See Also:
          +
          Hilt Developer Docs
          +
          +
          +
            +
          • + + + + + + + + + + + + + + + + +
            Interface Summary 
            InterfaceDescription
            RetainedLifecycle +
            A class for registered listeners on a retained lifecycle (generally backed up by a ViewModel).
            +
            RetainedLifecycle.OnClearedListener +
            Listener for when the retained lifecycle is cleared.
            +
            +
          • +
          • + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            ActivityRetainedSavedState +
            Qualifies a binding that belongs to ActivityRetainedComponent.
            +
            HiltViewModel +
            Identifies a ViewModel for construction injection.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/package-tree.html b/api/2.49/dagger/hilt/android/lifecycle/package-tree.html new file mode 100644 index 00000000000..f1b6c0f0de6 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/package-tree.html @@ -0,0 +1,167 @@ + + + + + +dagger.hilt.android.lifecycle Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.lifecycle

          +Package Hierarchies: + +
          +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.lifecycle.ActivityRetainedSavedState (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.lifecycle.HiltViewModel (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/lifecycle/package-use.html b/api/2.49/dagger/hilt/android/lifecycle/package-use.html new file mode 100644 index 00000000000..ac17ff489e2 --- /dev/null +++ b/api/2.49/dagger/hilt/android/lifecycle/package-use.html @@ -0,0 +1,247 @@ + + + + + +Uses of Package dagger.hilt.android.lifecycle + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.lifecycle

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/migration/CustomInject.html b/api/2.49/dagger/hilt/android/migration/CustomInject.html new file mode 100644 index 00000000000..d7264293824 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/CustomInject.html @@ -0,0 +1,217 @@ + + + + + +CustomInject + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type CustomInject

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +public @interface CustomInject
            +
            When used on a HiltAndroidApp-annotated application, this causes the + application to no longer inject itself in onCreate and instead allows it to be injected at some + other time. + +

            When using this annotation, you can use CustomInjection.inject(android.app.Application) to inject the + application class. Additionally, this annotation will also cause a method, customInject + to be generated in the Hilt base class as well, that behaves the same as + CustomInjection.inject(android.app.Application). The method is available to users that extend the Hilt base class + directly and don't use the Gradle plugin. + +

            Example usage: + +

            
            + @CustomInject
            + @HiltAndroidApp(Application.class)
            + public final class MyApplication extends Hilt_MyApplication {
            +
            +   @Inject Foo foo;
            +
            +   @Override
            +   public void onCreate() {
            +     // Injection would normally happen in this super.onCreate() call, but won't now because this
            +     // is using CustomInject.
            +     super.onCreate();
            +     doSomethingBeforeInjection();
            +     // This call now injects the fields in the Application, like the foo field above.
            +     CustomInject.inject(this);
            +   }
            + }
            + 
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/migration/CustomInjection.html b/api/2.49/dagger/hilt/android/migration/CustomInjection.html new file mode 100644 index 00000000000..8da279c2d3d --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/CustomInjection.html @@ -0,0 +1,275 @@ + + + + + +CustomInjection + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class CustomInjection

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.migration.CustomInjection
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public final class CustomInjection
            +extends java.lang.Object
            +
            Utility methods for injecting the application when using CustomInject.
            +
            +
            See Also:
            +
            OptionalInject
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + +
              All Methods Static Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static voidinject​(android.app.Application app) +
              Injects the passed in application.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                inject

                +
                public static void inject​(@NonNull
                +                          android.app.Application app)
                +
                Injects the passed in application.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/migration/OptionalInject.html b/api/2.49/dagger/hilt/android/migration/OptionalInject.html new file mode 100644 index 00000000000..16045a85ac4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/OptionalInject.html @@ -0,0 +1,226 @@ + + + + + +OptionalInject + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type OptionalInject

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +public @interface OptionalInject
            +
            When placed on an AndroidEntryPoint-annotated activity / fragment / + view / etc, allows injection to occur optionally based on whether or not the application is using + Hilt. + +

            When using this annotation, you can use OptionalInjectCheck.wasInjectedByHilt(androidx.activity.ComponentActivity) to check + at runtime if the annotated class was injected by Hilt. Additionally, this annotation will also + cause a method, wasInjectedByHilt to be generated in the Hilt base class as well, that + behaves the same as OptionalInjectCheck.wasInjectedByHilt(androidx.activity.ComponentActivity). The method is available to + users that extend the Hilt base class directly and don't use the Gradle plugin. + +

            Example usage: + +

            
            + @OptionalInject
            + @AndroidEntryPoint
            + public final class MyFragment extends Fragment {
            +
            +   @Inject Foo foo;
            +
            +   @Override
            +   public void onAttach(Activity activity) {
            +     // Injection will happen here, but only if the Activity and the Application are also
            +     // AndroidEntryPoints and were injected by Hilt.
            +     super.onAttach(activity);
            +     if (!OptionalInjectCheck.wasInjectedByHilt(this)) {
            +       // Get Dagger components the previous way and inject.
            +     }
            +   }
            + }
            + 
            + +

            This is useful for libraries that have to support Hilt users as well as non-Hilt users. + Injection will happen if the parent type (e.g. the activity of a fragment) is an AndroidEntryPoint annotated class and if that parent was also injected via + Hilt.

            +
            +
            See Also:
            +
            OptionalInjectCheck, +Optional injection
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/migration/OptionalInjectCheck.html b/api/2.49/dagger/hilt/android/migration/OptionalInjectCheck.html new file mode 100644 index 00000000000..7fd7d4d2f91 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/OptionalInjectCheck.html @@ -0,0 +1,373 @@ + + + + + +OptionalInjectCheck + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class OptionalInjectCheck

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.migration.OptionalInjectCheck
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public final class OptionalInjectCheck
            +extends java.lang.Object
            +
            Utility methods for validating if an AndroidEntryPoint-annotated + class that is also annotated with OptionalInject was injected by Hilt.
            +
            +
            See Also:
            +
            OptionalInject
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static booleanwasInjectedByHilt​(android.app.Service service) +
              Returns true if the Service was injected by Hilt.
              +
              static booleanwasInjectedByHilt​(android.content.BroadcastReceiver broadcastReceiver) +
              Returns true if the BroadcastReceiver was injected by Hilt.
              +
              static booleanwasInjectedByHilt​(android.view.View view) +
              Returns true if the View was injected by Hilt.
              +
              static booleanwasInjectedByHilt​(androidx.activity.ComponentActivity activity) +
              Returns true if the Activity was injected by Hilt.
              +
              static booleanwasInjectedByHilt​(androidx.fragment.app.Fragment fragment) +
              Returns true if the Fragment was injected by Hilt.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                wasInjectedByHilt

                +
                public static boolean wasInjectedByHilt​(@NonNull
                +                                        androidx.activity.ComponentActivity activity)
                +
                Returns true if the Activity was injected by Hilt.
                +
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if the given instance is not an AndroidEntryPoint nor is + annotated with OptionalInject.
                +
                +
              • +
              + + + +
                +
              • +

                wasInjectedByHilt

                +
                public static boolean wasInjectedByHilt​(@NonNull
                +                                        android.content.BroadcastReceiver broadcastReceiver)
                +
                Returns true if the BroadcastReceiver was injected by Hilt.
                +
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if the given instance is not an AndroidEntryPoint nor is + annotated with OptionalInject.
                +
                +
              • +
              + + + +
                +
              • +

                wasInjectedByHilt

                +
                public static boolean wasInjectedByHilt​(@NonNull
                +                                        androidx.fragment.app.Fragment fragment)
                +
                Returns true if the Fragment was injected by Hilt.
                +
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if the given instance is not an AndroidEntryPoint nor is + annotated with OptionalInject.
                +
                +
              • +
              + + + +
                +
              • +

                wasInjectedByHilt

                +
                public static boolean wasInjectedByHilt​(@NonNull
                +                                        android.app.Service service)
                +
                Returns true if the Service was injected by Hilt.
                +
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if the given instance is not an AndroidEntryPoint nor is + annotated with OptionalInject.
                +
                +
              • +
              + + + +
                +
              • +

                wasInjectedByHilt

                +
                public static boolean wasInjectedByHilt​(@NonNull
                +                                        android.view.View view)
                +
                Returns true if the View was injected by Hilt.
                +
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if the given instance is not an AndroidEntryPoint nor is + annotated with OptionalInject.
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/migration/class-use/CustomInject.html b/api/2.49/dagger/hilt/android/migration/class-use/CustomInject.html new file mode 100644 index 00000000000..34f4edd88f4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/class-use/CustomInject.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.migration.CustomInject + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.migration.CustomInject

          +
          +
          No usage of dagger.hilt.android.migration.CustomInject
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/migration/class-use/CustomInjection.html b/api/2.49/dagger/hilt/android/migration/class-use/CustomInjection.html new file mode 100644 index 00000000000..0fddbdb6681 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/class-use/CustomInjection.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.migration.CustomInjection + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.migration.CustomInjection

          +
          +
          No usage of dagger.hilt.android.migration.CustomInjection
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/migration/class-use/OptionalInject.html b/api/2.49/dagger/hilt/android/migration/class-use/OptionalInject.html new file mode 100644 index 00000000000..8e87c98d5d9 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/class-use/OptionalInject.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.migration.OptionalInject + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.migration.OptionalInject

          +
          +
          No usage of dagger.hilt.android.migration.OptionalInject
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/migration/class-use/OptionalInjectCheck.html b/api/2.49/dagger/hilt/android/migration/class-use/OptionalInjectCheck.html new file mode 100644 index 00000000000..772538d6983 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/class-use/OptionalInjectCheck.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.migration.OptionalInjectCheck + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.migration.OptionalInjectCheck

          +
          +
          No usage of dagger.hilt.android.migration.OptionalInjectCheck
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/migration/package-summary.html b/api/2.49/dagger/hilt/android/migration/package-summary.html new file mode 100644 index 00000000000..b186f6776ee --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/package-summary.html @@ -0,0 +1,213 @@ + + + + + +dagger.hilt.android.migration + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @ParametersAreNonnullByDefault +

          +

          Package dagger.hilt.android.migration

          +
          +
          +
          + + +
          This package contains Android APIs to help migrating a codebase to Hilt.
          +
          +
          See Also:
          +
          Migration to Hilt
          +
          +
          +
            +
          • + + + + + + + + + + + + + + + + +
            Class Summary 
            ClassDescription
            CustomInjection +
            Utility methods for injecting the application when using CustomInject.
            +
            OptionalInjectCheck +
            Utility methods for validating if an AndroidEntryPoint-annotated + class that is also annotated with OptionalInject was injected by Hilt.
            +
            +
          • +
          • + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            CustomInject +
            When used on a HiltAndroidApp-annotated application, this causes the + application to no longer inject itself in onCreate and instead allows it to be injected at some + other time.
            +
            OptionalInject +
            When placed on an AndroidEntryPoint-annotated activity / fragment / + view / etc, allows injection to occur optionally based on whether or not the application is using + Hilt.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/migration/package-tree.html b/api/2.49/dagger/hilt/android/migration/package-tree.html new file mode 100644 index 00000000000..2dee846abbd --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/package-tree.html @@ -0,0 +1,171 @@ + + + + + +dagger.hilt.android.migration Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.migration

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.migration.CustomInject (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.migration.OptionalInject (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/migration/package-use.html b/api/2.49/dagger/hilt/android/migration/package-use.html new file mode 100644 index 00000000000..d928e0fbdc1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/migration/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.android.migration + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.migration

          +
          +
          No usage of dagger.hilt.android.migration
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/package-summary.html b/api/2.49/dagger/hilt/android/package-summary.html new file mode 100644 index 00000000000..73a1e87612d --- /dev/null +++ b/api/2.49/dagger/hilt/android/package-summary.html @@ -0,0 +1,255 @@ + + + + + +dagger.hilt.android + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @ParametersAreNonnullByDefault +

          +

          Package dagger.hilt.android

          +
          +
          +
          + + +
          This package contains Hilt APIs for Android applications. + +

          Hilt provides a standard way to incorporate Dagger dependency injection into an Android + application.

          +
          +
          See Also:
          +
          Hilt Developer Docs
          +
          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/package-tree.html b/api/2.49/dagger/hilt/android/package-tree.html new file mode 100644 index 00000000000..89343fb8294 --- /dev/null +++ b/api/2.49/dagger/hilt/android/package-tree.html @@ -0,0 +1,189 @@ + + + + + +dagger.hilt.android Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.AndroidEntryPoint (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.EarlyEntryPoint (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.HiltAndroidApp (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.UnstableApi (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.WithFragmentBindings (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/package-use.html b/api/2.49/dagger/hilt/android/package-use.html new file mode 100644 index 00000000000..ecfa07abcc9 --- /dev/null +++ b/api/2.49/dagger/hilt/android/package-use.html @@ -0,0 +1,239 @@ + + + + + +Uses of Package dagger.hilt.android + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/ActivityContext.html b/api/2.49/dagger/hilt/android/qualifiers/ActivityContext.html new file mode 100644 index 00000000000..451277a9b4e --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/ActivityContext.html @@ -0,0 +1,190 @@ + + + + + +ActivityContext + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ActivityContext

          +
          +
          +
          +
            +
          • +
            +
            @Qualifier
            +@Retention(CLASS)
            +@Target({METHOD,PARAMETER,FIELD})
            +public @interface ActivityContext
            +
            Annotation for a Context that corresponds to the activity.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/ApplicationContext.html b/api/2.49/dagger/hilt/android/qualifiers/ApplicationContext.html new file mode 100644 index 00000000000..ba7b31f8751 --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/ApplicationContext.html @@ -0,0 +1,189 @@ + + + + + +ApplicationContext + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ApplicationContext

          +
          +
          +
          +
            +
          • +
            +
            @Qualifier
            +@Target({METHOD,PARAMETER,FIELD})
            +public @interface ApplicationContext
            +
            Annotation for an Application Context dependency.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/class-use/ActivityContext.html b/api/2.49/dagger/hilt/android/qualifiers/class-use/ActivityContext.html new file mode 100644 index 00000000000..25a9540477a --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/class-use/ActivityContext.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.qualifiers.ActivityContext + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.qualifiers.ActivityContext

          +
          +
          No usage of dagger.hilt.android.qualifiers.ActivityContext
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/class-use/ApplicationContext.html b/api/2.49/dagger/hilt/android/qualifiers/class-use/ApplicationContext.html new file mode 100644 index 00000000000..06caafd6715 --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/class-use/ApplicationContext.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.qualifiers.ApplicationContext + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.qualifiers.ApplicationContext

          +
          +
          No usage of dagger.hilt.android.qualifiers.ApplicationContext
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/package-summary.html b/api/2.49/dagger/hilt/android/qualifiers/package-summary.html new file mode 100644 index 00000000000..a65513cd82f --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/package-summary.html @@ -0,0 +1,179 @@ + + + + + +dagger.hilt.android.qualifiers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.android.qualifiers

          +
          +
          +
          + + +
          This package contains Hilt's built-in Android Qualifier annotations.
          +
          +
            +
          • + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            ActivityContext +
            Annotation for a Context that corresponds to the activity.
            +
            ApplicationContext +
            Annotation for an Application Context dependency.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/package-tree.html b/api/2.49/dagger/hilt/android/qualifiers/package-tree.html new file mode 100644 index 00000000000..7fe82a40237 --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/package-tree.html @@ -0,0 +1,160 @@ + + + + + +dagger.hilt.android.qualifiers Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.qualifiers

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.qualifiers.ActivityContext (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.qualifiers.ApplicationContext (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/qualifiers/package-use.html b/api/2.49/dagger/hilt/android/qualifiers/package-use.html new file mode 100644 index 00000000000..15cd696f0ff --- /dev/null +++ b/api/2.49/dagger/hilt/android/qualifiers/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.android.qualifiers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.qualifiers

          +
          +
          No usage of dagger.hilt.android.qualifiers
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/ActivityRetainedScoped.html b/api/2.49/dagger/hilt/android/scopes/ActivityRetainedScoped.html new file mode 100644 index 00000000000..a20262c836b --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/ActivityRetainedScoped.html @@ -0,0 +1,190 @@ + + + + + +ActivityRetainedScoped + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ActivityRetainedScoped

          +
          +
          +
          +
            +
          • +
            +
            @Scope
            +@Retention(CLASS)
            +public @interface ActivityRetainedScoped
            +
            Scope annotation for bindings that should exist for the life of an activity, surviving + configuration.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/ActivityScoped.html b/api/2.49/dagger/hilt/android/scopes/ActivityScoped.html new file mode 100644 index 00000000000..5f4ba18c49b --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/ActivityScoped.html @@ -0,0 +1,189 @@ + + + + + +ActivityScoped + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ActivityScoped

          +
          +
          +
          +
            +
          • +
            +
            @Scope
            +@Retention(CLASS)
            +public @interface ActivityScoped
            +
            Scope annotation for bindings that should exist for the life of an activity.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/FragmentScoped.html b/api/2.49/dagger/hilt/android/scopes/FragmentScoped.html new file mode 100644 index 00000000000..654257b69ca --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/FragmentScoped.html @@ -0,0 +1,189 @@ + + + + + +FragmentScoped + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type FragmentScoped

          +
          +
          +
          +
            +
          • +
            +
            @Scope
            +@Retention(CLASS)
            +public @interface FragmentScoped
            +
            Scope annotation for bindings that should exist for the life of a fragment.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/ServiceScoped.html b/api/2.49/dagger/hilt/android/scopes/ServiceScoped.html new file mode 100644 index 00000000000..f1e0e72f2b4 --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/ServiceScoped.html @@ -0,0 +1,189 @@ + + + + + +ServiceScoped + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ServiceScoped

          +
          +
          +
          +
            +
          • +
            +
            @Scope
            +@Retention(CLASS)
            +public @interface ServiceScoped
            +
            Scope annotation for bindings that should exist for the life of a service.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/ViewModelScoped.html b/api/2.49/dagger/hilt/android/scopes/ViewModelScoped.html new file mode 100644 index 00000000000..02a5b3538af --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/ViewModelScoped.html @@ -0,0 +1,235 @@ + + + + + +ViewModelScoped + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ViewModelScoped

          +
          +
          +
          +
            +
          • +
            +
            @Scope
            +@Retention(CLASS)
            +public @interface ViewModelScoped
            +
            Scope annotation for bindings that should exist for the life of a a single ViewModel. + +

            Use this scope annotation when you want to define a dependency in the ViewModelComponent for which a single instance will be provided + across all other dependencies for a single HiltViewModel-annotated ViewModel. Other + ViewModels that request the scoped dependency will receive a different instance. For sharing the + same instance of a dependency across all ViewModels use a scope from one of the parent + components of dagger.hilt.android.components.ViewModelComponent, such as Singleton or ActivityRetainedScoped. + +

            For example: + +

            + @Module
            + @InstallIn(ViewModelComponent.class)
            + public final class ViewModelMovieModule {
            +     @Provides
            +     @ViewModelScoped
            +     public static MovieRepository provideRepo(SavedStateHandle handle) {
            +         return new MovieRepository(handle.getString("movie-id"));
            +     }
            + }
            +
            + public final class MovieDetailFetcher {
            +     @Inject MovieDetailFetcher(MovieRepository movieRepo) {
            +         // ...
            +     }
            + }
            +
            + public final class MoviePosterFetcher {
            +     @Inject MoviePosterFetcher(MovieRepository movieRepo) {
            +         // ...
            +     }
            + }
            +
            + @HiltViewModel
            + public class MovieViewModel extends ViewModel {
            +     @Inject
            +     public MovieViewModel(MovieDetailFetcher detailFetcher, MoviePosterFetcher posterFetcher) {
            +         // Both detailFetcher and posterFetcher will contain the same instance of
            +         // the MovieRepository.
            +     }
            + }
            + 
            +
            +
            See Also:
            +
            HiltViewModel, +ViewModelComponent
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/ViewScoped.html b/api/2.49/dagger/hilt/android/scopes/ViewScoped.html new file mode 100644 index 00000000000..72b072e8f4c --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/ViewScoped.html @@ -0,0 +1,190 @@ + + + + + +ViewScoped + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ViewScoped

          +
          +
          +
          +
            +
          • +
            +
            @Scope
            +@Retention(CLASS)
            +@Target({METHOD,TYPE})
            +public @interface ViewScoped
            +
            Scope annotation for bindings that should exist for the life of a View.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/class-use/ActivityRetainedScoped.html b/api/2.49/dagger/hilt/android/scopes/class-use/ActivityRetainedScoped.html new file mode 100644 index 00000000000..0b99f65fbab --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/class-use/ActivityRetainedScoped.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class dagger.hilt.android.scopes.ActivityRetainedScoped + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.scopes.ActivityRetainedScoped

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/class-use/ActivityScoped.html b/api/2.49/dagger/hilt/android/scopes/class-use/ActivityScoped.html new file mode 100644 index 00000000000..65c6729fbf6 --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/class-use/ActivityScoped.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class dagger.hilt.android.scopes.ActivityScoped + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.scopes.ActivityScoped

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/class-use/FragmentScoped.html b/api/2.49/dagger/hilt/android/scopes/class-use/FragmentScoped.html new file mode 100644 index 00000000000..4334ddf5789 --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/class-use/FragmentScoped.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class dagger.hilt.android.scopes.FragmentScoped + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.scopes.FragmentScoped

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/class-use/ServiceScoped.html b/api/2.49/dagger/hilt/android/scopes/class-use/ServiceScoped.html new file mode 100644 index 00000000000..02799a155b1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/class-use/ServiceScoped.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class dagger.hilt.android.scopes.ServiceScoped + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.scopes.ServiceScoped

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/class-use/ViewModelScoped.html b/api/2.49/dagger/hilt/android/scopes/class-use/ViewModelScoped.html new file mode 100644 index 00000000000..7620cc9720a --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/class-use/ViewModelScoped.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class dagger.hilt.android.scopes.ViewModelScoped + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.scopes.ViewModelScoped

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/class-use/ViewScoped.html b/api/2.49/dagger/hilt/android/scopes/class-use/ViewScoped.html new file mode 100644 index 00000000000..486ac75481b --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/class-use/ViewScoped.html @@ -0,0 +1,203 @@ + + + + + +Uses of Class dagger.hilt.android.scopes.ViewScoped + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.scopes.ViewScoped

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/scopes/package-summary.html b/api/2.49/dagger/hilt/android/scopes/package-summary.html new file mode 100644 index 00000000000..7d7b086856e --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/package-summary.html @@ -0,0 +1,208 @@ + + + + + +dagger.hilt.android.scopes + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.android.scopes

          +
          +
          +
          + + +
          This package contains Hilt's built-in Android Scope annotations.
          +
          +
          See Also:
          +
          Component Lifetimes
          +
          +
          +
            +
          • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            ActivityRetainedScoped +
            Scope annotation for bindings that should exist for the life of an activity, surviving + configuration.
            +
            ActivityScoped +
            Scope annotation for bindings that should exist for the life of an activity.
            +
            FragmentScoped +
            Scope annotation for bindings that should exist for the life of a fragment.
            +
            ServiceScoped +
            Scope annotation for bindings that should exist for the life of a service.
            +
            ViewModelScoped +
            Scope annotation for bindings that should exist for the life of a a single ViewModel.
            +
            ViewScoped +
            Scope annotation for bindings that should exist for the life of a View.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/package-tree.html b/api/2.49/dagger/hilt/android/scopes/package-tree.html new file mode 100644 index 00000000000..6d2c0f7f15c --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/package-tree.html @@ -0,0 +1,164 @@ + + + + + +dagger.hilt.android.scopes Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.scopes

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.scopes.ActivityRetainedScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ActivityScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.FragmentScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ServiceScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ViewModelScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ViewScoped (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/scopes/package-use.html b/api/2.49/dagger/hilt/android/scopes/package-use.html new file mode 100644 index 00000000000..3b28ddb1884 --- /dev/null +++ b/api/2.49/dagger/hilt/android/scopes/package-use.html @@ -0,0 +1,218 @@ + + + + + +Uses of Package dagger.hilt.android.scopes + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.scopes

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/BindElementsIntoSet.html b/api/2.49/dagger/hilt/android/testing/BindElementsIntoSet.html new file mode 100644 index 00000000000..7e9525d24de --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/BindElementsIntoSet.html @@ -0,0 +1,215 @@ + + + + + +BindElementsIntoSet + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type BindElementsIntoSet

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(FIELD)
            +public @interface BindElementsIntoSet
            +
            An annotation that can be used on a test field to contribute the value into the SingletonComponent as an ElementsIntoSet for the given type. Example usage: + +
            
            + public class FooTest{
            +   ...
            +   @BindElementsIntoSet Set bindedSet = ImmutableSet.of("bar", "baz");
            +   ...
            + }
            + 
            + + Here, bindedSet will be accessible to the entire application for your test. This is functionally + equivalent to installing the following module in your test: + +
            
            + @Module
            + @InstallIn
            + interface MyModule {
            +  @Provides
            +  @ElementsIntoSet
            +  Set bindSet() {
            +    return ImmutableSet.of("bar", "baz");
            +  }
            + }
            + 
            + + Also see BindValueIntoSet, where you can gather individual elements into one set and bind + it to the application.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/BindValue.html b/api/2.49/dagger/hilt/android/testing/BindValue.html new file mode 100644 index 00000000000..bda1570068c --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/BindValue.html @@ -0,0 +1,199 @@ + + + + + +BindValue + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type BindValue

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(FIELD)
            +public @interface BindValue
            +
            An annotation that can be used on a test field to contribute the value into the SingletonComponent. Example usage: + +
            
            + public class FooTest{
            +   ...
            +   @BindValue Bar boundBar = new Bar();
            +   ...
            + }
            + 
            + + Here boundBar will be accessible to the entire application for your test.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/BindValueIntoMap.html b/api/2.49/dagger/hilt/android/testing/BindValueIntoMap.html new file mode 100644 index 00000000000..9673ad97fdf --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/BindValueIntoMap.html @@ -0,0 +1,207 @@ + + + + + +BindValueIntoMap + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type BindValueIntoMap

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(FIELD)
            +public @interface BindValueIntoMap
            +
            An annotation that can be used on a test field to contribute the value into the SingletonComponent as an IntoMap + for the given type. Example usage: + +
            
            + public class FooTest{
            +   ...
            +   @BindValueIntoMap
            +   @MyMapKey(KEY1)
            +   String boundBar = "bar";
            +
            +   @BindValueIntoMap
            +   @MyMapKey(KEY2)
            +   String boundBaz = "baz";
            +   ...
            + }
            + 
            + + Here the map that contains all the bound elements (in this case "bar" and "baz") will be + accessible to the entire application for your test.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/BindValueIntoSet.html b/api/2.49/dagger/hilt/android/testing/BindValueIntoSet.html new file mode 100644 index 00000000000..f68ff7f7c61 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/BindValueIntoSet.html @@ -0,0 +1,203 @@ + + + + + +BindValueIntoSet + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type BindValueIntoSet

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(FIELD)
            +public @interface BindValueIntoSet
            +
            An annotation that can be used on a test field to contribute the value into the SingletonComponent as an IntoSet + for the given type. Example usage: + +
            
            + public class FooTest{
            +   ...
            +   @BindValueIntoSet String boundBar = "bar";
            +   @BindValueIntoSet String boundBaz = "baz";
            +   ...
            + }
            + 
            + + Here the set that contains all the bound elements (in this case "bar" and "baz") will be + accessible to the entire application for your test. Also see BindElementsIntoSet, where + you can gather individual elements into one set and bind it to the application.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/CustomTestApplication.html b/api/2.49/dagger/hilt/android/testing/CustomTestApplication.html new file mode 100644 index 00000000000..10f3c9664fb --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/CustomTestApplication.html @@ -0,0 +1,249 @@ + + + + + +CustomTestApplication + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type CustomTestApplication

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +public @interface CustomTestApplication
            +
            An annotation that creates an application with the given base type that can be used for any + test in the given build. + +

            This annotation is useful for creating an application that can be used with instrumentation + tests in gradle, since every instrumentation test must share the same application type.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<?>value +
              Returns the base Application class.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                java.lang.Class<?> value
                +
                Returns the base Application class.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/testing/HiltAndroidRule.html b/api/2.49/dagger/hilt/android/testing/HiltAndroidRule.html new file mode 100644 index 00000000000..f8bda255c3f --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/HiltAndroidRule.html @@ -0,0 +1,390 @@ + + + + + +HiltAndroidRule + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class HiltAndroidRule

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.testing.HiltAndroidRule
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            org.junit.rules.TestRule
            +
            +
            +
            public final class HiltAndroidRule
            +extends java.lang.Object
            +implements org.junit.rules.TestRule
            +
            A TestRule for Hilt that can be used with JVM or Instrumentation tests. + +

            This rule is required. The Dagger component will not be created without this test rule.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              HiltAndroidRule​(java.lang.Object testInstance) +
              Creates a new instance of the rules.
              +
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                HiltAndroidRule

                +
                public HiltAndroidRule​(java.lang.Object testInstance)
                +
                Creates a new instance of the rules. Tests should pass this.
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                apply

                +
                public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement baseStatement,
                +                                               org.junit.runner.Description description)
                +
                +
                Specified by:
                +
                apply in interface org.junit.rules.TestRule
                +
                +
              • +
              + + + +
                +
              • +

                inject

                +
                public void inject()
                +
                Completes Dagger injection. Must be called before accessing inject types. Must be called after + any non-static test module have been added. If delayComponentReady() was used, this must + be called after componentReady().
                +
              • +
              + + + +
                +
              • +

                delayComponentReady

                +
                public HiltAndroidRule delayComponentReady()
                +
                Delays creating the component until componentReady() is called. This is only necessary + in the case that a dynamically bound value (e.g. configuring an @BindValue field in @Before + or @Test method) is requested before test case execution begins. + +

                Examples of early binding requests include an Activity launched by a test rule, or an entry + points in a OnComponentReadyRunner. + +

                If this method is called, componentReady() must be called before the test case + finishes.

                +
              • +
              + + + +
                +
              • +

                componentReady

                +
                public HiltAndroidRule componentReady()
                +
                Completes Dagger component creation if delayComponentReady() was used. Binds the current + value of BindValue fields. Normally this happens automatically. This method may only be + called if delayComponentReady() was used to delay value binding.
                +
                +
                Returns:
                +
                an instance of the test rule for chaining
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/testing/HiltAndroidTest.html b/api/2.49/dagger/hilt/android/testing/HiltAndroidTest.html new file mode 100644 index 00000000000..939bb26ad80 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/HiltAndroidTest.html @@ -0,0 +1,189 @@ + + + + + +HiltAndroidTest + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type HiltAndroidTest

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Target(TYPE)
            +public @interface HiltAndroidTest
            +
            Annotation used for marking an Android emulator tests that require injection.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/HiltTestApplication.html b/api/2.49/dagger/hilt/android/testing/HiltTestApplication.html new file mode 100644 index 00000000000..8ae18b4e0f3 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/HiltTestApplication.html @@ -0,0 +1,423 @@ + + + + + +HiltTestApplication + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class HiltTestApplication

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • android.content.Context
            • +
            • +
                +
              • android.content.ContextWrapper
              • +
              • +
                  +
                • android.app.Application
                • +
                • +
                    +
                  • androidx.multidex.MultiDexApplication
                  • +
                  • +
                      +
                    • dagger.hilt.android.testing.HiltTestApplication
                    • +
                    +
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            android.content.ComponentCallbacks, android.content.ComponentCallbacks2, TestApplicationComponentManagerHolder, dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>, dagger.hilt.internal.GeneratedComponentManagerHolder
            +
            +
            +
            public final class HiltTestApplication
            +extends androidx.multidex.MultiDexApplication
            +implements dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>, TestApplicationComponentManagerHolder
            +
            An application that can be used for Android instrumentation or Robolectric tests using Hilt.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Nested Class Summary

              +
                +
              • + + +

                Nested classes/interfaces inherited from class android.app.Application

                +android.app.Application.ActivityLifecycleCallbacks, android.app.Application.OnProvideAssistDataListener
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Field Summary

              +
                +
              • + + +

                Fields inherited from class android.content.Context

                +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APP_SEARCH_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND, BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE, BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, BUGREPORT_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_HASH_SERVICE, DISPLAY_SERVICE, DOMAIN_VERIFICATION_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE, FINGERPRINT_SERVICE, GAME_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_COMMUNICATION_SERVICE, MEDIA_METRICS_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, PEOPLE_SERVICE, PERFORMANCE_HINT_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_MANAGER_SERVICE, VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
              • +
              +
                +
              • + + +

                Fields inherited from interface android.content.ComponentCallbacks2

                +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
              • +
              +
            • +
            +
            + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>componentManager() 
              java.lang.ObjectgeneratedComponent() 
              +
                +
              • + + +

                Methods inherited from class androidx.multidex.MultiDexApplication

                +attachBaseContext
              • +
              +
                +
              • + + +

                Methods inherited from class android.app.Application

                +getProcessName, onConfigurationChanged, onCreate, onLowMemory, onTerminate, onTrimMemory, registerActivityLifecycleCallbacks, registerComponentCallbacks, registerOnProvideAssistDataListener, unregisterActivityLifecycleCallbacks, unregisterComponentCallbacks, unregisterOnProvideAssistDataListener
              • +
              +
                +
              • + + +

                Methods inherited from class android.content.ContextWrapper

                +bindIsolatedService, bindService, bindService, bindServiceAsUser, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingOrSelfUriPermissions, checkCallingPermission, checkCallingUriPermission, checkCallingUriPermissions, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, checkUriPermissions, clearWallpaper, createAttributionContext, createConfigurationContext, createContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, createWindowContext, createWindowContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getAttributionSource, getAttributionTag, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getDisplay, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getParams, getResources, getSharedPreferences, getSystemService, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, isUiContext, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver, updateServiceGroup
              • +
              +
                +
              • + + +

                Methods inherited from class android.content.Context

                +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, sendBroadcastWithMultiplePermissions
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                HiltTestApplication

                +
                public HiltTestApplication()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                componentManager

                +
                public final dagger.hilt.internal.GeneratedComponentManager<java.lang.Object> componentManager()
                +
                +
                Specified by:
                +
                componentManager in interface dagger.hilt.internal.GeneratedComponentManagerHolder
                +
                +
              • +
              + + + +
                +
              • +

                generatedComponent

                +
                public final java.lang.Object generatedComponent()
                +
                +
                Specified by:
                +
                generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<java.lang.Object>
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyListener.html b/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyListener.html new file mode 100644 index 00000000000..670e45b1ade --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyListener.html @@ -0,0 +1,262 @@ + + + + + +OnComponentReadyRunner.OnComponentReadyListener + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface OnComponentReadyRunner.OnComponentReadyListener<T>

          +
          +
          +
          +
            +
          • +
            +
            Enclosing class:
            +
            OnComponentReadyRunner
            +
            +
            +
            public static interface OnComponentReadyRunner.OnComponentReadyListener<T>
            +
            Rules should register an implementation of this to get access to the singleton component
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + +
                +
              • +

                onComponentReady

                +
                void onComponentReady​(T entryPoint)
                +               throws java.lang.Throwable
                +
                +
                Throws:
                +
                java.lang.Throwable
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html b/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html new file mode 100644 index 00000000000..67cb605533f --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html @@ -0,0 +1,259 @@ + + + + + +OnComponentReadyRunner.OnComponentReadyRunnerHolder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface OnComponentReadyRunner.OnComponentReadyRunnerHolder

          +
          +
          +
          +
            +
          • +
            +
            All Known Implementing Classes:
            +
            TestApplicationComponentManager
            +
            +
            +
            Enclosing class:
            +
            OnComponentReadyRunner
            +
            +
            +
            public static interface OnComponentReadyRunner.OnComponentReadyRunnerHolder
            +
            Public for use by generated code and TestApplicationComponentManager
            +
          • +
          +
          +
          + +
          +
          + +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.html b/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.html new file mode 100644 index 00000000000..66538a22f31 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/OnComponentReadyRunner.html @@ -0,0 +1,378 @@ + + + + + +OnComponentReadyRunner + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class OnComponentReadyRunner

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.android.testing.OnComponentReadyRunner
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public final class OnComponentReadyRunner
            +extends java.lang.Object
            +
            Provides access to the Singleton component in tests, so that Rules can access it after custom + test modules have been added.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                OnComponentReadyRunner

                +
                public OnComponentReadyRunner()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                setComponentManager

                +
                public void setComponentManager​(dagger.hilt.internal.GeneratedComponentManager<?> componentManager)
                +
                Used by generated code, to notify listeners that the component has been created.
                +
              • +
              + + + +
                +
              • +

                addListener

                +
                public static <T> void addListener​(android.content.Context context,
                +                                   java.lang.Class<T> entryPoint,
                +                                   OnComponentReadyRunner.OnComponentReadyListener<T> listener)
                +
                Must be called on the test thread, before the Statement is evaluated.
                +
              • +
              + + + +
                +
              • +

                isEmpty

                +
                public boolean isEmpty()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/testing/UninstallModules.html b/api/2.49/dagger/hilt/android/testing/UninstallModules.html new file mode 100644 index 00000000000..f6137149c1c --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/UninstallModules.html @@ -0,0 +1,274 @@ + + + + + +UninstallModules + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type UninstallModules

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +public @interface UninstallModules
            +
            An annotation used to uninstall modules that have previously been installed with InstallIn. + +

            This feature should only be used in tests. It is useful for replacing production bindings with + fake bindings. The basic idea is to allow users to uninstall the module that provided the + production binding so that a fake binding can be provided by the test. + +

            Example: + +

            
            +   @HiltAndroidTest
            +   @UninstallModules({
            +       ProdFooModule.class,
            +   })
            +   public class MyTest {
            +     @Module
            +     @InstallIn(SingletonComponent.class)
            +     interface FakeFooModule {
            +       @Binds Foo bindFoo(FakeFoo fakeFoo);
            +     }
            +   }
            + 
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Optional Element Summary

              + + + + + + + + + + + + +
              Optional Elements 
              Modifier and TypeOptional ElementDescription
              java.lang.Class<?>[]value +
              Returns the list of classes to uninstall.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                java.lang.Class<?>[] value
                +
                Returns the list of classes to uninstall. + +

                These classes must be annotated with both Module and InstallIn. + +

                Note:A module that is included as part of another module's Module.includes() + cannot be truly uninstalled until the including module is also uninstalled.

                +
                +
                Default:
                +
                {}
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/BindElementsIntoSet.html b/api/2.49/dagger/hilt/android/testing/class-use/BindElementsIntoSet.html new file mode 100644 index 00000000000..f9c26261ea1 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/BindElementsIntoSet.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.BindElementsIntoSet + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.BindElementsIntoSet

          +
          +
          No usage of dagger.hilt.android.testing.BindElementsIntoSet
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/BindValue.html b/api/2.49/dagger/hilt/android/testing/class-use/BindValue.html new file mode 100644 index 00000000000..f1203638c7f --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/BindValue.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.BindValue + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.BindValue

          +
          +
          No usage of dagger.hilt.android.testing.BindValue
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoMap.html b/api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoMap.html new file mode 100644 index 00000000000..da93e1c66f3 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoMap.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.BindValueIntoMap + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.BindValueIntoMap

          +
          +
          No usage of dagger.hilt.android.testing.BindValueIntoMap
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoSet.html b/api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoSet.html new file mode 100644 index 00000000000..ee17b0a37ad --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/BindValueIntoSet.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.BindValueIntoSet + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.BindValueIntoSet

          +
          +
          No usage of dagger.hilt.android.testing.BindValueIntoSet
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/CustomTestApplication.html b/api/2.49/dagger/hilt/android/testing/class-use/CustomTestApplication.html new file mode 100644 index 00000000000..a5cf3c41302 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/CustomTestApplication.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.CustomTestApplication + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.CustomTestApplication

          +
          +
          No usage of dagger.hilt.android.testing.CustomTestApplication
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidRule.html b/api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidRule.html new file mode 100644 index 00000000000..5ed102d0267 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidRule.html @@ -0,0 +1,203 @@ + + + + + +Uses of Class dagger.hilt.android.testing.HiltAndroidRule + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.HiltAndroidRule

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidTest.html b/api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidTest.html new file mode 100644 index 00000000000..1112472b297 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/HiltAndroidTest.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.HiltAndroidTest + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.HiltAndroidTest

          +
          +
          No usage of dagger.hilt.android.testing.HiltAndroidTest
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/HiltTestApplication.html b/api/2.49/dagger/hilt/android/testing/class-use/HiltTestApplication.html new file mode 100644 index 00000000000..21c95a22c6a --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/HiltTestApplication.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.HiltTestApplication + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.HiltTestApplication

          +
          +
          No usage of dagger.hilt.android.testing.HiltTestApplication
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyListener.html b/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyListener.html new file mode 100644 index 00000000000..8d0a63625b5 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyListener.html @@ -0,0 +1,198 @@ + + + + + +Uses of Interface dagger.hilt.android.testing.OnComponentReadyRunner.OnComponentReadyListener + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.testing.OnComponentReadyRunner.OnComponentReadyListener

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html b/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html new file mode 100644 index 00000000000..5e69f93840f --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.OnComponentReadyRunnerHolder.html @@ -0,0 +1,194 @@ + + + + + +Uses of Interface dagger.hilt.android.testing.OnComponentReadyRunner.OnComponentReadyRunnerHolder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.android.testing.OnComponentReadyRunner.OnComponentReadyRunnerHolder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.html b/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.html new file mode 100644 index 00000000000..03d73829b31 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/OnComponentReadyRunner.html @@ -0,0 +1,220 @@ + + + + + +Uses of Class dagger.hilt.android.testing.OnComponentReadyRunner + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.OnComponentReadyRunner

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/class-use/UninstallModules.html b/api/2.49/dagger/hilt/android/testing/class-use/UninstallModules.html new file mode 100644 index 00000000000..1110a923c86 --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/class-use/UninstallModules.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.android.testing.UninstallModules + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.android.testing.UninstallModules

          +
          +
          No usage of dagger.hilt.android.testing.UninstallModules
          +
          + + + diff --git a/api/2.49/dagger/hilt/android/testing/package-summary.html b/api/2.49/dagger/hilt/android/testing/package-summary.html new file mode 100644 index 00000000000..b73651b63ff --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/package-summary.html @@ -0,0 +1,271 @@ + + + + + +dagger.hilt.android.testing + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @ParametersAreNonnullByDefault +

          +

          Package dagger.hilt.android.testing

          +
          +
          +
          + + +
          This package contains APIs for writing Android local or instrumentation tests with Hilt.
          +
          +
          See Also:
          +
          Hilt Testing
          +
          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/package-tree.html b/api/2.49/dagger/hilt/android/testing/package-tree.html new file mode 100644 index 00000000000..8796bb5bace --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/package-tree.html @@ -0,0 +1,200 @@ + + + + + +dagger.hilt.android.testing Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.android.testing

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          +
            +
          • java.lang.Object +
              +
            • android.content.Context +
                +
              • android.content.ContextWrapper +
                  +
                • android.app.Application (implements android.content.ComponentCallbacks2) + +
                • +
                +
              • +
              +
            • +
            • dagger.hilt.android.testing.HiltAndroidRule (implements org.junit.rules.TestRule)
            • +
            • dagger.hilt.android.testing.OnComponentReadyRunner
            • +
            +
          • +
          +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.testing.BindElementsIntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindValue (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindValueIntoMap (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindValueIntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.CustomTestApplication (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.HiltAndroidTest (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.UninstallModules (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/android/testing/package-use.html b/api/2.49/dagger/hilt/android/testing/package-use.html new file mode 100644 index 00000000000..fcadbb88dfc --- /dev/null +++ b/api/2.49/dagger/hilt/android/testing/package-use.html @@ -0,0 +1,230 @@ + + + + + +Uses of Package dagger.hilt.android.testing + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.android.testing

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/class-use/DefineComponent.Builder.html b/api/2.49/dagger/hilt/class-use/DefineComponent.Builder.html new file mode 100644 index 00000000000..ec6932ac5d9 --- /dev/null +++ b/api/2.49/dagger/hilt/class-use/DefineComponent.Builder.html @@ -0,0 +1,236 @@ + + + + + +Uses of Class dagger.hilt.DefineComponent.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.DefineComponent.Builder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/class-use/DefineComponent.html b/api/2.49/dagger/hilt/class-use/DefineComponent.html new file mode 100644 index 00000000000..17179319be7 --- /dev/null +++ b/api/2.49/dagger/hilt/class-use/DefineComponent.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class dagger.hilt.DefineComponent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.DefineComponent

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/class-use/EntryPoint.html b/api/2.49/dagger/hilt/class-use/EntryPoint.html new file mode 100644 index 00000000000..9dba5508ec7 --- /dev/null +++ b/api/2.49/dagger/hilt/class-use/EntryPoint.html @@ -0,0 +1,294 @@ + + + + + +Uses of Class dagger.hilt.EntryPoint + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.EntryPoint

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/class-use/EntryPoints.html b/api/2.49/dagger/hilt/class-use/EntryPoints.html new file mode 100644 index 00000000000..39848393216 --- /dev/null +++ b/api/2.49/dagger/hilt/class-use/EntryPoints.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.EntryPoints + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.EntryPoints

          +
          +
          No usage of dagger.hilt.EntryPoints
          +
          + + + diff --git a/api/2.49/dagger/hilt/class-use/GeneratesRootInput.html b/api/2.49/dagger/hilt/class-use/GeneratesRootInput.html new file mode 100644 index 00000000000..fc9f56e4912 --- /dev/null +++ b/api/2.49/dagger/hilt/class-use/GeneratesRootInput.html @@ -0,0 +1,451 @@ + + + + + +Uses of Class dagger.hilt.GeneratesRootInput + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.GeneratesRootInput

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/class-use/InstallIn.html b/api/2.49/dagger/hilt/class-use/InstallIn.html new file mode 100644 index 00000000000..387d5fd1857 --- /dev/null +++ b/api/2.49/dagger/hilt/class-use/InstallIn.html @@ -0,0 +1,322 @@ + + + + + +Uses of Class dagger.hilt.InstallIn + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.InstallIn

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/codegen/OriginatingElement.html b/api/2.49/dagger/hilt/codegen/OriginatingElement.html new file mode 100644 index 00000000000..eab01259529 --- /dev/null +++ b/api/2.49/dagger/hilt/codegen/OriginatingElement.html @@ -0,0 +1,270 @@ + + + + + +OriginatingElement + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type OriginatingElement

          +
          +
          +
          +
            +
          • +
            +
            public @interface OriginatingElement
            +
            An annotation used to specify the originating element that triggered the code generation of a + type. This annotation should only be used on generated code and is meant to be used by code + generators that generate Hilt modules, entry points, etc. Failure to use this annotation may mean + improper test isolation for generated classes. + +

            This annotation should be used on any generated top-level class that either contains generated + modules (or entry points) or contains annotations that will generate modules (or entry points). + +

            Example: Suppose we have the following use of an annotation, MyAnnotation. + +

            
            +   class Outer {
            +     static class Inner {
            +       @MyAnnotation Foo foo;
            +     }
            +   }
            + 
            + +

            If MyAnnotation generates an entry point, it should be annotated as follows: + +

            
            +   @OriginatingElement(topLevelClass = Outer.class)
            +   @EntryPoint
            +   @InstallIn(SingletonComponent.class) {
            +       ...
            +   }
            + 
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<?>topLevelClass +
              Returns the top-level class enclosing the originating element.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                topLevelClass

                +
                java.lang.Class<?> topLevelClass
                +
                Returns the top-level class enclosing the originating element.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/codegen/class-use/OriginatingElement.html b/api/2.49/dagger/hilt/codegen/class-use/OriginatingElement.html new file mode 100644 index 00000000000..bd15da7b812 --- /dev/null +++ b/api/2.49/dagger/hilt/codegen/class-use/OriginatingElement.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.codegen.OriginatingElement + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.codegen.OriginatingElement

          +
          +
          No usage of dagger.hilt.codegen.OriginatingElement
          +
          + + + diff --git a/api/2.49/dagger/hilt/codegen/package-summary.html b/api/2.49/dagger/hilt/codegen/package-summary.html new file mode 100644 index 00000000000..e3f169ed57b --- /dev/null +++ b/api/2.49/dagger/hilt/codegen/package-summary.html @@ -0,0 +1,174 @@ + + + + + +dagger.hilt.codegen + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.codegen

          +
          +
          +
          + + +
          This package contains APIs for code generators that produce code that will be processed by Hilt.
          +
          +
            +
          • + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            OriginatingElement +
            An annotation used to specify the originating element that triggered the code generation of a + type.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/codegen/package-tree.html b/api/2.49/dagger/hilt/codegen/package-tree.html new file mode 100644 index 00000000000..8fef6af0afa --- /dev/null +++ b/api/2.49/dagger/hilt/codegen/package-tree.html @@ -0,0 +1,159 @@ + + + + + +dagger.hilt.codegen Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.codegen

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/codegen/package-use.html b/api/2.49/dagger/hilt/codegen/package-use.html new file mode 100644 index 00000000000..861d17bff1e --- /dev/null +++ b/api/2.49/dagger/hilt/codegen/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.codegen + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.codegen

          +
          +
          No usage of dagger.hilt.codegen
          +
          + + + diff --git a/api/2.49/dagger/hilt/components/SingletonComponent.html b/api/2.49/dagger/hilt/components/SingletonComponent.html new file mode 100644 index 00000000000..ff49f07bc2c --- /dev/null +++ b/api/2.49/dagger/hilt/components/SingletonComponent.html @@ -0,0 +1,192 @@ + + + + + +SingletonComponent + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface SingletonComponent

          +
          +
          +
          +
            +
          • +
            +
            @Singleton
            +public interface SingletonComponent
            +
            A Hilt component for singleton bindings.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/components/class-use/SingletonComponent.html b/api/2.49/dagger/hilt/components/class-use/SingletonComponent.html new file mode 100644 index 00000000000..91e064e9c1e --- /dev/null +++ b/api/2.49/dagger/hilt/components/class-use/SingletonComponent.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.hilt.components.SingletonComponent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.hilt.components.SingletonComponent

          +
          +
          No usage of dagger.hilt.components.SingletonComponent
          +
          + + + diff --git a/api/2.49/dagger/hilt/components/package-summary.html b/api/2.49/dagger/hilt/components/package-summary.html new file mode 100644 index 00000000000..37472b7cc25 --- /dev/null +++ b/api/2.49/dagger/hilt/components/package-summary.html @@ -0,0 +1,177 @@ + + + + + +dagger.hilt.components + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.components

          +
          +
          +
          + + +
          This package contains Hilt's built-in Components.
          +
          +
          See Also:
          +
          Hilt Components
          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Interface Summary 
            InterfaceDescription
            SingletonComponent +
            A Hilt component for singleton bindings.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/components/package-tree.html b/api/2.49/dagger/hilt/components/package-tree.html new file mode 100644 index 00000000000..ae1a33ec3bb --- /dev/null +++ b/api/2.49/dagger/hilt/components/package-tree.html @@ -0,0 +1,159 @@ + + + + + +dagger.hilt.components Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.components

          +Package Hierarchies: + +
          +
          +
          +

          Interface Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/components/package-use.html b/api/2.49/dagger/hilt/components/package-use.html new file mode 100644 index 00000000000..62af87d6014 --- /dev/null +++ b/api/2.49/dagger/hilt/components/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.components + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.components

          +
          +
          No usage of dagger.hilt.components
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/aliasof/AliasOfPropagatedData.html b/api/2.49/dagger/hilt/internal/aliasof/AliasOfPropagatedData.html new file mode 100644 index 00000000000..d34d292f4ee --- /dev/null +++ b/api/2.49/dagger/hilt/internal/aliasof/AliasOfPropagatedData.html @@ -0,0 +1,262 @@ + + + + + +AliasOfPropagatedData + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type AliasOfPropagatedData

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +@Retention(CLASS)
            +public @interface AliasOfPropagatedData
            +
            An annotation used to aggregate AliasOf values in a common location.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<? extends java.lang.annotation.Annotation>alias 
              java.lang.Class<? extends java.lang.annotation.Annotation>[]defineComponentScopes 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                defineComponentScopes

                +
                java.lang.Class<? extends java.lang.annotation.Annotation>[] defineComponentScopes
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + +
                +
              • +

                alias

                +
                java.lang.Class<? extends java.lang.annotation.Annotation> alias
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/internal/aliasof/class-use/AliasOfPropagatedData.html b/api/2.49/dagger/hilt/internal/aliasof/class-use/AliasOfPropagatedData.html new file mode 100644 index 00000000000..ac0d2ee0a6f --- /dev/null +++ b/api/2.49/dagger/hilt/internal/aliasof/class-use/AliasOfPropagatedData.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.internal.aliasof.AliasOfPropagatedData + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.internal.aliasof.AliasOfPropagatedData

          +
          +
          No usage of dagger.hilt.internal.aliasof.AliasOfPropagatedData
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/aliasof/package-summary.html b/api/2.49/dagger/hilt/internal/aliasof/package-summary.html new file mode 100644 index 00000000000..d56d73fae32 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/aliasof/package-summary.html @@ -0,0 +1,168 @@ + + + + + +dagger.hilt.internal.aliasof + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.internal.aliasof

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            AliasOfPropagatedData +
            An annotation used to aggregate AliasOf values in a common location.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/aliasof/package-tree.html b/api/2.49/dagger/hilt/internal/aliasof/package-tree.html new file mode 100644 index 00000000000..42b3f23c0d4 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/aliasof/package-tree.html @@ -0,0 +1,159 @@ + + + + + +dagger.hilt.internal.aliasof Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.internal.aliasof

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/aliasof/package-use.html b/api/2.49/dagger/hilt/internal/aliasof/package-use.html new file mode 100644 index 00000000000..db0175dee28 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/aliasof/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.internal.aliasof + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.internal.aliasof

          +
          +
          No usage of dagger.hilt.internal.aliasof
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/DefineComponentClasses.html b/api/2.49/dagger/hilt/internal/definecomponent/DefineComponentClasses.html new file mode 100644 index 00000000000..00c5a6f7f88 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/DefineComponentClasses.html @@ -0,0 +1,283 @@ + + + + + +DefineComponentClasses + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type DefineComponentClasses

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(TYPE)
            +public @interface DefineComponentClasses
            +
            An annotation used to aggregate DefineComponent types in a common location. + +

            Note: The types are given using String rather than Class since the DefineComponent type is not necessarily in the same package and not necessarily + public.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Optional Element Summary

              + + + + + + + + + + + + + + + + + +
              Optional Elements 
              Modifier and TypeOptional ElementDescription
              java.lang.Stringbuilder +
              Returns the fully qualified name of the DefineComponent.Builder type, or an + empty string if it wasn't given.
              +
              java.lang.Stringcomponent +
              Returns the fully qualified name of the DefineComponent type, or an empty + string if it wasn't given.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                component

                +
                java.lang.String component
                +
                Returns the fully qualified name of the DefineComponent type, or an empty + string if it wasn't given.
                +
                +
                Default:
                +
                ""
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + +
                +
              • +

                builder

                +
                java.lang.String builder
                +
                Returns the fully qualified name of the DefineComponent.Builder type, or an + empty string if it wasn't given.
                +
                +
                Default:
                +
                ""
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/DefineComponentNoParent.html b/api/2.49/dagger/hilt/internal/definecomponent/DefineComponentNoParent.html new file mode 100644 index 00000000000..7adb100b767 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/DefineComponentNoParent.html @@ -0,0 +1,223 @@ + + + + + +DefineComponentNoParent + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DefineComponentNoParent

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.hilt.internal.definecomponent.DefineComponentNoParent
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public final class DefineComponentNoParent
            +extends java.lang.Object
            +
            A class used by DefineComponent#parent() as the default type when no parent is given.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentClasses.html b/api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentClasses.html new file mode 100644 index 00000000000..34d5e60dbbb --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentClasses.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.internal.definecomponent.DefineComponentClasses + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.internal.definecomponent.DefineComponentClasses

          +
          +
          No usage of dagger.hilt.internal.definecomponent.DefineComponentClasses
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentNoParent.html b/api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentNoParent.html new file mode 100644 index 00000000000..2a0c00e72ed --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/class-use/DefineComponentNoParent.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.internal.definecomponent.DefineComponentNoParent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.internal.definecomponent.DefineComponentNoParent

          +
          +
          No usage of dagger.hilt.internal.definecomponent.DefineComponentNoParent
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/package-summary.html b/api/2.49/dagger/hilt/internal/definecomponent/package-summary.html new file mode 100644 index 00000000000..d5fc18fb688 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/package-summary.html @@ -0,0 +1,185 @@ + + + + + +dagger.hilt.internal.definecomponent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.internal.definecomponent

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Class Summary 
            ClassDescription
            DefineComponentNoParent +
            A class used by DefineComponent#parent() as the default type when no parent is given.
            +
            +
          • +
          • + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            DefineComponentClasses +
            An annotation used to aggregate DefineComponent types in a common location.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/package-tree.html b/api/2.49/dagger/hilt/internal/definecomponent/package-tree.html new file mode 100644 index 00000000000..478e5ffbe7e --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/package-tree.html @@ -0,0 +1,169 @@ + + + + + +dagger.hilt.internal.definecomponent Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.internal.definecomponent

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/definecomponent/package-use.html b/api/2.49/dagger/hilt/internal/definecomponent/package-use.html new file mode 100644 index 00000000000..8ec66bc3ab1 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/definecomponent/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.internal.definecomponent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.internal.definecomponent

          +
          +
          No usage of dagger.hilt.internal.definecomponent
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/generatesrootinput/GeneratesRootInputPropagatedData.html b/api/2.49/dagger/hilt/internal/generatesrootinput/GeneratesRootInputPropagatedData.html new file mode 100644 index 00000000000..d2606d9d1f8 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/generatesrootinput/GeneratesRootInputPropagatedData.html @@ -0,0 +1,244 @@ + + + + + +GeneratesRootInputPropagatedData + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type GeneratesRootInputPropagatedData

          +
          +
          +
          +
            +
          • +
            +
            @Target(TYPE)
            +@Retention(CLASS)
            +public @interface GeneratesRootInputPropagatedData
            +
            An annotation used to aggregate GeneratesRootInput types in a common + location.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<? extends java.lang.annotation.Annotation>value 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                java.lang.Class<? extends java.lang.annotation.Annotation> value
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/internal/generatesrootinput/class-use/GeneratesRootInputPropagatedData.html b/api/2.49/dagger/hilt/internal/generatesrootinput/class-use/GeneratesRootInputPropagatedData.html new file mode 100644 index 00000000000..04fd58ae533 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/generatesrootinput/class-use/GeneratesRootInputPropagatedData.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.internal.generatesrootinput.GeneratesRootInputPropagatedData + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.internal.generatesrootinput.GeneratesRootInputPropagatedData

          +
          +
          No usage of dagger.hilt.internal.generatesrootinput.GeneratesRootInputPropagatedData
          +
          + + + diff --git a/api/2.49/dagger/hilt/internal/generatesrootinput/package-summary.html b/api/2.49/dagger/hilt/internal/generatesrootinput/package-summary.html new file mode 100644 index 00000000000..8805b877d63 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/generatesrootinput/package-summary.html @@ -0,0 +1,169 @@ + + + + + +dagger.hilt.internal.generatesrootinput + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.internal.generatesrootinput

          +
          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/generatesrootinput/package-tree.html b/api/2.49/dagger/hilt/internal/generatesrootinput/package-tree.html new file mode 100644 index 00000000000..2b3ac2d8d82 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/generatesrootinput/package-tree.html @@ -0,0 +1,159 @@ + + + + + +dagger.hilt.internal.generatesrootinput Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.internal.generatesrootinput

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/internal/generatesrootinput/package-use.html b/api/2.49/dagger/hilt/internal/generatesrootinput/package-use.html new file mode 100644 index 00000000000..a90492fdbb4 --- /dev/null +++ b/api/2.49/dagger/hilt/internal/generatesrootinput/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.internal.generatesrootinput + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.internal.generatesrootinput

          +
          +
          No usage of dagger.hilt.internal.generatesrootinput
          +
          + + + diff --git a/api/2.49/dagger/hilt/migration/AliasOf.html b/api/2.49/dagger/hilt/migration/AliasOf.html new file mode 100644 index 00000000000..0273b6f31a6 --- /dev/null +++ b/api/2.49/dagger/hilt/migration/AliasOf.html @@ -0,0 +1,257 @@ + + + + + +AliasOf + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type AliasOf

          +
          +
          +
          +
            +
          • +
            +
            @Target(ANNOTATION_TYPE)
            +@Retention(CLASS)
            +public @interface AliasOf
            +
            Defines an alias between an existing Hilt scope and the annotated scope. For example, the + following code makes @MyScope a functional replacement for @ActivityScope. + +

            + +

            +   @Scope
            +   @AliasOf(ActivityScope.class)
            +   public @interface MyScope{}
            + 
            + +

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<? extends java.lang.annotation.Annotation>[]value +
              Returns the existing Hilt scope(s) that the annotated scope is aliasing.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                java.lang.Class<? extends java.lang.annotation.Annotation>[] value
                +
                Returns the existing Hilt scope(s) that the annotated scope is aliasing.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/migration/DisableInstallInCheck.html b/api/2.49/dagger/hilt/migration/DisableInstallInCheck.html new file mode 100644 index 00000000000..a7bb7242613 --- /dev/null +++ b/api/2.49/dagger/hilt/migration/DisableInstallInCheck.html @@ -0,0 +1,191 @@ + + + + + +DisableInstallInCheck + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type DisableInstallInCheck

          +
          +
          +
          +
            +
          • +
            +
            public @interface DisableInstallInCheck
            +
            Marks a Module-annotated class to allow it to have no InstallIn annotation. + +

            Use this annotation on modules to suppress the error of a missing InstallIn annotation. This is useful in cases where non-Hilt Dagger code must be + used long-term. If the issue is widespread, consider changing the error behavior with the + compiler flag dagger.hilt.disableModulesHaveInstallInCheck instead.

            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/hilt/migration/class-use/AliasOf.html b/api/2.49/dagger/hilt/migration/class-use/AliasOf.html new file mode 100644 index 00000000000..19aa7ffb2f3 --- /dev/null +++ b/api/2.49/dagger/hilt/migration/class-use/AliasOf.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.migration.AliasOf + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.migration.AliasOf

          +
          +
          No usage of dagger.hilt.migration.AliasOf
          +
          + + + diff --git a/api/2.49/dagger/hilt/migration/class-use/DisableInstallInCheck.html b/api/2.49/dagger/hilt/migration/class-use/DisableInstallInCheck.html new file mode 100644 index 00000000000..79fcfeef5ce --- /dev/null +++ b/api/2.49/dagger/hilt/migration/class-use/DisableInstallInCheck.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.migration.DisableInstallInCheck + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.migration.DisableInstallInCheck

          +
          +
          No usage of dagger.hilt.migration.DisableInstallInCheck
          +
          + + + diff --git a/api/2.49/dagger/hilt/migration/package-summary.html b/api/2.49/dagger/hilt/migration/package-summary.html new file mode 100644 index 00000000000..e3b27f836c9 --- /dev/null +++ b/api/2.49/dagger/hilt/migration/package-summary.html @@ -0,0 +1,183 @@ + + + + + +dagger.hilt.migration + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.hilt.migration

          +
          +
          +
          + + +
          This package contains APIs to help migrating a codebase to Hilt.
          +
          +
          See Also:
          +
          Migration to Hilt
          +
          +
          +
            +
          • + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            AliasOf +
            Defines an alias between an existing Hilt scope and the annotated scope.
            +
            DisableInstallInCheck +
            Marks a Module-annotated class to allow it to have no InstallIn annotation.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/migration/package-tree.html b/api/2.49/dagger/hilt/migration/package-tree.html new file mode 100644 index 00000000000..77f6df10b38 --- /dev/null +++ b/api/2.49/dagger/hilt/migration/package-tree.html @@ -0,0 +1,160 @@ + + + + + +dagger.hilt.migration Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.migration

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.migration.AliasOf (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.migration.DisableInstallInCheck (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/migration/package-use.html b/api/2.49/dagger/hilt/migration/package-use.html new file mode 100644 index 00000000000..62d9f1be2c3 --- /dev/null +++ b/api/2.49/dagger/hilt/migration/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.migration + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.migration

          +
          +
          No usage of dagger.hilt.migration
          +
          + + + diff --git a/api/2.49/dagger/hilt/package-summary.html b/api/2.49/dagger/hilt/package-summary.html new file mode 100644 index 00000000000..f637ad9b799 --- /dev/null +++ b/api/2.49/dagger/hilt/package-summary.html @@ -0,0 +1,224 @@ + + + + + +dagger.hilt + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @ParametersAreNonnullByDefault +

          +

          Package dagger.hilt

          +
          +
          +
          + + +
          This package contains the core APIs for Hilt. + +

          Hilt provides a standard way to incorporate Dagger dependency injection into an Android + application.

          +
          +
          See Also:
          +
          Hilt Developer Docs
          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Class Summary 
            ClassDescription
            EntryPoints +
            Static utility methods for accessing objects through entry points.
            +
            +
          • +
          • + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            DefineComponent +
            Defines a Hilt component.
            +
            DefineComponent.Builder +
            Defines a builder for a Hilt component.
            +
            EntryPoint +
            Annotation for marking an interface as an entry point into a generated component.
            +
            GeneratesRootInput +
            For annotating annotations that generate input for the GenerateComponents.
            +
            InstallIn +
            An annotation that declares which component(s) the annotated class should be included in when + Hilt generates the components.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/package-tree.html b/api/2.49/dagger/hilt/package-tree.html new file mode 100644 index 00000000000..4e832948acb --- /dev/null +++ b/api/2.49/dagger/hilt/package-tree.html @@ -0,0 +1,173 @@ + + + + + +dagger.hilt Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/package-use.html b/api/2.49/dagger/hilt/package-use.html new file mode 100644 index 00000000000..f73a91d0f7b --- /dev/null +++ b/api/2.49/dagger/hilt/package-use.html @@ -0,0 +1,524 @@ + + + + + +Uses of Package dagger.hilt + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/hilt/testing/TestInstallIn.html b/api/2.49/dagger/hilt/testing/TestInstallIn.html new file mode 100644 index 00000000000..45cfc2b8a49 --- /dev/null +++ b/api/2.49/dagger/hilt/testing/TestInstallIn.html @@ -0,0 +1,289 @@ + + + + + +TestInstallIn + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type TestInstallIn

          +
          +
          +
          +
            +
          • +
            +
            @Retention(CLASS)
            +@Target(TYPE)
            +public @interface TestInstallIn
            +
            An annotation that replaces one or more InstallIn modules with the annotated + module in tests. + +

            The annotated class must also be annotated with Module. + +

            Example: + +

            
            +   // Replaces FooModule with FakeFooModule, and installs it into the same component as FooModule.
            +   @Module
            +   @TestInstallIn(components = SingletonComponent.class, replaces = FooModule.class)
            +   public final class FakeFooModule {
            +     @Provides
            +     static Foo provideFoo() {
            +       return new FakeFoo();
            +     }
            +   }
            + 
            +
            +
            See Also:
            +
            Hilt Modules
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<?>[]components +
              Returns the component(s) into which the annotated module will be installed.
              +
              java.lang.Class<?>[]replaces +
              Returns the InstallIn module(s) that the annotated class will replace in tests.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                components

                +
                java.lang.Class<?>[] components
                +
                Returns the component(s) into which the annotated module will be installed.
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + +
                +
              • +

                replaces

                +
                java.lang.Class<?>[] replaces
                +
                Returns the InstallIn module(s) that the annotated class will replace in tests.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/hilt/testing/class-use/TestInstallIn.html b/api/2.49/dagger/hilt/testing/class-use/TestInstallIn.html new file mode 100644 index 00000000000..abb44cb1c5c --- /dev/null +++ b/api/2.49/dagger/hilt/testing/class-use/TestInstallIn.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.hilt.testing.TestInstallIn + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.hilt.testing.TestInstallIn

          +
          +
          No usage of dagger.hilt.testing.TestInstallIn
          +
          + + + diff --git a/api/2.49/dagger/hilt/testing/package-summary.html b/api/2.49/dagger/hilt/testing/package-summary.html new file mode 100644 index 00000000000..0b2618c5e4f --- /dev/null +++ b/api/2.49/dagger/hilt/testing/package-summary.html @@ -0,0 +1,180 @@ + + + + + +dagger.hilt.testing + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @ParametersAreNonnullByDefault +

          +

          Package dagger.hilt.testing

          +
          +
          +
          + + +
          This package contains APIs for writing tests with Hilt.
          +
          +
          See Also:
          +
          Hilt Testing
          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            TestInstallIn +
            An annotation that replaces one or more InstallIn modules with the annotated + module in tests.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/testing/package-tree.html b/api/2.49/dagger/hilt/testing/package-tree.html new file mode 100644 index 00000000000..7245e558437 --- /dev/null +++ b/api/2.49/dagger/hilt/testing/package-tree.html @@ -0,0 +1,159 @@ + + + + + +dagger.hilt.testing Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.hilt.testing

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.testing.TestInstallIn (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/hilt/testing/package-use.html b/api/2.49/dagger/hilt/testing/package-use.html new file mode 100644 index 00000000000..dd37e08e619 --- /dev/null +++ b/api/2.49/dagger/hilt/testing/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.hilt.testing + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.hilt.testing

          +
          +
          No usage of dagger.hilt.testing
          +
          + + + diff --git a/api/2.49/dagger/model/Binding.html b/api/2.49/dagger/model/Binding.html new file mode 100644 index 00000000000..c2c79490090 --- /dev/null +++ b/api/2.49/dagger/model/Binding.html @@ -0,0 +1,451 @@ + + + + + +Binding + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface Binding

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.MaybeBinding, BindingGraph.Node
            +
            +
            +
            public interface Binding
            +extends BindingGraph.MaybeBinding
            +
            The association between a Key and the way in which instances of the key are provided. + Includes any dependencies that are needed in order to provide the + instances. + +

            If a binding is owned by more than one component, there is one Binding for every + owning component.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + + + + + +
                +
              • +

                dependencies

                +
                com.google.common.collect.ImmutableSet<DependencyRequest> dependencies()
                +
                The dependencies of this binding. The order of the dependencies corresponds to the order in + which they will be injected when the binding is requested.
                +
              • +
              + + + +
                +
              • +

                bindingElement

                +
                java.util.Optional<javax.lang.model.element.Element> bindingElement()
                +
                The Element that declares this binding. Absent for binding + kinds that are not always declared by exactly one element. + +

                For example, consider BindingKind.MULTIBOUND_SET. A component with many + @IntoSet bindings for the same key will have a synthetic binding that depends on all + contributions, but with no identifiying binding element. A @Multibinds method will also + contribute a synthetic binding, but since multiple @Multibinds methods can coexist in + the same component (and contribute to one single binding), it has no binding element.

                +
              • +
              + + + +
                +
              • +

                contributingModule

                +
                java.util.Optional<javax.lang.model.element.TypeElement> contributingModule()
                +
                The TypeElement of the module which contributes this binding. Absent for bindings that + have no binding element.
                +
              • +
              + + + +
                +
              • +

                requiresModuleInstance

                +
                boolean requiresModuleInstance()
                +
                Returns true if using this binding requires an instance of the contributingModule().
                +
              • +
              + + + +
                +
              • +

                scope

                +
                java.util.Optional<Scope> scope()
                +
                The scope of this binding if it has one.
                +
              • +
              + + + + + + + +
                +
              • +

                isProduction

                +
                boolean isProduction()
                +
                Returns true if this is a production binding, e.g. an @Produces method.
                +
              • +
              + + + +
                +
              • +

                kind

                +
                BindingKind kind()
                +
                The kind of binding this instance represents.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.ChildFactoryMethodEdge.html b/api/2.49/dagger/model/BindingGraph.ChildFactoryMethodEdge.html new file mode 100644 index 00000000000..2e0e21b8c65 --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.ChildFactoryMethodEdge.html @@ -0,0 +1,264 @@ + + + + + +BindingGraph.ChildFactoryMethodEdge + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.ChildFactoryMethodEdge

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Edge
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.ChildFactoryMethodEdge
            +extends BindingGraph.Edge
            +
            An edge that represents a subcomponent factory method linking a parent component to a child + subcomponent.
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                factoryMethod

                +
                javax.lang.model.element.ExecutableElement factoryMethod()
                +
                The subcomponent factory method element.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.ComponentNode.html b/api/2.49/dagger/model/BindingGraph.ComponentNode.html new file mode 100644 index 00000000000..a0ec3b81c8c --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.ComponentNode.html @@ -0,0 +1,340 @@ + + + + + +BindingGraph.ComponentNode + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.ComponentNode

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Node
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.ComponentNode
            +extends BindingGraph.Node
            +
            A component node in the graph. Every entry point dependency + edge's source node is a component node for the component containing the entry point.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              ComponentPathcomponentPath() +
              The component represented by this node.
              +
              com.google.common.collect.ImmutableSet<DependencyRequest>entryPoints() +
              The entry points on this component.
              +
              booleanisRealComponent() +
              Returns true if the component is a real component, or false if it is a + fictional component based on a module.
              +
              booleanisSubcomponent() +
              Returns true if the component is a @Subcomponent or + @ProductionSubcomponent.
              +
              com.google.common.collect.ImmutableSet<Scope>scopes() +
              The scopes declared on this component.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + +
                +
              • +

                isSubcomponent

                +
                boolean isSubcomponent()
                +
                Returns true if the component is a @Subcomponent or + @ProductionSubcomponent.
                +
              • +
              + + + +
                +
              • +

                isRealComponent

                +
                boolean isRealComponent()
                +
                Returns true if the component is a real component, or false if it is a + fictional component based on a module.
                +
              • +
              + + + +
                +
              • +

                entryPoints

                +
                com.google.common.collect.ImmutableSet<DependencyRequest> entryPoints()
                +
                The entry points on this component.
                +
              • +
              + + + +
                +
              • +

                scopes

                +
                com.google.common.collect.ImmutableSet<Scope> scopes()
                +
                The scopes declared on this component.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.DependencyEdge.html b/api/2.49/dagger/model/BindingGraph.DependencyEdge.html new file mode 100644 index 00000000000..05509e5d5b8 --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.DependencyEdge.html @@ -0,0 +1,290 @@ + + + + + +BindingGraph.DependencyEdge + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.DependencyEdge

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Edge
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.DependencyEdge
            +extends BindingGraph.Edge
            +
            An edge that represents a dependency on a binding. + +

            Because one DependencyRequest may represent a dependency from two bindings (e.g., a + dependency of Foo<String> and Foo<Number> may have the same key and request + element), this class does not override Object.equals(Object) to use value semantics. + +

            For entry points, the source node is the BindingGraph.ComponentNode that contains the entry + point. Otherwise the source node is a Binding. + +

            For dependencies on missing bindings, the target node is a BindingGraph.MissingBinding. Otherwise + the target node is a Binding.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                dependencyRequest

                +
                DependencyRequest dependencyRequest()
                +
                The dependency request.
                +
              • +
              + + + +
                +
              • +

                isEntryPoint

                +
                boolean isEntryPoint()
                +
                Returns true if this edge represents an entry point.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.Edge.html b/api/2.49/dagger/model/BindingGraph.Edge.html new file mode 100644 index 00000000000..2bc844ef3f9 --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.Edge.html @@ -0,0 +1,199 @@ + + + + + +BindingGraph.Edge + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.Edge

          +
          +
          +
          + +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.MaybeBinding.html b/api/2.49/dagger/model/BindingGraph.MaybeBinding.html new file mode 100644 index 00000000000..07671b53f8f --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.MaybeBinding.html @@ -0,0 +1,309 @@ + + + + + +BindingGraph.MaybeBinding + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.MaybeBinding

          +
          +
          +
          + +
          +
          +
            +
          • + +
            + +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + +
                +
              • +

                key

                +
                Key key()
                +
                The key of the binding, or for which there is no binding.
                +
              • +
              + + + +
                +
              • +

                binding

                +
                java.util.Optional<Binding> binding()
                +
                The binding, or empty if missing.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.MissingBinding.html b/api/2.49/dagger/model/BindingGraph.MissingBinding.html new file mode 100644 index 00000000000..5df91819e8e --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.MissingBinding.html @@ -0,0 +1,392 @@ + + + + + +BindingGraph.MissingBinding + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class BindingGraph.MissingBinding

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.BindingGraph.MissingBinding
            • +
            +
          • +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              MissingBinding() 
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/BindingGraph.Node.html b/api/2.49/dagger/model/BindingGraph.Node.html new file mode 100644 index 00000000000..73af89432c3 --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.Node.html @@ -0,0 +1,266 @@ + + + + + +BindingGraph.Node + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.Node

          +
          +
          +
          + +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                componentPath

                +
                ComponentPath componentPath()
                +
                The component this node belongs to.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.SubcomponentCreatorBindingEdge.html b/api/2.49/dagger/model/BindingGraph.SubcomponentCreatorBindingEdge.html new file mode 100644 index 00000000000..d1d1d823858 --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.SubcomponentCreatorBindingEdge.html @@ -0,0 +1,271 @@ + + + + + +BindingGraph.SubcomponentCreatorBindingEdge + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Interface BindingGraph.SubcomponentCreatorBindingEdge

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Edge
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.SubcomponentCreatorBindingEdge
            +extends BindingGraph.Edge
            +
            An edge that represents the link between a parent component and a child subcomponent implied by + a subcomponent creator (builder or factory) binding. + +

            The source node of this edge is a + Binding for the subcomponent creator Key and the target node is a BindingGraph.ComponentNode for the + child subcomponent.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                declaringModules

                +
                com.google.common.collect.ImmutableSet<javax.lang.model.element.TypeElement> declaringModules()
                +
                The modules that declare the subcomponent that generated + this edge. Empty if the parent component has a subcomponent creator method and there are no + declaring modules.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/model/BindingGraph.html b/api/2.49/dagger/model/BindingGraph.html new file mode 100644 index 00000000000..09925549274 --- /dev/null +++ b/api/2.49/dagger/model/BindingGraph.html @@ -0,0 +1,849 @@ + + + + + +BindingGraph + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class BindingGraph

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.BindingGraph
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class BindingGraph
            +extends java.lang.Object
            +
            A graph of bindings, dependency requests, and components. + +

            A BindingGraph represents one of the following: + +

              +
            • an entire component hierarchy rooted at a Component or ProductionComponent +
            • a partial component hierarchy rooted at a Subcomponent or + ProductionSubcomponent (only when the value of + -Adagger.fullBindingGraphValidation is not NONE) +
            • the bindings installed by a Module or ProducerModule, + including all subcomponents generated by Module#subcomponents() and + ProducerModule#subcomponents() +
            + + In the case of a BindingGraph representing a module, the root BindingGraph.ComponentNode will + actually represent the module type. The graph will also be a full binding graph, which means it will contain all bindings in all modules, as well as nodes + for their dependencies. Otherwise it will contain only bindings that are reachable from at least + one entry point. + +

            Nodes

            + +

            There is a Binding for each owned binding in the graph. If a binding is owned + by more than one component, there is one binding object for that binding for every owning + component. + +

            There is a component node (without a binding) for each + component in the graph. + +

            Edges

            + +

            There is a dependency edge for each dependency request in + the graph. Its target node is the binding for the binding that satisfies the request. For entry + point dependency requests, the source node is the component node for the component for which it + is an entry point. For other dependency requests, the source node is the binding for the binding + that contains the request. + +

            There is a subcomponent edge for each parent-child component relationship in the graph. + The target node is the component node for the child component. For subcomponents defined by a + subcomponent creator binding (either a method on the + component or a set of @Module.subcomponents annotation values), the source node is the + binding for the @Subcomponent.Builder type. For subcomponents defined by subcomponent factory methods, the source node is the component node for + the parent. + +

            Note that this API is experimental and will change.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                BindingGraph

                +
                public BindingGraph()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                network

                +
                public abstract com.google.common.graph.ImmutableNetwork<BindingGraph.Node,​BindingGraph.Edge> network()
                +
                Returns the graph in its Network representation.
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public java.lang.String toString()
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                isModuleBindingGraph

                +
                @Deprecated
                +public boolean isModuleBindingGraph()
                +
                Deprecated. +
                use isFullBindingGraph() to tell if this is a full binding graph, or + rootComponentNode().isRealComponent() to tell if + the root component node is really a component or derived from a module. Dagger can generate + full binding graphs for components and subcomponents as well as modules.
                +
                +
                Returns true if this graph was constructed from a module for full binding graph + validation.
                +
              • +
              + + + +
                +
              • +

                isFullBindingGraph

                +
                public abstract boolean isFullBindingGraph()
                +
                Returns true if this is a full binding graph, which contains all bindings installed in + the component, or false if it is a reachable binding graph, which contains only + bindings that are reachable from at least one entry point.
                +
                +
                See Also:
                +
                Full binding + graph validation
                +
                +
              • +
              + + + +
                +
              • +

                isPartialBindingGraph

                +
                @Deprecated
                +public boolean isPartialBindingGraph()
                +
                Deprecated. + +
                +
                Returns true if the rootComponentNode() is a subcomponent. This occurs in + when -Adagger.fullBindingGraphValidation is used in a compilation with a subcomponent.
                +
              • +
              + + + +
                +
              • +

                bindings

                +
                public com.google.common.collect.ImmutableSet<Binding> bindings()
                +
                Returns the bindings.
                +
              • +
              + + + +
                +
              • +

                bindings

                +
                public com.google.common.collect.ImmutableSet<Binding> bindings​(Key key)
                +
                Returns the bindings for a key.
                +
              • +
              + + + +
                +
              • +

                missingBindings

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.MissingBinding> missingBindings()
                +
                Returns the nodes that represent missing bindings.
                +
              • +
              + + + +
                +
              • +

                componentNodes

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.ComponentNode> componentNodes()
                +
                Returns the component nodes.
                +
              • +
              + + + + + + + +
                +
              • +

                componentNodes

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.ComponentNode> componentNodes​(javax.lang.model.element.TypeElement component)
                +
                Returns the component nodes for a component.
                +
              • +
              + + + +
                +
              • +

                rootComponentNode

                +
                public BindingGraph.ComponentNode rootComponentNode()
                +
                Returns the component node for the root component.
                +
              • +
              + + + +
                +
              • +

                dependencyEdges

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> dependencyEdges()
                +
                Returns the dependency edges.
                +
              • +
              + + + + + + + + + + + +
                +
              • +

                entryPointEdges

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> entryPointEdges​(ComponentPath component)
                +
                Returns the dependency edges for the entry points of a given component. Each edge's + source node is that component's component node.
                +
              • +
              + + + +
                +
              • +

                entryPointEdges

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> entryPointEdges()
                +
                Returns the dependency edges for all entry points for all components and subcomponents. Each + edge's source node is a component node.
                +
              • +
              + + + +
                +
              • +

                entryPointBindings

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding> entryPointBindings()
                +
                Returns the binding or missing binding nodes that directly satisfy entry points.
                +
              • +
              + + + +
                +
              • +

                entryPointEdgesDependingOnBinding

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> entryPointEdgesDependingOnBinding​(BindingGraph.MaybeBinding binding)
                +
                Returns the edges for entry points that transitively depend on a binding or missing binding for + a key.
                +
              • +
              + + + +
                +
              • +

                requestingBindings

                +
                public com.google.common.collect.ImmutableSet<Binding> requestingBindings​(BindingGraph.MaybeBinding binding)
                +
                Returns the bindings that directly request a given binding as a dependency.
                +
              • +
              + + + + + + + +
                +
              • +

                requestedMaybeMissingBindings

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding> requestedMaybeMissingBindings​(Binding binding)
                +
                Returns the bindings or missing bindings that a given binding directly requests as a + dependency.
                +
                +
                See Also:
                +
                requestedBindings(Binding)
                +
                +
              • +
              + + + +
                +
              • +

                nodesByClass

                +
                protected com.google.common.collect.ImmutableSetMultimap<java.lang.Class<? extends BindingGraph.Node>,​? extends BindingGraph.Node> nodesByClass()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/BindingKind.html b/api/2.49/dagger/model/BindingKind.html new file mode 100644 index 00000000000..4d356263e15 --- /dev/null +++ b/api/2.49/dagger/model/BindingKind.html @@ -0,0 +1,660 @@ + + + + + +BindingKind + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Enum BindingKind

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • java.lang.Enum<BindingKind>
            • +
            • +
                +
              • dagger.model.BindingKind
              • +
              +
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            java.io.Serializable, java.lang.Comparable<BindingKind>
            +
            +
            +
            public enum BindingKind
            +extends java.lang.Enum<BindingKind>
            +
            Represents the different kinds of Bindings that can exist in a binding graph.
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              booleanisMultibinding() +
              Returns true if this is a kind of multibinding (not a contribution to a multibinding, + but the multibinding itself).
              +
              static BindingKindvalueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static BindingKind[]values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Enum

                +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Detail

              + + + +
                +
              • +

                INJECTION

                +
                public static final BindingKind INJECTION
                +
                A binding for an Inject-annotated constructor.
                +
              • +
              + + + +
                +
              • +

                PROVISION

                +
                public static final BindingKind PROVISION
                +
                A binding for a Provides-annotated method.
                +
              • +
              + + + +
                +
              • +

                ASSISTED_INJECTION

                +
                public static final BindingKind ASSISTED_INJECTION
                +
                A binding for an Inject-annotated constructor that contains at least one + Assisted-annotated parameter.
                +
              • +
              + + + + + + + +
                +
              • +

                COMPONENT

                +
                public static final BindingKind COMPONENT
                +
                An implicit binding for a Component- or ProductionComponent-annotated type.
                +
              • +
              + + + +
                +
              • +

                COMPONENT_PROVISION

                +
                public static final BindingKind COMPONENT_PROVISION
                +
                A binding for a provision method on a component's dependency.
                +
              • +
              + + + +
                +
              • +

                COMPONENT_DEPENDENCY

                +
                public static final BindingKind COMPONENT_DEPENDENCY
                +
                A binding for an instance of a component's dependency.
                +
              • +
              + + + + + + + +
                +
              • +

                SUBCOMPONENT_CREATOR

                +
                public static final BindingKind SUBCOMPONENT_CREATOR
                +
                A binding for a subcomponent creator (a builder or + factory).
                +
                +
                Since:
                +
                2.22 (previously named SUBCOMPONENT_BUILDER)
                +
                +
              • +
              + + + +
                +
              • +

                BOUND_INSTANCE

                +
                public static final BindingKind BOUND_INSTANCE
                +
                A binding for a BindsInstance-annotated builder method.
                +
              • +
              + + + +
                +
              • +

                PRODUCTION

                +
                public static final BindingKind PRODUCTION
                +
                A binding for a Produces-annotated method.
                +
              • +
              + + + +
                +
              • +

                COMPONENT_PRODUCTION

                +
                public static final BindingKind COMPONENT_PRODUCTION
                +
                A binding for a production method on a production component's + ProductionComponent#dependencies() that returns a ListenableFuture or + FluentFuture. Methods on production component dependencies + that don't return a future are considered component provision + bindings.
                +
              • +
              + + + +
                +
              • +

                MULTIBOUND_SET

                +
                public static final BindingKind MULTIBOUND_SET
                +
                A synthetic binding for a multibound set that depends on individual multibinding PROVISION or PRODUCTION contributions.
                +
              • +
              + + + +
                +
              • +

                MULTIBOUND_MAP

                +
                public static final BindingKind MULTIBOUND_MAP
                +
                A synthetic binding for a multibound map that depends on the individual multibinding PROVISION or PRODUCTION contributions.
                +
              • +
              + + + +
                +
              • +

                OPTIONAL

                +
                public static final BindingKind OPTIONAL
                +
                A synthetic binding for Optional of a type or a Provider, Lazy, or Provider of Lazy of a type. Generated by a BindsOptionalOf declaration.
                +
              • +
              + + + +
                +
              • +

                DELEGATE

                +
                public static final BindingKind DELEGATE
                +
                A binding for Binds-annotated method that delegates from requests for one + key to another.
                +
              • +
              + + + +
                +
              • +

                MEMBERS_INJECTION

                +
                public static final BindingKind MEMBERS_INJECTION
                +
                A binding for a members injection method on a component.
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                values

                +
                public static BindingKind[] values()
                +
                Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                +for (BindingKind c : BindingKind.values())
                +    System.out.println(c);
                +
                +
                +
                Returns:
                +
                an array containing the constants of this enum type, in the order they are declared
                +
                +
              • +
              + + + +
                +
              • +

                valueOf

                +
                public static BindingKind valueOf​(java.lang.String name)
                +
                Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                +
                +
                Parameters:
                +
                name - the name of the enum constant to be returned.
                +
                Returns:
                +
                the enum constant with the specified name
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
                +
                java.lang.NullPointerException - if the argument is null
                +
                +
              • +
              + + + +
                +
              • +

                isMultibinding

                +
                public boolean isMultibinding()
                +
                Returns true if this is a kind of multibinding (not a contribution to a multibinding, + but the multibinding itself).
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/ComponentPath.html b/api/2.49/dagger/model/ComponentPath.html new file mode 100644 index 00000000000..4dc793a1f15 --- /dev/null +++ b/api/2.49/dagger/model/ComponentPath.html @@ -0,0 +1,497 @@ + + + + + +ComponentPath + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class ComponentPath

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.ComponentPath
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class ComponentPath
            +extends java.lang.Object
            +
            A path containing a component and all of its ancestor components.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              ComponentPath() 
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                ComponentPath

                +
                public ComponentPath()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                create

                +
                public static ComponentPath create​(java.lang.Iterable<javax.lang.model.element.TypeElement> components)
                +
                Returns a new ComponentPath from components.
                +
              • +
              + + + +
                +
              • +

                components

                +
                public abstract com.google.common.collect.ImmutableList<javax.lang.model.element.TypeElement> components()
                +
                Returns the component types, starting from the root + component and ending with the current component.
                +
              • +
              + + + +
                +
              • +

                rootComponent

                +
                public final javax.lang.model.element.TypeElement rootComponent()
                +
                Returns the root Component- or ProductionComponent-annotated type
                +
              • +
              + + + +
                +
              • +

                currentComponent

                +
                @Memoized
                +public javax.lang.model.element.TypeElement currentComponent()
                +
                Returns the component at the end of the path.
                +
              • +
              + + + +
                +
              • +

                parentComponent

                +
                public final javax.lang.model.element.TypeElement parentComponent()
                +
                Returns the parent of the currentComponent() current component}.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current graph is the root component
                +
                +
              • +
              + + + +
                +
              • +

                parent

                +
                public final ComponentPath parent()
                +
                Returns this path's parent path.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current graph is the root component
                +
                +
              • +
              + + + +
                +
              • +

                childPath

                +
                public final ComponentPath childPath​(javax.lang.model.element.TypeElement child)
                +
                Returns the path from the root component to the child of the current component.
                +
              • +
              + + + + + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                @Memoized
                +public abstract int hashCode()
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                equals

                +
                public abstract boolean equals​(java.lang.Object obj)
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/DependencyRequest.Builder.html b/api/2.49/dagger/model/DependencyRequest.Builder.html new file mode 100644 index 00000000000..40acb5654e6 --- /dev/null +++ b/api/2.49/dagger/model/DependencyRequest.Builder.html @@ -0,0 +1,368 @@ + + + + + +DependencyRequest.Builder + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class DependencyRequest.Builder

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.DependencyRequest.Builder
            • +
            +
          • +
          +
          + +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/DependencyRequest.html b/api/2.49/dagger/model/DependencyRequest.html new file mode 100644 index 00000000000..9a917df8bd2 --- /dev/null +++ b/api/2.49/dagger/model/DependencyRequest.html @@ -0,0 +1,410 @@ + + + + + +DependencyRequest + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class DependencyRequest

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.DependencyRequest
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class DependencyRequest
            +extends java.lang.Object
            +
            Represents a request for a Key at an injection point. For example, parameters to Inject constructors, Provides methods, and component methods are all dependency + requests. + +

            A dependency request is considered to be synthetic if it does not have + an Element in code that requests the key directly. For example, an Executor is required for all @Produces methods to run + asynchronously even though it is not directly specified as a parameter to the binding method.

            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              DependencyRequest() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static DependencyRequest.Builderbuilder() +
              Returns a new builder of dependency requests.
              +
              abstract booleanisNullable() +
              Returns true if this request allows null objects.
              +
              abstract Keykey() +
              The key of this request.
              +
              abstract RequestKindkind() +
              The kind of this request.
              +
              abstract java.util.Optional<javax.lang.model.element.Element>requestElement() +
              The element that declares this dependency request.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DependencyRequest

                +
                public DependencyRequest()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                kind

                +
                public abstract RequestKind kind()
                +
                The kind of this request.
                +
              • +
              + + + +
                +
              • +

                key

                +
                public abstract Key key()
                +
                The key of this request.
                +
              • +
              + + + +
                +
              • +

                requestElement

                +
                public abstract java.util.Optional<javax.lang.model.element.Element> requestElement()
                +
                The element that declares this dependency request. Absent for synthetic + requests.
                +
              • +
              + + + +
                +
              • +

                isNullable

                +
                public abstract boolean isNullable()
                +
                Returns true if this request allows null objects. A request is nullable if it is + has an annotation with "Nullable" as its simple name.
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/Key.Builder.html b/api/2.49/dagger/model/Key.Builder.html new file mode 100644 index 00000000000..6ab10b27d4c --- /dev/null +++ b/api/2.49/dagger/model/Key.Builder.html @@ -0,0 +1,384 @@ + + + + + +Key.Builder + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class Key.Builder

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.Key.Builder
            • +
            +
          • +
          +
          +
            +
          • +
            +
            Enclosing class:
            +
            Key
            +
            +
            +
            public abstract static class Key.Builder
            +extends java.lang.Object
            +
            A builder for Keys.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                Builder

                +
                public Builder()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                type

                +
                @CanIgnoreReturnValue
                +public final Key.Builder type​(javax.lang.model.type.TypeMirror type)
                +
              • +
              + + + +
                +
              • +

                qualifier

                +
                @CanIgnoreReturnValue
                +public final Key.Builder qualifier​(javax.lang.model.element.AnnotationMirror qualifier)
                +
              • +
              + + + +
                +
              • +

                qualifier

                +
                @CanIgnoreReturnValue
                +public final Key.Builder qualifier​(java.util.Optional<javax.lang.model.element.AnnotationMirror> qualifier)
                +
              • +
              + + + + + + + + + + + +
                +
              • +

                build

                +
                public abstract Key build()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/Key.MultibindingContributionIdentifier.html b/api/2.49/dagger/model/Key.MultibindingContributionIdentifier.html new file mode 100644 index 00000000000..f5a113454a8 --- /dev/null +++ b/api/2.49/dagger/model/Key.MultibindingContributionIdentifier.html @@ -0,0 +1,435 @@ + + + + + +Key.MultibindingContributionIdentifier + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class Key.MultibindingContributionIdentifier

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.Key.MultibindingContributionIdentifier
            • +
            +
          • +
          +
          +
            +
          • +
            +
            Enclosing class:
            +
            Key
            +
            +
            +
            public static final class Key.MultibindingContributionIdentifier
            +extends java.lang.Object
            +
            An object that identifies a multibinding contribution method and the module class that + contributes it to the graph.
            +
            +
            See Also:
            +
            Key.multibindingContributionIdentifier()
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              MultibindingContributionIdentifier​(java.lang.String bindingElement, + java.lang.String module) +
              Deprecated.
              +
              MultibindingContributionIdentifier​(javax.lang.model.element.ExecutableElement bindingMethod, + javax.lang.model.element.TypeElement contributingModule) +
              Deprecated. +
              This is only meant to be called from code in dagger.internal.codegen.
              +
              +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Concrete Methods Deprecated Methods 
              Modifier and TypeMethodDescription
              java.lang.StringbindingElement() +
              Deprecated. +
              This is only meant to be called from code in dagger.internal.codegen.
              +
              +
              booleanequals​(java.lang.Object obj) 
              inthashCode() 
              java.lang.Stringmodule() +
              Deprecated. +
              This is only meant to be called from code in dagger.internal.codegen.
              +
              +
              java.lang.StringtoString()
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                MultibindingContributionIdentifier

                +
                @Deprecated
                +public MultibindingContributionIdentifier​(javax.lang.model.element.ExecutableElement bindingMethod,
                +                                          javax.lang.model.element.TypeElement contributingModule)
                +
                Deprecated. +
                This is only meant to be called from code in dagger.internal.codegen. + It is not part of a specified API and may change at any point.
                +
                +
              • +
              + + + +
                +
              • +

                MultibindingContributionIdentifier

                +
                @Deprecated
                +public MultibindingContributionIdentifier​(java.lang.String bindingElement,
                +                                          java.lang.String module)
                +
                Deprecated.
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                module

                +
                @Deprecated
                +public java.lang.String module()
                +
                Deprecated. +
                This is only meant to be called from code in dagger.internal.codegen. + It is not part of a specified API and may change at any point.
                +
                +
              • +
              + + + +
                +
              • +

                bindingElement

                +
                @Deprecated
                +public java.lang.String bindingElement()
                +
                Deprecated. +
                This is only meant to be called from code in dagger.internal.codegen. + It is not part of a specified API and may change at any point.
                +
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public java.lang.String toString()
                +
                + +

                The returned string is human-readable and distinguishes the keys in the same way as the + whole object.

                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                equals

                +
                public boolean equals​(java.lang.Object obj)
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                public int hashCode()
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/Key.html b/api/2.49/dagger/model/Key.html new file mode 100644 index 00000000000..ce1de7cf9c7 --- /dev/null +++ b/api/2.49/dagger/model/Key.html @@ -0,0 +1,474 @@ + + + + + +Key + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class Key

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.Key
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class Key
            +extends java.lang.Object
            +
            A type and an optional qualifier that + is the lookup key for a binding.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Nested Class Summary

              + + + + + + + + + + + + + + + + + +
              Nested Classes 
              Modifier and TypeClassDescription
              static class Key.Builder +
              A builder for Keys.
              +
              static class Key.MultibindingContributionIdentifier +
              An object that identifies a multibinding contribution method and the module class that + contributes it to the graph.
              +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              Key() 
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                Key

                +
                public Key()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                qualifier

                +
                public final java.util.Optional<javax.lang.model.element.AnnotationMirror> qualifier()
                +
                A Qualifier annotation that provides a unique namespace prefix + for the type of this key.
                +
              • +
              + + + +
                +
              • +

                type

                +
                public final javax.lang.model.type.TypeMirror type()
                +
                The type represented by this key.
                +
              • +
              + + + +
                +
              • +

                multibindingContributionIdentifier

                +
                public abstract java.util.Optional<Key.MultibindingContributionIdentifier> multibindingContributionIdentifier()
                +
                Distinguishes keys for multibinding contributions that share a type() and qualifier(). + +

                Each multibound map and set has a synthetic multibinding that depends on the specific + contributions to that map or set using keys that identify those multibinding contributions. + +

                Absent except for multibinding contributions.

                +
              • +
              + + + +
                +
              • +

                toBuilder

                +
                public abstract Key.Builder toBuilder()
                +
                Returns a Key.Builder that inherits the properties of this key.
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                @Memoized
                +public abstract int hashCode()
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                equals

                +
                public abstract boolean equals​(java.lang.Object o)
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                builder

                +
                public static Key.Builder builder​(javax.lang.model.type.TypeMirror type)
                +
                Returns a builder for Keys.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/RequestKind.html b/api/2.49/dagger/model/RequestKind.html new file mode 100644 index 00000000000..2604bcf3a27 --- /dev/null +++ b/api/2.49/dagger/model/RequestKind.html @@ -0,0 +1,504 @@ + + + + + +RequestKind + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Enum RequestKind

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • java.lang.Enum<RequestKind>
            • +
            • +
                +
              • dagger.model.RequestKind
              • +
              +
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            java.io.Serializable, java.lang.Comparable<RequestKind>
            +
            +
            +
            public enum RequestKind
            +extends java.lang.Enum<RequestKind>
            +
            Represents the different kinds of types that may be + requested as dependencies for the same key. For example, String, + Provider<String>, and Lazy<String> can all be requested if a key exists for + String; they have the INSTANCE, PROVIDER, and LAZY request kinds, + respectively.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Enum Constants 
              Enum ConstantDescription
              FUTURE +
              A request for a ListenableFuture.
              +
              INSTANCE +
              A default request for an instance.
              +
              LAZY +
              A request for a Lazy.
              +
              MEMBERS_INJECTION +
              A request for a members injection.
              +
              PRODUCED +
              A request for a Produced.
              +
              PRODUCER +
              A request for a Producer.
              +
              PROVIDER +
              A request for a Provider.
              +
              PROVIDER_OF_LAZY +
              A request for a Provider of a Lazy.
              +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              java.lang.Stringformat​(Key key) +
              Returns a string that represents requests of this kind for a key.
              +
              static RequestKindvalueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static RequestKind[]values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Enum

                +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Detail

              + + + +
                +
              • +

                INSTANCE

                +
                public static final RequestKind INSTANCE
                +
                A default request for an instance. E.g.: FooType
                +
              • +
              + + + +
                +
              • +

                PROVIDER

                +
                public static final RequestKind PROVIDER
                +
                A request for a Provider. E.g.: Provider<FooType>
                +
              • +
              + + + +
                +
              • +

                LAZY

                +
                public static final RequestKind LAZY
                +
                A request for a Lazy. E.g.: Lazy<FooType>
                +
              • +
              + + + +
                +
              • +

                PROVIDER_OF_LAZY

                +
                public static final RequestKind PROVIDER_OF_LAZY
                +
                A request for a Provider of a Lazy. E.g.: Provider<Lazy<FooType>>
                +
              • +
              + + + +
                +
              • +

                MEMBERS_INJECTION

                +
                public static final RequestKind MEMBERS_INJECTION
                +
                A request for a members injection. E.g. void injectMembers(FooType);. Can only be + requested by component interfaces.
                +
              • +
              + + + +
                +
              • +

                PRODUCER

                +
                public static final RequestKind PRODUCER
                +
                A request for a Producer. E.g.: Producer<FooType>
                +
              • +
              + + + +
                +
              • +

                PRODUCED

                +
                public static final RequestKind PRODUCED
                +
                A request for a Produced. E.g.: Produced<FooType>
                +
              • +
              + + + +
                +
              • +

                FUTURE

                +
                public static final RequestKind FUTURE
                +
                A request for a ListenableFuture. E.g.: ListenableFuture<FooType>. These can + only be requested by component interfaces.
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                values

                +
                public static RequestKind[] values()
                +
                Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                +for (RequestKind c : RequestKind.values())
                +    System.out.println(c);
                +
                +
                +
                Returns:
                +
                an array containing the constants of this enum type, in the order they are declared
                +
                +
              • +
              + + + +
                +
              • +

                valueOf

                +
                public static RequestKind valueOf​(java.lang.String name)
                +
                Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                +
                +
                Parameters:
                +
                name - the name of the enum constant to be returned.
                +
                Returns:
                +
                the enum constant with the specified name
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
                +
                java.lang.NullPointerException - if the argument is null
                +
                +
              • +
              + + + +
                +
              • +

                format

                +
                public java.lang.String format​(Key key)
                +
                Returns a string that represents requests of this kind for a key.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/Scope.html b/api/2.49/dagger/model/Scope.html new file mode 100644 index 00000000000..4091614c7f5 --- /dev/null +++ b/api/2.49/dagger/model/Scope.html @@ -0,0 +1,450 @@ + + + + + +Scope + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.model
          +

          Class Scope

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.model.Scope
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class Scope
            +extends java.lang.Object
            +
            A representation of a Scope.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              Scope() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              booleanisProductionScope() +
              Returns true if this scope is the @ProductionScope scope.
              +
              booleanisReusable() +
              Returns true if this scope is the @Reusable scope.
              +
              static booleanisScope​(javax.lang.model.element.AnnotationMirror scopeAnnotation) +
              Returns true if scopeAnnotation() is a Scope annotation.
              +
              static booleanisScope​(javax.lang.model.element.TypeElement scopeAnnotationType) +
              Returns true if scopeAnnotationType is a Scope annotation.
              +
              booleanisSingleton() +
              Returns true if this scope is the @Singleton scope.
              +
              static Scopescope​(javax.lang.model.element.AnnotationMirror scopeAnnotation) +
              Creates a Scope object from the Scope-annotated annotation type.
              +
              javax.lang.model.element.AnnotationMirrorscopeAnnotation() +
              The AnnotationMirror that represents the scope annotation.
              +
              javax.lang.model.element.TypeElementscopeAnnotationElement() +
              The scope annotation element.
              +
              java.lang.StringtoString() +
              Returns a debug representation of the scope.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                Scope

                +
                public Scope()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                scopeAnnotation

                +
                public final javax.lang.model.element.AnnotationMirror scopeAnnotation()
                +
                The AnnotationMirror that represents the scope annotation.
                +
              • +
              + + + +
                +
              • +

                scopeAnnotationElement

                +
                public final javax.lang.model.element.TypeElement scopeAnnotationElement()
                +
                The scope annotation element.
                +
              • +
              + + + +
                +
              • +

                scope

                +
                public static Scope scope​(javax.lang.model.element.AnnotationMirror scopeAnnotation)
                +
                Creates a Scope object from the Scope-annotated annotation type.
                +
              • +
              + + + +
                +
              • +

                isScope

                +
                public static boolean isScope​(javax.lang.model.element.AnnotationMirror scopeAnnotation)
                +
                Returns true if scopeAnnotation() is a Scope annotation.
                +
              • +
              + + + +
                +
              • +

                isScope

                +
                public static boolean isScope​(javax.lang.model.element.TypeElement scopeAnnotationType)
                +
                Returns true if scopeAnnotationType is a Scope annotation.
                +
              • +
              + + + +
                +
              • +

                isSingleton

                +
                public final boolean isSingleton()
                +
                Returns true if this scope is the @Singleton scope.
                +
              • +
              + + + +
                +
              • +

                isReusable

                +
                public final boolean isReusable()
                +
                Returns true if this scope is the @Reusable scope.
                +
              • +
              + + + +
                +
              • +

                isProductionScope

                +
                public final boolean isProductionScope()
                +
                Returns true if this scope is the @ProductionScope scope.
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                Returns a debug representation of the scope.
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/model/class-use/Binding.html b/api/2.49/dagger/model/class-use/Binding.html new file mode 100644 index 00000000000..2eda5dec4eb --- /dev/null +++ b/api/2.49/dagger/model/class-use/Binding.html @@ -0,0 +1,275 @@ + + + + + +Uses of Interface dagger.model.Binding + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.Binding

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Binding 
            PackageDescription
            dagger.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of Binding in dagger.model

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.model that return types with arguments of type Binding 
              Modifier and TypeMethodDescription
              default java.util.Optional<Binding>Binding.binding() +
              Deprecated. +
              This always returns Optional.of(this).
              +
              +
              java.util.Optional<Binding>BindingGraph.MaybeBinding.binding() +
              The binding, or empty if missing.
              +
              java.util.Optional<Binding>BindingGraph.MissingBinding.binding() +
              Deprecated. +
              This always returns Optional.empty().
              +
              +
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.bindings() +
              Returns the bindings.
              +
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.bindings​(Key key) +
              Returns the bindings for a key.
              +
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.requestedBindings​(Binding binding) +
              Returns the bindings that a given binding directly requests as a dependency.
              +
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.requestingBindings​(BindingGraph.MaybeBinding binding) +
              Returns the bindings that directly request a given binding as a dependency.
              +
              + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.model with parameters of type Binding 
              Modifier and TypeMethodDescription
              com.google.common.collect.ImmutableSetMultimap<DependencyRequest,​BindingGraph.DependencyEdge>BindingGraph.dependencyEdges​(Binding binding) +
              Returns the dependency edges for the dependencies of a binding.
              +
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.requestedBindings​(Binding binding) +
              Returns the bindings that a given binding directly requests as a dependency.
              +
              com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding>BindingGraph.requestedMaybeMissingBindings​(Binding binding) +
              Returns the bindings or missing bindings that a given binding directly requests as a + dependency.
              +
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.ChildFactoryMethodEdge.html b/api/2.49/dagger/model/class-use/BindingGraph.ChildFactoryMethodEdge.html new file mode 100644 index 00000000000..1c56996469d --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.ChildFactoryMethodEdge.html @@ -0,0 +1,210 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.ChildFactoryMethodEdge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.ChildFactoryMethodEdge

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.ComponentNode.html b/api/2.49/dagger/model/class-use/BindingGraph.ComponentNode.html new file mode 100644 index 00000000000..b9f53fe8897 --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.ComponentNode.html @@ -0,0 +1,272 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.ComponentNode + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.ComponentNode

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.DependencyEdge.html b/api/2.49/dagger/model/class-use/BindingGraph.DependencyEdge.html new file mode 100644 index 00000000000..b36cebb08df --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.DependencyEdge.html @@ -0,0 +1,277 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.DependencyEdge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.DependencyEdge

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.Edge.html b/api/2.49/dagger/model/class-use/BindingGraph.Edge.html new file mode 100644 index 00000000000..e54ba2c71a4 --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.Edge.html @@ -0,0 +1,230 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.Edge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.Edge

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.MaybeBinding.html b/api/2.49/dagger/model/class-use/BindingGraph.MaybeBinding.html new file mode 100644 index 00000000000..6d4fc78376a --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.MaybeBinding.html @@ -0,0 +1,308 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.MaybeBinding + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.MaybeBinding

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.MissingBinding.html b/api/2.49/dagger/model/class-use/BindingGraph.MissingBinding.html new file mode 100644 index 00000000000..fd04f1c68fe --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.MissingBinding.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class dagger.model.BindingGraph.MissingBinding + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.BindingGraph.MissingBinding

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.Node.html b/api/2.49/dagger/model/class-use/BindingGraph.Node.html new file mode 100644 index 00000000000..e83d825b3e5 --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.Node.html @@ -0,0 +1,255 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.Node + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.Node

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html b/api/2.49/dagger/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html new file mode 100644 index 00000000000..cfd49b086e9 --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.model.BindingGraph.SubcomponentCreatorBindingEdge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.model.BindingGraph.SubcomponentCreatorBindingEdge

          +
          +
          No usage of dagger.model.BindingGraph.SubcomponentCreatorBindingEdge
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingGraph.html b/api/2.49/dagger/model/class-use/BindingGraph.html new file mode 100644 index 00000000000..3b2ba683a9c --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingGraph.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class dagger.model.BindingGraph + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.BindingGraph

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/BindingKind.html b/api/2.49/dagger/model/class-use/BindingKind.html new file mode 100644 index 00000000000..06bf7819e1d --- /dev/null +++ b/api/2.49/dagger/model/class-use/BindingKind.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class dagger.model.BindingKind + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.BindingKind

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use BindingKind 
            PackageDescription
            dagger.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of BindingKind in dagger.model

              + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.model that return BindingKind 
              Modifier and TypeMethodDescription
              BindingKindBinding.kind() +
              The kind of binding this instance represents.
              +
              static BindingKindBindingKind.valueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static BindingKind[]BindingKind.values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/ComponentPath.html b/api/2.49/dagger/model/class-use/ComponentPath.html new file mode 100644 index 00000000000..13733509dfa --- /dev/null +++ b/api/2.49/dagger/model/class-use/ComponentPath.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class dagger.model.ComponentPath + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.ComponentPath

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/DependencyRequest.Builder.html b/api/2.49/dagger/model/class-use/DependencyRequest.Builder.html new file mode 100644 index 00000000000..fecc03781da --- /dev/null +++ b/api/2.49/dagger/model/class-use/DependencyRequest.Builder.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class dagger.model.DependencyRequest.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.DependencyRequest.Builder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/DependencyRequest.html b/api/2.49/dagger/model/class-use/DependencyRequest.html new file mode 100644 index 00000000000..133c54a0322 --- /dev/null +++ b/api/2.49/dagger/model/class-use/DependencyRequest.html @@ -0,0 +1,250 @@ + + + + + +Uses of Class dagger.model.DependencyRequest + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.DependencyRequest

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/Key.Builder.html b/api/2.49/dagger/model/class-use/Key.Builder.html new file mode 100644 index 00000000000..0e0da35b563 --- /dev/null +++ b/api/2.49/dagger/model/class-use/Key.Builder.html @@ -0,0 +1,229 @@ + + + + + +Uses of Class dagger.model.Key.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.Key.Builder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/Key.MultibindingContributionIdentifier.html b/api/2.49/dagger/model/class-use/Key.MultibindingContributionIdentifier.html new file mode 100644 index 00000000000..8d061231d16 --- /dev/null +++ b/api/2.49/dagger/model/class-use/Key.MultibindingContributionIdentifier.html @@ -0,0 +1,227 @@ + + + + + +Uses of Class dagger.model.Key.MultibindingContributionIdentifier + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.Key.MultibindingContributionIdentifier

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/Key.html b/api/2.49/dagger/model/class-use/Key.html new file mode 100644 index 00000000000..0ae257c3c29 --- /dev/null +++ b/api/2.49/dagger/model/class-use/Key.html @@ -0,0 +1,245 @@ + + + + + +Uses of Class dagger.model.Key + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.Key

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Key 
            PackageDescription
            dagger.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of Key in dagger.model

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.model that return Key 
              Modifier and TypeMethodDescription
              abstract KeyKey.Builder.build() 
              KeyBindingGraph.MaybeBinding.key() +
              The key of the binding, or for which there is no binding.
              +
              abstract KeyBindingGraph.MissingBinding.key() +
              The key for which there is no binding.
              +
              abstract KeyDependencyRequest.key() +
              The key of this request.
              +
              + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.model with parameters of type Key 
              Modifier and TypeMethodDescription
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.bindings​(Key key) +
              Returns the bindings for a key.
              +
              java.lang.StringRequestKind.format​(Key key) +
              Returns a string that represents requests of this kind for a key.
              +
              abstract DependencyRequest.BuilderDependencyRequest.Builder.key​(Key key) 
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/RequestKind.html b/api/2.49/dagger/model/class-use/RequestKind.html new file mode 100644 index 00000000000..b77248d8a85 --- /dev/null +++ b/api/2.49/dagger/model/class-use/RequestKind.html @@ -0,0 +1,227 @@ + + + + + +Uses of Class dagger.model.RequestKind + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.RequestKind

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use RequestKind 
            PackageDescription
            dagger.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • + +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/model/class-use/Scope.html b/api/2.49/dagger/model/class-use/Scope.html new file mode 100644 index 00000000000..a4ce63950ff --- /dev/null +++ b/api/2.49/dagger/model/class-use/Scope.html @@ -0,0 +1,221 @@ + + + + + +Uses of Class dagger.model.Scope + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.model.Scope

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Scope 
            PackageDescription
            dagger.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of Scope in dagger.model

              + + + + + + + + + + + + + + +
              Methods in dagger.model that return Scope 
              Modifier and TypeMethodDescription
              static ScopeScope.scope​(javax.lang.model.element.AnnotationMirror scopeAnnotation) +
              Creates a Scope object from the Scope-annotated annotation type.
              +
              + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.model that return types with arguments of type Scope 
              Modifier and TypeMethodDescription
              java.util.Optional<Scope>Binding.scope() +
              The scope of this binding if it has one.
              +
              com.google.common.collect.ImmutableSet<Scope>BindingGraph.ComponentNode.scopes() +
              The scopes declared on this component.
              +
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/model/package-summary.html b/api/2.49/dagger/model/package-summary.html new file mode 100644 index 00000000000..7b906f84587 --- /dev/null +++ b/api/2.49/dagger/model/package-summary.html @@ -0,0 +1,317 @@ + + + + + +dagger.model + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @CheckReturnValue +@Beta +

          +

          Package dagger.model

          +
          +
          +
          + + +
          This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph. The types are shared with the Dagger processor and are exposed to clients of the + Dagger SPI. + +

          Unless otherwise specified, the types/interfaces are only intended to be implemented in this + package (i.e. via @AutoValue) or by Dagger's processor. This applies to test code as + well, so if you need a fake, please file a feature request instead of implementing it yourself.

          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/model/package-tree.html b/api/2.49/dagger/model/package-tree.html new file mode 100644 index 00000000000..c3c70477075 --- /dev/null +++ b/api/2.49/dagger/model/package-tree.html @@ -0,0 +1,208 @@ + + + + + +dagger.model Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.model

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Enum Hierarchy

          +
            +
          • java.lang.Object +
              +
            • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
            • +
            +
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/model/package-use.html b/api/2.49/dagger/model/package-use.html new file mode 100644 index 00000000000..42306323131 --- /dev/null +++ b/api/2.49/dagger/model/package-use.html @@ -0,0 +1,332 @@ + + + + + +Uses of Package dagger.model + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.model

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/multibindings/ClassKey.html b/api/2.49/dagger/multibindings/ClassKey.html new file mode 100644 index 00000000000..f518a0bfdfc --- /dev/null +++ b/api/2.49/dagger/multibindings/ClassKey.html @@ -0,0 +1,248 @@ + + + + + +ClassKey + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ClassKey

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target({METHOD,FIELD,TYPE})
            +@Retention(RUNTIME)
            +@MapKey
            +public @interface ClassKey
            +
            A MapKey annotation for maps with Class<?> keys. + +

            If your map's keys can be constrained, consider using a custom annotation instead, with a + member whose type is Class<? extends Something>.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Class<?>value 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                java.lang.Class<?> value
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/multibindings/ElementsIntoSet.html b/api/2.49/dagger/multibindings/ElementsIntoSet.html new file mode 100644 index 00000000000..018951a0241 --- /dev/null +++ b/api/2.49/dagger/multibindings/ElementsIntoSet.html @@ -0,0 +1,196 @@ + + + + + +ElementsIntoSet + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ElementsIntoSet

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(METHOD)
            +@Retention(RUNTIME)
            +public @interface ElementsIntoSet
            +
            The method's return type is Set<T> and all values are contributed to the set. The + Set<T> produced from the accumulation of values will be immutable. An example use is to provide + a default empty set binding, which is otherwise not possible using IntoSet.
            +
            +
            See Also:
            +
            Set multibinding
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/multibindings/IntKey.html b/api/2.49/dagger/multibindings/IntKey.html new file mode 100644 index 00000000000..23eb81a7547 --- /dev/null +++ b/api/2.49/dagger/multibindings/IntKey.html @@ -0,0 +1,245 @@ + + + + + +IntKey + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type IntKey

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target({METHOD,FIELD,TYPE})
            +@Retention(RUNTIME)
            +@MapKey
            +public @interface IntKey
            +
            A MapKey annotation for maps with int keys.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              intvalue 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                int value
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/multibindings/IntoMap.html b/api/2.49/dagger/multibindings/IntoMap.html new file mode 100644 index 00000000000..1b4b5cfd818 --- /dev/null +++ b/api/2.49/dagger/multibindings/IntoMap.html @@ -0,0 +1,197 @@ + + + + + +IntoMap + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type IntoMap

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(METHOD)
            +@Retention(RUNTIME)
            +public @interface IntoMap
            +
            The method's return type forms the type argument for the value of a Map<K, Provider<V>>, + and the combination of the annotated key and the returned value is contributed to the map as a + key/value pair. The Map<K, Provider<V>> produced from the accumulation of values will be + immutable.
            +
            +
            See Also:
            +
            Map multibinding
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/multibindings/IntoSet.html b/api/2.49/dagger/multibindings/IntoSet.html new file mode 100644 index 00000000000..09bdceb6f2d --- /dev/null +++ b/api/2.49/dagger/multibindings/IntoSet.html @@ -0,0 +1,196 @@ + + + + + +IntoSet + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type IntoSet

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(METHOD)
            +@Retention(RUNTIME)
            +public @interface IntoSet
            +
            The method's return type forms the generic type argument of a Set<T>, and the returned + value is contributed to the set. The object graph will pass dependencies to the method as + parameters. The Set<T> produced from the accumulation of values will be immutable.
            +
            +
            See Also:
            +
            Set multibinding
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/multibindings/LongKey.html b/api/2.49/dagger/multibindings/LongKey.html new file mode 100644 index 00000000000..48773d849e0 --- /dev/null +++ b/api/2.49/dagger/multibindings/LongKey.html @@ -0,0 +1,245 @@ + + + + + +LongKey + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type LongKey

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target({METHOD,FIELD,TYPE})
            +@Retention(RUNTIME)
            +@MapKey
            +public @interface LongKey
            +
            A MapKey annotation for maps with long keys.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              longvalue 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                long value
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/multibindings/Multibinds.html b/api/2.49/dagger/multibindings/Multibinds.html new file mode 100644 index 00000000000..b603bc8a0f7 --- /dev/null +++ b/api/2.49/dagger/multibindings/Multibinds.html @@ -0,0 +1,216 @@ + + + + + +Multibinds + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type Multibinds

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(METHOD)
            +@Retention(RUNTIME)
            +public @interface Multibinds
            +
            Annotates abstract module methods that declare multibindings. + +

            You can declare that a multibound set or map is bound by annotating an abstract module method + that returns the set or map you want to declare with @Multibinds. + +

            You do not have to use @Multibinds for sets or maps that have at least one + contribution, but you do have to declare them if they may be empty. + +

            
            +   @Module abstract class MyModule {
            +     @Multibinds abstract Set<Foo> aSet();
            +     @Multibinds abstract @MyQualifier Set<Foo> aQualifiedSet();
            +     @Multibinds abstract Map<String, Foo> aMap();
            +     @Multibinds abstract @MyQualifier Map<String, Foo> aQualifiedMap();
            +
            +     @Provides
            +     static Object usesMultibindings(Set<Foo> set, @MyQualifier Map<String, Foo> map) {
            +       return …
            +     }
            +   }
            + +

            A given set or map multibinding can be declared any number of times without error. Dagger + never implements or calls any @Multibinds methods.

            +
            +
            See Also:
            +
            Multibindings
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/multibindings/StringKey.html b/api/2.49/dagger/multibindings/StringKey.html new file mode 100644 index 00000000000..ab2aa07ecbf --- /dev/null +++ b/api/2.49/dagger/multibindings/StringKey.html @@ -0,0 +1,245 @@ + + + + + +StringKey + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type StringKey

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target({METHOD,FIELD,TYPE})
            +@Retention(RUNTIME)
            +@MapKey
            +public @interface StringKey
            +
            A MapKey annotation for maps with String keys.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              java.lang.Stringvalue 
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                value

                +
                java.lang.String value
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/multibindings/class-use/ClassKey.html b/api/2.49/dagger/multibindings/class-use/ClassKey.html new file mode 100644 index 00000000000..587ca77de3d --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/ClassKey.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.ClassKey + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.ClassKey

          +
          +
          No usage of dagger.multibindings.ClassKey
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/ElementsIntoSet.html b/api/2.49/dagger/multibindings/class-use/ElementsIntoSet.html new file mode 100644 index 00000000000..ee8a9cb6be5 --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/ElementsIntoSet.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.ElementsIntoSet + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.ElementsIntoSet

          +
          +
          No usage of dagger.multibindings.ElementsIntoSet
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/IntKey.html b/api/2.49/dagger/multibindings/class-use/IntKey.html new file mode 100644 index 00000000000..e80af3d4009 --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/IntKey.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.IntKey + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.IntKey

          +
          +
          No usage of dagger.multibindings.IntKey
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/IntoMap.html b/api/2.49/dagger/multibindings/class-use/IntoMap.html new file mode 100644 index 00000000000..3c6165f4cde --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/IntoMap.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.IntoMap + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.IntoMap

          +
          +
          No usage of dagger.multibindings.IntoMap
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/IntoSet.html b/api/2.49/dagger/multibindings/class-use/IntoSet.html new file mode 100644 index 00000000000..1b3021157ca --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/IntoSet.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.IntoSet + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.IntoSet

          +
          +
          No usage of dagger.multibindings.IntoSet
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/LongKey.html b/api/2.49/dagger/multibindings/class-use/LongKey.html new file mode 100644 index 00000000000..3998b66739a --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/LongKey.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.LongKey + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.LongKey

          +
          +
          No usage of dagger.multibindings.LongKey
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/Multibinds.html b/api/2.49/dagger/multibindings/class-use/Multibinds.html new file mode 100644 index 00000000000..a212c151c00 --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/Multibinds.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.Multibinds + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.Multibinds

          +
          +
          No usage of dagger.multibindings.Multibinds
          +
          + + + diff --git a/api/2.49/dagger/multibindings/class-use/StringKey.html b/api/2.49/dagger/multibindings/class-use/StringKey.html new file mode 100644 index 00000000000..bd94196291f --- /dev/null +++ b/api/2.49/dagger/multibindings/class-use/StringKey.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.multibindings.StringKey + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.multibindings.StringKey

          +
          +
          No usage of dagger.multibindings.StringKey
          +
          + + + diff --git a/api/2.49/dagger/multibindings/package-summary.html b/api/2.49/dagger/multibindings/package-summary.html new file mode 100644 index 00000000000..95fcff2ef3f --- /dev/null +++ b/api/2.49/dagger/multibindings/package-summary.html @@ -0,0 +1,223 @@ + + + + + +dagger.multibindings + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.multibindings

          +
          +
          +
          + + +
          This package contains the API by which Dagger allows you to bind several objects into a + collection that can be injected without depending directly on each of the individual bindings.
          +
          +
          See Also:
          +
          Multibindings in the Dagger User's Guide
          +
          +
          +
            +
          • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            ClassKey +
            A MapKey annotation for maps with Class<?> keys.
            +
            ElementsIntoSet +
            The method's return type is Set<T> and all values are contributed to the set.
            +
            IntKey +
            A MapKey annotation for maps with int keys.
            +
            IntoMap +
            The method's return type forms the type argument for the value of a Map<K, Provider<V>>, + and the combination of the annotated key and the returned value is contributed to the map as a + key/value pair.
            +
            IntoSet +
            The method's return type forms the generic type argument of a Set<T>, and the returned + value is contributed to the set.
            +
            LongKey +
            A MapKey annotation for maps with long keys.
            +
            Multibinds +
            Annotates abstract module methods that declare multibindings.
            +
            StringKey +
            A MapKey annotation for maps with String keys.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/multibindings/package-tree.html b/api/2.49/dagger/multibindings/package-tree.html new file mode 100644 index 00000000000..90ed32b5e25 --- /dev/null +++ b/api/2.49/dagger/multibindings/package-tree.html @@ -0,0 +1,166 @@ + + + + + +dagger.multibindings Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.multibindings

          +Package Hierarchies: + +
          +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.multibindings.ClassKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.ElementsIntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.IntKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.IntoMap (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.IntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.LongKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.Multibinds (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.StringKey (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/multibindings/package-use.html b/api/2.49/dagger/multibindings/package-use.html new file mode 100644 index 00000000000..376a1cecf23 --- /dev/null +++ b/api/2.49/dagger/multibindings/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package dagger.multibindings + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.multibindings

          +
          +
          No usage of dagger.multibindings
          +
          + + + diff --git a/api/2.49/dagger/package-summary.html b/api/2.49/dagger/package-summary.html new file mode 100644 index 00000000000..8176fc70ef8 --- /dev/null +++ b/api/2.49/dagger/package-summary.html @@ -0,0 +1,283 @@ + + + + + +dagger + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger

          +
          +
          +
          + + +
          This package contains the public API for the Dagger 2 dependency + injection framework. By building upon JSR 330, + Dagger 2 provides an annotation-driven API for dependency injection whose implementation is + entirely generated at compile time by annotation processors. + +

          The entry point into the API is the Component, which annotates abstract types for + Dagger 2 to implement. The dependency graph is configured using annotations such as Module, Provides and Inject. + +

          dagger.internal.codegen.ComponentProcessor is the processor responsible for generating + the implementation. Dagger uses the annotation procesor service loader to automatically configure the processor, so explict build configuration + shouldn't be necessary.

          +
          +
            +
          • + + + + + + + + + + + + + + + + +
            Interface Summary 
            InterfaceDescription
            Lazy<T> +
            A handle to a lazily-computed value.
            +
            MembersInjector<T> +
            Injects dependencies into the fields and methods on instances of type T.
            +
            +
          • +
          • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Annotation Types Summary 
            Annotation TypeDescription
            Binds +
            Annotates abstract methods of a Module that delegate bindings.
            +
            BindsInstance +
            Marks a method on a component builder or a parameter on a + component factory as binding an instance to some key within the + component.
            +
            BindsOptionalOf +
            Annotates methods that declare bindings for Optional containers of values from bindings + that may or may not be present in the component.
            +
            Component +
            Annotates an interface or abstract class for which a fully-formed, dependency-injected + implementation is to be generated from a set of Component.modules().
            +
            Component.Builder +
            A builder for a component.
            +
            Component.Factory +
            A factory for a component.
            +
            MapKey +
            Identifies annotation types that are used to associate keys with values returned by provider methods in order to compose a map.
            +
            Module +
            Annotates a class that contributes to the object graph.
            +
            Provides +
            Annotates methods of a module to create a provider method binding.
            +
            Reusable +
            A scope that indicates that the object returned by a binding may be (but might not be) reused.
            +
            Subcomponent +
            A subcomponent that inherits the bindings from a parent Component or + Subcomponent.
            +
            Subcomponent.Builder +
            A builder for a subcomponent.
            +
            Subcomponent.Factory +
            A factory for a subcomponent.
            +
            +
          • +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/package-tree.html b/api/2.49/dagger/package-tree.html new file mode 100644 index 00000000000..1302e530d3f --- /dev/null +++ b/api/2.49/dagger/package-tree.html @@ -0,0 +1,178 @@ + + + + + +dagger Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger

          +Package Hierarchies: + +
          +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.Binds (implements java.lang.annotation.Annotation)
          • +
          • dagger.BindsInstance (implements java.lang.annotation.Annotation)
          • +
          • dagger.BindsOptionalOf (implements java.lang.annotation.Annotation)
          • +
          • dagger.Component (implements java.lang.annotation.Annotation)
          • +
          • dagger.Component.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.Component.Factory (implements java.lang.annotation.Annotation)
          • +
          • dagger.MapKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.Module (implements java.lang.annotation.Annotation)
          • +
          • dagger.Provides (implements java.lang.annotation.Annotation)
          • +
          • dagger.Reusable (implements java.lang.annotation.Annotation)
          • +
          • dagger.Subcomponent (implements java.lang.annotation.Annotation)
          • +
          • dagger.Subcomponent.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.Subcomponent.Factory (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/package-use.html b/api/2.49/dagger/package-use.html new file mode 100644 index 00000000000..6224216cf32 --- /dev/null +++ b/api/2.49/dagger/package-use.html @@ -0,0 +1,321 @@ + + + + + +Uses of Package dagger + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/CancellationPolicy.Propagation.html b/api/2.49/dagger/producers/CancellationPolicy.Propagation.html new file mode 100644 index 00000000000..40c7fadd0bc --- /dev/null +++ b/api/2.49/dagger/producers/CancellationPolicy.Propagation.html @@ -0,0 +1,390 @@ + + + + + +CancellationPolicy.Propagation + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Enum CancellationPolicy.Propagation

          +
          +
          + +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Summary

              + + + + + + + + + + + + + + +
              Enum Constants 
              Enum ConstantDescription
              IGNORE +
              Do not cancel the annotated component when a child component is cancelled.
              +
              PROPAGATE +
              Cancel the annotated component when a child component is cancelled.
              +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static CancellationPolicy.PropagationvalueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static CancellationPolicy.Propagation[]values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Enum

                +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                values

                +
                public static CancellationPolicy.Propagation[] values()
                +
                Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                +for (CancellationPolicy.Propagation c : CancellationPolicy.Propagation.values())
                +    System.out.println(c);
                +
                +
                +
                Returns:
                +
                an array containing the constants of this enum type, in the order they are declared
                +
                +
              • +
              + + + +
                +
              • +

                valueOf

                +
                public static CancellationPolicy.Propagation valueOf​(java.lang.String name)
                +
                Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                +
                +
                Parameters:
                +
                name - the name of the enum constant to be returned.
                +
                Returns:
                +
                the enum constant with the specified name
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
                +
                java.lang.NullPointerException - if the argument is null
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/CancellationPolicy.html b/api/2.49/dagger/producers/CancellationPolicy.html new file mode 100644 index 00000000000..8558ea52fe5 --- /dev/null +++ b/api/2.49/dagger/producers/CancellationPolicy.html @@ -0,0 +1,263 @@ + + + + + +CancellationPolicy + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type CancellationPolicy

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(TYPE)
            +@Retention(CLASS)
            +@Beta
            +public @interface CancellationPolicy
            +
            Annotates a production component or subcomponent to specify its policy when a child component is + cancelled. + +

            When a future returned from an entry point on a production component is cancelled, the + component is cancelled: all producers in the component (including those for other entry points) + are cancelled. + +

            When a child component is cancelled, its parent component is not cancelled unless the + parent component is annotated with @CancellationPolicy(fromSubcomponents = PROPAGATE). If + that parent component has a parent (the grandparent of the cancelled child component), it will + not be cancelled unless it also has a @CancellationPolicy annotation allowing + cancellation to propagate to it from subcomponents.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Required Element Summary

              + + + + + + + + + + + + +
              Required Elements 
              Modifier and TypeRequired ElementDescription
              CancellationPolicy.PropagationfromSubcomponents +
              Defines whether the annotated production component is cancelled when a child component is + cancelled.
              +
              +
            • +
            +
            +
          • +
          +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/Produced.html b/api/2.49/dagger/producers/Produced.html new file mode 100644 index 00000000000..d796fdd1e00 --- /dev/null +++ b/api/2.49/dagger/producers/Produced.html @@ -0,0 +1,379 @@ + + + + + +Produced + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class Produced<T>

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.Produced<T>
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @Beta
            +@CheckReturnValue
            +public abstract class Produced<T>
            +extends java.lang.Object
            +
            An interface that represents the result of a production of type T, + or an exception that was thrown during that production. For any type T that can be + injected, you can also inject Produced<T>, which enables handling of any exceptions that + were thrown during the production of T. + +

            For example:

            
            +   @Produces Html getResponse(
            +       UserInfo criticalInfo, Produced<ExtraInfo> noncriticalInfo) {
            +     try {
            +       return new Html(criticalInfo, noncriticalInfo.get());
            +     } catch (ExecutionException e) {
            +       logger.warning(e, "Noncritical info");
            +       return new Html(criticalInfo);
            +     }
            +   }
            + 
            +
            +
            Since:
            +
            2.0
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
              Modifier and TypeMethodDescription
              abstract booleanequals​(java.lang.Object o) +
              Two Produced objects compare equal if both are successful with equal values, or both + are failed with equal exceptions.
              +
              static <T> Produced<T>failed​(java.lang.Throwable throwable) +
              Returns a failed Produced, whose get() will throw an + ExecutionException with the given cause.
              +
              abstract Tget() +
              Returns the result of a production.
              +
              abstract inthashCode() +
              Returns an appropriate hash code to match equals(Object).
              +
              static <T> Produced<T>successful​(T value) +
              Returns a successful Produced, whose get() will return the given value.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                get

                +
                public abstract T get()
                +               throws java.util.concurrent.ExecutionException
                +
                Returns the result of a production.
                +
                +
                Throws:
                +
                java.util.concurrent.ExecutionException - if the production threw an exception
                +
                +
              • +
              + + + +
                +
              • +

                equals

                +
                public abstract boolean equals​(java.lang.Object o)
                +
                Two Produced objects compare equal if both are successful with equal values, or both + are failed with equal exceptions.
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                public abstract int hashCode()
                +
                Returns an appropriate hash code to match equals(Object).
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              + + + + + +
                +
              • +

                successful

                +
                public static <T> Produced<T> successful​(@NullableDecl
                +                                         T value)
                +
                Returns a successful Produced, whose get() will return the given value.
                +
              • +
              + + + +
                +
              • +

                failed

                +
                public static <T> Produced<T> failed​(java.lang.Throwable throwable)
                +
                Returns a failed Produced, whose get() will throw an + ExecutionException with the given cause.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/Producer.html b/api/2.49/dagger/producers/Producer.html new file mode 100644 index 00000000000..42964edac0f --- /dev/null +++ b/api/2.49/dagger/producers/Producer.html @@ -0,0 +1,332 @@ + + + + + +Producer + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface Producer<T>

          +
          +
          +
          +
            +
          • +
            +
            @Beta
            +public interface Producer<T>
            +
            An interface that represents the production of a type T. You can also inject + Producer<T> instead of T, which will delay the execution of any code that + produces the T until get() is called. + +

            For example, you might inject Producer to lazily choose between several different + implementations of some type:

            
            +   @Produces ListenableFuture<Heater> getHeater(
            +       HeaterFlag flag,
            +       @Electric Producer<Heater> electricHeater,
            +       @Gas Producer<Heater> gasHeater) {
            +     return flag.useElectricHeater() ? electricHeater.get() : gasHeater.get();
            +   }
            + 
            + +

            Here is a complete example that demonstrates how calling get() will cause each + method to be executed:

            
            +
            +   @ProducerModule
            +   final class MyModule {
            +     @Produces ListenableFuture<A> a() {
            +       System.out.println("a");
            +       return Futures.immediateFuture(new A());
            +     }
            +
            +     @Produces ListenableFuture<B> b(A a) {
            +       System.out.println("b");
            +       return Futures.immediateFuture(new B(a));
            +     }
            +
            +     @Produces ListenableFuture<C> c(B b) {
            +       System.out.println("c");
            +       return Futures.immediateFuture(new C(b));
            +     }
            +
            +     @Produces @Delayed ListenableFuture<C> delayedC(A a, Producer<C> c) {
            +       System.out.println("delayed c");
            +       return c.get();
            +     }
            +   }
            +
            +   @ProductionComponent(modules = MyModule.class)
            +   interface MyComponent {
            +     @Delayed ListenableFuture<C> delayedC();
            +   }
            + 
            + Suppose we instantiate the generated implementation of this component and call + delayedC():
            
            +   MyComponent component = DaggerMyComponent
            +       .builder()
            +       .executor(MoreExecutors.directExecutor())
            +       .build();
            +   System.out.println("Constructed component");
            +   ListenableFuture<C> cFuture = component.delayedC();
            +   System.out.println("Retrieved future");
            +   C c = cFuture.get();
            +   System.out.println("Retrieved c");
            + 
            + Here, we're using MoreExecutors.directExecutor in order to illustrate how each call + directly causes code to execute. The above code will print:
            
            +   Constructed component
            +   a
            +   delayed c
            +   b
            +   c
            +   Retrieved future
            +   Retrieved c
            + 
            +
            +
            Since:
            +
            2.0
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              com.google.common.util.concurrent.ListenableFuture<T>get() +
              Returns a future representing a running task that produces a value.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                get

                +
                @CheckReturnValue
                +com.google.common.util.concurrent.ListenableFuture<T> get()
                +
                Returns a future representing a running task that produces a value. Calling this method will + trigger the submission of this task to the executor, if it has not already been triggered. In + order to trigger this task's submission, the transitive dependencies required to produce the + T will be submitted to the executor, as their dependencies become available. + +

                If the key is bound to a Produces method, then calling this method multiple times + will return the same future.

                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProducerModule.html b/api/2.49/dagger/producers/ProducerModule.html new file mode 100644 index 00000000000..02fcdbe0913 --- /dev/null +++ b/api/2.49/dagger/producers/ProducerModule.html @@ -0,0 +1,292 @@ + + + + + +ProducerModule + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProducerModule

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(TYPE)
            +@Retention(RUNTIME)
            +@Beta
            +public @interface ProducerModule
            +
            Annotates a class that contributes Produces bindings to the production component.
            +
            +
            Since:
            +
            2.0
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Optional Element Summary

              + + + + + + + + + + + + + + + + + +
              Optional Elements 
              Modifier and TypeOptional ElementDescription
              java.lang.Class<?>[]includes +
              Additional @ProducerModule- or Module-annotated classes from which this module + is composed.
              +
              java.lang.Class<?>[]subcomponents +
              Any Subcomponent- or ProductionSubcomponent-annotated classes which + should be children of the component in which this module is installed.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                includes

                +
                java.lang.Class<?>[] includes
                +
                Additional @ProducerModule- or Module-annotated classes from which this module + is composed. The de-duplicated contributions of the modules in includes, and of their + inclusions recursively, are all contributed to the object graph.
                +
                +
                Default:
                +
                {}
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + +
                +
              • +

                subcomponents

                +
                java.lang.Class<?>[] subcomponents
                +
                Any Subcomponent- or ProductionSubcomponent-annotated classes which + should be children of the component in which this module is installed. A subcomponent may be + listed in more than one module in a component.
                +
                +
                Since:
                +
                2.7
                +
                +
                +
                Default:
                +
                {}
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/Producers.html b/api/2.49/dagger/producers/Producers.html new file mode 100644 index 00000000000..05a2c8bc8f4 --- /dev/null +++ b/api/2.49/dagger/producers/Producers.html @@ -0,0 +1,290 @@ + + + + + +Producers + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class Producers

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.Producers
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @Beta
            +public final class Producers
            +extends java.lang.Object
            +
            Utility methods to create Producers.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static <T> Producer<T>immediateFailedProducer​(java.lang.Throwable throwable) +
              Returns a producer that fails with the given exception.
              +
              static <T> Producer<T>immediateProducer​(T value) +
              Returns a producer that succeeds with the given value.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + +
                +
              • +

                immediateProducer

                +
                public static <T> Producer<T> immediateProducer​(T value)
                +
                Returns a producer that succeeds with the given value.
                +
              • +
              + + + +
                +
              • +

                immediateFailedProducer

                +
                public static <T> Producer<T> immediateFailedProducer​(java.lang.Throwable throwable)
                +
                Returns a producer that fails with the given exception.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/Produces.html b/api/2.49/dagger/producers/Produces.html new file mode 100644 index 00000000000..885de103abb --- /dev/null +++ b/api/2.49/dagger/producers/Produces.html @@ -0,0 +1,198 @@ + + + + + +Produces + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type Produces

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Target(METHOD)
            +@Retention(RUNTIME)
            +@Beta
            +public @interface Produces
            +
            Annotates methods of a producer module to create a production binding. If the method returns a + ListenableFuture or FluentFuture, then the parameter type of the future is bound + to the value that the future produces; otherwise, the return type is bound to the returned value. + The production component will pass dependencies to the method as parameters.
            +
            +
            Since:
            +
            2.0
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/Production.html b/api/2.49/dagger/producers/Production.html new file mode 100644 index 00000000000..e43a0410383 --- /dev/null +++ b/api/2.49/dagger/producers/Production.html @@ -0,0 +1,195 @@ + + + + + +Production + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type Production

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Retention(RUNTIME)
            +@Qualifier
            +@Beta
            +public @interface Production
            +
            Qualifies a type that will be provided to the framework for use internally. + +

            The only type that may be so qualified is Executor. In this case, + the resulting executor is used to schedule producer methods in a + ProductionComponent or ProductionSubcomponent.

            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProductionComponent.Builder.html b/api/2.49/dagger/producers/ProductionComponent.Builder.html new file mode 100644 index 00000000000..9b12c724fb1 --- /dev/null +++ b/api/2.49/dagger/producers/ProductionComponent.Builder.html @@ -0,0 +1,193 @@ + + + + + +ProductionComponent.Builder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionComponent.Builder

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Target(TYPE)
            +@Documented
            +public static @interface ProductionComponent.Builder
            +
            A builder for a production component. + +

            This follows all the rules of Component.Builder, except it must appear in classes + annotated with ProductionComponent instead of Component.

            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProductionComponent.Factory.html b/api/2.49/dagger/producers/ProductionComponent.Factory.html new file mode 100644 index 00000000000..56e52aee864 --- /dev/null +++ b/api/2.49/dagger/producers/ProductionComponent.Factory.html @@ -0,0 +1,197 @@ + + + + + +ProductionComponent.Factory + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionComponent.Factory

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Target(TYPE)
            +@Documented
            +public static @interface ProductionComponent.Factory
            +
            A factory for a production component. + +

            This follows all the rules of Component.Factory, except it must appear in classes + annotated with ProductionComponent instead of Component.

            +
            +
            Since:
            +
            2.22
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProductionComponent.html b/api/2.49/dagger/producers/ProductionComponent.html new file mode 100644 index 00000000000..503f5c00236 --- /dev/null +++ b/api/2.49/dagger/producers/ProductionComponent.html @@ -0,0 +1,325 @@ + + + + + +ProductionComponent + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionComponent

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Documented
            +@Target(TYPE)
            +@Beta
            +public @interface ProductionComponent
            +
            Annotates an interface or abstract class for which a fully-formed, dependency-injected + implementation is to be generated from a set of modules. The generated + class will have the name of the type annotated with @ProductionComponent prepended with + Dagger. For example, @ProductionComponent interface MyComponent {...} will + produce an implementation named DaggerMyComponent. + +

            Each Produces method that contributes to the component will be called at most once per + component instance, no matter how many times that binding is used as a dependency. TODO(beder): + Decide on how scope works for producers. + +

            Component methods

            + +

            Every type annotated with @ProductionComponent must contain at least one abstract + component method. Component methods must represent production. + +

            Production methods have no arguments and return either a ListenableFuture or Producer of a type that is injected, provided, or produced. Each may have a Qualifier annotation as well. The following are all + valid production method declarations: + +

            
            +   ListenableFuture<SomeType> getSomeType();
            +   Producer<Set<SomeType>> getSomeTypes();
            +   @Response ListenableFuture<Html> getResponse();
            + 
            + +

            Exceptions

            + +

            When a producer throws an exception, the exception will be propagated to its downstream + producers in the following way: if the downstream producer injects a type T, then that + downstream producer will be skipped, and the exception propagated to its downstream producers; + and if the downstream producer injects a Produced<T>, then the downstream producer will + be run with the exception stored in the Produced<T>. + +

            If a non-execution exception is thrown (e.g., an InterruptedException or + CancellationException), then exception is handled as in Futures.transform(com.google.common.util.concurrent.ListenableFuture<I>, com.google.common.base.Function<? super I, ? extends O>, java.util.concurrent.Executor). + + +

            Executor

            + +

            The component must include a binding for @Production + Executor; this binding will be called exactly once, and the + provided executor will be used by the framework to schedule all producer methods (for this + component, and any ProductionSubcomponent it may have.

            +
            +
            Since:
            +
            2.0
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Optional Element Summary

              + + + + + + + + + + + + + + + + + +
              Optional Elements 
              Modifier and TypeOptional ElementDescription
              java.lang.Class<?>[]dependencies +
              A list of types that are to be used as component dependencies.
              +
              java.lang.Class<?>[]modules +
              A list of classes annotated with Module or ProducerModule whose bindings are + used to generate the component implementation.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                modules

                +
                java.lang.Class<?>[] modules
                +
                A list of classes annotated with Module or ProducerModule whose bindings are + used to generate the component implementation.
                +
                +
                Default:
                +
                {}
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + +
                +
              • +

                dependencies

                +
                java.lang.Class<?>[] dependencies
                +
                A list of types that are to be used as component dependencies.
                +
                +
                Default:
                +
                {}
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/ProductionScope.html b/api/2.49/dagger/producers/ProductionScope.html new file mode 100644 index 00000000000..1ae327f39fc --- /dev/null +++ b/api/2.49/dagger/producers/ProductionScope.html @@ -0,0 +1,191 @@ + + + + + +ProductionScope + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionScope

          +
          +
          +
          +
            +
          • +
            +
            @Documented
            +@Retention(RUNTIME)
            +@Scope
            +public @interface ProductionScope
            +
            A scope annotation for provision bindings that are tied to the lifetime of a + ProductionComponent or ProductionSubcomponent.
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProductionSubcomponent.Builder.html b/api/2.49/dagger/producers/ProductionSubcomponent.Builder.html new file mode 100644 index 00000000000..393c12d8770 --- /dev/null +++ b/api/2.49/dagger/producers/ProductionSubcomponent.Builder.html @@ -0,0 +1,197 @@ + + + + + +ProductionSubcomponent.Builder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionSubcomponent.Builder

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Target(TYPE)
            +@Documented
            +public static @interface ProductionSubcomponent.Builder
            +
            A builder for a production subcomponent. + +

            This follows all the rules of Component.Builder, except it must appear in classes + annotated with ProductionSubcomponent instead of Component. + +

            If a subcomponent defines a builder, its parent component(s) will have a binding for that + builder type, allowing an instance or Provider of that builder to be injected or + returned from a method on that component like any other binding.

            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProductionSubcomponent.Factory.html b/api/2.49/dagger/producers/ProductionSubcomponent.Factory.html new file mode 100644 index 00000000000..074df6f3521 --- /dev/null +++ b/api/2.49/dagger/producers/ProductionSubcomponent.Factory.html @@ -0,0 +1,201 @@ + + + + + +ProductionSubcomponent.Factory + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionSubcomponent.Factory

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Target(TYPE)
            +@Documented
            +public static @interface ProductionSubcomponent.Factory
            +
            A factory for a production subcomponent. + +

            This follows all the rules of Component.Factory, except it must appear in classes + annotated with ProductionSubcomponent instead of Component. + +

            If a subcomponent defines a factory, its parent component(s) will have a binding for that + factory type, allowing an instance that factory to be injected or returned from a method on + that component like any other binding.

            +
            +
            Since:
            +
            2.22
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/ProductionSubcomponent.html b/api/2.49/dagger/producers/ProductionSubcomponent.html new file mode 100644 index 00000000000..8b39065323d --- /dev/null +++ b/api/2.49/dagger/producers/ProductionSubcomponent.html @@ -0,0 +1,265 @@ + + + + + +ProductionSubcomponent + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Annotation Type ProductionSubcomponent

          +
          +
          +
          +
            +
          • +
            +
            @Retention(RUNTIME)
            +@Target(TYPE)
            +@Documented
            +public @interface ProductionSubcomponent
            +
            A subcomponent that inherits the bindings from a parent Component, Subcomponent, + ProductionComponent, or ProductionSubcomponent. The details of how to associate a + subcomponent with a parent are described in the documentation for Component. + +

            The executor for a production subcomponent is supplied by binding + @Production Executor, similar to ProductionComponent. Note that + this binding may be in an ancestor component.

            +
            +
            Since:
            +
            2.1
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Optional Element Summary

              + + + + + + + + + + + + +
              Optional Elements 
              Modifier and TypeOptional ElementDescription
              java.lang.Class<?>[]modules +
              A list of classes annotated with Module or ProducerModule whose bindings are + used to generate the subcomponent implementation.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Element Detail

              + + + +
                +
              • +

                modules

                +
                java.lang.Class<?>[] modules
                +
                A list of classes annotated with Module or ProducerModule whose bindings are + used to generate the subcomponent implementation. Note that through the use of + Module.includes() or ProducerModule.includes() the full set of modules used to + implement the subcomponent may include more modules that just those listed here.
                +
                +
                Default:
                +
                {}
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/class-use/CancellationPolicy.Propagation.html b/api/2.49/dagger/producers/class-use/CancellationPolicy.Propagation.html new file mode 100644 index 00000000000..b61d9cbd053 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/CancellationPolicy.Propagation.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class dagger.producers.CancellationPolicy.Propagation + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.CancellationPolicy.Propagation

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/CancellationPolicy.html b/api/2.49/dagger/producers/class-use/CancellationPolicy.html new file mode 100644 index 00000000000..4bb31e77907 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/CancellationPolicy.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.CancellationPolicy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.CancellationPolicy

          +
          +
          No usage of dagger.producers.CancellationPolicy
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/Produced.html b/api/2.49/dagger/producers/class-use/Produced.html new file mode 100644 index 00000000000..7e73d677789 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/Produced.html @@ -0,0 +1,204 @@ + + + + + +Uses of Class dagger.producers.Produced + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.Produced

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Produced 
            PackageDescription
            dagger.producers +
            This package contains the public API for Dagger 2's producer functionality.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of Produced in dagger.producers

              + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.producers that return Produced 
              Modifier and TypeMethodDescription
              static <T> Produced<T>Produced.failed​(java.lang.Throwable throwable) +
              Returns a failed Produced, whose get() will throw an + ExecutionException with the given cause.
              +
              static <T> Produced<T>Produced.successful​(T value) +
              Returns a successful Produced, whose get() will return the given value.
              +
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/Producer.html b/api/2.49/dagger/producers/class-use/Producer.html new file mode 100644 index 00000000000..bda3628bf62 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/Producer.html @@ -0,0 +1,203 @@ + + + + + +Uses of Interface dagger.producers.Producer + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.producers.Producer

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProducerModule.html b/api/2.49/dagger/producers/class-use/ProducerModule.html new file mode 100644 index 00000000000..aae1f4d7c89 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProducerModule.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProducerModule + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProducerModule

          +
          +
          No usage of dagger.producers.ProducerModule
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/Producers.html b/api/2.49/dagger/producers/class-use/Producers.html new file mode 100644 index 00000000000..7bd93c07e88 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/Producers.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.Producers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.Producers

          +
          +
          No usage of dagger.producers.Producers
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/Produces.html b/api/2.49/dagger/producers/class-use/Produces.html new file mode 100644 index 00000000000..36f9be74df6 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/Produces.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.Produces + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.Produces

          +
          +
          No usage of dagger.producers.Produces
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/Production.html b/api/2.49/dagger/producers/class-use/Production.html new file mode 100644 index 00000000000..6486cf11fc8 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/Production.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.Production + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.Production

          +
          +
          No usage of dagger.producers.Production
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionComponent.Builder.html b/api/2.49/dagger/producers/class-use/ProductionComponent.Builder.html new file mode 100644 index 00000000000..3e4cd975c4b --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionComponent.Builder.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionComponent.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionComponent.Builder

          +
          +
          No usage of dagger.producers.ProductionComponent.Builder
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionComponent.Factory.html b/api/2.49/dagger/producers/class-use/ProductionComponent.Factory.html new file mode 100644 index 00000000000..7e6bfd34ee7 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionComponent.Factory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionComponent.Factory + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionComponent.Factory

          +
          +
          No usage of dagger.producers.ProductionComponent.Factory
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionComponent.html b/api/2.49/dagger/producers/class-use/ProductionComponent.html new file mode 100644 index 00000000000..0f7dc82f12a --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionComponent.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionComponent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionComponent

          +
          +
          No usage of dagger.producers.ProductionComponent
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionScope.html b/api/2.49/dagger/producers/class-use/ProductionScope.html new file mode 100644 index 00000000000..a2a6eb5bc16 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionScope.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionScope + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionScope

          +
          +
          No usage of dagger.producers.ProductionScope
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionSubcomponent.Builder.html b/api/2.49/dagger/producers/class-use/ProductionSubcomponent.Builder.html new file mode 100644 index 00000000000..3d58100e354 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionSubcomponent.Builder.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionSubcomponent.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionSubcomponent.Builder

          +
          +
          No usage of dagger.producers.ProductionSubcomponent.Builder
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionSubcomponent.Factory.html b/api/2.49/dagger/producers/class-use/ProductionSubcomponent.Factory.html new file mode 100644 index 00000000000..9831dc2d736 --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionSubcomponent.Factory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionSubcomponent.Factory + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionSubcomponent.Factory

          +
          +
          No usage of dagger.producers.ProductionSubcomponent.Factory
          +
          + + + diff --git a/api/2.49/dagger/producers/class-use/ProductionSubcomponent.html b/api/2.49/dagger/producers/class-use/ProductionSubcomponent.html new file mode 100644 index 00000000000..4b61d1d9c3c --- /dev/null +++ b/api/2.49/dagger/producers/class-use/ProductionSubcomponent.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.ProductionSubcomponent + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.ProductionSubcomponent

          +
          +
          No usage of dagger.producers.ProductionSubcomponent
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/ProducerMonitor.html b/api/2.49/dagger/producers/monitoring/ProducerMonitor.html new file mode 100644 index 00000000000..4e2aed54a60 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProducerMonitor.html @@ -0,0 +1,532 @@ + + + + + +ProducerMonitor + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ProducerMonitor

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.monitoring.ProducerMonitor
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class ProducerMonitor
            +extends java.lang.Object
            +
            A hook for monitoring the execution of individual producer methods. See + ProductionComponentMonitor for how to install these monitors. + +

            The lifecycle of the monitor, under normal conditions, is: +

            + +

            If any input to the monitored producer fails, failed(Throwable) will be called + immediately with the failed input's exception. If more than one input fails, an arbitrary failed + input's exception is used. + +

            For example, given an entry point A that depends on B, which depends on C, when the entry + point A is called, this will trigger the following sequence of events, assuming all methods and + futures complete successfully: +

              +
            • A requested +
            • B requested +
            • C requested +
            • C methodStarting +
            • C methodFinished +
            • C succeeded +
            • B methodStarting +
            • B methodFinished +
            • B succeeded +
            • A methodStarting +
            • A methodFinished +
            • A succeeded +
            + +

            If any of the monitor's methods throw, then the exception will be logged and processing will + continue unaffected.

            +
            +
            Since:
            +
            2.1
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              ProducerMonitor() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              <T> voidaddCallbackTo​(com.google.common.util.concurrent.ListenableFuture<T> future) +
              Adds this monitor's completion methods as a callback to the future.
              +
              voidfailed​(java.lang.Throwable t) +
              Called when the producer's future has failed with an exception.
              +
              voidmethodFinished() +
              Called when the producer method has finished executing.
              +
              voidmethodStarting() +
              Called when the producer method is about to start executing.
              +
              static ProducerMonitornoOp() +
              Returns a monitor that does no monitoring.
              +
              voidready() +
              Called when all of the producer's inputs are available.
              +
              voidrequested() +
              Called when the producer's output is requested; that is, when the first method is called that + requires the production of this producer's output.
              +
              voidsucceeded​(java.lang.Object value) +
              Called when the producer’s future has completed successfully with a value.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                ProducerMonitor

                +
                public ProducerMonitor()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                requested

                +
                public void requested()
                +
                Called when the producer's output is requested; that is, when the first method is called that + requires the production of this producer's output. + +

                Note that if a method depends on Producer<T>, then this does not count as requesting + T; that is only triggered by calling Producer.get(). + +

                Depending on how this producer is requested, the following threading constraints are + guaranteed: + +

                  +
                1. If the producer is requested directly by a method on a component, then requested + will be called on the same thread as the component method call. +
                2. If the producer is requested by value from another producer (i.e., injected as T + or Produced<T>), then requested will be called from the same thread as + the other producer's requested. +
                3. If the producer is requested by calling Producer.get(), then requested + will be called from the same thread as that get() call. +
                + +

                When multiple monitors are installed, the order that each monitor will call this method is + unspecified, but will remain consistent throughout the course of the execution of a component. + +

                This implementation is a no-op.

                +
              • +
              + + + +
                +
              • +

                ready

                +
                public void ready()
                +
                Called when all of the producer's inputs are available. This is called regardless of whether + the inputs have succeeded or not; when the inputs have succeeded, this is called prior to + scheduling the method on the executor, and if an input has failed and the producer will be + skipped, this method will be called before failed(Throwable) is called. + +

                When multiple monitors are installed, the order that each monitor will call this method is + unspecified, but will remain consistent throughout the course of the execution of a component. + +

                This implementation is a no-op.

                +
              • +
              + + + +
                +
              • +

                methodStarting

                +
                public void methodStarting()
                +
                Called when the producer method is about to start executing. This will be called from the same + thread as the producer method itself. + +

                When multiple monitors are installed, calls to this method will be in the reverse order from + calls to requested(). + +

                This implementation is a no-op.

                +
              • +
              + + + +
                +
              • +

                methodFinished

                +
                public void methodFinished()
                +
                Called when the producer method has finished executing. This will be called from the same + thread as methodStarting() and the producer method itself. + +

                When multiple monitors are installed, calls to this method will be in the reverse order from + calls to requested(). + +

                This implementation is a no-op.

                +
              • +
              + + + +
                +
              • +

                succeeded

                +
                public void succeeded​(java.lang.Object value)
                +
                Called when the producer’s future has completed successfully with a value. + +

                When multiple monitors are installed, calls to this method will be in the reverse order from + calls to requested(). + +

                This implementation is a no-op.

                +
              • +
              + + + +
                +
              • +

                failed

                +
                public void failed​(java.lang.Throwable t)
                +
                Called when the producer's future has failed with an exception. + +

                When multiple monitors are installed, calls to this method will be in the reverse order from + calls to requested(). + +

                This implementation is a no-op.

                +
              • +
              + + + +
                +
              • +

                addCallbackTo

                +
                public <T> void addCallbackTo​(com.google.common.util.concurrent.ListenableFuture<T> future)
                +
                Adds this monitor's completion methods as a callback to the future. This is only intended to be + overridden in the framework!
                +
              • +
              + + + +
                +
              • +

                noOp

                +
                public static ProducerMonitor noOp()
                +
                Returns a monitor that does no monitoring.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/ProducerTimingRecorder.html b/api/2.49/dagger/producers/monitoring/ProducerTimingRecorder.html new file mode 100644 index 00000000000..7f6df89b78f --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProducerTimingRecorder.html @@ -0,0 +1,423 @@ + + + + + +ProducerTimingRecorder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ProducerTimingRecorder

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.monitoring.ProducerTimingRecorder
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class ProducerTimingRecorder
            +extends java.lang.Object
            +
            A hook for recording the timing of the execution of individual + producer methods. See ProductionComponentTimingRecorder for how to + install these monitors. + +

            If any of the recorder's methods throw, then the exception will be logged and processing will + continue unaffected. + +

            All timings are measured at nanosecond precision, but not necessarily nanosecond resolution. + That is, timings will be reported in nanoseconds, but the timing source will not necessarily + update at nanosecond resolution. For example, System.nanoTime() would satisfy these + constraints.

            +
            +
            Since:
            +
            2.1
            +
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static ProducerTimingRecordernoOp() +
              Returns a producer recorder that does nothing.
              +
              voidrecordFailure​(java.lang.Throwable exception, + long latencyNanos) +
              Reports that the producer's future has failed with the given statistics.
              +
              voidrecordMethod​(long startedNanos, + long durationNanos) +
              Reports that the producer method has finished executing with the given statistics.
              +
              voidrecordSkip​(java.lang.Throwable exception) +
              Reports that the producer was skipped because one of its inputs failed.
              +
              voidrecordSuccess​(long latencyNanos) +
              Reports that the producer's future has succeeded with the given statistics.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                ProducerTimingRecorder

                +
                public ProducerTimingRecorder()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                recordMethod

                +
                public void recordMethod​(long startedNanos,
                +                         long durationNanos)
                +
                Reports that the producer method has finished executing with the given statistics. + +

                If the producer was skipped due to any of its inputs failing, then this will not be called.

                +
                +
                Parameters:
                +
                startedNanos - the wall-clock time, in nanoseconds, when the producer method started + executing, measured from when the first method on the production component was called.
                +
                durationNanos - the wall-clock time, in nanoseconds, that the producer method took to + execute.
                +
                +
              • +
              + + + +
                +
              • +

                recordSuccess

                +
                public void recordSuccess​(long latencyNanos)
                +
                Reports that the producer's future has succeeded with the given statistics. + +

                If the producer was skipped due to any of its inputs failing, then this will not be called.

                +
                +
                Parameters:
                +
                latencyNanos - the wall-clock time, in nanoseconds, of the producer's latency, measured + from when the producer method started to when the future finished.
                +
                +
              • +
              + + + +
                +
              • +

                recordFailure

                +
                public void recordFailure​(java.lang.Throwable exception,
                +                          long latencyNanos)
                +
                Reports that the producer's future has failed with the given statistics.
                +
                +
                Parameters:
                +
                exception - the exception that the future failed with.
                +
                latencyNanos - the wall-clock time, in nanoseconds, of the producer's latency, measured + from when the producer method started to when the future finished.
                +
                +
              • +
              + + + +
                +
              • +

                recordSkip

                +
                public void recordSkip​(java.lang.Throwable exception)
                +
                Reports that the producer was skipped because one of its inputs failed.
                +
                +
                Parameters:
                +
                exception - the exception that its input failed with. If multiple inputs failed, this + exception will be chosen arbitrarily from the input failures.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/ProducerToken.html b/api/2.49/dagger/producers/monitoring/ProducerToken.html new file mode 100644 index 00000000000..e38984e1c0d --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProducerToken.html @@ -0,0 +1,356 @@ + + + + + +ProducerToken + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ProducerToken

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.monitoring.ProducerToken
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public final class ProducerToken
            +extends java.lang.Object
            +
            A token that represents an individual producer method.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static ProducerTokencreate​(java.lang.Class<?> classToken) +
              Creates a token for a class token that represents the generated factory for a producer method.
              +
              static ProducerTokencreate​(java.lang.String methodName) +
              Creates a token for a producer method.
              +
              booleanequals​(java.lang.Object o) +
              Two tokens are equal if they represent the same method.
              +
              inthashCode() +
              Returns an appropriate hash code to match equals(Object).
              +
              java.lang.StringtoString() +
              Returns a representation of the method.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                create

                +
                public static ProducerToken create​(java.lang.Class<?> classToken)
                +
                Creates a token for a class token that represents the generated factory for a producer method. + +

                Do not use this! This is intended to be called by generated code only, and its + signature may change at any time.

                +
              • +
              + + + +
                +
              • +

                create

                +
                public static ProducerToken create​(java.lang.String methodName)
                +
                Creates a token for a producer method. + +

                Do not use this! This is intended to be called by generated code only, and its + signature may change at any time.

                +
              • +
              + + + +
                +
              • +

                equals

                +
                public boolean equals​(java.lang.Object o)
                +
                Two tokens are equal if they represent the same method.
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                public int hashCode()
                +
                Returns an appropriate hash code to match equals(Object).
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public java.lang.String toString()
                +
                Returns a representation of the method.
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.Factory.html b/api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.Factory.html new file mode 100644 index 00000000000..262b725d850 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.Factory.html @@ -0,0 +1,334 @@ + + + + + +ProductionComponentMonitor.Factory + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ProductionComponentMonitor.Factory

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.monitoring.ProductionComponentMonitor.Factory
            • +
            +
          • +
          +
          + +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                Factory

                +
                public Factory()
                +
              • +
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.html b/api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.html new file mode 100644 index 00000000000..c29b15fdf79 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProductionComponentMonitor.html @@ -0,0 +1,380 @@ + + + + + +ProductionComponentMonitor + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ProductionComponentMonitor

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.monitoring.ProductionComponentMonitor
            • +
            +
          • +
          +
          +
            +
          • +
            +
            Direct Known Subclasses:
            +
            TimingProductionComponentMonitor
            +
            +
            +
            public abstract class ProductionComponentMonitor
            +extends java.lang.Object
            +
            A hook for monitoring execution of production components. To + install a ProductionComponentMonitor, contribute to a set binding of + ProductionComponentMonitor.Factory. The factory will be asked to create one monitor for + the component, and the resulting single instance will be used to create individual monitors for + producers. + +

            For example:

            
            +   @Module
            +   final class MyMonitorModule {
            +     @Provides @IntoSet ProductionComponentMonitor.Factory provideMonitorFactory(
            +         MyProductionComponentMonitor.Factory monitorFactory) {
            +       return monitorFactory;
            +     }
            +   }
            +
            +   @ProductionComponent(modules = {MyMonitorModule.class, MyProducerModule.class})
            +   interface MyComponent {
            +     ListenableFuture<SomeType> someType();
            +   }
            + 
            + +

            If any of these methods throw, then the exception will be logged, and the framework will act + as though a no-op monitor was returned.

            +
            +
            Since:
            +
            2.1
            +
            +
          • +
          +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.Factory.html b/api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.Factory.html new file mode 100644 index 00000000000..90432089ba6 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.Factory.html @@ -0,0 +1,257 @@ + + + + + +ProductionComponentTimingRecorder.Factory + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface ProductionComponentTimingRecorder.Factory

          +
          +
          +
          + +
          +
          + +
          +
          +
            +
          • + +
            + +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.html b/api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.html new file mode 100644 index 00000000000..ea950791339 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/ProductionComponentTimingRecorder.html @@ -0,0 +1,289 @@ + + + + + +ProductionComponentTimingRecorder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface ProductionComponentTimingRecorder

          +
          +
          +
          +
            +
          • +
            +
            public interface ProductionComponentTimingRecorder
            +
            A hook for recording timing of the execution of + production components. To install a + ProductionComponentTimingRecorder, contribute to a set binding of + ProductionComponentTimingRecorder.Factory, and include the TimingMonitorModule to + the component. The factory will be asked to create one timing recorder for the component, and the + resulting instance will be used to create individual timing recorders for producers. + +

            If any of these methods throw, then the exception will be logged, and the framework will act + as though a no-op timing recorder was returned.

            +
            +
            Since:
            +
            2.1
            +
            +
          • +
          +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.Factory.html b/api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.Factory.html new file mode 100644 index 00000000000..74f57dc084a --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.Factory.html @@ -0,0 +1,330 @@ + + + + + +TimingProductionComponentMonitor.Factory + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class TimingProductionComponentMonitor.Factory

          +
          +
          + +
          + +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.html b/api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.html new file mode 100644 index 00000000000..df834c75f7d --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/TimingProductionComponentMonitor.html @@ -0,0 +1,315 @@ + + + + + +TimingProductionComponentMonitor + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class TimingProductionComponentMonitor

          +
          +
          + +
          + +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/producers/monitoring/TimingRecorders.html b/api/2.49/dagger/producers/monitoring/TimingRecorders.html new file mode 100644 index 00000000000..0eab5cf93ea --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/TimingRecorders.html @@ -0,0 +1,317 @@ + + + + + +TimingRecorders + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class TimingRecorders

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.producers.monitoring.TimingRecorders
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @Beta
            +public final class TimingRecorders
            +extends java.lang.Object
            +
            Utility methods relating to timing.
            +
            +
            Since:
            +
            2.1
            +
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                delegatingProductionComponentTimingRecorderFactory

                +
                public static ProductionComponentTimingRecorder.Factory delegatingProductionComponentTimingRecorderFactory​(java.util.Collection<ProductionComponentTimingRecorder.Factory> factories)
                +
                Returns a timing recorder factory that delegates to the given factories, and ensures that any + method called on this object, even transitively, does not throw a RuntimeException or + return null. + +

                If the delegate recorders throw an Error, then that will escape this recorder + implementation. Errors are treated as unrecoverable conditions, and may cause the entire + component's execution to fail.

                +
              • +
              + + + +
                +
              • +

                noOpProductionComponentTimingRecorderFactory

                +
                public static ProductionComponentTimingRecorder.Factory noOpProductionComponentTimingRecorderFactory()
                +
                Returns a recorder factory that returns no-op component recorders.
                +
              • +
              + + + +
                +
              • +

                noOpProductionComponentTimingRecorder

                +
                public static ProductionComponentTimingRecorder noOpProductionComponentTimingRecorder()
                +
                Returns a component recorder that returns no-op producer recorders.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProducerMonitor.html b/api/2.49/dagger/producers/monitoring/class-use/ProducerMonitor.html new file mode 100644 index 00000000000..253f09f6da8 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProducerMonitor.html @@ -0,0 +1,208 @@ + + + + + +Uses of Class dagger.producers.monitoring.ProducerMonitor + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.ProducerMonitor

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProducerTimingRecorder.html b/api/2.49/dagger/producers/monitoring/class-use/ProducerTimingRecorder.html new file mode 100644 index 00000000000..d3a3a60612f --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProducerTimingRecorder.html @@ -0,0 +1,203 @@ + + + + + +Uses of Class dagger.producers.monitoring.ProducerTimingRecorder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.ProducerTimingRecorder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProducerToken.html b/api/2.49/dagger/producers/monitoring/class-use/ProducerToken.html new file mode 100644 index 00000000000..599783ff607 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProducerToken.html @@ -0,0 +1,232 @@ + + + + + +Uses of Class dagger.producers.monitoring.ProducerToken + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.ProducerToken

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.Factory.html b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.Factory.html new file mode 100644 index 00000000000..72368dcd662 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.Factory.html @@ -0,0 +1,211 @@ + + + + + +Uses of Class dagger.producers.monitoring.ProductionComponentMonitor.Factory + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.ProductionComponentMonitor.Factory

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.html b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.html new file mode 100644 index 00000000000..51a749ae07b --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentMonitor.html @@ -0,0 +1,226 @@ + + + + + +Uses of Class dagger.producers.monitoring.ProductionComponentMonitor + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.ProductionComponentMonitor

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.Factory.html b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.Factory.html new file mode 100644 index 00000000000..4b0c5e81fbd --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.Factory.html @@ -0,0 +1,237 @@ + + + + + +Uses of Interface dagger.producers.monitoring.ProductionComponentTimingRecorder.Factory + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.producers.monitoring.ProductionComponentTimingRecorder.Factory

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.html b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.html new file mode 100644 index 00000000000..da75dde0365 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/ProductionComponentTimingRecorder.html @@ -0,0 +1,203 @@ + + + + + +Uses of Interface dagger.producers.monitoring.ProductionComponentTimingRecorder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.producers.monitoring.ProductionComponentTimingRecorder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.Factory.html b/api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.Factory.html new file mode 100644 index 00000000000..2960e38f125 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.Factory.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.monitoring.TimingProductionComponentMonitor.Factory + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.TimingProductionComponentMonitor.Factory

          +
          +
          No usage of dagger.producers.monitoring.TimingProductionComponentMonitor.Factory
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.html b/api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.html new file mode 100644 index 00000000000..d58e0067399 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/TimingProductionComponentMonitor.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.monitoring.TimingProductionComponentMonitor + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.TimingProductionComponentMonitor

          +
          +
          No usage of dagger.producers.monitoring.TimingProductionComponentMonitor
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/class-use/TimingRecorders.html b/api/2.49/dagger/producers/monitoring/class-use/TimingRecorders.html new file mode 100644 index 00000000000..3e6e54768e3 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/class-use/TimingRecorders.html @@ -0,0 +1,148 @@ + + + + + +Uses of Class dagger.producers.monitoring.TimingRecorders + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.producers.monitoring.TimingRecorders

          +
          +
          No usage of dagger.producers.monitoring.TimingRecorders
          +
          + + + diff --git a/api/2.49/dagger/producers/monitoring/package-summary.html b/api/2.49/dagger/producers/monitoring/package-summary.html new file mode 100644 index 00000000000..523b951fada --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/package-summary.html @@ -0,0 +1,238 @@ + + + + + +dagger.producers.monitoring + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.producers.monitoring

          +
          +
          +
          + + +
          This package provides hooks for monitoring producers. + +

          The interfaces in this package are not stable. Do not use these interfaces unless you are + prepared to be broken.

          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/producers/monitoring/package-tree.html b/api/2.49/dagger/producers/monitoring/package-tree.html new file mode 100644 index 00000000000..4f4ab74365d --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/package-tree.html @@ -0,0 +1,183 @@ + + + + + +dagger.producers.monitoring Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.producers.monitoring

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/producers/monitoring/package-use.html b/api/2.49/dagger/producers/monitoring/package-use.html new file mode 100644 index 00000000000..de7146f7406 --- /dev/null +++ b/api/2.49/dagger/producers/monitoring/package-use.html @@ -0,0 +1,221 @@ + + + + + +Uses of Package dagger.producers.monitoring + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.producers.monitoring

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/producers/package-summary.html b/api/2.49/dagger/producers/package-summary.html new file mode 100644 index 00000000000..c566e042e23 --- /dev/null +++ b/api/2.49/dagger/producers/package-summary.html @@ -0,0 +1,301 @@ + + + + + +dagger.producers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Package dagger.producers

          +
          +
          +
          + + +
          This package contains the public API for Dagger 2's producer functionality. + +

          Dagger Producers is an extension to Dagger that implements asynchronous dependency injection + in Java. + +

          Extended documentation on Dagger Producers can be found at https://dagger.dev/producers.

          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/producers/package-tree.html b/api/2.49/dagger/producers/package-tree.html new file mode 100644 index 00000000000..366cf7bf35d --- /dev/null +++ b/api/2.49/dagger/producers/package-tree.html @@ -0,0 +1,200 @@ + + + + + +dagger.producers Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.producers

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          + +
          +
          +

          Enum Hierarchy

          +
            +
          • java.lang.Object + +
          • +
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/producers/package-use.html b/api/2.49/dagger/producers/package-use.html new file mode 100644 index 00000000000..50221480836 --- /dev/null +++ b/api/2.49/dagger/producers/package-use.html @@ -0,0 +1,201 @@ + + + + + +Uses of Package dagger.producers + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.producers

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use dagger.producers 
            PackageDescription
            dagger.producers +
            This package contains the public API for Dagger 2's producer functionality.
            +
            +
          • +
          • + + + + + + + + + + + + + + + + + + + + + + +
            Classes in dagger.producers used by dagger.producers 
            ClassDescription
            CancellationPolicy.Propagation +
            Enumeration of the options for what happens to a parent component when one of its child + components is cancelled.
            +
            Produced +
            An interface that represents the result of a production of type T, + or an exception that was thrown during that production.
            +
            Producer +
            An interface that represents the production of a type T.
            +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/spi/BindingGraphPlugin.html b/api/2.49/dagger/spi/BindingGraphPlugin.html new file mode 100644 index 00000000000..b032b1c9cf2 --- /dev/null +++ b/api/2.49/dagger/spi/BindingGraphPlugin.html @@ -0,0 +1,408 @@ + + + + + +BindingGraphPlugin + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.spi
          +

          Interface BindingGraphPlugin

          +
          +
          +
          +
            +
          • +
            +
            public interface BindingGraphPlugin
            +
            A pluggable visitor for BindingGraph. + +

            Note: This is still experimental and will change.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods Default Methods 
              Modifier and TypeMethodDescription
              default voidinitElements​(javax.lang.model.util.Elements elements) +
              Initializes this plugin with a Elements instance.
              +
              default voidinitFiler​(javax.annotation.processing.Filer filer) +
              Initializes this plugin with a Filer that it can use to write Java or other files based + on the binding graph.
              +
              default voidinitOptions​(java.util.Map<java.lang.String,​java.lang.String> options) +
              Initializes this plugin with a filtered view of the options passed on the javac + command-line for all keys from supportedOptions().
              +
              default voidinitTypes​(javax.lang.model.util.Types types) +
              Initializes this plugin with a Types instance.
              +
              default voidonPluginEnd() +
              Perform any extra work after the plugin finished all its visiting.
              +
              default java.lang.StringpluginName() +
              A distinguishing name of the plugin that will be used in diagnostics printed to the Messager.
              +
              default java.util.Set<java.lang.String>supportedOptions() +
              Returns the annotation-processing options that this plugin uses to configure behavior.
              +
              voidvisitGraph​(BindingGraph bindingGraph, + DiagnosticReporter diagnosticReporter) +
              Called once for each valid root binding graph encountered by the Dagger processor.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                visitGraph

                +
                void visitGraph​(BindingGraph bindingGraph,
                +                DiagnosticReporter diagnosticReporter)
                +
                Called once for each valid root binding graph encountered by the Dagger processor. May report + diagnostics using diagnosticReporter.
                +
              • +
              + + + +
                +
              • +

                initFiler

                +
                default void initFiler​(javax.annotation.processing.Filer filer)
                +
                Initializes this plugin with a Filer that it can use to write Java or other files based + on the binding graph. This will be called once per instance of this plugin, before any graph is + visited.
                +
                +
                See Also:
                +
                ProcessingEnvironment.getFiler()
                +
                +
              • +
              + + + +
                +
              • +

                initTypes

                +
                default void initTypes​(javax.lang.model.util.Types types)
                +
                Initializes this plugin with a Types instance. This will be called once per instance of + this plugin, before any graph is visited.
                +
                +
                See Also:
                +
                ProcessingEnvironment.getTypeUtils()
                +
                +
              • +
              + + + +
                +
              • +

                initElements

                +
                default void initElements​(javax.lang.model.util.Elements elements)
                +
                Initializes this plugin with a Elements instance. This will be called once per instance + of this plugin, before any graph is visited.
                +
                +
                See Also:
                +
                ProcessingEnvironment.getElementUtils()
                +
                +
              • +
              + + + +
                +
              • +

                initOptions

                +
                default void initOptions​(java.util.Map<java.lang.String,​java.lang.String> options)
                +
                Initializes this plugin with a filtered view of the options passed on the javac + command-line for all keys from supportedOptions(). This will be called once per + instance of this plugin, before any graph is visited.
                +
                +
                See Also:
                +
                ProcessingEnvironment.getOptions()
                +
                +
              • +
              + + + +
                +
              • +

                supportedOptions

                +
                default java.util.Set<java.lang.String> supportedOptions()
                +
                Returns the annotation-processing options that this plugin uses to configure behavior.
                +
                +
                See Also:
                +
                Processor.getSupportedOptions()
                +
                +
              • +
              + + + +
                +
              • +

                pluginName

                +
                default java.lang.String pluginName()
                +
                A distinguishing name of the plugin that will be used in diagnostics printed to the Messager. By default, the fully qualified name of the + plugin is used.
                +
              • +
              + + + +
                +
              • +

                onPluginEnd

                +
                default void onPluginEnd()
                +
                Perform any extra work after the plugin finished all its visiting. This will be called once per + instance of this plugin, after all graphs were visited
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/DiagnosticReporter.html b/api/2.49/dagger/spi/DiagnosticReporter.html new file mode 100644 index 00000000000..518931bad91 --- /dev/null +++ b/api/2.49/dagger/spi/DiagnosticReporter.html @@ -0,0 +1,433 @@ + + + + + +DiagnosticReporter + + + + + + + + + + + + + + +
          + +
          + +
          +
          +
          Package dagger.spi
          +

          Interface DiagnosticReporter

          +
          +
          +
          +
            +
          • +
            +
            public interface DiagnosticReporter
            +
            An object that BindingGraphPlugins can use to report diagnostics while visiting a BindingGraph. + +

            Note: This API is still experimental and will change.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              voidreportBinding​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.MaybeBinding binding, + java.lang.String message) +
              Reports a diagnostic for a binding or missing binding.
              +
              voidreportBinding​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.MaybeBinding binding, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a binding or missing binding.
              +
              voidreportComponent​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ComponentNode componentNode, + java.lang.String message) +
              Reports a diagnostic for a component.
              +
              voidreportComponent​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ComponentNode componentNode, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a component.
              +
              voidreportDependency​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.DependencyEdge dependencyEdge, + java.lang.String message) +
              Reports a diagnostic for a dependency.
              +
              voidreportDependency​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.DependencyEdge dependencyEdge, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a dependency.
              +
              voidreportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge, + java.lang.String message) +
              Reports a diagnostic for a subcomponent factory method.
              +
              voidreportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a subcomponent factory method.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                reportComponent

                +
                void reportComponent​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                     BindingGraph.ComponentNode componentNode,
                +                     java.lang.String message)
                +
                Reports a diagnostic for a component. For non-root components, includes information about the + path from the root component.
                +
              • +
              + + + +
                +
              • +

                reportComponent

                +
                @FormatMethod
                +void reportComponent​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                     BindingGraph.ComponentNode componentNode,
                +                     java.lang.String messageFormat,
                +                     java.lang.Object firstArg,
                +                     java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a component. For non-root components, includes information about the + path from the root component.
                +
              • +
              + + + +
                +
              • +

                reportBinding

                +
                void reportBinding​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                   BindingGraph.MaybeBinding binding,
                +                   java.lang.String message)
                +
                Reports a diagnostic for a binding or missing binding. Includes information about how the + binding is reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportBinding

                +
                @FormatMethod
                +void reportBinding​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                   BindingGraph.MaybeBinding binding,
                +                   java.lang.String messageFormat,
                +                   java.lang.Object firstArg,
                +                   java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a binding or missing binding. Includes information about how the + binding is reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportDependency

                +
                void reportDependency​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                      BindingGraph.DependencyEdge dependencyEdge,
                +                      java.lang.String message)
                +
                Reports a diagnostic for a dependency. Includes information about how the dependency is + reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportDependency

                +
                @FormatMethod
                +void reportDependency​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                      BindingGraph.DependencyEdge dependencyEdge,
                +                      java.lang.String messageFormat,
                +                      java.lang.Object firstArg,
                +                      java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a dependency. Includes information about how the dependency is + reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportSubcomponentFactoryMethod

                +
                void reportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                     BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge,
                +                                     java.lang.String message)
                +
                Reports a diagnostic for a subcomponent factory method.
                +
              • +
              + + + +
                +
              • +

                reportSubcomponentFactoryMethod

                +
                @FormatMethod
                +void reportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                     BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge,
                +                                     java.lang.String messageFormat,
                +                                     java.lang.Object firstArg,
                +                                     java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a subcomponent factory method.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/class-use/BindingGraphPlugin.html b/api/2.49/dagger/spi/class-use/BindingGraphPlugin.html new file mode 100644 index 00000000000..09f7db445c0 --- /dev/null +++ b/api/2.49/dagger/spi/class-use/BindingGraphPlugin.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.spi.BindingGraphPlugin + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.BindingGraphPlugin

          +
          +
          No usage of dagger.spi.BindingGraphPlugin
          +
          + + + diff --git a/api/2.49/dagger/spi/class-use/DiagnosticReporter.html b/api/2.49/dagger/spi/class-use/DiagnosticReporter.html new file mode 100644 index 00000000000..82c44de5120 --- /dev/null +++ b/api/2.49/dagger/spi/class-use/DiagnosticReporter.html @@ -0,0 +1,198 @@ + + + + + +Uses of Interface dagger.spi.DiagnosticReporter + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.DiagnosticReporter

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/Binding.html b/api/2.49/dagger/spi/model/Binding.html new file mode 100644 index 00000000000..168a606b2b7 --- /dev/null +++ b/api/2.49/dagger/spi/model/Binding.html @@ -0,0 +1,451 @@ + + + + + +Binding + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface Binding

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.MaybeBinding, BindingGraph.Node
            +
            +
            +
            public interface Binding
            +extends BindingGraph.MaybeBinding
            +
            The association between a Key and the way in which instances of the key are provided. + Includes any dependencies that are needed in order to provide the + instances. + +

            If a binding is owned by more than one component, there is one Binding for every + owning component.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + + + + + +
                +
              • +

                dependencies

                +
                com.google.common.collect.ImmutableSet<DependencyRequest> dependencies()
                +
                The dependencies of this binding. The order of the dependencies corresponds to the order in + which they will be injected when the binding is requested.
                +
              • +
              + + + +
                +
              • +

                bindingElement

                +
                java.util.Optional<DaggerElement> bindingElement()
                +
                The DaggerElement that declares this binding. Absent for + binding kinds that are not always declared by exactly one element. + +

                For example, consider BindingKind.MULTIBOUND_SET. A component with many + @IntoSet bindings for the same key will have a synthetic binding that depends on all + contributions, but with no identifiying binding element. A @Multibinds method will also + contribute a synthetic binding, but since multiple @Multibinds methods can coexist in + the same component (and contribute to one single binding), it has no binding element.

                +
              • +
              + + + + + + + +
                +
              • +

                requiresModuleInstance

                +
                boolean requiresModuleInstance()
                +
                Returns true if using this binding requires an instance of the contributingModule().
                +
              • +
              + + + +
                +
              • +

                scope

                +
                java.util.Optional<Scope> scope()
                +
                The scope of this binding if it has one.
                +
              • +
              + + + + + + + +
                +
              • +

                isProduction

                +
                boolean isProduction()
                +
                Returns true if this is a production binding, e.g. an @Produces method.
                +
              • +
              + + + +
                +
              • +

                kind

                +
                BindingKind kind()
                +
                The kind of binding this instance represents.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.ChildFactoryMethodEdge.html b/api/2.49/dagger/spi/model/BindingGraph.ChildFactoryMethodEdge.html new file mode 100644 index 00000000000..7bc2c7eda0a --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.ChildFactoryMethodEdge.html @@ -0,0 +1,264 @@ + + + + + +BindingGraph.ChildFactoryMethodEdge + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.ChildFactoryMethodEdge

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Edge
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.ChildFactoryMethodEdge
            +extends BindingGraph.Edge
            +
            An edge that represents a subcomponent factory method linking a parent component to a child + subcomponent.
            +
          • +
          +
          +
          + +
          +
          + +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.ComponentNode.html b/api/2.49/dagger/spi/model/BindingGraph.ComponentNode.html new file mode 100644 index 00000000000..37f88a46f6e --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.ComponentNode.html @@ -0,0 +1,340 @@ + + + + + +BindingGraph.ComponentNode + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.ComponentNode

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Node
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.ComponentNode
            +extends BindingGraph.Node
            +
            A component node in the graph. Every entry point dependency + edge's source node is a component node for the component containing the entry point.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              ComponentPathcomponentPath() +
              The component represented by this node.
              +
              com.google.common.collect.ImmutableSet<DependencyRequest>entryPoints() +
              The entry points on this component.
              +
              booleanisRealComponent() +
              Returns true if the component is a real component, or false if it is a + fictional component based on a module.
              +
              booleanisSubcomponent() +
              Returns true if the component is a @Subcomponent or + @ProductionSubcomponent.
              +
              com.google.common.collect.ImmutableSet<Scope>scopes() +
              The scopes declared on this component.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + +
                +
              • +

                isSubcomponent

                +
                boolean isSubcomponent()
                +
                Returns true if the component is a @Subcomponent or + @ProductionSubcomponent.
                +
              • +
              + + + +
                +
              • +

                isRealComponent

                +
                boolean isRealComponent()
                +
                Returns true if the component is a real component, or false if it is a + fictional component based on a module.
                +
              • +
              + + + +
                +
              • +

                entryPoints

                +
                com.google.common.collect.ImmutableSet<DependencyRequest> entryPoints()
                +
                The entry points on this component.
                +
              • +
              + + + +
                +
              • +

                scopes

                +
                com.google.common.collect.ImmutableSet<Scope> scopes()
                +
                The scopes declared on this component.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.DependencyEdge.html b/api/2.49/dagger/spi/model/BindingGraph.DependencyEdge.html new file mode 100644 index 00000000000..91889ac2355 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.DependencyEdge.html @@ -0,0 +1,290 @@ + + + + + +BindingGraph.DependencyEdge + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.DependencyEdge

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Edge
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.DependencyEdge
            +extends BindingGraph.Edge
            +
            An edge that represents a dependency on a binding. + +

            Because one DependencyRequest may represent a dependency from two bindings (e.g., a + dependency of Foo<String> and Foo<Number> may have the same key and request + element), this class does not override Object.equals(Object) to use value semantics. + +

            For entry points, the source node is the BindingGraph.ComponentNode that contains the entry + point. Otherwise the source node is a Binding. + +

            For dependencies on missing bindings, the target node is a BindingGraph.MissingBinding. Otherwise + the target node is a Binding.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                dependencyRequest

                +
                DependencyRequest dependencyRequest()
                +
                The dependency request.
                +
              • +
              + + + +
                +
              • +

                isEntryPoint

                +
                boolean isEntryPoint()
                +
                Returns true if this edge represents an entry point.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.Edge.html b/api/2.49/dagger/spi/model/BindingGraph.Edge.html new file mode 100644 index 00000000000..1a8948a7769 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.Edge.html @@ -0,0 +1,199 @@ + + + + + +BindingGraph.Edge + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.Edge

          +
          +
          +
          + +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.MaybeBinding.html b/api/2.49/dagger/spi/model/BindingGraph.MaybeBinding.html new file mode 100644 index 00000000000..6eb6c35aca8 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.MaybeBinding.html @@ -0,0 +1,309 @@ + + + + + +BindingGraph.MaybeBinding + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.MaybeBinding

          +
          +
          +
          + +
          +
          +
            +
          • + +
            + +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + +
                +
              • +

                key

                +
                Key key()
                +
                The key of the binding, or for which there is no binding.
                +
              • +
              + + + +
                +
              • +

                binding

                +
                java.util.Optional<Binding> binding()
                +
                The binding, or empty if missing.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.MissingBinding.html b/api/2.49/dagger/spi/model/BindingGraph.MissingBinding.html new file mode 100644 index 00000000000..d037c9e3d89 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.MissingBinding.html @@ -0,0 +1,392 @@ + + + + + +BindingGraph.MissingBinding + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class BindingGraph.MissingBinding

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.BindingGraph.MissingBinding
            • +
            +
          • +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              MissingBinding() 
              +
            • +
            +
            + +
            + +
            +
          • +
          +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.Node.html b/api/2.49/dagger/spi/model/BindingGraph.Node.html new file mode 100644 index 00000000000..af55fd0b0c6 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.Node.html @@ -0,0 +1,266 @@ + + + + + +BindingGraph.Node + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.Node

          +
          +
          +
          + +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                componentPath

                +
                ComponentPath componentPath()
                +
                The component this node belongs to.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.SubcomponentCreatorBindingEdge.html b/api/2.49/dagger/spi/model/BindingGraph.SubcomponentCreatorBindingEdge.html new file mode 100644 index 00000000000..adab6b38f5e --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.SubcomponentCreatorBindingEdge.html @@ -0,0 +1,271 @@ + + + + + +BindingGraph.SubcomponentCreatorBindingEdge + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraph.SubcomponentCreatorBindingEdge

          +
          +
          +
          +
            +
          • +
            +
            All Superinterfaces:
            +
            BindingGraph.Edge
            +
            +
            +
            Enclosing class:
            +
            BindingGraph
            +
            +
            +
            public static interface BindingGraph.SubcomponentCreatorBindingEdge
            +extends BindingGraph.Edge
            +
            An edge that represents the link between a parent component and a child subcomponent implied by + a subcomponent creator (builder or factory) binding. + +

            The source node of this edge is a + Binding for the subcomponent creator Key and the target node is a BindingGraph.ComponentNode for the + child subcomponent.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                declaringModules

                +
                com.google.common.collect.ImmutableSet<DaggerTypeElement> declaringModules()
                +
                The modules that declare the subcomponent that generated + this edge. Empty if the parent component has a subcomponent creator method and there are no + declaring modules.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingGraph.html b/api/2.49/dagger/spi/model/BindingGraph.html new file mode 100644 index 00000000000..30cb0fbc496 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraph.html @@ -0,0 +1,864 @@ + + + + + +BindingGraph + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class BindingGraph

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.BindingGraph
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class BindingGraph
            +extends java.lang.Object
            +
            A graph of bindings, dependency requests, and components. + +

            A BindingGraph represents one of the following: + +

              +
            • an entire component hierarchy rooted at a Component or + ProductionComponent +
            • a partial component hierarchy rooted at a Subcomponent or + ProductionSubcomponent (only when the value of + -Adagger.fullBindingGraphValidation is not NONE) +
            • the bindings installed by a Module or ProducerModule, + including all subcomponents generated by Module.subcomponents() ()} and + ProducerModule#subcomponents() ()} +
            + + In the case of a BindingGraph representing a module, the root BindingGraph.ComponentNode will + actually represent the module type. The graph will also be a full binding graph, which means it will contain all bindings in all modules, as well as nodes + for their dependencies. Otherwise it will contain only bindings that are reachable from at least + one entry point. + +

            Nodes

            + +

            There is a Binding for each owned binding in the graph. If a binding is owned + by more than one component, there is one binding object for that binding for every owning + component. + +

            There is a component node (without a binding) for each + component in the graph. + +

            Edges

            + +

            There is a dependency edge for each dependency request in + the graph. Its target node is the binding for the binding that satisfies the request. For entry + point dependency requests, the source node is the component node for the component for which it + is an entry point. For other dependency requests, the source node is the binding for the binding + that contains the request. + +

            There is a subcomponent edge for each parent-child component relationship in the graph. + The target node is the component node for the child component. For subcomponents defined by a + subcomponent creator binding (either a method on the + component or a set of @Module.subcomponents annotation values), the source node is the + binding for the @Subcomponent.Builder type. For subcomponents defined by subcomponent factory methods, the source node is the component node for + the parent. + +

            Note that this API is experimental and will change.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                BindingGraph

                +
                public BindingGraph()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                network

                +
                public abstract com.google.common.graph.ImmutableNetwork<BindingGraph.Node,​BindingGraph.Edge> network()
                +
                Returns the graph in its Network representation.
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public java.lang.String toString()
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                isModuleBindingGraph

                +
                @Deprecated
                +public boolean isModuleBindingGraph()
                +
                Deprecated. +
                use isFullBindingGraph() to tell if this is a full binding graph, or + rootComponentNode().isRealComponent() to tell if + the root component node is really a component or derived from a module. Dagger can generate + full binding graphs for components and subcomponents as well as modules.
                +
                +
                Returns true if this graph was constructed from a module for full binding graph + validation.
                +
              • +
              + + + +
                +
              • +

                isFullBindingGraph

                +
                public abstract boolean isFullBindingGraph()
                +
                Returns true if this is a full binding graph, which contains all bindings installed in + the component, or false if it is a reachable binding graph, which contains only + bindings that are reachable from at least one entry point.
                +
                +
                See Also:
                +
                Full binding + graph validation
                +
                +
              • +
              + + + + + + + +
                +
              • +

                isPartialBindingGraph

                +
                @Deprecated
                +public boolean isPartialBindingGraph()
                +
                Deprecated. + +
                +
                Returns true if the rootComponentNode() is a subcomponent. This occurs in + when -Adagger.fullBindingGraphValidation is used in a compilation with a subcomponent.
                +
              • +
              + + + +
                +
              • +

                bindings

                +
                public com.google.common.collect.ImmutableSet<Binding> bindings()
                +
                Returns the bindings.
                +
              • +
              + + + +
                +
              • +

                bindings

                +
                public com.google.common.collect.ImmutableSet<Binding> bindings​(Key key)
                +
                Returns the bindings for a key.
                +
              • +
              + + + +
                +
              • +

                missingBindings

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.MissingBinding> missingBindings()
                +
                Returns the nodes that represent missing bindings.
                +
              • +
              + + + +
                +
              • +

                componentNodes

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.ComponentNode> componentNodes()
                +
                Returns the component nodes.
                +
              • +
              + + + + + + + + + + + +
                +
              • +

                rootComponentNode

                +
                public BindingGraph.ComponentNode rootComponentNode()
                +
                Returns the component node for the root component.
                +
              • +
              + + + +
                +
              • +

                dependencyEdges

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> dependencyEdges()
                +
                Returns the dependency edges.
                +
              • +
              + + + + + + + + + + + +
                +
              • +

                entryPointEdges

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> entryPointEdges​(ComponentPath component)
                +
                Returns the dependency edges for the entry points of a given component. Each edge's + source node is that component's component node.
                +
              • +
              + + + +
                +
              • +

                entryPointEdges

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> entryPointEdges()
                +
                Returns the dependency edges for all entry points for all components and subcomponents. Each + edge's source node is a component node.
                +
              • +
              + + + +
                +
              • +

                entryPointBindings

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding> entryPointBindings()
                +
                Returns the binding or missing binding nodes that directly satisfy entry points.
                +
              • +
              + + + +
                +
              • +

                entryPointEdgesDependingOnBinding

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> entryPointEdgesDependingOnBinding​(BindingGraph.MaybeBinding binding)
                +
                Returns the edges for entry points that transitively depend on a binding or missing binding for + a key.
                +
              • +
              + + + +
                +
              • +

                requestingBindings

                +
                public com.google.common.collect.ImmutableSet<Binding> requestingBindings​(BindingGraph.MaybeBinding binding)
                +
                Returns the bindings that directly request a given binding as a dependency.
                +
              • +
              + + + + + + + +
                +
              • +

                requestedMaybeMissingBindings

                +
                public com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding> requestedMaybeMissingBindings​(Binding binding)
                +
                Returns the bindings or missing bindings that a given binding directly requests as a + dependency.
                +
                +
                See Also:
                +
                requestedBindings(Binding)
                +
                +
              • +
              + + + +
                +
              • +

                nodesByClass

                +
                protected com.google.common.collect.ImmutableSetMultimap<java.lang.Class<? extends BindingGraph.Node>,​? extends BindingGraph.Node> nodesByClass()
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/BindingGraphPlugin.html b/api/2.49/dagger/spi/model/BindingGraphPlugin.html new file mode 100644 index 00000000000..35a6e0e6600 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingGraphPlugin.html @@ -0,0 +1,339 @@ + + + + + +BindingGraphPlugin + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Interface BindingGraphPlugin

          +
          +
          +
          +
            +
          • +
            +
            public interface BindingGraphPlugin
            +
            A pluggable visitor for BindingGraph. + +

            Note: This is still experimental and will change.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods Default Methods 
              Modifier and TypeMethodDescription
              default voidinit​(DaggerProcessingEnv processingEnv, + java.util.Map<java.lang.String,​java.lang.String> options) +
              Initializes this plugin with a DaggerProcessingEnv.
              +
              default voidonPluginEnd() +
              Perform any extra work after the plugin finished all its visiting.
              +
              default java.lang.StringpluginName() +
              A distinguishing name of the plugin that will be used in diagnostics printed to the messager.
              +
              default java.util.Set<java.lang.String>supportedOptions() +
              Returns the annotation-processing options that this plugin uses to configure behavior.
              +
              voidvisitGraph​(BindingGraph bindingGraph, + DiagnosticReporter diagnosticReporter) +
              Called once for each valid root binding graph encountered by the Dagger processor.
              +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                visitGraph

                +
                void visitGraph​(BindingGraph bindingGraph,
                +                DiagnosticReporter diagnosticReporter)
                +
                Called once for each valid root binding graph encountered by the Dagger processor. May report + diagnostics using diagnosticReporter.
                +
              • +
              + + + +
                +
              • +

                init

                +
                default void init​(DaggerProcessingEnv processingEnv,
                +                  java.util.Map<java.lang.String,​java.lang.String> options)
                +
                Initializes this plugin with a DaggerProcessingEnv. + +

                This will be called once per instance of this plugin, before any graph is + visited.

                +
              • +
              + + + +
                +
              • +

                supportedOptions

                +
                default java.util.Set<java.lang.String> supportedOptions()
                +
                Returns the annotation-processing options that this plugin uses to configure behavior.
                +
                +
                See Also:
                +
                Processor.getSupportedOptions()
                +
                +
              • +
              + + + +
                +
              • +

                pluginName

                +
                default java.lang.String pluginName()
                +
                A distinguishing name of the plugin that will be used in diagnostics printed to the messager. + By default, the fully qualified name of the plugin is + used.
                +
              • +
              + + + +
                +
              • +

                onPluginEnd

                +
                default void onPluginEnd()
                +
                Perform any extra work after the plugin finished all its visiting. This will be called once per + instance of this plugin, after all graphs were visited
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/BindingKind.html b/api/2.49/dagger/spi/model/BindingKind.html new file mode 100644 index 00000000000..9e4bd92c399 --- /dev/null +++ b/api/2.49/dagger/spi/model/BindingKind.html @@ -0,0 +1,661 @@ + + + + + +BindingKind + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Enum BindingKind

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • java.lang.Enum<BindingKind>
            • +
            • +
                +
              • dagger.spi.model.BindingKind
              • +
              +
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            java.io.Serializable, java.lang.Comparable<BindingKind>
            +
            +
            +
            public enum BindingKind
            +extends java.lang.Enum<BindingKind>
            +
            Represents the different kinds of Bindings that can exist in a binding graph.
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              booleanisMultibinding() +
              Returns true if this is a kind of multibinding (not a contribution to a multibinding, + but the multibinding itself).
              +
              static BindingKindvalueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static BindingKind[]values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Enum

                +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Detail

              + + + +
                +
              • +

                INJECTION

                +
                public static final BindingKind INJECTION
                +
                A binding for an Inject-annotated constructor.
                +
              • +
              + + + +
                +
              • +

                PROVISION

                +
                public static final BindingKind PROVISION
                +
                A binding for a Provides-annotated method.
                +
              • +
              + + + +
                +
              • +

                ASSISTED_INJECTION

                +
                public static final BindingKind ASSISTED_INJECTION
                +
                A binding for an Inject-annotated constructor that contains at least one + Assisted-annotated parameter.
                +
              • +
              + + + + + + + +
                +
              • +

                COMPONENT

                +
                public static final BindingKind COMPONENT
                +
                An implicit binding for a Component- or ProductionComponent-annotated + type.
                +
              • +
              + + + +
                +
              • +

                COMPONENT_PROVISION

                +
                public static final BindingKind COMPONENT_PROVISION
                +
                A binding for a provision method on a component's dependency.
                +
              • +
              + + + +
                +
              • +

                COMPONENT_DEPENDENCY

                +
                public static final BindingKind COMPONENT_DEPENDENCY
                +
                A binding for an instance of a component's dependency.
                +
              • +
              + + + + + + + +
                +
              • +

                SUBCOMPONENT_CREATOR

                +
                public static final BindingKind SUBCOMPONENT_CREATOR
                +
                A binding for a subcomponent creator (a builder or + factory).
                +
                +
                Since:
                +
                2.22 (previously named SUBCOMPONENT_BUILDER)
                +
                +
              • +
              + + + +
                +
              • +

                BOUND_INSTANCE

                +
                public static final BindingKind BOUND_INSTANCE
                +
                A binding for a BindsInstance-annotated builder method.
                +
              • +
              + + + +
                +
              • +

                PRODUCTION

                +
                public static final BindingKind PRODUCTION
                +
                A binding for a Produces-annotated method.
                +
              • +
              + + + +
                +
              • +

                COMPONENT_PRODUCTION

                +
                public static final BindingKind COMPONENT_PRODUCTION
                +
                A binding for a production method on a production component's + ProductionComponent#dependencies() that returns a ListenableFuture or + FluentFuture. Methods on production component dependencies + that don't return a future are considered component provision bindings.
                +
              • +
              + + + +
                +
              • +

                MULTIBOUND_SET

                +
                public static final BindingKind MULTIBOUND_SET
                +
                A synthetic binding for a multibound set that depends on individual multibinding PROVISION or PRODUCTION contributions.
                +
              • +
              + + + +
                +
              • +

                MULTIBOUND_MAP

                +
                public static final BindingKind MULTIBOUND_MAP
                +
                A synthetic binding for a multibound map that depends on the individual multibinding PROVISION or PRODUCTION contributions.
                +
              • +
              + + + +
                +
              • +

                OPTIONAL

                +
                public static final BindingKind OPTIONAL
                +
                A synthetic binding for Optional of a type or a Provider, Lazy, or Provider of Lazy of a type. Generated by a BindsOptionalOf declaration.
                +
              • +
              + + + +
                +
              • +

                DELEGATE

                +
                public static final BindingKind DELEGATE
                +
                A binding for Binds-annotated method that that delegates from requests for one + key to another.
                +
              • +
              + + + +
                +
              • +

                MEMBERS_INJECTION

                +
                public static final BindingKind MEMBERS_INJECTION
                +
                A binding for a members injection method on a component.
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                values

                +
                public static BindingKind[] values()
                +
                Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                +for (BindingKind c : BindingKind.values())
                +    System.out.println(c);
                +
                +
                +
                Returns:
                +
                an array containing the constants of this enum type, in the order they are declared
                +
                +
              • +
              + + + +
                +
              • +

                valueOf

                +
                public static BindingKind valueOf​(java.lang.String name)
                +
                Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                +
                +
                Parameters:
                +
                name - the name of the enum constant to be returned.
                +
                Returns:
                +
                the enum constant with the specified name
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
                +
                java.lang.NullPointerException - if the argument is null
                +
                +
              • +
              + + + +
                +
              • +

                isMultibinding

                +
                public boolean isMultibinding()
                +
                Returns true if this is a kind of multibinding (not a contribution to a multibinding, + but the multibinding itself).
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/ComponentPath.html b/api/2.49/dagger/spi/model/ComponentPath.html new file mode 100644 index 00000000000..1015bd90a5d --- /dev/null +++ b/api/2.49/dagger/spi/model/ComponentPath.html @@ -0,0 +1,497 @@ + + + + + +ComponentPath + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class ComponentPath

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.ComponentPath
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class ComponentPath
            +extends java.lang.Object
            +
            A path containing a component and all of its ancestor components.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                ComponentPath

                +
                public ComponentPath()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + + + + + + + + + +
                +
              • +

                rootComponent

                +
                public final DaggerTypeElement rootComponent()
                +
                Returns the root Component- or ProductionComponent-annotated type
                +
              • +
              + + + +
                +
              • +

                currentComponent

                +
                @Memoized
                +public DaggerTypeElement currentComponent()
                +
                Returns the component at the end of the path.
                +
              • +
              + + + + + + + +
                +
              • +

                parent

                +
                public final ComponentPath parent()
                +
                Returns this path's parent path.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current graph is the root component
                +
                +
              • +
              + + + +
                +
              • +

                childPath

                +
                public final ComponentPath childPath​(DaggerTypeElement child)
                +
                Returns the path from the root component to the child of the current component.
                +
              • +
              + + + + + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                @Memoized
                +public abstract int hashCode()
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                equals

                +
                public abstract boolean equals​(java.lang.Object obj)
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerAnnotation.html b/api/2.49/dagger/spi/model/DaggerAnnotation.html new file mode 100644 index 00000000000..fc30b626344 --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerAnnotation.html @@ -0,0 +1,367 @@ + + + + + +DaggerAnnotation + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DaggerAnnotation

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DaggerAnnotation
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @DoNotMock("Only use real implementations created by Dagger")
            +public abstract class DaggerAnnotation
            +extends java.lang.Object
            +
            Wrapper type for an annotation.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              DaggerAnnotation() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              abstract DaggerTypeElementannotationTypeElement() 
              abstract DaggerProcessingEnv.Backendbackend() +
              Returns the backend used in this compilation.
              +
              abstract javax.lang.model.element.AnnotationMirrorjavac() +
              Returns the Javac representation for the annotation.
              +
              abstract com.google.devtools.ksp.symbol.KSAnnotationksp() +
              Returns the KSP representation for the annotation.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DaggerAnnotation

                +
                public DaggerAnnotation()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                annotationTypeElement

                +
                public abstract DaggerTypeElement annotationTypeElement()
                +
              • +
              + + + +
                +
              • +

                javac

                +
                public abstract javax.lang.model.element.AnnotationMirror javac()
                +
                Returns the Javac representation for the annotation.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't Javac.
                +
                +
              • +
              + + + +
                +
              • +

                ksp

                +
                public abstract com.google.devtools.ksp.symbol.KSAnnotation ksp()
                +
                Returns the KSP representation for the annotation.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerElement.html b/api/2.49/dagger/spi/model/DaggerElement.html new file mode 100644 index 00000000000..56f54cc0bae --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerElement.html @@ -0,0 +1,353 @@ + + + + + +DaggerElement + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DaggerElement

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DaggerElement
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @DoNotMock("Only use real implementations created by Dagger")
            +public abstract class DaggerElement
            +extends java.lang.Object
            +
            Wrapper type for an element.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              DaggerElement() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              abstract DaggerProcessingEnv.Backendbackend() +
              Returns the backend used in this compilation.
              +
              abstract javax.lang.model.element.Elementjavac() +
              Returns the Javac representation for the element.
              +
              abstract com.google.devtools.ksp.symbol.KSAnnotatedksp() +
              Returns the KSP representation for the element.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DaggerElement

                +
                public DaggerElement()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                javac

                +
                public abstract javax.lang.model.element.Element javac()
                +
                Returns the Javac representation for the element.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't Javac.
                +
                +
              • +
              + + + +
                +
              • +

                ksp

                +
                public abstract com.google.devtools.ksp.symbol.KSAnnotated ksp()
                +
                Returns the KSP representation for the element.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerExecutableElement.html b/api/2.49/dagger/spi/model/DaggerExecutableElement.html new file mode 100644 index 00000000000..206c6493065 --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerExecutableElement.html @@ -0,0 +1,353 @@ + + + + + +DaggerExecutableElement + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DaggerExecutableElement

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DaggerExecutableElement
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @DoNotMock("Only use real implementations created by Dagger")
            +public abstract class DaggerExecutableElement
            +extends java.lang.Object
            +
            Wrapper type for an executable element.
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              abstract DaggerProcessingEnv.Backendbackend() +
              Returns the backend used in this compilation.
              +
              abstract javax.lang.model.element.ExecutableElementjavac() +
              Returns the Javac representation for the executable element.
              +
              abstract com.google.devtools.ksp.symbol.KSFunctionDeclarationksp() +
              Returns the KSP representation for the executable element.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DaggerExecutableElement

                +
                public DaggerExecutableElement()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                javac

                +
                public abstract javax.lang.model.element.ExecutableElement javac()
                +
                Returns the Javac representation for the executable element.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't Javac.
                +
                +
              • +
              + + + +
                +
              • +

                ksp

                +
                public abstract com.google.devtools.ksp.symbol.KSFunctionDeclaration ksp()
                +
                Returns the KSP representation for the executable element.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerProcessingEnv.Backend.html b/api/2.49/dagger/spi/model/DaggerProcessingEnv.Backend.html new file mode 100644 index 00000000000..e594745ee20 --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerProcessingEnv.Backend.html @@ -0,0 +1,383 @@ + + + + + +DaggerProcessingEnv.Backend + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Enum DaggerProcessingEnv.Backend

          +
          +
          + +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Summary

              + + + + + + + + + + + + + + +
              Enum Constants 
              Enum ConstantDescription
              JAVAC 
              KSP 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Concrete Methods 
              Modifier and TypeMethodDescription
              static DaggerProcessingEnv.BackendvalueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static DaggerProcessingEnv.Backend[]values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Enum

                +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                values

                +
                public static DaggerProcessingEnv.Backend[] values()
                +
                Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                +for (DaggerProcessingEnv.Backend c : DaggerProcessingEnv.Backend.values())
                +    System.out.println(c);
                +
                +
                +
                Returns:
                +
                an array containing the constants of this enum type, in the order they are declared
                +
                +
              • +
              + + + +
                +
              • +

                valueOf

                +
                public static DaggerProcessingEnv.Backend valueOf​(java.lang.String name)
                +
                Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                +
                +
                Parameters:
                +
                name - the name of the enum constant to be returned.
                +
                Returns:
                +
                the enum constant with the specified name
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
                +
                java.lang.NullPointerException - if the argument is null
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerProcessingEnv.html b/api/2.49/dagger/spi/model/DaggerProcessingEnv.html new file mode 100644 index 00000000000..8876a698df2 --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerProcessingEnv.html @@ -0,0 +1,399 @@ + + + + + +DaggerProcessingEnv + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DaggerProcessingEnv

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DaggerProcessingEnv
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @DoNotMock("Only use real implementations created by Dagger")
            +public abstract class DaggerProcessingEnv
            +extends java.lang.Object
            +
            Wrapper type for an element.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Nested Class Summary

              + + + + + + + + + + + + +
              Nested Classes 
              Modifier and TypeClassDescription
              static class DaggerProcessingEnv.Backend +
              Represents a type of backend used for compilation.
              +
              +
            • +
            +
            + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              abstract DaggerProcessingEnv.Backendbackend() +
              Returns the backend used in this compilation.
              +
              abstract javax.annotation.processing.ProcessingEnvironmentjavac() +
              Returns the Javac representation for the processing environment.
              +
              abstract com.google.devtools.ksp.processing.SymbolProcessorEnvironmentksp() +
              Returns the KSP representation for the processing environment.
              +
              abstract com.google.devtools.ksp.processing.Resolverresolver() +
              Returns the KSP representation for the resolver.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DaggerProcessingEnv

                +
                public DaggerProcessingEnv()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                javac

                +
                public abstract javax.annotation.processing.ProcessingEnvironment javac()
                +
                Returns the Javac representation for the processing environment.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't Javac.
                +
                +
              • +
              + + + +
                +
              • +

                ksp

                +
                public abstract com.google.devtools.ksp.processing.SymbolProcessorEnvironment ksp()
                +
                Returns the KSP representation for the processing environment.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + +
                +
              • +

                resolver

                +
                public abstract com.google.devtools.ksp.processing.Resolver resolver()
                +
                Returns the KSP representation for the resolver.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerType.html b/api/2.49/dagger/spi/model/DaggerType.html new file mode 100644 index 00000000000..96abe9f76a5 --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerType.html @@ -0,0 +1,353 @@ + + + + + +DaggerType + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DaggerType

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DaggerType
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @DoNotMock("Only use real implementations created by Dagger")
            +public abstract class DaggerType
            +extends java.lang.Object
            +
            Wrapper type for a type.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              DaggerType() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              abstract DaggerProcessingEnv.Backendbackend() +
              Returns the backend used in this compilation.
              +
              abstract javax.lang.model.type.TypeMirrorjavac() +
              Returns the Javac representation for the type.
              +
              abstract com.google.devtools.ksp.symbol.KSTypeksp() +
              Returns the KSP representation for the type.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DaggerType

                +
                public DaggerType()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                javac

                +
                public abstract javax.lang.model.type.TypeMirror javac()
                +
                Returns the Javac representation for the type.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't Javac.
                +
                +
              • +
              + + + +
                +
              • +

                ksp

                +
                public abstract com.google.devtools.ksp.symbol.KSType ksp()
                +
                Returns the KSP representation for the type.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DaggerTypeElement.html b/api/2.49/dagger/spi/model/DaggerTypeElement.html new file mode 100644 index 00000000000..fc4d31849b3 --- /dev/null +++ b/api/2.49/dagger/spi/model/DaggerTypeElement.html @@ -0,0 +1,353 @@ + + + + + +DaggerTypeElement + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DaggerTypeElement

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DaggerTypeElement
            • +
            +
          • +
          +
          +
            +
          • +
            +
            @DoNotMock("Only use real implementations created by Dagger")
            +public abstract class DaggerTypeElement
            +extends java.lang.Object
            +
            Wrapper type for a type element.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              DaggerTypeElement() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethodDescription
              abstract DaggerProcessingEnv.Backendbackend() +
              Returns the backend used in this compilation.
              +
              abstract javax.lang.model.element.TypeElementjavac() +
              Returns the Javac representation for the type element.
              +
              abstract com.google.devtools.ksp.symbol.KSClassDeclarationksp() +
              Returns the KSP representation for the type element.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DaggerTypeElement

                +
                public DaggerTypeElement()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                javac

                +
                public abstract javax.lang.model.element.TypeElement javac()
                +
                Returns the Javac representation for the type element.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't Javac.
                +
                +
              • +
              + + + +
                +
              • +

                ksp

                +
                public abstract com.google.devtools.ksp.symbol.KSClassDeclaration ksp()
                +
                Returns the KSP representation for the type element.
                +
                +
                Throws:
                +
                java.lang.IllegalStateException - if the current backend isn't KSP.
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DependencyRequest.Builder.html b/api/2.49/dagger/spi/model/DependencyRequest.Builder.html new file mode 100644 index 00000000000..b53a043a207 --- /dev/null +++ b/api/2.49/dagger/spi/model/DependencyRequest.Builder.html @@ -0,0 +1,367 @@ + + + + + +DependencyRequest.Builder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DependencyRequest.Builder

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DependencyRequest.Builder
            • +
            +
          • +
          +
          + +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DependencyRequest.html b/api/2.49/dagger/spi/model/DependencyRequest.html new file mode 100644 index 00000000000..07483f6088a --- /dev/null +++ b/api/2.49/dagger/spi/model/DependencyRequest.html @@ -0,0 +1,410 @@ + + + + + +DependencyRequest + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DependencyRequest

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DependencyRequest
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class DependencyRequest
            +extends java.lang.Object
            +
            Represents a request for a Key at an injection point. For example, parameters to Inject constructors, Provides methods, and component methods are all dependency + requests. + +

            A dependency request is considered to be synthetic if it does not have + an DaggerElement in code that requests the key directly. For example, an Executor is required for all @Produces methods to run + asynchronously even though it is not directly specified as a parameter to the binding method.

            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DependencyRequest

                +
                public DependencyRequest()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                kind

                +
                public abstract RequestKind kind()
                +
                The kind of this request.
                +
              • +
              + + + +
                +
              • +

                key

                +
                public abstract Key key()
                +
                The key of this request.
                +
              • +
              + + + +
                +
              • +

                requestElement

                +
                public abstract java.util.Optional<DaggerElement> requestElement()
                +
                The element that declares this dependency request. Absent for synthetic + requests.
                +
              • +
              + + + +
                +
              • +

                isNullable

                +
                public abstract boolean isNullable()
                +
                Returns true if this request allows null objects. A request is nullable if it is + has an annotation with "Nullable" as its simple name.
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/DiagnosticReporter.html b/api/2.49/dagger/spi/model/DiagnosticReporter.html new file mode 100644 index 00000000000..3a770b2a66a --- /dev/null +++ b/api/2.49/dagger/spi/model/DiagnosticReporter.html @@ -0,0 +1,489 @@ + + + + + +DiagnosticReporter + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class DiagnosticReporter

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.DiagnosticReporter
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class DiagnosticReporter
            +extends java.lang.Object
            +
            An object that BindingGraphPlugins can use to report diagnostics while visiting a BindingGraph. + +

            Note: This API is still experimental and will change.

            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Summary

              + + + + + + + + + + +
              Constructors 
              ConstructorDescription
              DiagnosticReporter() 
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods Concrete Methods 
              Modifier and TypeMethodDescription
              abstract voidreportBinding​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.MaybeBinding binding, + java.lang.String message) +
              Reports a diagnostic for a binding or missing binding.
              +
              voidreportBinding​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.MaybeBinding binding, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a binding or missing binding.
              +
              abstract voidreportComponent​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ComponentNode componentNode, + java.lang.String message) +
              Reports a diagnostic for a component.
              +
              voidreportComponent​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ComponentNode componentNode, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a component.
              +
              abstract voidreportDependency​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.DependencyEdge dependencyEdge, + java.lang.String message) +
              Reports a diagnostic for a dependency.
              +
              voidreportDependency​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.DependencyEdge dependencyEdge, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a dependency.
              +
              abstract voidreportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge, + java.lang.String message) +
              Reports a diagnostic for a subcomponent factory method.
              +
              voidreportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind, + BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge, + java.lang.String messageFormat, + java.lang.Object firstArg, + java.lang.Object... moreArgs) +
              Reports a diagnostic for a subcomponent factory method.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                DiagnosticReporter

                +
                public DiagnosticReporter()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                reportComponent

                +
                public abstract void reportComponent​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                     BindingGraph.ComponentNode componentNode,
                +                                     java.lang.String message)
                +
                Reports a diagnostic for a component. For non-root components, includes information about the + path from the root component.
                +
              • +
              + + + +
                +
              • +

                reportComponent

                +
                @FormatMethod
                +public final void reportComponent​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                  BindingGraph.ComponentNode componentNode,
                +                                  java.lang.String messageFormat,
                +                                  java.lang.Object firstArg,
                +                                  java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a component. For non-root components, includes information about the + path from the root component.
                +
              • +
              + + + +
                +
              • +

                reportBinding

                +
                public abstract void reportBinding​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                   BindingGraph.MaybeBinding binding,
                +                                   java.lang.String message)
                +
                Reports a diagnostic for a binding or missing binding. Includes information about how the + binding is reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportBinding

                +
                @FormatMethod
                +public final void reportBinding​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                BindingGraph.MaybeBinding binding,
                +                                java.lang.String messageFormat,
                +                                java.lang.Object firstArg,
                +                                java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a binding or missing binding. Includes information about how the + binding is reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportDependency

                +
                public abstract void reportDependency​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                      BindingGraph.DependencyEdge dependencyEdge,
                +                                      java.lang.String message)
                +
                Reports a diagnostic for a dependency. Includes information about how the dependency is + reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportDependency

                +
                @FormatMethod
                +public final void reportDependency​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                   BindingGraph.DependencyEdge dependencyEdge,
                +                                   java.lang.String messageFormat,
                +                                   java.lang.Object firstArg,
                +                                   java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a dependency. Includes information about how the dependency is + reachable from entry points.
                +
              • +
              + + + +
                +
              • +

                reportSubcomponentFactoryMethod

                +
                public abstract void reportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                                     BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge,
                +                                                     java.lang.String message)
                +
                Reports a diagnostic for a subcomponent factory method.
                +
              • +
              + + + +
                +
              • +

                reportSubcomponentFactoryMethod

                +
                @FormatMethod
                +public final void reportSubcomponentFactoryMethod​(javax.tools.Diagnostic.Kind diagnosticKind,
                +                                                  BindingGraph.ChildFactoryMethodEdge childFactoryMethodEdge,
                +                                                  java.lang.String messageFormat,
                +                                                  java.lang.Object firstArg,
                +                                                  java.lang.Object... moreArgs)
                +
                Reports a diagnostic for a subcomponent factory method.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/Key.Builder.html b/api/2.49/dagger/spi/model/Key.Builder.html new file mode 100644 index 00000000000..85364bb8624 --- /dev/null +++ b/api/2.49/dagger/spi/model/Key.Builder.html @@ -0,0 +1,369 @@ + + + + + +Key.Builder + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class Key.Builder

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.Key.Builder
            • +
            +
          • +
          +
          +
            +
          • +
            +
            Enclosing class:
            +
            Key
            +
            +
            +
            public abstract static class Key.Builder
            +extends java.lang.Object
            +
            A builder for Keys.
            +
          • +
          +
          +
          + +
          +
          + +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/Key.MultibindingContributionIdentifier.html b/api/2.49/dagger/spi/model/Key.MultibindingContributionIdentifier.html new file mode 100644 index 00000000000..2514b42a737 --- /dev/null +++ b/api/2.49/dagger/spi/model/Key.MultibindingContributionIdentifier.html @@ -0,0 +1,357 @@ + + + + + +Key.MultibindingContributionIdentifier + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class Key.MultibindingContributionIdentifier

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.Key.MultibindingContributionIdentifier
            • +
            +
          • +
          +
          +
            +
          • +
            +
            Enclosing class:
            +
            Key
            +
            +
            +
            public abstract static class Key.MultibindingContributionIdentifier
            +extends java.lang.Object
            +
            An object that identifies a multibinding contribution method and the module class that + contributes it to the graph.
            +
            +
            See Also:
            +
            Key.multibindingContributionIdentifier()
            +
            +
          • +
          +
          +
          +
            +
          • + +
            + +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + +
              All Methods Instance Methods Abstract Methods Concrete Methods 
              Modifier and TypeMethodDescription
              abstract java.lang.StringbindingMethod() +
              Returns the multibinding method that defines teh multibinding contribution.
              +
              abstract java.lang.StringcontributingModule() +
              Returns the module containing the multibinding method.
              +
              java.lang.StringtoString()
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                MultibindingContributionIdentifier

                +
                public MultibindingContributionIdentifier()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                contributingModule

                +
                public abstract java.lang.String contributingModule()
                +
                Returns the module containing the multibinding method.
                +
              • +
              + + + +
                +
              • +

                bindingMethod

                +
                public abstract java.lang.String bindingMethod()
                +
                Returns the multibinding method that defines teh multibinding contribution.
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                + +

                The returned string is human-readable and distinguishes the keys in the same way as the + whole object.

                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/Key.html b/api/2.49/dagger/spi/model/Key.html new file mode 100644 index 00000000000..08b1636d9da --- /dev/null +++ b/api/2.49/dagger/spi/model/Key.html @@ -0,0 +1,512 @@ + + + + + +Key + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class Key

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.Key
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class Key
            +extends java.lang.Object
            +
            A type and an optional qualifier that + is the lookup key for a binding.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                Key

                +
                public Key()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                qualifier

                +
                public abstract java.util.Optional<DaggerAnnotation> qualifier()
                +
                A Qualifier annotation that provides a unique namespace prefix for the + type of this key.
                +
              • +
              + + + +
                +
              • +

                type

                +
                public abstract DaggerType type()
                +
                The type represented by this key.
                +
              • +
              + + + +
                +
              • +

                multibindingContributionIdentifier

                +
                public abstract java.util.Optional<Key.MultibindingContributionIdentifier> multibindingContributionIdentifier()
                +
                Distinguishes keys for multibinding contributions that share a type() and qualifier(). + +

                Each multibound map and set has a synthetic multibinding that depends on the specific + contributions to that map or set using keys that identify those multibinding contributions. + +

                Absent except for multibinding contributions.

                +
              • +
              + + + +
                +
              • +

                withType

                +
                public Key withType​(DaggerType newType)
                +
                Returns a copy of this key with the type replaced with the given type.
                +
              • +
              + + + +
                +
              • +

                withMultibindingContributionIdentifier

                +
                public Key withMultibindingContributionIdentifier​(DaggerTypeElement contributingModule,
                +                                                  DaggerExecutableElement bindingMethod)
                +
                Returns a copy of this key with the multibinding contribution identifier replaced with the + given multibinding contribution identifier.
                +
              • +
              + + + +
                +
              • +

                withoutMultibindingContributionIdentifier

                +
                public Key withoutMultibindingContributionIdentifier()
                +
                Returns a copy of this key with the multibinding contribution identifier, if any, removed.
                +
              • +
              + + + +
                +
              • +

                hashCode

                +
                @Memoized
                +public abstract int hashCode()
                +
                +
                Overrides:
                +
                hashCode in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                equals

                +
                public abstract boolean equals​(java.lang.Object o)
                +
                +
                Overrides:
                +
                equals in class java.lang.Object
                +
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              + + + + +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/RequestKind.html b/api/2.49/dagger/spi/model/RequestKind.html new file mode 100644 index 00000000000..7f783f97385 --- /dev/null +++ b/api/2.49/dagger/spi/model/RequestKind.html @@ -0,0 +1,504 @@ + + + + + +RequestKind + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Enum RequestKind

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • java.lang.Enum<RequestKind>
            • +
            • +
                +
              • dagger.spi.model.RequestKind
              • +
              +
            • +
            +
          • +
          +
          +
            +
          • +
            +
            All Implemented Interfaces:
            +
            java.io.Serializable, java.lang.Comparable<RequestKind>
            +
            +
            +
            public enum RequestKind
            +extends java.lang.Enum<RequestKind>
            +
            Represents the different kinds of types that may be + requested as dependencies for the same key. For example, String, + Provider<String>, and Lazy<String> can all be requested if a key exists for + String; they have the INSTANCE, PROVIDER, and LAZY request kinds, + respectively.
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Summary

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Enum Constants 
              Enum ConstantDescription
              FUTURE +
              A request for a ListenableFuture.
              +
              INSTANCE +
              A default request for an instance.
              +
              LAZY +
              A request for a Lazy.
              +
              MEMBERS_INJECTION +
              A request for a members injection.
              +
              PRODUCED +
              A request for a Produced.
              +
              PRODUCER +
              A request for a Producer.
              +
              PROVIDER +
              A request for a Provider.
              +
              PROVIDER_OF_LAZY +
              A request for a Provider of a Lazy.
              +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Summary

              + + + + + + + + + + + + + + + + + + + + + + +
              All Methods Static Methods Instance Methods Concrete Methods 
              Modifier and TypeMethodDescription
              java.lang.Stringformat​(Key key) +
              Returns a string that represents requests of this kind for a key.
              +
              static RequestKindvalueOf​(java.lang.String name) +
              Returns the enum constant of this type with the specified name.
              +
              static RequestKind[]values() +
              Returns an array containing the constants of this enum type, in +the order they are declared.
              +
              +
                +
              • + + +

                Methods inherited from class java.lang.Enum

                +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
              • +
              +
                +
              • + + +

                Methods inherited from class java.lang.Object

                +getClass, notify, notifyAll, wait, wait, wait
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Enum Constant Detail

              + + + +
                +
              • +

                INSTANCE

                +
                public static final RequestKind INSTANCE
                +
                A default request for an instance. E.g.: FooType
                +
              • +
              + + + +
                +
              • +

                PROVIDER

                +
                public static final RequestKind PROVIDER
                +
                A request for a Provider. E.g.: Provider<FooType>
                +
              • +
              + + + +
                +
              • +

                LAZY

                +
                public static final RequestKind LAZY
                +
                A request for a Lazy. E.g.: Lazy<FooType>
                +
              • +
              + + + +
                +
              • +

                PROVIDER_OF_LAZY

                +
                public static final RequestKind PROVIDER_OF_LAZY
                +
                A request for a Provider of a Lazy. E.g.: Provider<Lazy<FooType>>.
                +
              • +
              + + + +
                +
              • +

                MEMBERS_INJECTION

                +
                public static final RequestKind MEMBERS_INJECTION
                +
                A request for a members injection. E.g. void injectMembers(FooType);. Can only be + requested by component interfaces.
                +
              • +
              + + + +
                +
              • +

                PRODUCER

                +
                public static final RequestKind PRODUCER
                +
                A request for a Producer. E.g.: Producer<FooType>
                +
              • +
              + + + +
                +
              • +

                PRODUCED

                +
                public static final RequestKind PRODUCED
                +
                A request for a Produced. E.g.: Produced<FooType>
                +
              • +
              + + + +
                +
              • +

                FUTURE

                +
                public static final RequestKind FUTURE
                +
                A request for a ListenableFuture. E.g.: ListenableFuture<FooType>. These can + only be requested by component interfaces.
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                values

                +
                public static RequestKind[] values()
                +
                Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                +for (RequestKind c : RequestKind.values())
                +    System.out.println(c);
                +
                +
                +
                Returns:
                +
                an array containing the constants of this enum type, in the order they are declared
                +
                +
              • +
              + + + +
                +
              • +

                valueOf

                +
                public static RequestKind valueOf​(java.lang.String name)
                +
                Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                +
                +
                Parameters:
                +
                name - the name of the enum constant to be returned.
                +
                Returns:
                +
                the enum constant with the specified name
                +
                Throws:
                +
                java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
                +
                java.lang.NullPointerException - if the argument is null
                +
                +
              • +
              + + + +
                +
              • +

                format

                +
                public java.lang.String format​(Key key)
                +
                Returns a string that represents requests of this kind for a key.
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/Scope.html b/api/2.49/dagger/spi/model/Scope.html new file mode 100644 index 00000000000..67725a73e11 --- /dev/null +++ b/api/2.49/dagger/spi/model/Scope.html @@ -0,0 +1,433 @@ + + + + + +Scope + + + + + + + + + + + + + + +
          + +
          + +
          +
          + +

          Class Scope

          +
          +
          +
            +
          • java.lang.Object
          • +
          • +
              +
            • dagger.spi.model.Scope
            • +
            +
          • +
          +
          +
            +
          • +
            +
            public abstract class Scope
            +extends java.lang.Object
            +
            A representation of a Scope.
            +
          • +
          +
          +
          + +
          +
          +
            +
          • + +
            +
              +
            • + + +

              Constructor Detail

              + + + +
                +
              • +

                Scope

                +
                public Scope()
                +
              • +
              +
            • +
            +
            + +
            +
              +
            • + + +

              Method Detail

              + + + +
                +
              • +

                scope

                +
                public static Scope scope​(DaggerAnnotation scopeAnnotation)
                +
                Creates a Scope object from the Scope-annotated annotation type.
                +
              • +
              + + + + + + + +
                +
              • +

                isScope

                +
                public static boolean isScope​(DaggerTypeElement scopeAnnotationType)
                +
                Returns true if scopeAnnotationType is a Scope annotation.
                +
              • +
              + + + + + + + +
                +
              • +

                isSingleton

                +
                public final boolean isSingleton()
                +
                Returns true if this scope is the @Singleton scope.
                +
              • +
              + + + +
                +
              • +

                isReusable

                +
                public final boolean isReusable()
                +
                Returns true if this scope is the @Reusable scope.
                +
              • +
              + + + +
                +
              • +

                isProductionScope

                +
                public final boolean isProductionScope()
                +
                Returns true if this scope is the @ProductionScope scope.
                +
              • +
              + + + +
                +
              • +

                toString

                +
                public final java.lang.String toString()
                +
                Returns a debug representation of the scope.
                +
                +
                Overrides:
                +
                toString in class java.lang.Object
                +
                +
              • +
              +
            • +
            +
            +
          • +
          +
          +
          +
          + + + + diff --git a/api/2.49/dagger/spi/model/class-use/Binding.html b/api/2.49/dagger/spi/model/class-use/Binding.html new file mode 100644 index 00000000000..798f7f26777 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/Binding.html @@ -0,0 +1,275 @@ + + + + + +Uses of Interface dagger.spi.model.Binding + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.Binding

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Binding 
            PackageDescription
            dagger.spi.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • + +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.ChildFactoryMethodEdge.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.ChildFactoryMethodEdge.html new file mode 100644 index 00000000000..fe15104f9ee --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.ChildFactoryMethodEdge.html @@ -0,0 +1,210 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.ChildFactoryMethodEdge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.ChildFactoryMethodEdge

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.ComponentNode.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.ComponentNode.html new file mode 100644 index 00000000000..b8c44a8b78b --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.ComponentNode.html @@ -0,0 +1,258 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.ComponentNode + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.ComponentNode

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.DependencyEdge.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.DependencyEdge.html new file mode 100644 index 00000000000..463d29b8967 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.DependencyEdge.html @@ -0,0 +1,263 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.DependencyEdge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.DependencyEdge

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.Edge.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.Edge.html new file mode 100644 index 00000000000..18a801d3027 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.Edge.html @@ -0,0 +1,230 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.Edge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.Edge

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.MaybeBinding.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.MaybeBinding.html new file mode 100644 index 00000000000..dd3891b491d --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.MaybeBinding.html @@ -0,0 +1,284 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.MaybeBinding + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.MaybeBinding

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.MissingBinding.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.MissingBinding.html new file mode 100644 index 00000000000..5a3d76a1809 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.MissingBinding.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class dagger.spi.model.BindingGraph.MissingBinding + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.BindingGraph.MissingBinding

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.Node.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.Node.html new file mode 100644 index 00000000000..6a7f845064d --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.Node.html @@ -0,0 +1,255 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.Node + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.Node

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html new file mode 100644 index 00000000000..5503f8d7c57 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.SubcomponentCreatorBindingEdge.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraph.SubcomponentCreatorBindingEdge + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraph.SubcomponentCreatorBindingEdge

          +
          +
          No usage of dagger.spi.model.BindingGraph.SubcomponentCreatorBindingEdge
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraph.html b/api/2.49/dagger/spi/model/class-use/BindingGraph.html new file mode 100644 index 00000000000..e8d91c5a81a --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraph.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class dagger.spi.model.BindingGraph + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.BindingGraph

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingGraphPlugin.html b/api/2.49/dagger/spi/model/class-use/BindingGraphPlugin.html new file mode 100644 index 00000000000..9682e4a4e88 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingGraphPlugin.html @@ -0,0 +1,148 @@ + + + + + +Uses of Interface dagger.spi.model.BindingGraphPlugin + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Interface
          dagger.spi.model.BindingGraphPlugin

          +
          +
          No usage of dagger.spi.model.BindingGraphPlugin
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/BindingKind.html b/api/2.49/dagger/spi/model/class-use/BindingKind.html new file mode 100644 index 00000000000..adfb6ed3f77 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/BindingKind.html @@ -0,0 +1,212 @@ + + + + + +Uses of Class dagger.spi.model.BindingKind + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.BindingKind

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use BindingKind 
            PackageDescription
            dagger.spi.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • + +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/ComponentPath.html b/api/2.49/dagger/spi/model/class-use/ComponentPath.html new file mode 100644 index 00000000000..6cf9512efdd --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/ComponentPath.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class dagger.spi.model.ComponentPath + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.ComponentPath

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerAnnotation.html b/api/2.49/dagger/spi/model/class-use/DaggerAnnotation.html new file mode 100644 index 00000000000..fe99e55401b --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerAnnotation.html @@ -0,0 +1,259 @@ + + + + + +Uses of Class dagger.spi.model.DaggerAnnotation + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerAnnotation

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerElement.html b/api/2.49/dagger/spi/model/class-use/DaggerElement.html new file mode 100644 index 00000000000..f7fd97baa0d --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerElement.html @@ -0,0 +1,219 @@ + + + + + +Uses of Class dagger.spi.model.DaggerElement + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerElement

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerExecutableElement.html b/api/2.49/dagger/spi/model/class-use/DaggerExecutableElement.html new file mode 100644 index 00000000000..62f05bfa2f7 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerExecutableElement.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class dagger.spi.model.DaggerExecutableElement + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerExecutableElement

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.Backend.html b/api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.Backend.html new file mode 100644 index 00000000000..135f38ffa3d --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.Backend.html @@ -0,0 +1,252 @@ + + + + + +Uses of Class dagger.spi.model.DaggerProcessingEnv.Backend + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerProcessingEnv.Backend

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.html b/api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.html new file mode 100644 index 00000000000..acc2a5d6a8b --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerProcessingEnv.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class dagger.spi.model.DaggerProcessingEnv + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerProcessingEnv

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerType.html b/api/2.49/dagger/spi/model/class-use/DaggerType.html new file mode 100644 index 00000000000..1008fac8f01 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerType.html @@ -0,0 +1,226 @@ + + + + + +Uses of Class dagger.spi.model.DaggerType + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerType

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DaggerTypeElement.html b/api/2.49/dagger/spi/model/class-use/DaggerTypeElement.html new file mode 100644 index 00000000000..b19fc69a555 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DaggerTypeElement.html @@ -0,0 +1,312 @@ + + + + + +Uses of Class dagger.spi.model.DaggerTypeElement + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DaggerTypeElement

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DependencyRequest.Builder.html b/api/2.49/dagger/spi/model/class-use/DependencyRequest.Builder.html new file mode 100644 index 00000000000..cd327388eb2 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DependencyRequest.Builder.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class dagger.spi.model.DependencyRequest.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DependencyRequest.Builder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DependencyRequest.html b/api/2.49/dagger/spi/model/class-use/DependencyRequest.html new file mode 100644 index 00000000000..df0d4404323 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DependencyRequest.html @@ -0,0 +1,250 @@ + + + + + +Uses of Class dagger.spi.model.DependencyRequest + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DependencyRequest

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/DiagnosticReporter.html b/api/2.49/dagger/spi/model/class-use/DiagnosticReporter.html new file mode 100644 index 00000000000..d29144f613c --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/DiagnosticReporter.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class dagger.spi.model.DiagnosticReporter + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.DiagnosticReporter

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/Key.Builder.html b/api/2.49/dagger/spi/model/class-use/Key.Builder.html new file mode 100644 index 00000000000..891d59d5960 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/Key.Builder.html @@ -0,0 +1,218 @@ + + + + + +Uses of Class dagger.spi.model.Key.Builder + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.Key.Builder

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/Key.MultibindingContributionIdentifier.html b/api/2.49/dagger/spi/model/class-use/Key.MultibindingContributionIdentifier.html new file mode 100644 index 00000000000..333b06d6cb5 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/Key.MultibindingContributionIdentifier.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class dagger.spi.model.Key.MultibindingContributionIdentifier + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.Key.MultibindingContributionIdentifier

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/Key.html b/api/2.49/dagger/spi/model/class-use/Key.html new file mode 100644 index 00000000000..35819f3ddfb --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/Key.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class dagger.spi.model.Key + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.Key

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Key 
            PackageDescription
            dagger.spi.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of Key in dagger.spi.model

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.spi.model that return Key 
              Modifier and TypeMethodDescription
              abstract KeyKey.Builder.build() 
              KeyBindingGraph.MaybeBinding.key() +
              The key of the binding, or for which there is no binding.
              +
              abstract KeyBindingGraph.MissingBinding.key() +
              The key for which there is no binding.
              +
              abstract KeyDependencyRequest.key() +
              The key of this request.
              +
              KeyKey.withMultibindingContributionIdentifier​(DaggerTypeElement contributingModule, + DaggerExecutableElement bindingMethod) +
              Returns a copy of this key with the multibinding contribution identifier replaced with the + given multibinding contribution identifier.
              +
              KeyKey.withoutMultibindingContributionIdentifier() +
              Returns a copy of this key with the multibinding contribution identifier, if any, removed.
              +
              KeyKey.withType​(DaggerType newType) +
              Returns a copy of this key with the type replaced with the given type.
              +
              + + + + + + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.spi.model with parameters of type Key 
              Modifier and TypeMethodDescription
              com.google.common.collect.ImmutableSet<Binding>BindingGraph.bindings​(Key key) +
              Returns the bindings for a key.
              +
              java.lang.StringRequestKind.format​(Key key) +
              Returns a string that represents requests of this kind for a key.
              +
              abstract DependencyRequest.BuilderDependencyRequest.Builder.key​(Key key) 
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/RequestKind.html b/api/2.49/dagger/spi/model/class-use/RequestKind.html new file mode 100644 index 00000000000..8619225dcba --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/RequestKind.html @@ -0,0 +1,227 @@ + + + + + +Uses of Class dagger.spi.model.RequestKind + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.RequestKind

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/class-use/Scope.html b/api/2.49/dagger/spi/model/class-use/Scope.html new file mode 100644 index 00000000000..e6d02a940e0 --- /dev/null +++ b/api/2.49/dagger/spi/model/class-use/Scope.html @@ -0,0 +1,221 @@ + + + + + +Uses of Class dagger.spi.model.Scope + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Class
          dagger.spi.model.Scope

          +
          +
          +
            +
          • + + + + + + + + + + + + +
            Packages that use Scope 
            PackageDescription
            dagger.spi.model +
            This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
            +
            +
          • +
          • +
              +
            • +
              + + +

              Uses of Scope in dagger.spi.model

              + + + + + + + + + + + + + + +
              Methods in dagger.spi.model that return Scope 
              Modifier and TypeMethodDescription
              static ScopeScope.scope​(DaggerAnnotation scopeAnnotation) +
              Creates a Scope object from the Scope-annotated annotation type.
              +
              + + + + + + + + + + + + + + + + + + + +
              Methods in dagger.spi.model that return types with arguments of type Scope 
              Modifier and TypeMethodDescription
              java.util.Optional<Scope>Binding.scope() +
              The scope of this binding if it has one.
              +
              com.google.common.collect.ImmutableSet<Scope>BindingGraph.ComponentNode.scopes() +
              The scopes declared on this component.
              +
              +
              +
            • +
            +
          • +
          +
          +
          + + + diff --git a/api/2.49/dagger/spi/model/package-summary.html b/api/2.49/dagger/spi/model/package-summary.html new file mode 100644 index 00000000000..da8e45328d9 --- /dev/null +++ b/api/2.49/dagger/spi/model/package-summary.html @@ -0,0 +1,371 @@ + + + + + +dagger.spi.model + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @CheckReturnValue +@Beta +

          +

          Package dagger.spi.model

          +
          +
          +
          + + +
          This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph. The types are shared with the Dagger processor and are exposed to clients of the + Dagger SPI. + +

          Unless otherwise specified, the types/interfaces are only intended to be implemented in this + package (i.e. via @AutoValue) or by Dagger's processor. This applies to test code as + well, so if you need a fake, please file a feature request instead of implementing it yourself.

          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/package-tree.html b/api/2.49/dagger/spi/model/package-tree.html new file mode 100644 index 00000000000..2e84ef3664e --- /dev/null +++ b/api/2.49/dagger/spi/model/package-tree.html @@ -0,0 +1,217 @@ + + + + + +dagger.spi.model Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.spi.model

          +Package Hierarchies: + +
          +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Enum Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/spi/model/package-use.html b/api/2.49/dagger/spi/model/package-use.html new file mode 100644 index 00000000000..0c825fac3ba --- /dev/null +++ b/api/2.49/dagger/spi/model/package-use.html @@ -0,0 +1,342 @@ + + + + + +Uses of Package dagger.spi.model + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.spi.model

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/dagger/spi/package-summary.html b/api/2.49/dagger/spi/package-summary.html new file mode 100644 index 00000000000..8b2f73c4edc --- /dev/null +++ b/api/2.49/dagger/spi/package-summary.html @@ -0,0 +1,185 @@ + + + + + +dagger.spi + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          @CheckReturnValue +@Beta +

          +

          Package dagger.spi

          +
          +
          +
          + + +
          This package contains the Service Provider interface (SPI) to the dagger.model APIs at + annotation-processing-time. + +

          This package is experimental, and APIs may change at over time.

          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/spi/package-tree.html b/api/2.49/dagger/spi/package-tree.html new file mode 100644 index 00000000000..7eccd503d62 --- /dev/null +++ b/api/2.49/dagger/spi/package-tree.html @@ -0,0 +1,160 @@ + + + + + +dagger.spi Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Hierarchy For Package dagger.spi

          +Package Hierarchies: + +
          +
          +
          +

          Interface Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/dagger/spi/package-use.html b/api/2.49/dagger/spi/package-use.html new file mode 100644 index 00000000000..c58623a0895 --- /dev/null +++ b/api/2.49/dagger/spi/package-use.html @@ -0,0 +1,188 @@ + + + + + +Uses of Package dagger.spi + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Uses of Package
          dagger.spi

          +
          +
          + +
          +
          + + + diff --git a/api/2.49/deprecated-list.html b/api/2.49/deprecated-list.html new file mode 100644 index 00000000000..e6a89b3b7d5 --- /dev/null +++ b/api/2.49/deprecated-list.html @@ -0,0 +1,301 @@ + + + + + +Deprecated List + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Deprecated API

          +

          Contents

          + +
          +
          + + + + + + + + + + + +
          +
          +
          + +
          + + diff --git a/api/2.49/element-list b/api/2.49/element-list new file mode 100644 index 00000000000..e0ccf8bfe22 --- /dev/null +++ b/api/2.49/element-list @@ -0,0 +1,35 @@ +dagger +dagger.android +dagger.android.internal +dagger.android.support +dagger.assisted +dagger.grpc.server +dagger.grpc.server.processor +dagger.hilt +dagger.hilt.android +dagger.hilt.android.components +dagger.hilt.android.flags +dagger.hilt.android.internal.builders +dagger.hilt.android.internal.lifecycle +dagger.hilt.android.internal.managers +dagger.hilt.android.internal.migration +dagger.hilt.android.internal.modules +dagger.hilt.android.internal.testing +dagger.hilt.android.lifecycle +dagger.hilt.android.migration +dagger.hilt.android.qualifiers +dagger.hilt.android.scopes +dagger.hilt.android.testing +dagger.hilt.codegen +dagger.hilt.components +dagger.hilt.internal.aliasof +dagger.hilt.internal.definecomponent +dagger.hilt.internal.generatesrootinput +dagger.hilt.migration +dagger.hilt.testing +dagger.model +dagger.multibindings +dagger.producers +dagger.producers.monitoring +dagger.spi +dagger.spi.model diff --git a/api/2.49/help-doc.html b/api/2.49/help-doc.html new file mode 100644 index 00000000000..3ac11fa02b5 --- /dev/null +++ b/api/2.49/help-doc.html @@ -0,0 +1,280 @@ + + + + + +API Help + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          How This API Document Is Organized

          +
          This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
          +
          +
          +
            +
          • +
            +

            Overview

            +

            The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

            +
            +
          • +
          • +
            +

            Package

            +

            Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

            +
              +
            • Interfaces
            • +
            • Classes
            • +
            • Enums
            • +
            • Exceptions
            • +
            • Errors
            • +
            • Annotation Types
            • +
            +
            +
          • +
          • +
            +

            Class or Interface

            +

            Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

            +
              +
            • Class Inheritance Diagram
            • +
            • Direct Subclasses
            • +
            • All Known Subinterfaces
            • +
            • All Known Implementing Classes
            • +
            • Class or Interface Declaration
            • +
            • Class or Interface Description
            • +
            +
            +
              +
            • Nested Class Summary
            • +
            • Field Summary
            • +
            • Property Summary
            • +
            • Constructor Summary
            • +
            • Method Summary
            • +
            +
            +
              +
            • Field Detail
            • +
            • Property Detail
            • +
            • Constructor Detail
            • +
            • Method Detail
            • +
            +

            Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

            +
            +
          • +
          • +
            +

            Annotation Type

            +

            Each annotation type has its own separate page with the following sections:

            +
              +
            • Annotation Type Declaration
            • +
            • Annotation Type Description
            • +
            • Required Element Summary
            • +
            • Optional Element Summary
            • +
            • Element Detail
            • +
            +
            +
          • +
          • +
            +

            Enum

            +

            Each enum has its own separate page with the following sections:

            +
              +
            • Enum Declaration
            • +
            • Enum Description
            • +
            • Enum Constant Summary
            • +
            • Enum Constant Detail
            • +
            +
            +
          • +
          • +
            +

            Use

            +

            Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

            +
            +
          • +
          • +
            +

            Tree (Class Hierarchy)

            +

            There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

            +
              +
            • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
            • +
            • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
            • +
            +
            +
          • +
          • +
            +

            Deprecated API

            +

            The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

            +
            +
          • +
          • +
            +

            Index

            +

            The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

            +
            +
          • +
          • +
            +

            All Classes

            +

            The All Classes link shows all classes and interfaces except non-static nested types.

            +
            +
          • +
          • +
            +

            Serialized Form

            +

            Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

            +
            +
          • +
          • +
            +

            Constant Field Values

            +

            The Constant Field Values page lists the static final fields and their values.

            +
            +
          • +
          • +
            +

            Search

            +

            You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

            +
            +
          • +
          +
          +This help file applies to API documentation generated by the standard doclet.
          +
          +
          + +
          + + diff --git a/api/2.49/index-all.html b/api/2.49/index-all.html new file mode 100644 index 00000000000..4f41febed33 --- /dev/null +++ b/api/2.49/index-all.html @@ -0,0 +1,3533 @@ + + + + + +Index + + + + + + + + + + + + + + +
          + +
          +
          +
          A B C D E F G H I J K L M N O P Q R S T U V W 
          All Classes All Packages + + +

          A

          +
          +
          activity - Variable in class dagger.hilt.android.internal.managers.ActivityComponentManager
          +
           
          +
          activity(Activity) - Method in interface dagger.hilt.android.internal.builders.ActivityComponentBuilder
          +
           
          +
          ActivityComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of the activity.
          +
          +
          activityComponentBuilder() - Method in interface dagger.hilt.android.internal.managers.ActivityComponentManager.ActivityComponentBuilderEntryPoint
          +
           
          +
          ActivityComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating an ActivityComponent.
          +
          +
          ActivityComponentManager - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          ActivityComponentManager(Activity) - Constructor for class dagger.hilt.android.internal.managers.ActivityComponentManager
          +
           
          +
          ActivityComponentManager.ActivityComponentBuilderEntryPoint - Interface in dagger.hilt.android.internal.managers
          +
          +
          Entrypoint for ActivityComponentBuilder.
          +
          +
          ActivityContext - Annotation Type in dagger.hilt.android.qualifiers
          +
          +
          Annotation for a Context that corresponds to the activity.
          +
          +
          ActivityRetainedComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of a configuration surviving activity.
          +
          +
          ActivityRetainedComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating a ActivityRetainedComponent.
          +
          +
          ActivityRetainedLifecycle - Interface in dagger.hilt.android
          +
          +
          A ActivityRetainedLifecycle class is associated with the lifecycle of the ActivityRetainedComponent.
          +
          +
          ActivityRetainedLifecycle.OnClearedListener - Interface in dagger.hilt.android
          +
          +
          Listener for receiving a callback for when the ActivityRetainedComponent will no longer be used and destroyed.
          +
          +
          ActivityRetainedSavedState - Annotation Type in dagger.hilt.android.lifecycle
          +
          +
          Qualifies a binding that belongs to ActivityRetainedComponent.
          +
          +
          ActivityRetainedScoped - Annotation Type in dagger.hilt.android.scopes
          +
          +
          Scope annotation for bindings that should exist for the life of an activity, surviving + configuration.
          +
          +
          ActivityScoped - Annotation Type in dagger.hilt.android.scopes
          +
          +
          Scope annotation for bindings that should exist for the life of an activity.
          +
          +
          addCallbackTo(ListenableFuture<T>) - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Adds this monitor's completion methods as a callback to the future.
          +
          +
          addListener(Context, Class<T>, OnComponentReadyRunner.OnComponentReadyListener<T>) - Static method in class dagger.hilt.android.testing.OnComponentReadyRunner
          +
          +
          Must be called on the test thread, before the Statement is evaluated.
          +
          +
          addOnClearedListener(RetainedLifecycle.OnClearedListener) - Method in class dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl
          +
           
          +
          addOnClearedListener(RetainedLifecycle.OnClearedListener) - Method in interface dagger.hilt.android.lifecycle.RetainedLifecycle
          +
          +
          Adds a new RetainedLifecycle.OnClearedListener for receiving a callback when the lifecycle is cleared.
          +
          +
          alias() - Method in annotation type dagger.hilt.internal.aliasof.AliasOfPropagatedData
          +
           
          +
          AliasOf - Annotation Type in dagger.hilt.migration
          +
          +
          Defines an alias between an existing Hilt scope and the annotated scope.
          +
          +
          AliasOfPropagatedData - Annotation Type in dagger.hilt.internal.aliasof
          +
          +
          An annotation used to aggregate AliasOf values in a common location.
          +
          +
          AndroidEntryPoint - Annotation Type in dagger.hilt.android
          +
          +
          Marks an Android component class to be setup for injection with the standard Hilt Dagger Android + components.
          +
          +
          AndroidInjection - Class in dagger.android
          +
          +
          Injects core Android types.
          +
          +
          AndroidInjectionKey - Annotation Type in dagger.android
          +
          +
          MapKey annotation to key AndroidInjector.Factory bindings.
          +
          +
          AndroidInjectionKeys - Class in dagger.android.internal
          +
          +
          An internal implementation detail of Dagger's generated code.
          +
          +
          AndroidInjectionModule - Class in dagger.android
          +
          +
          Contains bindings to ensure the usability of dagger.android framework classes.
          +
          +
          androidInjector() - Method in class dagger.android.DaggerActivity
          +
           
          +
          androidInjector() - Method in class dagger.android.DaggerApplication
          +
           
          +
          androidInjector() - Method in class dagger.android.DaggerDialogFragment
          +
          +
          Deprecated.
          +
          androidInjector() - Method in class dagger.android.DaggerFragment
          +
          +
          Deprecated.
          +
          androidInjector() - Method in interface dagger.android.HasAndroidInjector
          +
          +
          Returns an AndroidInjector.
          +
          +
          androidInjector() - Method in class dagger.android.support.DaggerAppCompatActivity
          +
           
          +
          androidInjector() - Method in class dagger.android.support.DaggerAppCompatDialogFragment
          +
           
          +
          androidInjector() - Method in class dagger.android.support.DaggerDialogFragment
          +
           
          +
          androidInjector() - Method in class dagger.android.support.DaggerFragment
          +
           
          +
          AndroidInjector<T> - Interface in dagger.android
          +
          +
          Performs members-injection for a concrete subtype of a core Android type (e.g., Activity or Fragment).
          +
          +
          AndroidInjector.Builder<T> - Class in dagger.android
          +
          +
          Deprecated. +
          Prefer AndroidInjector.Factory now that components can have factories instead of builders
          +
          +
          +
          AndroidInjector.Factory<T> - Interface in dagger.android
          +
          +
          Creates AndroidInjectors for a concrete subtype of a core Android type.
          +
          +
          AndroidSupportInjection - Class in dagger.android.support
          +
          +
          Injects core Android types from support libraries.
          +
          +
          AndroidSupportInjectionModule - Class in dagger.android.support
          +
          +
          This module no longer provides any value beyond what is provided in AndroidInjectionModule and is just an alias.
          +
          +
          annotations() - Method in class dagger.grpc.server.processor.GrpcServiceProcessor
          +
           
          +
          annotationTypeElement() - Method in class dagger.spi.model.DaggerAnnotation
          +
           
          +
          applicationBaseClass() - Method in annotation type dagger.hilt.android.internal.testing.InternalTestRoot
          +
          +
          Returns the base Application class.
          +
          +
          ApplicationComponentManager - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          ApplicationComponentManager(ComponentSupplier) - Constructor for class dagger.hilt.android.internal.managers.ApplicationComponentManager
          +
           
          +
          ApplicationContext - Annotation Type in dagger.hilt.android.qualifiers
          +
          +
          Annotation for an Application Context dependency.
          +
          +
          ApplicationContextModule - Class in dagger.hilt.android.internal.modules
          +
          +
          Provides a binding for an Android BinderFragment Context.
          +
          +
          ApplicationContextModule(Context) - Constructor for class dagger.hilt.android.internal.modules.ApplicationContextModule
          +
           
          +
          applicationInjector() - Method in class dagger.android.DaggerApplication
          +
          +
          Implementations should return an AndroidInjector for the concrete DaggerApplication.
          +
          +
          applicationInjector() - Method in class dagger.android.support.DaggerApplication
          +
           
          +
          apply(Statement, Description) - Method in class dagger.hilt.android.internal.testing.MarkThatRulesRanRule
          +
           
          +
          apply(Statement, Description) - Method in class dagger.hilt.android.testing.HiltAndroidRule
          +
           
          +
          Assisted - Annotation Type in dagger.assisted
          +
          +
          Annotates a parameter within an AssistedInject-annotated constructor.
          +
          +
          ASSISTED_FACTORY - dagger.model.BindingKind
          +
          +
          A binding for an AssistedFactory-annotated type.
          +
          +
          ASSISTED_FACTORY - dagger.spi.model.BindingKind
          +
          +
          A binding for an AssistedFactory-annotated type.
          +
          +
          ASSISTED_INJECTION - dagger.model.BindingKind
          +
          +
          A binding for an Inject-annotated constructor that contains at least one + Assisted-annotated parameter.
          +
          +
          ASSISTED_INJECTION - dagger.spi.model.BindingKind
          +
          +
          A binding for an Inject-annotated constructor that contains at least one + Assisted-annotated parameter.
          +
          +
          assistedFactory() - Method in annotation type dagger.hilt.android.lifecycle.HiltViewModel
          +
          +
          Returns a factory class that can be used to create this ViewModel with assisted injection.
          +
          +
          AssistedFactory - Annotation Type in dagger.assisted
          +
          +
          Annotates an abstract class or interface used to create an instance of a type via an AssistedInject constructor.
          +
          +
          AssistedInject - Annotation Type in dagger.assisted
          +
          +
          Annotates the constuctor of a type that will be created via assisted injection.
          +
          +
          atRoot() - Method in class dagger.model.ComponentPath
          +
          +
          Returns true if the ComponentPath.currentComponent() current component} is the + ComponentPath.rootComponent() root component}.
          +
          +
          atRoot() - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns true if the ComponentPath.currentComponent() current component} is the + ComponentPath.rootComponent() root component}.
          +
          +
          + + + +

          B

          +
          +
          backend() - Method in class dagger.spi.model.BindingGraph
          +
           
          +
          backend() - Method in class dagger.spi.model.DaggerAnnotation
          +
          +
          Returns the backend used in this compilation.
          +
          +
          backend() - Method in class dagger.spi.model.DaggerElement
          +
          +
          Returns the backend used in this compilation.
          +
          +
          backend() - Method in class dagger.spi.model.DaggerExecutableElement
          +
          +
          Returns the backend used in this compilation.
          +
          +
          backend() - Method in class dagger.spi.model.DaggerProcessingEnv
          +
          +
          Returns the backend used in this compilation.
          +
          +
          backend() - Method in class dagger.spi.model.DaggerType
          +
          +
          Returns the backend used in this compilation.
          +
          +
          backend() - Method in class dagger.spi.model.DaggerTypeElement
          +
          +
          Returns the backend used in this compilation.
          +
          +
          BindElementsIntoSet - Annotation Type in dagger.hilt.android.testing
          +
          +
          An annotation that can be used on a test field to contribute the value into the SingletonComponent as an ElementsIntoSet for the given type.
          +
          +
          binding() - Method in interface dagger.model.Binding
          +
          +
          Deprecated. +
          This always returns Optional.of(this).
          +
          +
          +
          binding() - Method in interface dagger.model.BindingGraph.MaybeBinding
          +
          +
          The binding, or empty if missing.
          +
          +
          binding() - Method in class dagger.model.BindingGraph.MissingBinding
          +
          +
          Deprecated. +
          This always returns Optional.empty().
          +
          +
          +
          binding() - Method in interface dagger.spi.model.Binding
          +
          +
          Deprecated. +
          This always returns Optional.of(this).
          +
          +
          +
          binding() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
          +
          +
          The binding, or empty if missing.
          +
          +
          binding() - Method in class dagger.spi.model.BindingGraph.MissingBinding
          +
          +
          Deprecated. +
          This always returns Optional.empty().
          +
          +
          +
          Binding - Interface in dagger.model
          +
          +
          The association between a Key and the way in which instances of the key are provided.
          +
          +
          Binding - Interface in dagger.spi.model
          +
          +
          The association between a Key and the way in which instances of the key are provided.
          +
          +
          bindingElement() - Method in interface dagger.model.Binding
          +
          +
          The Element that declares this binding.
          +
          +
          bindingElement() - Method in class dagger.model.Key.MultibindingContributionIdentifier
          +
          +
          Deprecated. +
          This is only meant to be called from code in dagger.internal.codegen. + It is not part of a specified API and may change at any point.
          +
          +
          +
          bindingElement() - Method in interface dagger.spi.model.Binding
          +
          +
          The DaggerElement that declares this binding.
          +
          +
          BindingGraph - Class in dagger.model
          +
          +
          A graph of bindings, dependency requests, and components.
          +
          +
          BindingGraph - Class in dagger.spi.model
          +
          +
          A graph of bindings, dependency requests, and components.
          +
          +
          BindingGraph() - Constructor for class dagger.model.BindingGraph
          +
           
          +
          BindingGraph() - Constructor for class dagger.spi.model.BindingGraph
          +
           
          +
          BindingGraph.ChildFactoryMethodEdge - Interface in dagger.model
          +
          +
          An edge that represents a subcomponent factory method linking a parent component to a child + subcomponent.
          +
          +
          BindingGraph.ChildFactoryMethodEdge - Interface in dagger.spi.model
          +
          +
          An edge that represents a subcomponent factory method linking a parent component to a child + subcomponent.
          +
          +
          BindingGraph.ComponentNode - Interface in dagger.model
          +
          +
          A component node in the graph.
          +
          +
          BindingGraph.ComponentNode - Interface in dagger.spi.model
          +
          +
          A component node in the graph.
          +
          +
          BindingGraph.DependencyEdge - Interface in dagger.model
          +
          +
          An edge that represents a dependency on a binding.
          +
          +
          BindingGraph.DependencyEdge - Interface in dagger.spi.model
          +
          +
          An edge that represents a dependency on a binding.
          +
          +
          BindingGraph.Edge - Interface in dagger.model
          +
          +
          An edge in the binding graph.
          +
          +
          BindingGraph.Edge - Interface in dagger.spi.model
          +
          +
          An edge in the binding graph.
          +
          +
          BindingGraph.MaybeBinding - Interface in dagger.model
          +
          +
          A node in the binding graph that is either a Binding or a BindingGraph.MissingBinding.
          +
          +
          BindingGraph.MaybeBinding - Interface in dagger.spi.model
          +
          +
          A node in the binding graph that is either a Binding or a BindingGraph.MissingBinding.
          +
          +
          BindingGraph.MissingBinding - Class in dagger.model
          +
          +
          A node in the binding graph that represents a missing binding for a key in a component.
          +
          +
          BindingGraph.MissingBinding - Class in dagger.spi.model
          +
          +
          A node in the binding graph that represents a missing binding for a key in a component.
          +
          +
          BindingGraph.Node - Interface in dagger.model
          +
          +
          A node in the binding graph.
          +
          +
          BindingGraph.Node - Interface in dagger.spi.model
          +
          +
          A node in the binding graph.
          +
          +
          BindingGraph.SubcomponentCreatorBindingEdge - Interface in dagger.model
          +
          +
          An edge that represents the link between a parent component and a child subcomponent implied by + a subcomponent creator (builder or factory) binding.
          +
          +
          BindingGraph.SubcomponentCreatorBindingEdge - Interface in dagger.spi.model
          +
          +
          An edge that represents the link between a parent component and a child subcomponent implied by + a subcomponent creator (builder or factory) binding.
          +
          +
          BindingGraphPlugin - Interface in dagger.spi
          +
          +
          A pluggable visitor for BindingGraph.
          +
          +
          BindingGraphPlugin - Interface in dagger.spi.model
          +
          +
          A pluggable visitor for BindingGraph.
          +
          +
          BindingKind - Enum in dagger.model
          +
          +
          Represents the different kinds of Bindings that can exist in a binding graph.
          +
          +
          BindingKind - Enum in dagger.spi.model
          +
          +
          Represents the different kinds of Bindings that can exist in a binding graph.
          +
          +
          bindingMethod() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
          +
          +
          Returns the multibinding method that defines teh multibinding contribution.
          +
          +
          bindings() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the bindings.
          +
          +
          bindings() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the bindings.
          +
          +
          bindings(Key) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the bindings for a key.
          +
          +
          bindings(Key) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the bindings for a key.
          +
          +
          bindingTo(SocketAddress) - Static method in class dagger.grpc.server.NettyServerModule
          +
          +
          A module that binds to socketAddress.
          +
          +
          bindingToPort(int) - Static method in class dagger.grpc.server.NettyServerModule
          +
          +
          A module that binds to port on the wildcard address.
          +
          +
          Binds - Annotation Type in dagger
          +
          +
          Annotates abstract methods of a Module that delegate bindings.
          +
          +
          BindsInstance - Annotation Type in dagger
          +
          +
          Marks a method on a component builder or a parameter on a + component factory as binding an instance to some key within the + component.
          +
          +
          BindsOptionalOf - Annotation Type in dagger
          +
          +
          Annotates methods that declare bindings for Optional containers of values from bindings + that may or may not be present in the component.
          +
          +
          BindValue - Annotation Type in dagger.hilt.android.testing
          +
          +
          An annotation that can be used on a test field to contribute the value into the SingletonComponent.
          +
          +
          BindValueIntoMap - Annotation Type in dagger.hilt.android.testing
          +
          +
          An annotation that can be used on a test field to contribute the value into the SingletonComponent as an IntoMap + for the given type.
          +
          +
          BindValueIntoSet - Annotation Type in dagger.hilt.android.testing
          +
          +
          An annotation that can be used on a test field to contribute the value into the SingletonComponent as an IntoSet + for the given type.
          +
          +
          BOUND_INSTANCE - dagger.model.BindingKind
          +
          +
          A binding for a BindsInstance-annotated builder method.
          +
          +
          BOUND_INSTANCE - dagger.spi.model.BindingKind
          +
          +
          A binding for a BindsInstance-annotated builder method.
          +
          +
          BroadcastReceiverComponentManager - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          build() - Method in class dagger.android.AndroidInjector.Builder
          +
          +
          Deprecated.
          +
          Returns a newly-constructed AndroidInjector.
          +
          +
          build() - Method in interface dagger.hilt.android.internal.builders.ActivityComponentBuilder
          +
           
          +
          build() - Method in interface dagger.hilt.android.internal.builders.ActivityRetainedComponentBuilder
          +
           
          +
          build() - Method in interface dagger.hilt.android.internal.builders.FragmentComponentBuilder
          +
           
          +
          build() - Method in interface dagger.hilt.android.internal.builders.ServiceComponentBuilder
          +
           
          +
          build() - Method in interface dagger.hilt.android.internal.builders.ViewComponentBuilder
          +
           
          +
          build() - Method in interface dagger.hilt.android.internal.builders.ViewModelComponentBuilder
          +
           
          +
          build() - Method in interface dagger.hilt.android.internal.builders.ViewWithFragmentComponentBuilder
          +
           
          +
          build() - Method in class dagger.model.DependencyRequest.Builder
          +
           
          +
          build() - Method in class dagger.model.Key.Builder
          +
           
          +
          build() - Method in class dagger.spi.model.DependencyRequest.Builder
          +
           
          +
          build() - Method in class dagger.spi.model.Key.Builder
          +
           
          +
          builder() - Method in annotation type dagger.hilt.internal.definecomponent.DefineComponentClasses
          +
          +
          Returns the fully qualified name of the DefineComponent.Builder type, or an + empty string if it wasn't given.
          +
          +
          builder() - Static method in class dagger.model.DependencyRequest
          +
          +
          Returns a new builder of dependency requests.
          +
          +
          builder() - Static method in class dagger.spi.model.DependencyRequest
          +
          +
          Returns a new builder of dependency requests.
          +
          +
          builder(DaggerType) - Static method in class dagger.spi.model.Key
          +
          +
          Returns a builder for Keys.
          +
          +
          builder(TypeMirror) - Static method in class dagger.model.Key
          +
          +
          Returns a builder for Keys.
          +
          +
          Builder() - Constructor for class dagger.android.AndroidInjector.Builder
          +
          +
          Deprecated.
          +
          Builder() - Constructor for class dagger.model.DependencyRequest.Builder
          +
           
          +
          Builder() - Constructor for class dagger.model.Key.Builder
          +
           
          +
          Builder() - Constructor for class dagger.spi.model.DependencyRequest.Builder
          +
           
          +
          Builder() - Constructor for class dagger.spi.model.Key.Builder
          +
           
          +
          + + + +

          C

          +
          +
          CallScoped - Annotation Type in dagger.grpc.server
          +
          +
          A scope that lasts as long as a single gRPC ServerCall.
          +
          +
          CancellationPolicy - Annotation Type in dagger.producers
          +
          +
          Annotates a production component or subcomponent to specify its policy when a child component is + cancelled.
          +
          +
          CancellationPolicy.Propagation - Enum in dagger.producers
          +
          +
          Enumeration of the options for what happens to a parent component when one of its child + components is cancelled.
          +
          +
          childPath(DaggerTypeElement) - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns the path from the root component to the child of the current component.
          +
          +
          childPath(TypeElement) - Method in class dagger.model.ComponentPath
          +
          +
          Returns the path from the root component to the child of the current component.
          +
          +
          ClassKey - Annotation Type in dagger.multibindings
          +
          +
          A MapKey annotation for maps with Class<?> keys.
          +
          +
          clear() - Method in class dagger.hilt.android.internal.managers.SavedStateHandleHolder
          +
           
          +
          component() - Method in annotation type dagger.hilt.internal.definecomponent.DefineComponentClasses
          +
          +
          Returns the fully qualified name of the DefineComponent type, or an empty + string if it wasn't given.
          +
          +
          Component - Annotation Type in dagger
          +
          +
          Annotates an interface or abstract class for which a fully-formed, dependency-injected + implementation is to be generated from a set of Component.modules().
          +
          +
          COMPONENT - dagger.model.BindingKind
          +
          +
          An implicit binding for a Component- or ProductionComponent-annotated type.
          +
          +
          COMPONENT - dagger.spi.model.BindingKind
          +
          +
          An implicit binding for a Component- or ProductionComponent-annotated + type.
          +
          +
          COMPONENT_DEPENDENCY - dagger.model.BindingKind
          +
          +
          A binding for an instance of a component's dependency.
          +
          +
          COMPONENT_DEPENDENCY - dagger.spi.model.BindingKind
          +
          +
          A binding for an instance of a component's dependency.
          +
          +
          COMPONENT_PRODUCTION - dagger.model.BindingKind
          +
          +
          A binding for a production method on a production component's + ProductionComponent#dependencies() that returns a ListenableFuture or + FluentFuture.
          +
          +
          COMPONENT_PRODUCTION - dagger.spi.model.BindingKind
          +
          +
          A binding for a production method on a production component's + ProductionComponent#dependencies() that returns a ListenableFuture or + FluentFuture.
          +
          +
          COMPONENT_PROVISION - dagger.model.BindingKind
          +
          +
          A binding for a provision method on a component's dependency.
          +
          +
          COMPONENT_PROVISION - dagger.spi.model.BindingKind
          +
          +
          A binding for a provision method on a component's dependency.
          +
          +
          Component.Builder - Annotation Type in dagger
          +
          +
          A builder for a component.
          +
          +
          Component.Factory - Annotation Type in dagger
          +
          +
          A factory for a component.
          +
          +
          componentManager() - Method in class dagger.hilt.android.testing.HiltTestApplication
          +
           
          +
          componentNode(ComponentPath) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the component node for a component.
          +
          +
          componentNode(ComponentPath) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the component node for a component.
          +
          +
          componentNodes() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the component nodes.
          +
          +
          componentNodes() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the component nodes.
          +
          +
          componentNodes(DaggerTypeElement) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the component nodes for a component.
          +
          +
          componentNodes(TypeElement) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the component nodes for a component.
          +
          +
          componentPath() - Method in interface dagger.model.Binding
          +
           
          +
          componentPath() - Method in interface dagger.model.BindingGraph.ComponentNode
          +
          +
          The component represented by this node.
          +
          +
          componentPath() - Method in interface dagger.model.BindingGraph.MaybeBinding
          +
          +
          The component that owns the binding, or in which the binding is missing.
          +
          +
          componentPath() - Method in class dagger.model.BindingGraph.MissingBinding
          +
          +
          The component in which the binding is missing.
          +
          +
          componentPath() - Method in interface dagger.model.BindingGraph.Node
          +
          +
          The component this node belongs to.
          +
          +
          componentPath() - Method in interface dagger.spi.model.Binding
          +
           
          +
          componentPath() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
          +
          +
          The component represented by this node.
          +
          +
          componentPath() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
          +
          +
          The component that owns the binding, or in which the binding is missing.
          +
          +
          componentPath() - Method in class dagger.spi.model.BindingGraph.MissingBinding
          +
          +
          The component in which the binding is missing.
          +
          +
          componentPath() - Method in interface dagger.spi.model.BindingGraph.Node
          +
          +
          The component this node belongs to.
          +
          +
          ComponentPath - Class in dagger.model
          +
          +
          A path containing a component and all of its ancestor components.
          +
          +
          ComponentPath - Class in dagger.spi.model
          +
          +
          A path containing a component and all of its ancestor components.
          +
          +
          ComponentPath() - Constructor for class dagger.model.ComponentPath
          +
           
          +
          ComponentPath() - Constructor for class dagger.spi.model.ComponentPath
          +
           
          +
          componentReady() - Method in class dagger.hilt.android.internal.testing.MarkThatRulesRanRule
          +
           
          +
          componentReady() - Method in class dagger.hilt.android.testing.HiltAndroidRule
          +
          +
          Completes Dagger component creation if HiltAndroidRule.delayComponentReady() was used.
          +
          +
          components() - Method in annotation type dagger.hilt.testing.TestInstallIn
          +
          +
          Returns the component(s) into which the annotated module will be installed.
          +
          +
          components() - Method in class dagger.model.ComponentPath
          +
          +
          Returns the component types, starting from the root + component and ending with the current component.
          +
          +
          components() - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns the component types, starting from the root + component and ending with the current component.
          +
          +
          componentSupplier() - Method in class dagger.hilt.android.internal.testing.TestComponentData
          +
          + +
          +
          ComponentSupplier - Interface in dagger.hilt.android.internal.managers
          +
          +
          Interface for supplying a component.
          +
          +
          ContributesAndroidInjector - Annotation Type in dagger.android
          +
          +
          Generates an AndroidInjector for the return type of this method.
          +
          +
          contributingModule() - Method in interface dagger.model.Binding
          +
          +
          The TypeElement of the module which contributes this binding.
          +
          +
          contributingModule() - Method in interface dagger.spi.model.Binding
          +
          +
          The DaggerTypeElement of the module which contributes this binding.
          +
          +
          contributingModule() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
          +
          +
          Returns the module containing the multibinding method.
          +
          +
          create(Class<?>) - Static method in class dagger.producers.monitoring.ProducerToken
          +
          +
          Creates a token for a class token that represents the generated factory for a producer method.
          +
          +
          create(Class<T>) - Method in class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
          +
           
          +
          create(Class<T>, CreationExtras) - Method in class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
          +
           
          +
          create(Iterable<DaggerTypeElement>) - Static method in class dagger.spi.model.ComponentPath
          +
          +
          Returns a new ComponentPath from components.
          +
          +
          create(Iterable<TypeElement>) - Static method in class dagger.model.ComponentPath
          +
          +
          Returns a new ComponentPath from components.
          +
          +
          create(Object) - Method in class dagger.producers.monitoring.ProductionComponentMonitor.Factory
          +
          +
          Creates a component-specific monitor when the component is created.
          +
          +
          create(Object) - Method in interface dagger.producers.monitoring.ProductionComponentTimingRecorder.Factory
          +
          +
          Creates a component-specific timing recorder when the component is created.
          +
          +
          create(Object) - Method in class dagger.producers.monitoring.TimingProductionComponentMonitor.Factory
          +
           
          +
          create(String) - Static method in class dagger.producers.monitoring.ProducerToken
          +
          +
          Creates a token for a producer method.
          +
          +
          create(T) - Method in class dagger.android.AndroidInjector.Builder
          +
          +
          Deprecated.
          +
          create(T) - Method in interface dagger.android.AndroidInjector.Factory
          +
          +
          Creates an AndroidInjector for instance.
          +
          +
          createComponent() - Method in class dagger.hilt.android.internal.managers.ActivityComponentManager
          +
           
          +
          createContextWrapper(Context, Fragment) - Static method in class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
           
          +
          createContextWrapper(LayoutInflater, Fragment) - Static method in class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
           
          +
          createInternal(Activity, ViewModelProvider.Factory) - Static method in class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
          +
           
          +
          createInternal(Activity, SavedStateRegistryOwner, Bundle, ViewModelProvider.Factory) - Static method in class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
          +
           
          +
          CREATION_CALLBACK_KEY - Static variable in class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
          +
          +
          Creation extra key for the callbacks that create @AssistedInject-annotated ViewModels.
          +
          +
          currentComponent() - Method in class dagger.model.ComponentPath
          +
          +
          Returns the component at the end of the path.
          +
          +
          currentComponent() - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns the component at the end of the path.
          +
          +
          CurrentContextModule - Class in dagger.grpc.server
          +
          +
          Provides the current Context.
          +
          +
          CurrentContextModule() - Constructor for class dagger.grpc.server.CurrentContextModule
          +
           
          +
          customInject() - Method in interface dagger.hilt.android.internal.migration.HasCustomInject
          +
           
          +
          CustomInject - Annotation Type in dagger.hilt.android.migration
          +
          +
          When used on a HiltAndroidApp-annotated application, this causes the + application to no longer inject itself in onCreate and instead allows it to be injected at some + other time.
          +
          +
          CustomInjection - Class in dagger.hilt.android.migration
          +
          +
          Utility methods for injecting the application when using CustomInject.
          +
          +
          CustomTestApplication - Annotation Type in dagger.hilt.android.testing
          +
          +
          An annotation that creates an application with the given base type that can be used for any + test in the given build.
          +
          +
          + + + +

          D

          +
          +
          dagger - package dagger
          +
          +
          This package contains the public API for the Dagger 2 dependency + injection framework.
          +
          +
          dagger.android - package dagger.android
          +
          +
          APIs to assist with performing injection on Android.
          +
          +
          dagger.android.internal - package dagger.android.internal
          +
           
          +
          dagger.android.support - package dagger.android.support
          +
           
          +
          dagger.assisted - package dagger.assisted
          +
          +
          This package contains the API for Dagger's assisted injection.
          +
          +
          dagger.grpc.server - package dagger.grpc.server
          +
           
          +
          dagger.grpc.server.processor - package dagger.grpc.server.processor
          +
           
          +
          dagger.hilt - package dagger.hilt
          +
          +
          This package contains the core APIs for Hilt.
          +
          +
          dagger.hilt.android - package dagger.hilt.android
          +
          +
          This package contains Hilt APIs for Android applications.
          +
          +
          dagger.hilt.android.components - package dagger.hilt.android.components
          +
          +
          This package contains Hilt's built-in Components for Android.
          +
          +
          dagger.hilt.android.flags - package dagger.hilt.android.flags
          +
          +
          Runtime flags to control Hilt behavior for rollout of changes.
          +
          +
          dagger.hilt.android.internal.builders - package dagger.hilt.android.internal.builders
          +
           
          +
          dagger.hilt.android.internal.lifecycle - package dagger.hilt.android.internal.lifecycle
          +
           
          +
          dagger.hilt.android.internal.managers - package dagger.hilt.android.internal.managers
          +
           
          +
          dagger.hilt.android.internal.migration - package dagger.hilt.android.internal.migration
          +
           
          +
          dagger.hilt.android.internal.modules - package dagger.hilt.android.internal.modules
          +
           
          +
          dagger.hilt.android.internal.testing - package dagger.hilt.android.internal.testing
          +
           
          +
          dagger.hilt.android.lifecycle - package dagger.hilt.android.lifecycle
          +
          +
          This package contains Hilt APIs for Android applications.
          +
          +
          dagger.hilt.android.migration - package dagger.hilt.android.migration
          +
          +
          This package contains Android APIs to help migrating a codebase to Hilt.
          +
          +
          dagger.hilt.android.qualifiers - package dagger.hilt.android.qualifiers
          +
          +
          This package contains Hilt's built-in Android Qualifier annotations.
          +
          +
          dagger.hilt.android.scopes - package dagger.hilt.android.scopes
          +
          +
          This package contains Hilt's built-in Android Scope annotations.
          +
          +
          dagger.hilt.android.testing - package dagger.hilt.android.testing
          +
          +
          This package contains APIs for writing Android local or instrumentation tests with Hilt.
          +
          +
          dagger.hilt.codegen - package dagger.hilt.codegen
          +
          +
          This package contains APIs for code generators that produce code that will be processed by Hilt.
          +
          +
          dagger.hilt.components - package dagger.hilt.components
          +
          +
          This package contains Hilt's built-in Components.
          +
          +
          dagger.hilt.internal.aliasof - package dagger.hilt.internal.aliasof
          +
           
          +
          dagger.hilt.internal.definecomponent - package dagger.hilt.internal.definecomponent
          +
           
          +
          dagger.hilt.internal.generatesrootinput - package dagger.hilt.internal.generatesrootinput
          +
           
          +
          dagger.hilt.migration - package dagger.hilt.migration
          +
          +
          This package contains APIs to help migrating a codebase to Hilt.
          +
          +
          dagger.hilt.testing - package dagger.hilt.testing
          +
          +
          This package contains APIs for writing tests with Hilt.
          +
          +
          dagger.model - package dagger.model
          +
          +
          This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
          +
          +
          dagger.multibindings - package dagger.multibindings
          +
          +
          This package contains the API by which Dagger allows you to bind several objects into a + collection that can be injected without depending directly on each of the individual bindings.
          +
          +
          dagger.producers - package dagger.producers
          +
          +
          This package contains the public API for Dagger 2's producer functionality.
          +
          +
          dagger.producers.monitoring - package dagger.producers.monitoring
          +
          +
          This package provides hooks for monitoring producers.
          +
          +
          dagger.spi - package dagger.spi
          +
          +
          This package contains the Service Provider interface (SPI) to the dagger.model APIs at + annotation-processing-time.
          +
          +
          dagger.spi.model - package dagger.spi.model
          +
          +
          This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
          +
          +
          DaggerActivity - Class in dagger.android
          +
          +
          An Activity that injects its members in DaggerActivity.onCreate(Bundle) and can be used to + inject Fragments attached to it.
          +
          +
          DaggerActivity() - Constructor for class dagger.android.DaggerActivity
          +
           
          +
          DaggerAnnotation - Class in dagger.spi.model
          +
          +
          Wrapper type for an annotation.
          +
          +
          DaggerAnnotation() - Constructor for class dagger.spi.model.DaggerAnnotation
          +
           
          +
          DaggerAppCompatActivity - Class in dagger.android.support
          +
          +
          An AppCompatActivity that injects its members in DaggerAppCompatActivity.onCreate(Bundle) and can be + used to inject Fragments attached to it.
          +
          +
          DaggerAppCompatActivity() - Constructor for class dagger.android.support.DaggerAppCompatActivity
          +
           
          +
          DaggerAppCompatActivity(int) - Constructor for class dagger.android.support.DaggerAppCompatActivity
          +
           
          +
          DaggerAppCompatDialogFragment - Class in dagger.android.support
          +
          +
          An AppCompatDialogFragment that injects its members in DaggerAppCompatDialogFragment.onAttach(Context) and can + be used to inject child Fragments attached to it.
          +
          +
          DaggerAppCompatDialogFragment() - Constructor for class dagger.android.support.DaggerAppCompatDialogFragment
          +
           
          +
          DaggerApplication - Class in dagger.android
          +
          +
          An Application that injects its members and can be used to inject objects that the + Android framework instantiates, such as Activitys, Fragments, or Services.
          +
          +
          DaggerApplication - Class in dagger.android.support
          +
          +
          An Application that injects its members and can be used to inject classes that the + Android framework instantiates.
          +
          +
          DaggerApplication() - Constructor for class dagger.android.DaggerApplication
          +
           
          +
          DaggerApplication() - Constructor for class dagger.android.support.DaggerApplication
          +
           
          +
          DaggerBroadcastReceiver - Class in dagger.android
          +
          +
          A BroadcastReceiver that injects its members in every call to DaggerBroadcastReceiver.onReceive(Context, + Intent).
          +
          +
          DaggerBroadcastReceiver() - Constructor for class dagger.android.DaggerBroadcastReceiver
          +
           
          +
          DaggerContentProvider - Class in dagger.android
          +
          +
          A ContentProvider that injects its members in DaggerContentProvider.onCreate().
          +
          +
          DaggerContentProvider() - Constructor for class dagger.android.DaggerContentProvider
          +
           
          +
          DaggerDialogFragment - Class in dagger.android
          +
          +
          Deprecated. +
          Framework fragments are deprecated in Android P; prefer + dagger.android.support.DaggerDialogFragment to use a support-library-friendly + dagger.android dialog fragment implementation.
          +
          +
          +
          DaggerDialogFragment - Class in dagger.android.support
          +
          +
          A DialogFragment that injects its members in DaggerDialogFragment.onAttach(Context) and can be used + to inject child Fragments attached to it.
          +
          +
          DaggerDialogFragment() - Constructor for class dagger.android.DaggerDialogFragment
          +
          +
          Deprecated.
          +
          DaggerDialogFragment() - Constructor for class dagger.android.support.DaggerDialogFragment
          +
           
          +
          DaggerElement - Class in dagger.spi.model
          +
          +
          Wrapper type for an element.
          +
          +
          DaggerElement() - Constructor for class dagger.spi.model.DaggerElement
          +
           
          +
          DaggerExecutableElement - Class in dagger.spi.model
          +
          +
          Wrapper type for an executable element.
          +
          +
          DaggerExecutableElement() - Constructor for class dagger.spi.model.DaggerExecutableElement
          +
           
          +
          DaggerFragment - Class in dagger.android
          +
          +
          Deprecated. +
          Framework fragments are deprecated in Android P; prefer + dagger.android.support.DaggerFragment to use a support-library-friendly + dagger.android fragment implementation.
          +
          +
          +
          DaggerFragment - Class in dagger.android.support
          +
          +
          A Fragment that injects its members in DaggerFragment.onAttach(Context) and can be used to + inject child Fragments attached to it.
          +
          +
          DaggerFragment() - Constructor for class dagger.android.DaggerFragment
          +
          +
          Deprecated.
          +
          DaggerFragment() - Constructor for class dagger.android.support.DaggerFragment
          +
           
          +
          DaggerFragment(int) - Constructor for class dagger.android.support.DaggerFragment
          +
           
          +
          DaggerIntentService - Class in dagger.android
          +
          +
          An IntentService that injects its members in DaggerIntentService.onCreate().
          +
          +
          DaggerIntentService(String) - Constructor for class dagger.android.DaggerIntentService
          +
           
          +
          DaggerProcessingEnv - Class in dagger.spi.model
          +
          +
          Wrapper type for an element.
          +
          +
          DaggerProcessingEnv() - Constructor for class dagger.spi.model.DaggerProcessingEnv
          +
           
          +
          DaggerProcessingEnv.Backend - Enum in dagger.spi.model
          +
          +
          Represents a type of backend used for compilation.
          +
          +
          daggerRequiredModules() - Method in class dagger.hilt.android.internal.testing.TestComponentData
          +
          +
          Returns the set of modules that Dagger cannot create instances of itself
          +
          +
          DaggerService - Class in dagger.android
          +
          +
          A Service that injects its members in DaggerService.onCreate().
          +
          +
          DaggerService() - Constructor for class dagger.android.DaggerService
          +
           
          +
          DaggerType - Class in dagger.spi.model
          +
          +
          Wrapper type for a type.
          +
          +
          DaggerType() - Constructor for class dagger.spi.model.DaggerType
          +
           
          +
          DaggerTypeElement - Class in dagger.spi.model
          +
          +
          Wrapper type for a type element.
          +
          +
          DaggerTypeElement() - Constructor for class dagger.spi.model.DaggerTypeElement
          +
           
          +
          declaringModules() - Method in interface dagger.model.BindingGraph.SubcomponentCreatorBindingEdge
          +
          +
          The modules that declare the subcomponent that generated + this edge.
          +
          +
          declaringModules() - Method in interface dagger.spi.model.BindingGraph.SubcomponentCreatorBindingEdge
          +
          +
          The modules that declare the subcomponent that generated + this edge.
          +
          +
          DefaultViewModelFactories - Class in dagger.hilt.android.internal.lifecycle
          +
          +
          Modules and entry points for the default view model factory used by activities and fragments + annotated with @AndroidEntryPoint.
          +
          +
          DefaultViewModelFactories.ActivityEntryPoint - Interface in dagger.hilt.android.internal.lifecycle
          +
          +
          The activity entry point to retrieve the factory.
          +
          +
          DefaultViewModelFactories.FragmentEntryPoint - Interface in dagger.hilt.android.internal.lifecycle
          +
          +
          The fragment entry point to retrieve the factory.
          +
          +
          DefaultViewModelFactories.InternalFactoryFactory - Class in dagger.hilt.android.internal.lifecycle
          +
          +
          Internal factory for the Hilt ViewModel Factory.
          +
          +
          DefineComponent - Annotation Type in dagger.hilt
          +
          +
          Defines a Hilt component.
          +
          +
          DefineComponent.Builder - Annotation Type in dagger.hilt
          +
          +
          Defines a builder for a Hilt component.
          +
          +
          DefineComponentClasses - Annotation Type in dagger.hilt.internal.definecomponent
          +
          +
          An annotation used to aggregate DefineComponent types in a common location.
          +
          +
          DefineComponentNoParent - Class in dagger.hilt.internal.definecomponent
          +
          +
          A class used by DefineComponent#parent() as the default type when no parent is given.
          +
          +
          defineComponentScopes() - Method in annotation type dagger.hilt.internal.aliasof.AliasOfPropagatedData
          +
           
          +
          delayComponentReady() - Method in class dagger.hilt.android.internal.testing.MarkThatRulesRanRule
          +
           
          +
          delayComponentReady() - Method in class dagger.hilt.android.testing.HiltAndroidRule
          +
          +
          Delays creating the component until HiltAndroidRule.componentReady() is called.
          +
          +
          DELEGATE - dagger.model.BindingKind
          +
          +
          A binding for Binds-annotated method that delegates from requests for one + key to another.
          +
          +
          DELEGATE - dagger.spi.model.BindingKind
          +
          +
          A binding for Binds-annotated method that that delegates from requests for one + key to another.
          +
          +
          delegatingProductionComponentTimingRecorderFactory(Collection<ProductionComponentTimingRecorder.Factory>) - Static method in class dagger.producers.monitoring.TimingRecorders
          +
          +
          Returns a timing recorder factory that delegates to the given factories, and ensures that any + method called on this object, even transitively, does not throw a RuntimeException or + return null.
          +
          +
          dependencies() - Method in annotation type dagger.Component
          +
          +
          A list of types that are to be used as component + dependencies.
          +
          +
          dependencies() - Method in interface dagger.model.Binding
          +
          +
          The dependencies of this binding.
          +
          +
          dependencies() - Method in annotation type dagger.producers.ProductionComponent
          +
          +
          A list of types that are to be used as component dependencies.
          +
          +
          dependencies() - Method in interface dagger.spi.model.Binding
          +
          +
          The dependencies of this binding.
          +
          +
          dependencyEdges() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the dependency edges.
          +
          +
          dependencyEdges() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the dependency edges.
          +
          +
          dependencyEdges(Binding) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the dependency edges for the dependencies of a binding.
          +
          +
          dependencyEdges(DependencyRequest) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the dependency edges for a dependency request.
          +
          +
          dependencyEdges(Binding) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the dependency edges for the dependencies of a binding.
          +
          +
          dependencyEdges(DependencyRequest) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the dependency edges for a dependency request.
          +
          +
          dependencyRequest() - Method in interface dagger.model.BindingGraph.DependencyEdge
          +
          +
          The dependency request.
          +
          +
          dependencyRequest() - Method in interface dagger.spi.model.BindingGraph.DependencyEdge
          +
          +
          The dependency request.
          +
          +
          DependencyRequest - Class in dagger.model
          +
          +
          Represents a request for a Key at an injection point.
          +
          +
          DependencyRequest - Class in dagger.spi.model
          +
          +
          Represents a request for a Key at an injection point.
          +
          +
          DependencyRequest() - Constructor for class dagger.model.DependencyRequest
          +
           
          +
          DependencyRequest() - Constructor for class dagger.spi.model.DependencyRequest
          +
           
          +
          DependencyRequest.Builder - Class in dagger.model
          +
          +
          A builder of DependencyRequests.
          +
          +
          DependencyRequest.Builder - Class in dagger.spi.model
          +
          +
          A builder of DependencyRequests.
          +
          +
          DiagnosticReporter - Class in dagger.spi.model
          +
          +
          An object that BindingGraphPlugins can use to report diagnostics while visiting a BindingGraph.
          +
          +
          DiagnosticReporter - Interface in dagger.spi
          +
          +
          An object that BindingGraphPlugins can use to report diagnostics while visiting a BindingGraph.
          +
          +
          DiagnosticReporter() - Constructor for class dagger.spi.model.DiagnosticReporter
          +
           
          +
          DisableInstallInCheck - Annotation Type in dagger.hilt.migration
          +
          +
          Marks a Module-annotated class to allow it to have no InstallIn annotation.
          +
          +
          DispatchingAndroidInjector<T> - Class in dagger.android
          +
          +
          Performs members-injection on instances of core Android types (e.g.
          +
          +
          DispatchingAndroidInjector.InvalidInjectorBindingException - Exception in dagger.android
          +
          +
          Exception thrown if an incorrect binding is made for a AndroidInjector.Factory.
          +
          +
          dispatchOnCleared() - Method in class dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl
          +
           
          +
          + + + +

          E

          +
          +
          EarlyEntryPoint - Annotation Type in dagger.hilt.android
          +
          +
          An escape hatch for when a Hilt entry point usage needs to be called before the singleton + component is available in a Hilt test.
          +
          +
          EarlyEntryPoints - Class in dagger.hilt.android
          +
          +
          Static utility methods for accessing entry points annotated with EarlyEntryPoint.
          +
          +
          earlySingletonComponent() - Method in class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
           
          +
          EarlySingletonComponentCreator - Class in dagger.hilt.android.internal.testing
          +
          +
          Creates a test's early component.
          +
          +
          EarlySingletonComponentCreator() - Constructor for class dagger.hilt.android.internal.testing.EarlySingletonComponentCreator
          +
           
          +
          ElementsIntoSet - Annotation Type in dagger.multibindings
          +
          +
          The method's return type is Set<T> and all values are contributed to the set.
          +
          +
          EntryPoint - Annotation Type in dagger.hilt
          +
          +
          Annotation for marking an interface as an entry point into a generated component.
          +
          +
          entryPointBindings() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the binding or missing binding nodes that directly satisfy entry points.
          +
          +
          entryPointBindings() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the binding or missing binding nodes that directly satisfy entry points.
          +
          +
          entryPointEdges() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the dependency edges for all entry points for all components and subcomponents.
          +
          +
          entryPointEdges() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the dependency edges for all entry points for all components and subcomponents.
          +
          +
          entryPointEdges(ComponentPath) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the dependency edges for the entry points of a given component.
          +
          +
          entryPointEdges(ComponentPath) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the dependency edges for the entry points of a given component.
          +
          +
          entryPointEdgesDependingOnBinding(BindingGraph.MaybeBinding) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the edges for entry points that transitively depend on a binding or missing binding for + a key.
          +
          +
          entryPointEdgesDependingOnBinding(BindingGraph.MaybeBinding) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the edges for entry points that transitively depend on a binding or missing binding for + a key.
          +
          +
          entryPoints() - Method in interface dagger.model.BindingGraph.ComponentNode
          +
          +
          The entry points on this component.
          +
          +
          entryPoints() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
          +
          +
          The entry points on this component.
          +
          +
          EntryPoints - Class in dagger.hilt
          +
          +
          Static utility methods for accessing objects through entry points.
          +
          +
          equals(Object) - Method in class dagger.model.ComponentPath
          +
           
          +
          equals(Object) - Method in class dagger.model.Key
          +
           
          +
          equals(Object) - Method in class dagger.model.Key.MultibindingContributionIdentifier
          +
           
          +
          equals(Object) - Method in class dagger.producers.monitoring.ProducerToken
          +
          +
          Two tokens are equal if they represent the same method.
          +
          +
          equals(Object) - Method in class dagger.producers.Produced
          +
          +
          Two Produced objects compare equal if both are successful with equal values, or both + are failed with equal exceptions.
          +
          +
          equals(Object) - Method in class dagger.spi.model.ComponentPath
          +
           
          +
          equals(Object) - Method in class dagger.spi.model.Key
          +
           
          +
          + + + +

          F

          +
          +
          Factory() - Constructor for class dagger.producers.monitoring.ProductionComponentMonitor.Factory
          +
           
          +
          Factory(ProductionComponentTimingRecorder.Factory) - Constructor for class dagger.producers.monitoring.TimingProductionComponentMonitor.Factory
          +
           
          +
          factoryMethod() - Method in interface dagger.model.BindingGraph.ChildFactoryMethodEdge
          +
          +
          The subcomponent factory method element.
          +
          +
          factoryMethod() - Method in interface dagger.spi.model.BindingGraph.ChildFactoryMethodEdge
          +
          +
          The subcomponent factory method element.
          +
          +
          failed(Throwable) - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Called when the producer's future has failed with an exception.
          +
          +
          failed(Throwable) - Static method in class dagger.producers.Produced
          +
          +
          Returns a failed Produced, whose Produced.get() will throw an + ExecutionException with the given cause.
          +
          +
          findActivity(Context) - Static method in class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
           
          +
          ForGrpcService - Annotation Type in dagger.grpc.server
          +
          +
          Qualifies some per-service types provided by Modules generated by GrpcService.
          +
          +
          format(Key) - Method in enum dagger.model.RequestKind
          +
          +
          Returns a string that represents requests of this kind for a key.
          +
          +
          format(Key) - Method in enum dagger.spi.model.RequestKind
          +
          +
          Returns a string that represents requests of this kind for a key.
          +
          +
          fragment(Fragment) - Method in interface dagger.hilt.android.internal.builders.FragmentComponentBuilder
          +
           
          +
          FragmentComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of the fragment.
          +
          +
          fragmentComponentBuilder() - Method in interface dagger.hilt.android.internal.managers.FragmentComponentManager.FragmentComponentBuilderEntryPoint
          +
           
          +
          FragmentComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating a FragmentComponent.
          +
          +
          FragmentComponentManager - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          FragmentComponentManager(Fragment) - Constructor for class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
           
          +
          FragmentComponentManager.FragmentComponentBuilderEntryPoint - Interface in dagger.hilt.android.internal.managers
          +
          +
          Entrypoint for FragmentComponentBuilder.
          +
          +
          FragmentGetContextFix - Class in dagger.hilt.android.flags
          +
          +
          Runtime flag for the Fragment.getContext() fix.
          +
          +
          FragmentGetContextFix.DisableFragmentGetContextFix - Annotation Type in dagger.hilt.android.flags
          +
          +
          Qualifier annotation to bind disable the Fragment.getContext() fix at runtime.
          +
          +
          FragmentGetContextFix.FragmentGetContextFixEntryPoint - Interface in dagger.hilt.android.flags
          +
          +
          Entry point for getting the flag.
          +
          +
          FragmentScoped - Annotation Type in dagger.hilt.android.scopes
          +
          +
          Scope annotation for bindings that should exist for the life of a fragment.
          +
          +
          fromSubcomponents() - Method in annotation type dagger.producers.CancellationPolicy
          +
          +
          Defines whether the annotated production component is cancelled when a child component is + cancelled.
          +
          +
          FUTURE - dagger.model.RequestKind
          +
          +
          A request for a ListenableFuture.
          +
          +
          FUTURE - dagger.spi.model.RequestKind
          +
          +
          A request for a ListenableFuture.
          +
          +
          + + + +

          G

          +
          +
          generatedComponent() - Method in class dagger.hilt.android.internal.managers.ActivityComponentManager
          +
           
          +
          generatedComponent() - Method in class dagger.hilt.android.internal.managers.ApplicationComponentManager
          +
           
          +
          generatedComponent() - Method in class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
           
          +
          generatedComponent() - Method in class dagger.hilt.android.internal.managers.ServiceComponentManager
          +
           
          +
          generatedComponent() - Method in class dagger.hilt.android.internal.managers.ViewComponentManager
          +
           
          +
          generatedComponent() - Method in class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
           
          +
          generatedComponent() - Method in class dagger.hilt.android.testing.HiltTestApplication
          +
           
          +
          generatedComponent(Context) - Static method in class dagger.hilt.android.internal.managers.BroadcastReceiverComponentManager
          +
           
          +
          GeneratesRootInput - Annotation Type in dagger.hilt
          +
          +
          For annotating annotations that generate input for the GenerateComponents.
          +
          +
          GeneratesRootInputPropagatedData - Annotation Type in dagger.hilt.internal.generatesrootinput
          +
          +
          An annotation used to aggregate GeneratesRootInput types in a common + location.
          +
          +
          get() - Method in interface dagger.hilt.android.internal.managers.ComponentSupplier
          +
           
          +
          get() - Method in class dagger.hilt.android.internal.testing.TestComponentDataSupplier
          +
          + +
          +
          get() - Method in interface dagger.Lazy
          +
          +
          Return the underlying value, computing the value if necessary.
          +
          +
          get() - Method in class dagger.producers.Produced
          +
          +
          Returns the result of a production.
          +
          +
          get() - Method in interface dagger.producers.Producer
          +
          +
          Returns a future representing a running task that produces a value.
          +
          +
          get(Context, Class<T>) - Static method in class dagger.hilt.android.EarlyEntryPoints
          +
          +
          Returns the early entry point interface given a component manager holder.
          +
          +
          get(Object, Class<T>) - Static method in class dagger.hilt.EntryPoints
          +
          +
          Returns the entry point interface given a component or component manager.
          +
          +
          get(Map<Class<?>, ?>, Object, Boolean) - Method in interface dagger.hilt.android.internal.testing.TestComponentData.ComponentSupplier
          +
           
          +
          getActivityFactory(ComponentActivity, ViewModelProvider.Factory) - Static method in class dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories
          +
          +
          Retrieves the default view model factory for the activity.
          +
          +
          getDescription() - Method in class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
           
          +
          getDisableFragmentGetContextFix() - Method in interface dagger.hilt.android.flags.FragmentGetContextFix.FragmentGetContextFixEntryPoint
          +
           
          +
          getFragmentFactory(Fragment, ViewModelProvider.Factory) - Static method in class dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories
          +
          +
          Retrieves the default view model factory for the activity.
          +
          +
          getHiltInternalFactoryFactory() - Method in interface dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.ActivityEntryPoint
          +
           
          +
          getHiltInternalFactoryFactory() - Method in interface dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories.FragmentEntryPoint
          +
           
          +
          getHiltViewModelAssistedMap() - Method in interface dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.ViewModelFactoriesEntryPoint
          +
           
          +
          getHiltViewModelMap() - Method in interface dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.ViewModelFactoriesEntryPoint
          +
           
          +
          getOnComponentReadyRunner() - Method in class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
           
          +
          getOnComponentReadyRunner() - Method in interface dagger.hilt.android.testing.OnComponentReadyRunner.OnComponentReadyRunnerHolder
          +
           
          +
          getSavedStateHandleHolder() - Method in class dagger.hilt.android.internal.managers.ActivityComponentManager
          +
           
          +
          getServiceDefinition(Metadata) - Method in interface dagger.grpc.server.ProxyServerCallHandler.ServiceDefinitionFactory
          +
          +
          Returns a service definition that contains a ServerCallHandler for the + ProxyServerCallHandler's method.
          +
          +
          getSupportedSourceVersion() - Method in class dagger.grpc.server.processor.GrpcServiceProcessor
          +
           
          +
          getSystemService(String) - Method in class dagger.hilt.android.internal.managers.ViewComponentManager.FragmentContextWrapper
          +
           
          +
          getTestInstance() - Method in class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
           
          +
          GrpcCallMetadataModule - Class in dagger.grpc.server
          +
          +
          Provides Metadata about a gRPC call.
          +
          +
          GrpcCallMetadataModule(Metadata) - Constructor for class dagger.grpc.server.GrpcCallMetadataModule
          +
           
          +
          grpcClass() - Method in annotation type dagger.grpc.server.GrpcService
          +
          +
          The class that gRPC generates from the proto service definition.
          +
          +
          GrpcService - Annotation Type in dagger.grpc.server
          +
          +
          Annotates a class that implements a gRPC service.
          +
          +
          GrpcServiceProcessor - Class in dagger.grpc.server.processor
          +
          +
          Generates code from types annotated with @GrpcService.
          +
          +
          GrpcServiceProcessor() - Constructor for class dagger.grpc.server.processor.GrpcServiceProcessor
          +
           
          +
          + + + +

          H

          +
          +
          HasAndroidInjector - Interface in dagger.android
          +
          +
          Provides an AndroidInjector.
          +
          +
          HasCustomInject - Interface in dagger.hilt.android.internal.migration
          +
          +
          Do not use except in Hilt generated code.
          +
          +
          hashCode() - Method in class dagger.model.ComponentPath
          +
           
          +
          hashCode() - Method in class dagger.model.Key
          +
           
          +
          hashCode() - Method in class dagger.model.Key.MultibindingContributionIdentifier
          +
           
          +
          hashCode() - Method in class dagger.producers.monitoring.ProducerToken
          +
          +
          Returns an appropriate hash code to match ProducerToken.equals(Object).
          +
          +
          hashCode() - Method in class dagger.producers.Produced
          +
          +
          Returns an appropriate hash code to match Produced.equals(Object).
          +
          +
          hashCode() - Method in class dagger.spi.model.ComponentPath
          +
           
          +
          hashCode() - Method in class dagger.spi.model.Key
          +
           
          +
          HiltAndroidApp - Annotation Type in dagger.hilt.android
          +
          +
          Annotation for marking the Application class where the Dagger components + should be generated.
          +
          +
          HiltAndroidRule - Class in dagger.hilt.android.testing
          +
          +
          A TestRule for Hilt that can be used with JVM or Instrumentation tests.
          +
          +
          HiltAndroidRule(Object) - Constructor for class dagger.hilt.android.testing.HiltAndroidRule
          +
          +
          Creates a new instance of the rules.
          +
          +
          HiltAndroidTest - Annotation Type in dagger.hilt.android.testing
          +
          +
          Annotation used for marking an Android emulator tests that require injection.
          +
          +
          hiltRequiredModules() - Method in class dagger.hilt.android.internal.testing.TestComponentData
          +
          +
          Returns a subset of TestComponentData.daggerRequiredModules that filters out the modules Hilt can + instantiate itself.
          +
          +
          HiltTestApplication - Class in dagger.hilt.android.testing
          +
          +
          An application that can be used for Android instrumentation or Robolectric tests using Hilt.
          +
          +
          HiltTestApplication() - Constructor for class dagger.hilt.android.testing.HiltTestApplication
          +
           
          +
          HiltViewModel - Annotation Type in dagger.hilt.android.lifecycle
          +
          +
          Identifies a ViewModel for construction injection.
          +
          +
          HiltViewModelAssistedMap - Annotation Type in dagger.hilt.android.internal.lifecycle
          +
          +
          Internal qualifier for the multibinding map of assisted factories for @AssistedInject-annotated + ViewModels used by the dagger.hilt.android.lifecycle.HiltViewModelFactory.
          +
          +
          HiltViewModelFactory - Class in dagger.hilt.android.internal.lifecycle
          +
          +
          View Model Provider Factory for the Hilt Extension.
          +
          +
          HiltViewModelFactory(Set<String>, ViewModelProvider.Factory, ViewModelComponentBuilder) - Constructor for class dagger.hilt.android.internal.lifecycle.HiltViewModelFactory
          +
           
          +
          HiltViewModelFactory.ViewModelFactoriesEntryPoint - Interface in dagger.hilt.android.internal.lifecycle
          +
          +
          Hilt entry point for getting the multi-binding map of ViewModels.
          +
          +
          HiltViewModelMap - Annotation Type in dagger.hilt.android.internal.lifecycle
          +
          +
          Internal qualifier for the multibinding map of ViewModels used by the dagger.hilt.android.lifecycle.HiltViewModelFactory.
          +
          +
          HiltViewModelMap.KeySet - Annotation Type in dagger.hilt.android.internal.lifecycle
          +
          +
          Internal qualifier for the multibinding set of class names annotated with @ViewModelInject.
          +
          +
          + + + +

          I

          +
          +
          IGNORE - dagger.producers.CancellationPolicy.Propagation
          +
          +
          Do not cancel the annotated component when a child component is cancelled.
          +
          +
          immediateFailedProducer(Throwable) - Static method in class dagger.producers.Producers
          +
          +
          Returns a producer that fails with the given exception.
          +
          +
          immediateProducer(T) - Static method in class dagger.producers.Producers
          +
          +
          Returns a producer that succeeds with the given value.
          +
          +
          includes() - Method in annotation type dagger.Module
          +
          +
          Additional @Module-annotated classes from which this module is composed.
          +
          +
          includes() - Method in annotation type dagger.producers.ProducerModule
          +
          +
          Additional @ProducerModule- or Module-annotated classes from which this module + is composed.
          +
          +
          init(DaggerProcessingEnv, Map<String, String>) - Method in interface dagger.spi.model.BindingGraphPlugin
          +
          +
          Initializes this plugin with a DaggerProcessingEnv.
          +
          +
          initElements(Elements) - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Initializes this plugin with a Elements instance.
          +
          +
          initFiler(Filer) - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Initializes this plugin with a Filer that it can use to write Java or other files based + on the binding graph.
          +
          +
          initializeArguments(Fragment) - Static method in class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
          +
          Returns the fragments bundle, creating a new one if none exists.
          +
          +
          initOptions(Map<String, String>) - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Initializes this plugin with a filtered view of the options passed on the javac + command-line for all keys from BindingGraphPlugin.supportedOptions().
          +
          +
          initSteps() - Method in class dagger.grpc.server.processor.GrpcServiceProcessor
          +
           
          +
          initTypes(Types) - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Initializes this plugin with a Types instance.
          +
          +
          inject() - Method in class dagger.hilt.android.internal.testing.MarkThatRulesRanRule
          +
           
          +
          inject() - Method in class dagger.hilt.android.testing.HiltAndroidRule
          +
          +
          Completes Dagger injection.
          +
          +
          inject(Activity) - Static method in class dagger.android.AndroidInjection
          +
          +
          Injects activity if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
          +
          +
          inject(Application) - Static method in class dagger.hilt.android.migration.CustomInjection
          +
          +
          Injects the passed in application.
          +
          +
          inject(Fragment) - Static method in class dagger.android.AndroidInjection
          +
          +
          Injects fragment if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
          +
          +
          inject(Service) - Static method in class dagger.android.AndroidInjection
          +
          +
          Injects service if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
          +
          +
          inject(BroadcastReceiver, Context) - Static method in class dagger.android.AndroidInjection
          +
          +
          Injects broadcastReceiver if an associated AndroidInjector implementation can + be found, otherwise throws an IllegalArgumentException.
          +
          +
          inject(ContentProvider) - Static method in class dagger.android.AndroidInjection
          +
          +
          Injects contentProvider if an associated AndroidInjector implementation can be + found, otherwise throws an IllegalArgumentException.
          +
          +
          inject(Fragment) - Static method in class dagger.android.support.AndroidSupportInjection
          +
          +
          Injects fragment if an associated AndroidInjector implementation can be found, + otherwise throws an IllegalArgumentException.
          +
          +
          inject(T) - Method in interface dagger.android.AndroidInjector
          +
          +
          Injects the members of instance.
          +
          +
          inject(T) - Method in class dagger.android.DispatchingAndroidInjector
          +
          +
          Performs members-injection on instance.
          +
          +
          InjectedByHilt - Interface in dagger.hilt.android.internal.migration
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          INJECTION - dagger.model.BindingKind
          +
          +
          A binding for an Inject-annotated constructor.
          +
          +
          INJECTION - dagger.spi.model.BindingKind
          +
          +
          A binding for an Inject-annotated constructor.
          +
          +
          injectMembers(T) - Method in interface dagger.MembersInjector
          +
          +
          Injects dependencies into the fields and methods of instance.
          +
          +
          injectTest(T) - Method in interface dagger.hilt.android.internal.testing.TestInjector
          +
           
          +
          InProcessServerModule - Class in dagger.grpc.server
          +
          +
          Installing this module into a @Singleton component means the component can + provide a Server that serves in-process requests.
          +
          +
          InstallIn - Annotation Type in dagger.hilt
          +
          +
          An annotation that declares which component(s) the annotated class should be included in when + Hilt generates the components.
          +
          +
          INSTANCE - dagger.model.RequestKind
          +
          +
          A default request for an instance.
          +
          +
          INSTANCE - dagger.spi.model.RequestKind
          +
          +
          A default request for an instance.
          +
          +
          InternalTestRoot - Annotation Type in dagger.hilt.android.internal.testing
          +
          +
          Annotation that generates a Hilt test application.
          +
          +
          IntKey - Annotation Type in dagger.multibindings
          +
          +
          A MapKey annotation for maps with int keys.
          +
          +
          IntoMap - Annotation Type in dagger.multibindings
          +
          +
          The method's return type forms the type argument for the value of a Map<K, Provider<V>>, + and the combination of the annotated key and the returned value is contributed to the map as a + key/value pair.
          +
          +
          IntoSet - Annotation Type in dagger.multibindings
          +
          +
          The method's return type forms the generic type argument of a Set<T>, and the returned + value is contributed to the set.
          +
          +
          isEmpty() - Method in class dagger.hilt.android.testing.OnComponentReadyRunner
          +
           
          +
          isEntryPoint() - Method in interface dagger.model.BindingGraph.DependencyEdge
          +
          +
          Returns true if this edge represents an entry point.
          +
          +
          isEntryPoint() - Method in interface dagger.spi.model.BindingGraph.DependencyEdge
          +
          +
          Returns true if this edge represents an entry point.
          +
          +
          isFragmentGetContextFixDisabled(Context) - Static method in class dagger.hilt.android.flags.FragmentGetContextFix
          +
           
          +
          isFullBindingGraph() - Method in class dagger.model.BindingGraph
          +
          +
          Returns true if this is a full binding graph, which contains all bindings installed in + the component, or false if it is a reachable binding graph, which contains only + bindings that are reachable from at least one entry point.
          +
          +
          isFullBindingGraph() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns true if this is a full binding graph, which contains all bindings installed in + the component, or false if it is a reachable binding graph, which contains only + bindings that are reachable from at least one entry point.
          +
          +
          isInvalid() - Method in class dagger.hilt.android.internal.managers.SavedStateHandleHolder
          +
           
          +
          isModuleBindingGraph() - Method in class dagger.model.BindingGraph
          +
          +
          Deprecated. +
          use BindingGraph.isFullBindingGraph() to tell if this is a full binding graph, or + rootComponentNode().isRealComponent() to tell if + the root component node is really a component or derived from a module. Dagger can generate + full binding graphs for components and subcomponents as well as modules.
          +
          +
          +
          isModuleBindingGraph() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Deprecated. +
          use BindingGraph.isFullBindingGraph() to tell if this is a full binding graph, or + rootComponentNode().isRealComponent() to tell if + the root component node is really a component or derived from a module. Dagger can generate + full binding graphs for components and subcomponents as well as modules.
          +
          +
          +
          isMultibinding() - Method in enum dagger.model.BindingKind
          +
          +
          Returns true if this is a kind of multibinding (not a contribution to a multibinding, + but the multibinding itself).
          +
          +
          isMultibinding() - Method in enum dagger.spi.model.BindingKind
          +
          +
          Returns true if this is a kind of multibinding (not a contribution to a multibinding, + but the multibinding itself).
          +
          +
          isNullable() - Method in interface dagger.model.Binding
          +
          +
          Returns true if this binding may provide null instead of an instance of BindingGraph.MaybeBinding.key().
          +
          +
          isNullable() - Method in class dagger.model.DependencyRequest
          +
          +
          Returns true if this request allows null objects.
          +
          +
          isNullable() - Method in interface dagger.spi.model.Binding
          +
          +
          Returns true if this binding may provide null instead of an instance of BindingGraph.MaybeBinding.key().
          +
          +
          isNullable() - Method in class dagger.spi.model.DependencyRequest
          +
          +
          Returns true if this request allows null objects.
          +
          +
          isNullable(boolean) - Method in class dagger.model.DependencyRequest.Builder
          +
           
          +
          isNullable(boolean) - Method in class dagger.spi.model.DependencyRequest.Builder
          +
           
          +
          isPartialBindingGraph() - Method in class dagger.model.BindingGraph
          +
          +
          Deprecated. + +
          +
          +
          isPartialBindingGraph() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Deprecated. + +
          +
          +
          isProduction() - Method in interface dagger.model.Binding
          +
          +
          Returns true if this is a production binding, e.g.
          +
          +
          isProduction() - Method in interface dagger.spi.model.Binding
          +
          +
          Returns true if this is a production binding, e.g.
          +
          +
          isProductionScope() - Method in class dagger.model.Scope
          +
          +
          Returns true if this scope is the @ProductionScope scope.
          +
          +
          isProductionScope() - Method in class dagger.spi.model.Scope
          +
          +
          Returns true if this scope is the @ProductionScope scope.
          +
          +
          isRealComponent() - Method in interface dagger.model.BindingGraph.ComponentNode
          +
          +
          Returns true if the component is a real component, or false if it is a + fictional component based on a module.
          +
          +
          isRealComponent() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
          +
          +
          Returns true if the component is a real component, or false if it is a + fictional component based on a module.
          +
          +
          isReusable() - Method in class dagger.model.Scope
          +
          +
          Returns true if this scope is the @Reusable scope.
          +
          +
          isReusable() - Method in class dagger.spi.model.Scope
          +
          +
          Returns true if this scope is the @Reusable scope.
          +
          +
          isScope(DaggerAnnotation) - Static method in class dagger.spi.model.Scope
          +
          +
          Returns true if Scope.scopeAnnotation() is a Scope annotation.
          +
          +
          isScope(DaggerTypeElement) - Static method in class dagger.spi.model.Scope
          +
          +
          Returns true if scopeAnnotationType is a Scope annotation.
          +
          +
          isScope(AnnotationMirror) - Static method in class dagger.model.Scope
          +
          +
          Returns true if Scope.scopeAnnotation() is a Scope annotation.
          +
          +
          isScope(TypeElement) - Static method in class dagger.model.Scope
          +
          +
          Returns true if scopeAnnotationType is a Scope annotation.
          +
          +
          isSingleton() - Method in class dagger.model.Scope
          +
          +
          Returns true if this scope is the @Singleton scope.
          +
          +
          isSingleton() - Method in class dagger.spi.model.Scope
          +
          +
          Returns true if this scope is the @Singleton scope.
          +
          +
          isSubcomponent() - Method in interface dagger.model.BindingGraph.ComponentNode
          +
          +
          Returns true if the component is a @Subcomponent or + @ProductionSubcomponent.
          +
          +
          isSubcomponent() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
          +
          +
          Returns true if the component is a @Subcomponent or + @ProductionSubcomponent.
          +
          +
          + + + +

          J

          +
          +
          javac() - Method in class dagger.spi.model.DaggerAnnotation
          +
          +
          Returns the Javac representation for the annotation.
          +
          +
          javac() - Method in class dagger.spi.model.DaggerElement
          +
          +
          Returns the Javac representation for the element.
          +
          +
          javac() - Method in class dagger.spi.model.DaggerExecutableElement
          +
          +
          Returns the Javac representation for the executable element.
          +
          +
          javac() - Method in class dagger.spi.model.DaggerProcessingEnv
          +
          +
          Returns the Javac representation for the processing environment.
          +
          +
          javac() - Method in class dagger.spi.model.DaggerType
          +
          +
          Returns the Javac representation for the type.
          +
          +
          javac() - Method in class dagger.spi.model.DaggerTypeElement
          +
          +
          Returns the Javac representation for the type element.
          +
          +
          JAVAC - dagger.spi.model.DaggerProcessingEnv.Backend
          +
           
          +
          + + + +

          K

          +
          +
          key() - Method in interface dagger.model.BindingGraph.MaybeBinding
          +
          +
          The key of the binding, or for which there is no binding.
          +
          +
          key() - Method in class dagger.model.BindingGraph.MissingBinding
          +
          +
          The key for which there is no binding.
          +
          +
          key() - Method in class dagger.model.DependencyRequest
          +
          +
          The key of this request.
          +
          +
          key() - Method in interface dagger.spi.model.BindingGraph.MaybeBinding
          +
          +
          The key of the binding, or for which there is no binding.
          +
          +
          key() - Method in class dagger.spi.model.BindingGraph.MissingBinding
          +
          +
          The key for which there is no binding.
          +
          +
          key() - Method in class dagger.spi.model.DependencyRequest
          +
          +
          The key of this request.
          +
          +
          key(Key) - Method in class dagger.model.DependencyRequest.Builder
          +
           
          +
          key(Key) - Method in class dagger.spi.model.DependencyRequest.Builder
          +
           
          +
          Key - Class in dagger.model
          +
          +
          A type and an optional qualifier that + is the lookup key for a binding.
          +
          +
          Key - Class in dagger.spi.model
          +
          +
          A type and an optional qualifier that + is the lookup key for a binding.
          +
          +
          Key() - Constructor for class dagger.model.Key
          +
           
          +
          Key() - Constructor for class dagger.spi.model.Key
          +
           
          +
          Key.Builder - Class in dagger.model
          +
          +
          A builder for Keys.
          +
          +
          Key.Builder - Class in dagger.spi.model
          +
          +
          A builder for Keys.
          +
          +
          Key.MultibindingContributionIdentifier - Class in dagger.model
          +
          +
          An object that identifies a multibinding contribution method and the module class that + contributes it to the graph.
          +
          +
          Key.MultibindingContributionIdentifier - Class in dagger.spi.model
          +
          +
          An object that identifies a multibinding contribution method and the module class that + contributes it to the graph.
          +
          +
          kind() - Method in interface dagger.model.Binding
          +
          +
          The kind of binding this instance represents.
          +
          +
          kind() - Method in class dagger.model.DependencyRequest
          +
          +
          The kind of this request.
          +
          +
          kind() - Method in interface dagger.spi.model.Binding
          +
          +
          The kind of binding this instance represents.
          +
          +
          kind() - Method in class dagger.spi.model.DependencyRequest
          +
          +
          The kind of this request.
          +
          +
          kind(RequestKind) - Method in class dagger.model.DependencyRequest.Builder
          +
           
          +
          kind(RequestKind) - Method in class dagger.spi.model.DependencyRequest.Builder
          +
           
          +
          ksp() - Method in class dagger.spi.model.DaggerAnnotation
          +
          +
          Returns the KSP representation for the annotation.
          +
          +
          ksp() - Method in class dagger.spi.model.DaggerElement
          +
          +
          Returns the KSP representation for the element.
          +
          +
          ksp() - Method in class dagger.spi.model.DaggerExecutableElement
          +
          +
          Returns the KSP representation for the executable element.
          +
          +
          ksp() - Method in class dagger.spi.model.DaggerProcessingEnv
          +
          +
          Returns the KSP representation for the processing environment.
          +
          +
          ksp() - Method in class dagger.spi.model.DaggerType
          +
          +
          Returns the KSP representation for the type.
          +
          +
          ksp() - Method in class dagger.spi.model.DaggerTypeElement
          +
          +
          Returns the KSP representation for the type element.
          +
          +
          KSP - dagger.spi.model.DaggerProcessingEnv.Backend
          +
           
          +
          + + + +

          L

          +
          +
          Lazy<T> - Interface in dagger
          +
          +
          A handle to a lazily-computed value.
          +
          +
          LAZY - dagger.model.RequestKind
          +
          +
          A request for a Lazy.
          +
          +
          LAZY - dagger.spi.model.RequestKind
          +
          +
          A request for a Lazy.
          +
          +
          LongKey - Annotation Type in dagger.multibindings
          +
          +
          A MapKey annotation for maps with long keys.
          +
          +
          + + + +

          M

          +
          +
          MapKey - Annotation Type in dagger
          +
          +
          Identifies annotation types that are used to associate keys with values returned by provider methods in order to compose a map.
          +
          +
          MarkThatRulesRanRule - Class in dagger.hilt.android.internal.testing
          +
          +
          A Junit TestRule that's installed in all Hilt tests.
          +
          +
          MarkThatRulesRanRule(Object) - Constructor for class dagger.hilt.android.internal.testing.MarkThatRulesRanRule
          +
           
          +
          maybeGetParentComponentManager() - Method in class dagger.hilt.android.internal.managers.ViewComponentManager
          +
           
          +
          maybeInject(T) - Method in class dagger.android.DispatchingAndroidInjector
          +
          +
          Attempts to perform members-injection on instance, returning true if + successful, false otherwise.
          +
          +
          MEMBERS_INJECTION - dagger.model.BindingKind
          +
          +
          A binding for a members injection method on a component.
          +
          +
          MEMBERS_INJECTION - dagger.model.RequestKind
          +
          +
          A request for a members injection.
          +
          +
          MEMBERS_INJECTION - dagger.spi.model.BindingKind
          +
          +
          A binding for a members injection method on a component.
          +
          +
          MEMBERS_INJECTION - dagger.spi.model.RequestKind
          +
          +
          A request for a members injection.
          +
          +
          MEMBERS_INJECTOR - dagger.model.BindingKind
          +
          +
          A binding for a MembersInjector of a type.
          +
          +
          MEMBERS_INJECTOR - dagger.spi.model.BindingKind
          +
          +
          A binding for a MembersInjector of a type.
          +
          +
          MembersInjector<T> - Interface in dagger
          +
          +
          Injects dependencies into the fields and methods on instances of type T.
          +
          +
          methodFinished() - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Called when the producer method has finished executing.
          +
          +
          methodStarting() - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Called when the producer method is about to start executing.
          +
          +
          MissingBinding() - Constructor for class dagger.model.BindingGraph.MissingBinding
          +
           
          +
          MissingBinding() - Constructor for class dagger.spi.model.BindingGraph.MissingBinding
          +
           
          +
          missingBindings() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the nodes that represent missing bindings.
          +
          +
          missingBindings() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the nodes that represent missing bindings.
          +
          +
          module() - Method in class dagger.model.Key.MultibindingContributionIdentifier
          +
          +
          Deprecated. +
          This is only meant to be called from code in dagger.internal.codegen. + It is not part of a specified API and may change at any point.
          +
          +
          +
          Module - Annotation Type in dagger
          +
          +
          Annotates a class that contributes to the object graph.
          +
          +
          modules() - Method in annotation type dagger.android.ContributesAndroidInjector
          +
          +
          Modules to be installed in the generated Subcomponent.
          +
          +
          modules() - Method in annotation type dagger.Component
          +
          +
          A list of classes annotated with Module whose bindings are used to generate the + component implementation.
          +
          +
          modules() - Method in annotation type dagger.producers.ProductionComponent
          +
          +
          A list of classes annotated with Module or ProducerModule whose bindings are + used to generate the component implementation.
          +
          +
          modules() - Method in annotation type dagger.producers.ProductionSubcomponent
          +
          +
          A list of classes annotated with Module or ProducerModule whose bindings are + used to generate the subcomponent implementation.
          +
          +
          modules() - Method in annotation type dagger.Subcomponent
          +
          +
          A list of classes annotated with Module whose bindings are used to generate the + subcomponent implementation.
          +
          +
          multibindingContributionIdentifier() - Method in class dagger.model.Key
          +
          +
          Distinguishes keys for multibinding contributions that share a Key.type() and Key.qualifier().
          +
          +
          multibindingContributionIdentifier() - Method in class dagger.spi.model.Key
          +
          +
          Distinguishes keys for multibinding contributions that share a Key.type() and Key.qualifier().
          +
          +
          multibindingContributionIdentifier(Key.MultibindingContributionIdentifier) - Method in class dagger.model.Key.Builder
          +
           
          +
          multibindingContributionIdentifier(DaggerTypeElement, DaggerExecutableElement) - Method in class dagger.spi.model.Key.Builder
          +
           
          +
          multibindingContributionIdentifier(Optional<Key.MultibindingContributionIdentifier>) - Method in class dagger.model.Key.Builder
          +
           
          +
          MultibindingContributionIdentifier() - Constructor for class dagger.spi.model.Key.MultibindingContributionIdentifier
          +
           
          +
          MultibindingContributionIdentifier(String, String) - Constructor for class dagger.model.Key.MultibindingContributionIdentifier
          +
          +
          Deprecated.
          +
          +
          MultibindingContributionIdentifier(ExecutableElement, TypeElement) - Constructor for class dagger.model.Key.MultibindingContributionIdentifier
          +
          +
          Deprecated. +
          This is only meant to be called from code in dagger.internal.codegen. + It is not part of a specified API and may change at any point.
          +
          +
          +
          Multibinds - Annotation Type in dagger.multibindings
          +
          +
          Annotates abstract module methods that declare multibindings.
          +
          +
          MULTIBOUND_MAP - dagger.model.BindingKind
          +
          +
          A synthetic binding for a multibound map that depends on the individual multibinding BindingKind.PROVISION or BindingKind.PRODUCTION contributions.
          +
          +
          MULTIBOUND_MAP - dagger.spi.model.BindingKind
          +
          +
          A synthetic binding for a multibound map that depends on the individual multibinding BindingKind.PROVISION or BindingKind.PRODUCTION contributions.
          +
          +
          MULTIBOUND_SET - dagger.model.BindingKind
          +
          +
          A synthetic binding for a multibound set that depends on individual multibinding BindingKind.PROVISION or BindingKind.PRODUCTION contributions.
          +
          +
          MULTIBOUND_SET - dagger.spi.model.BindingKind
          +
          +
          A synthetic binding for a multibound set that depends on individual multibinding BindingKind.PROVISION or BindingKind.PRODUCTION contributions.
          +
          +
          + + + +

          N

          +
          +
          NettyServerModule - Class in dagger.grpc.server
          +
          +
          Installing this module into a @Singleton component means the component can + provide a Netty-based Server.
          +
          +
          network() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the graph in its Network representation.
          +
          +
          network() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the graph in its Network representation.
          +
          +
          nodesByClass() - Method in class dagger.model.BindingGraph
          +
           
          +
          nodesByClass() - Method in class dagger.spi.model.BindingGraph
          +
           
          +
          noOp() - Static method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Returns a monitor that does no monitoring.
          +
          +
          noOp() - Static method in class dagger.producers.monitoring.ProducerTimingRecorder
          +
          +
          Returns a producer recorder that does nothing.
          +
          +
          noOp() - Static method in class dagger.producers.monitoring.ProductionComponentMonitor.Factory
          +
          +
          Returns a factory that returns no-op monitors.
          +
          +
          noOp() - Static method in class dagger.producers.monitoring.ProductionComponentMonitor
          +
          +
          Returns a monitor that does no monitoring.
          +
          +
          noOpProductionComponentTimingRecorder() - Static method in class dagger.producers.monitoring.TimingRecorders
          +
          +
          Returns a component recorder that returns no-op producer recorders.
          +
          +
          noOpProductionComponentTimingRecorderFactory() - Static method in class dagger.producers.monitoring.TimingRecorders
          +
          +
          Returns a recorder factory that returns no-op component recorders.
          +
          +
          + + + +

          O

          +
          +
          of(String) - Static method in class dagger.android.internal.AndroidInjectionKeys
          +
          +
          Accepts the fully qualified name of a class that is injected with dagger.android.
          +
          +
          onAttach(Context) - Method in class dagger.android.DaggerDialogFragment
          +
          +
          Deprecated.
          +
          onAttach(Context) - Method in class dagger.android.DaggerFragment
          +
          +
          Deprecated.
          +
          onAttach(Context) - Method in class dagger.android.support.DaggerAppCompatDialogFragment
          +
           
          +
          onAttach(Context) - Method in class dagger.android.support.DaggerDialogFragment
          +
           
          +
          onAttach(Context) - Method in class dagger.android.support.DaggerFragment
          +
           
          +
          onCleared() - Method in interface dagger.hilt.android.lifecycle.RetainedLifecycle.OnClearedListener
          +
           
          +
          onComponentReady(T) - Method in interface dagger.hilt.android.testing.OnComponentReadyRunner.OnComponentReadyListener
          +
           
          +
          OnComponentReadyRunner - Class in dagger.hilt.android.testing
          +
          +
          Provides access to the Singleton component in tests, so that Rules can access it after custom + test modules have been added.
          +
          +
          OnComponentReadyRunner() - Constructor for class dagger.hilt.android.testing.OnComponentReadyRunner
          +
           
          +
          OnComponentReadyRunner.OnComponentReadyListener<T> - Interface in dagger.hilt.android.testing
          +
          +
          Rules should register an implementation of this to get access to the singleton component
          +
          +
          OnComponentReadyRunner.OnComponentReadyRunnerHolder - Interface in dagger.hilt.android.testing
          +
          +
          Public for use by generated code and TestApplicationComponentManager
          +
          +
          onCreate() - Method in class dagger.android.DaggerApplication
          +
           
          +
          onCreate() - Method in class dagger.android.DaggerContentProvider
          +
           
          +
          onCreate() - Method in class dagger.android.DaggerIntentService
          +
           
          +
          onCreate() - Method in class dagger.android.DaggerService
          +
           
          +
          onCreate(Bundle) - Method in class dagger.android.DaggerActivity
          +
           
          +
          onCreate(Bundle) - Method in class dagger.android.support.DaggerAppCompatActivity
          +
           
          +
          onPluginEnd() - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Perform any extra work after the plugin finished all its visiting.
          +
          +
          onPluginEnd() - Method in interface dagger.spi.model.BindingGraphPlugin
          +
          +
          Perform any extra work after the plugin finished all its visiting.
          +
          +
          onReceive(Context, Intent) - Method in class dagger.android.DaggerBroadcastReceiver
          +
           
          +
          OPTIONAL - dagger.model.BindingKind
          +
          +
          A synthetic binding for Optional of a type or a Provider, Lazy, or Provider of Lazy of a type.
          +
          +
          OPTIONAL - dagger.spi.model.BindingKind
          +
          +
          A synthetic binding for Optional of a type or a Provider, Lazy, or Provider of Lazy of a type.
          +
          +
          OptionalInject - Annotation Type in dagger.hilt.android.migration
          +
          +
          When placed on an AndroidEntryPoint-annotated activity / fragment / + view / etc, allows injection to occur optionally based on whether or not the application is using + Hilt.
          +
          +
          OptionalInjectCheck - Class in dagger.hilt.android.migration
          +
          +
          Utility methods for validating if an AndroidEntryPoint-annotated + class that is also annotated with OptionalInject was injected by Hilt.
          +
          +
          OriginatingElement - Annotation Type in dagger.hilt.codegen
          +
          +
          An annotation used to specify the originating element that triggered the code generation of a + type.
          +
          +
          + + + +

          P

          +
          +
          parent() - Method in annotation type dagger.hilt.DefineComponent
          +
          +
          Returns the parent of this component, if it exists.
          +
          +
          parent() - Method in class dagger.model.ComponentPath
          +
          +
          Returns this path's parent path.
          +
          +
          parent() - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns this path's parent path.
          +
          +
          parentComponent() - Method in class dagger.model.ComponentPath
          +
          +
          Returns the parent of the ComponentPath.currentComponent() current component}.
          +
          +
          parentComponent() - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns the parent of the ComponentPath.currentComponent() current component}.
          +
          +
          pluginName() - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          A distinguishing name of the plugin that will be used in diagnostics printed to the Messager.
          +
          +
          pluginName() - Method in interface dagger.spi.model.BindingGraphPlugin
          +
          +
          A distinguishing name of the plugin that will be used in diagnostics printed to the messager.
          +
          +
          process(SetMultimap<Class<? extends Annotation>, Element>) - Method in class dagger.grpc.server.processor.GrpcServiceProcessor
          +
           
          +
          Produced<T> - Class in dagger.producers
          +
          +
          An interface that represents the result of a production of type T, + or an exception that was thrown during that production.
          +
          +
          PRODUCED - dagger.model.RequestKind
          +
          +
          A request for a Produced.
          +
          +
          PRODUCED - dagger.spi.model.RequestKind
          +
          +
          A request for a Produced.
          +
          +
          Producer<T> - Interface in dagger.producers
          +
          +
          An interface that represents the production of a type T.
          +
          +
          PRODUCER - dagger.model.RequestKind
          +
          +
          A request for a Producer.
          +
          +
          PRODUCER - dagger.spi.model.RequestKind
          +
          +
          A request for a Producer.
          +
          +
          ProducerModule - Annotation Type in dagger.producers
          +
          +
          Annotates a class that contributes Produces bindings to the production component.
          +
          +
          ProducerMonitor - Class in dagger.producers.monitoring
          +
          +
          A hook for monitoring the execution of individual producer methods.
          +
          +
          ProducerMonitor() - Constructor for class dagger.producers.monitoring.ProducerMonitor
          +
           
          +
          producerMonitorFor(ProducerToken) - Method in class dagger.producers.monitoring.ProductionComponentMonitor
          +
          +
          Returns a monitor for an individual producer method.
          +
          +
          producerMonitorFor(ProducerToken) - Method in class dagger.producers.monitoring.TimingProductionComponentMonitor
          +
           
          +
          Producers - Class in dagger.producers
          +
          +
          Utility methods to create Producers.
          +
          +
          ProducerTimingRecorder - Class in dagger.producers.monitoring
          +
          +
          A hook for recording the timing of the execution of individual + producer methods.
          +
          +
          ProducerTimingRecorder() - Constructor for class dagger.producers.monitoring.ProducerTimingRecorder
          +
           
          +
          producerTimingRecorderFor(ProducerToken) - Method in interface dagger.producers.monitoring.ProductionComponentTimingRecorder
          +
          +
          Returns a timing recorder for an individual producer method.
          +
          +
          ProducerToken - Class in dagger.producers.monitoring
          +
          +
          A token that represents an individual producer method.
          +
          +
          Produces - Annotation Type in dagger.producers
          +
          +
          Annotates methods of a producer module to create a production binding.
          +
          +
          Production - Annotation Type in dagger.producers
          +
          +
          Qualifies a type that will be provided to the framework for use internally.
          +
          +
          PRODUCTION - dagger.model.BindingKind
          +
          +
          A binding for a Produces-annotated method.
          +
          +
          PRODUCTION - dagger.spi.model.BindingKind
          +
          +
          A binding for a Produces-annotated method.
          +
          +
          ProductionComponent - Annotation Type in dagger.producers
          +
          +
          Annotates an interface or abstract class for which a fully-formed, dependency-injected + implementation is to be generated from a set of modules.
          +
          +
          ProductionComponent.Builder - Annotation Type in dagger.producers
          +
          +
          A builder for a production component.
          +
          +
          ProductionComponent.Factory - Annotation Type in dagger.producers
          +
          +
          A factory for a production component.
          +
          +
          ProductionComponentMonitor - Class in dagger.producers.monitoring
          +
          +
          A hook for monitoring execution of production components.
          +
          +
          ProductionComponentMonitor() - Constructor for class dagger.producers.monitoring.ProductionComponentMonitor
          +
           
          +
          ProductionComponentMonitor.Factory - Class in dagger.producers.monitoring
          +
           
          +
          ProductionComponentTimingRecorder - Interface in dagger.producers.monitoring
          +
          +
          A hook for recording timing of the execution of + production components.
          +
          +
          ProductionComponentTimingRecorder.Factory - Interface in dagger.producers.monitoring
          +
           
          +
          ProductionScope - Annotation Type in dagger.producers
          +
          +
          A scope annotation for provision bindings that are tied to the lifetime of a + ProductionComponent or ProductionSubcomponent.
          +
          +
          ProductionSubcomponent - Annotation Type in dagger.producers
          +
          +
          A subcomponent that inherits the bindings from a parent Component, Subcomponent, + ProductionComponent, or ProductionSubcomponent.
          +
          +
          ProductionSubcomponent.Builder - Annotation Type in dagger.producers
          +
          +
          A builder for a production subcomponent.
          +
          +
          ProductionSubcomponent.Factory - Annotation Type in dagger.producers
          +
          +
          A factory for a production subcomponent.
          +
          +
          PROPAGATE - dagger.producers.CancellationPolicy.Propagation
          +
          +
          Cancel the annotated component when a child component is cancelled.
          +
          +
          PROVIDER - dagger.model.RequestKind
          +
          +
          A request for a Provider.
          +
          +
          PROVIDER - dagger.spi.model.RequestKind
          +
          +
          A request for a Provider.
          +
          +
          PROVIDER_OF_LAZY - dagger.model.RequestKind
          +
          +
          A request for a Provider of a Lazy.
          +
          +
          PROVIDER_OF_LAZY - dagger.spi.model.RequestKind
          +
          +
          A request for a Provider of a Lazy.
          +
          +
          Provides - Annotation Type in dagger
          +
          +
          Annotates methods of a module to create a provider method binding.
          +
          +
          PROVISION - dagger.model.BindingKind
          +
          +
          A binding for a Provides-annotated method.
          +
          +
          PROVISION - dagger.spi.model.BindingKind
          +
          +
          A binding for a Provides-annotated method.
          +
          +
          proxyMethod(MethodDescriptor<RequestT, ResponseT>, ProxyServerCallHandler.ServiceDefinitionFactory) - Static method in class dagger.grpc.server.ProxyServerCallHandler
          +
          +
          Returns a proxy method definition for methodDescriptor.
          +
          +
          ProxyServerCallHandler<RequestT,​ResponseT> - Class in dagger.grpc.server
          +
          +
          A ServerCallHandler that handles calls for a particular method by delegating to a handler + in a ServerServiceDefinition returned by a factory.
          +
          +
          ProxyServerCallHandler.ServiceDefinitionFactory - Interface in dagger.grpc.server
          +
          +
          A factory for the ServerServiceDefinition that a ProxyServerCallHandler + delegates to.
          +
          +
          + + + +

          Q

          +
          +
          qualifier() - Method in class dagger.model.Key
          +
          +
          A Qualifier annotation that provides a unique namespace prefix + for the type of this key.
          +
          +
          qualifier() - Method in class dagger.spi.model.Key
          +
          +
          A Qualifier annotation that provides a unique namespace prefix for the + type of this key.
          +
          +
          qualifier(DaggerAnnotation) - Method in class dagger.spi.model.Key.Builder
          +
           
          +
          qualifier(Optional<DaggerAnnotation>) - Method in class dagger.spi.model.Key.Builder
          +
           
          +
          qualifier(Optional<AnnotationMirror>) - Method in class dagger.model.Key.Builder
          +
           
          +
          qualifier(AnnotationMirror) - Method in class dagger.model.Key.Builder
          +
           
          +
          + + + +

          R

          +
          +
          ready() - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Called when all of the producer's inputs are available.
          +
          +
          recordFailure(Throwable, long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
          +
          +
          Reports that the producer's future has failed with the given statistics.
          +
          +
          recordMethod(long, long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
          +
          +
          Reports that the producer method has finished executing with the given statistics.
          +
          +
          recordSkip(Throwable) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
          +
          +
          Reports that the producer was skipped because one of its inputs failed.
          +
          +
          recordSuccess(long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
          +
          +
          Reports that the producer's future has succeeded with the given statistics.
          +
          +
          registerModule(Class<T>, T) - Method in class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
          +
          For framework use only! This method should be called when a required module is installed.
          +
          +
          removeOnClearedListener(RetainedLifecycle.OnClearedListener) - Method in class dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl
          +
           
          +
          removeOnClearedListener(RetainedLifecycle.OnClearedListener) - Method in interface dagger.hilt.android.lifecycle.RetainedLifecycle
          +
          + +
          +
          replaces() - Method in annotation type dagger.hilt.testing.TestInstallIn
          +
          +
          Returns the InstallIn module(s) that the annotated class will replace in tests.
          +
          +
          reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a binding or missing binding.
          +
          +
          reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a binding or missing binding.
          +
          +
          reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a binding or missing binding.
          +
          +
          reportBinding(Diagnostic.Kind, BindingGraph.MaybeBinding, String, Object, Object...) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a binding or missing binding.
          +
          +
          reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a component.
          +
          +
          reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a component.
          +
          +
          reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a component.
          +
          +
          reportComponent(Diagnostic.Kind, BindingGraph.ComponentNode, String, Object, Object...) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a component.
          +
          +
          reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a dependency.
          +
          +
          reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a dependency.
          +
          +
          reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a dependency.
          +
          +
          reportDependency(Diagnostic.Kind, BindingGraph.DependencyEdge, String, Object, Object...) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a dependency.
          +
          +
          reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a subcomponent factory method.
          +
          +
          reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String, Object, Object...) - Method in interface dagger.spi.DiagnosticReporter
          +
          +
          Reports a diagnostic for a subcomponent factory method.
          +
          +
          reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a subcomponent factory method.
          +
          +
          reportSubcomponentFactoryMethod(Diagnostic.Kind, BindingGraph.ChildFactoryMethodEdge, String, Object, Object...) - Method in class dagger.spi.model.DiagnosticReporter
          +
          +
          Reports a diagnostic for a subcomponent factory method.
          +
          +
          requested() - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Called when the producer's output is requested; that is, when the first method is called that + requires the production of this producer's output.
          +
          +
          requestedBindings(Binding) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the bindings that a given binding directly requests as a dependency.
          +
          +
          requestedBindings(Binding) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the bindings that a given binding directly requests as a dependency.
          +
          +
          requestedMaybeMissingBindings(Binding) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the bindings or missing bindings that a given binding directly requests as a + dependency.
          +
          +
          requestedMaybeMissingBindings(Binding) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the bindings or missing bindings that a given binding directly requests as a + dependency.
          +
          +
          requestElement() - Method in class dagger.model.DependencyRequest
          +
          +
          The element that declares this dependency request.
          +
          +
          requestElement() - Method in class dagger.spi.model.DependencyRequest
          +
          +
          The element that declares this dependency request.
          +
          +
          requestElement(DaggerElement) - Method in class dagger.spi.model.DependencyRequest.Builder
          +
           
          +
          requestElement(Element) - Method in class dagger.model.DependencyRequest.Builder
          +
           
          +
          requestingBindings(BindingGraph.MaybeBinding) - Method in class dagger.model.BindingGraph
          +
          +
          Returns the bindings that directly request a given binding as a dependency.
          +
          +
          requestingBindings(BindingGraph.MaybeBinding) - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the bindings that directly request a given binding as a dependency.
          +
          +
          RequestKind - Enum in dagger.model
          +
          +
          Represents the different kinds of types that may be + requested as dependencies for the same key.
          +
          +
          RequestKind - Enum in dagger.spi.model
          +
          +
          Represents the different kinds of types that may be + requested as dependencies for the same key.
          +
          +
          requiresModuleInstance() - Method in interface dagger.model.Binding
          +
          +
          Returns true if using this binding requires an instance of the contributingModule().
          +
          +
          requiresModuleInstance() - Method in interface dagger.spi.model.Binding
          +
          +
          Returns true if using this binding requires an instance of the Binding.contributingModule().
          +
          +
          resolver() - Method in class dagger.spi.model.DaggerProcessingEnv
          +
          +
          Returns the KSP representation for the resolver.
          +
          +
          RetainedLifecycle - Interface in dagger.hilt.android.lifecycle
          +
          +
          A class for registered listeners on a retained lifecycle (generally backed up by a ViewModel).
          +
          +
          RetainedLifecycle.OnClearedListener - Interface in dagger.hilt.android.lifecycle
          +
          +
          Listener for when the retained lifecycle is cleared.
          +
          +
          RetainedLifecycleImpl - Class in dagger.hilt.android.internal.lifecycle
          +
          +
          Internal implementation.
          +
          +
          RetainedLifecycleImpl() - Constructor for class dagger.hilt.android.internal.lifecycle.RetainedLifecycleImpl
          +
           
          +
          Reusable - Annotation Type in dagger
          +
          +
          A scope that indicates that the object returned by a binding may be (but might not be) reused.
          +
          +
          rootComponent() - Method in class dagger.model.ComponentPath
          +
          +
          Returns the root Component- or ProductionComponent-annotated type
          +
          +
          rootComponent() - Method in class dagger.spi.model.ComponentPath
          +
          +
          Returns the root Component- or ProductionComponent-annotated type
          +
          +
          rootComponentNode() - Method in class dagger.model.BindingGraph
          +
          +
          Returns the component node for the root component.
          +
          +
          rootComponentNode() - Method in class dagger.spi.model.BindingGraph
          +
          +
          Returns the component node for the root component.
          +
          +
          + + + +

          S

          +
          +
          savedStateHandle(SavedStateHandle) - Method in interface dagger.hilt.android.internal.builders.ViewModelComponentBuilder
          +
           
          +
          savedStateHandleHolder(SavedStateHandleHolder) - Method in interface dagger.hilt.android.internal.builders.ActivityRetainedComponentBuilder
          +
           
          +
          SavedStateHandleHolder - Class in dagger.hilt.android.internal.managers
          +
          +
          Implementation for SavedStateHandleHolder.
          +
          +
          scope() - Method in interface dagger.model.Binding
          +
          +
          The scope of this binding if it has one.
          +
          +
          scope() - Method in interface dagger.spi.model.Binding
          +
          +
          The scope of this binding if it has one.
          +
          +
          scope(DaggerAnnotation) - Static method in class dagger.spi.model.Scope
          +
          +
          Creates a Scope object from the Scope-annotated annotation type.
          +
          +
          scope(AnnotationMirror) - Static method in class dagger.model.Scope
          +
          +
          Creates a Scope object from the Scope-annotated annotation type.
          +
          +
          Scope - Class in dagger.model
          +
          +
          A representation of a Scope.
          +
          +
          Scope - Class in dagger.spi.model
          +
          +
          A representation of a Scope.
          +
          +
          Scope() - Constructor for class dagger.model.Scope
          +
           
          +
          Scope() - Constructor for class dagger.spi.model.Scope
          +
           
          +
          scopeAnnotation() - Method in class dagger.model.Scope
          +
          +
          The AnnotationMirror that represents the scope annotation.
          +
          +
          scopeAnnotation() - Method in class dagger.spi.model.Scope
          +
          +
          The DaggerAnnotation that represents the scope annotation.
          +
          +
          scopeAnnotationElement() - Method in class dagger.model.Scope
          +
          +
          The scope annotation element.
          +
          +
          scopes() - Method in interface dagger.model.BindingGraph.ComponentNode
          +
          +
          The scopes declared on this component.
          +
          +
          scopes() - Method in interface dagger.spi.model.BindingGraph.ComponentNode
          +
          +
          The scopes declared on this component.
          +
          +
          seedInstance(T) - Method in class dagger.android.AndroidInjector.Builder
          +
          +
          Deprecated.
          +
          Provides instance to be used in the binding graph of the built AndroidInjector.
          +
          +
          ServerModule - Class in dagger.grpc.server
          +
          +
          Provides a @Singleton Server.
          +
          +
          ServerModule() - Constructor for class dagger.grpc.server.ServerModule
          +
           
          +
          serverNamed(String) - Static method in class dagger.grpc.server.InProcessServerModule
          +
          +
          Creates a module that provides a server that binds to a given name
          +
          +
          service(Service) - Method in interface dagger.hilt.android.internal.builders.ServiceComponentBuilder
          +
           
          +
          ServiceComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of the service.
          +
          +
          serviceComponentBuilder() - Method in interface dagger.hilt.android.internal.managers.ServiceComponentManager.ServiceComponentBuilderEntryPoint
          +
           
          +
          ServiceComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating a ServiceComponent.
          +
          +
          ServiceComponentManager - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          ServiceComponentManager(Service) - Constructor for class dagger.hilt.android.internal.managers.ServiceComponentManager
          +
           
          +
          ServiceComponentManager.ServiceComponentBuilderEntryPoint - Interface in dagger.hilt.android.internal.managers
          +
          +
          Entrypoint for ServiceComponentBuilder.
          +
          +
          ServiceScoped - Annotation Type in dagger.hilt.android.scopes
          +
          +
          Scope annotation for bindings that should exist for the life of a service.
          +
          +
          setComponentManager(GeneratedComponentManager<?>) - Method in class dagger.hilt.android.testing.OnComponentReadyRunner
          +
          +
          Used by generated code, to notify listeners that the component has been created.
          +
          +
          setExtras(CreationExtras) - Method in class dagger.hilt.android.internal.managers.SavedStateHandleHolder
          +
           
          +
          SingletonComponent - Interface in dagger.hilt.components
          +
          +
          A Hilt component for singleton bindings.
          +
          +
          startCall(ServerCall<InputStream, InputStream>, Metadata) - Method in class dagger.grpc.server.ProxyServerCallHandler
          +
           
          +
          StringKey - Annotation Type in dagger.multibindings
          +
          +
          A MapKey annotation for maps with String keys.
          +
          +
          Subcomponent - Annotation Type in dagger
          +
          +
          A subcomponent that inherits the bindings from a parent Component or + Subcomponent.
          +
          +
          SUBCOMPONENT_CREATOR - dagger.model.BindingKind
          +
          +
          A binding for a subcomponent creator (a builder or + factory).
          +
          +
          SUBCOMPONENT_CREATOR - dagger.spi.model.BindingKind
          +
          +
          A binding for a subcomponent creator (a builder or + factory).
          +
          +
          Subcomponent.Builder - Annotation Type in dagger
          +
          +
          A builder for a subcomponent.
          +
          +
          Subcomponent.Factory - Annotation Type in dagger
          +
          +
          A factory for a subcomponent.
          +
          +
          subcomponents() - Method in annotation type dagger.Module
          +
          +
          Any Subcomponent- or @ProductionSubcomponent-annotated classes which should be + children of the component in which this module is installed.
          +
          +
          subcomponents() - Method in annotation type dagger.producers.ProducerModule
          +
          +
          Any Subcomponent- or ProductionSubcomponent-annotated classes which + should be children of the component in which this module is installed.
          +
          +
          succeeded(Object) - Method in class dagger.producers.monitoring.ProducerMonitor
          +
          +
          Called when the producer’s future has completed successfully with a value.
          +
          +
          successful(T) - Static method in class dagger.producers.Produced
          +
          +
          Returns a successful Produced, whose Produced.get() will return the given value.
          +
          +
          supportedOptions() - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Returns the annotation-processing options that this plugin uses to configure behavior.
          +
          +
          supportedOptions() - Method in interface dagger.spi.model.BindingGraphPlugin
          +
          +
          Returns the annotation-processing options that this plugin uses to configure behavior.
          +
          +
          + + + +

          T

          +
          +
          TestApplicationComponentManager - Class in dagger.hilt.android.internal.testing
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          TestApplicationComponentManager(Application) - Constructor for class dagger.hilt.android.internal.testing.TestApplicationComponentManager
          +
           
          +
          TestApplicationComponentManagerHolder - Interface in dagger.hilt.android.internal.testing
          +
          +
          For use by Hilt internally only! Returns the component manager.
          +
          +
          testClass() - Method in annotation type dagger.hilt.android.internal.testing.InternalTestRoot
          +
          +
          Returns the test class.
          +
          +
          TestComponentData - Class in dagger.hilt.android.internal.testing
          +
          +
          Contains the data needed to create a test's component.
          +
          +
          TestComponentData(boolean, TestInjector<Object>, Set<Class<?>>, Set<Class<?>>, TestComponentData.ComponentSupplier) - Constructor for class dagger.hilt.android.internal.testing.TestComponentData
          +
           
          +
          TestComponentData.ComponentSupplier - Interface in dagger.hilt.android.internal.testing
          +
          +
          Returns the component using the given registered modules.
          +
          +
          TestComponentDataSupplier - Class in dagger.hilt.android.internal.testing
          +
          +
          Stores the TestComponentData for a Hilt test class.
          +
          +
          TestComponentDataSupplier() - Constructor for class dagger.hilt.android.internal.testing.TestComponentDataSupplier
          +
           
          +
          testInjector() - Method in class dagger.hilt.android.internal.testing.TestComponentData
          +
          +
          Returns the TestInjector.
          +
          +
          TestInjector<T> - Interface in dagger.hilt.android.internal.testing
          +
          +
          Interface to expose a method for members injection for use in tests.
          +
          +
          TestInstallIn - Annotation Type in dagger.hilt.testing
          +
          +
          An annotation that replaces one or more InstallIn modules with the annotated + module in tests.
          +
          +
          TimingProductionComponentMonitor - Class in dagger.producers.monitoring
          +
          +
          A monitor that measures the timing of the execution of a production component, and logs those + timings with the given recorder.
          +
          +
          TimingProductionComponentMonitor.Factory - Class in dagger.producers.monitoring
          +
           
          +
          TimingRecorders - Class in dagger.producers.monitoring
          +
          +
          Utility methods relating to timing.
          +
          +
          toBuilder() - Method in class dagger.model.Key
          +
          +
          Returns a Key.Builder that inherits the properties of this key.
          +
          +
          topLevelClass() - Method in annotation type dagger.hilt.codegen.OriginatingElement
          +
          +
          Returns the top-level class enclosing the originating element.
          +
          +
          toString() - Method in class dagger.model.BindingGraph.MissingBinding
          +
           
          +
          toString() - Method in class dagger.model.BindingGraph
          +
           
          +
          toString() - Method in class dagger.model.ComponentPath
          +
           
          +
          toString() - Method in class dagger.model.Key.MultibindingContributionIdentifier
          +
          toString() - Method in class dagger.model.Key
          +
           
          +
          toString() - Method in class dagger.model.Scope
          +
          +
          Returns a debug representation of the scope.
          +
          +
          toString() - Method in class dagger.producers.monitoring.ProducerToken
          +
          +
          Returns a representation of the method.
          +
          +
          toString() - Method in class dagger.spi.model.BindingGraph.MissingBinding
          +
           
          +
          toString() - Method in class dagger.spi.model.BindingGraph
          +
           
          +
          toString() - Method in class dagger.spi.model.ComponentPath
          +
           
          +
          toString() - Method in class dagger.spi.model.Key.MultibindingContributionIdentifier
          +
          toString() - Method in class dagger.spi.model.Key
          +
           
          +
          toString() - Method in class dagger.spi.model.Scope
          +
          +
          Returns a debug representation of the scope.
          +
          +
          type() - Method in class dagger.model.Key
          +
          +
          The type represented by this key.
          +
          +
          type() - Method in class dagger.spi.model.Key
          +
          +
          The type represented by this key.
          +
          +
          type(DaggerType) - Method in class dagger.spi.model.Key.Builder
          +
           
          +
          type(TypeMirror) - Method in class dagger.model.Key.Builder
          +
           
          +
          + + + +

          U

          +
          +
          UninstallModules - Annotation Type in dagger.hilt.android.testing
          +
          +
          An annotation used to uninstall modules that have previously been installed with InstallIn.
          +
          +
          UnstableApi - Annotation Type in dagger.hilt.android
          +
          +
          Mark unstable Api usage.
          +
          +
          unwrapValue() - Method in annotation type dagger.MapKey
          +
          +
          True to use the value of the single member of the annotated annotation as the map key; false + to use the annotation instance as the map key.
          +
          +
          + + + +

          V

          +
          +
          validate(Fragment) - Method in class dagger.hilt.android.internal.managers.FragmentComponentManager
          +
          +
          Called immediately before component creation to allow validation on the Fragment.
          +
          +
          value() - Method in annotation type dagger.android.AndroidInjectionKey
          +
          +
          The fully qualified class name of the type to be injected.
          +
          +
          value() - Method in annotation type dagger.assisted.Assisted
          +
          +
          Returns an identifier for an Assisted parameter.
          +
          +
          value() - Method in annotation type dagger.grpc.server.ForGrpcService
          +
          +
          The gRPC service class.
          +
          +
          value() - Method in annotation type dagger.hilt.android.AndroidEntryPoint
          +
          +
          The base class for the generated Hilt class.
          +
          +
          value() - Method in annotation type dagger.hilt.android.HiltAndroidApp
          +
          +
          The base class for the generated Hilt application.
          +
          +
          value() - Method in annotation type dagger.hilt.android.testing.CustomTestApplication
          +
          +
          Returns the base Application class.
          +
          +
          value() - Method in annotation type dagger.hilt.android.testing.UninstallModules
          +
          +
          Returns the list of classes to uninstall.
          +
          +
          value() - Method in annotation type dagger.hilt.InstallIn
          +
           
          +
          value() - Method in annotation type dagger.hilt.internal.generatesrootinput.GeneratesRootInputPropagatedData
          +
           
          +
          value() - Method in annotation type dagger.hilt.migration.AliasOf
          +
          +
          Returns the existing Hilt scope(s) that the annotated scope is aliasing.
          +
          +
          value() - Method in annotation type dagger.multibindings.ClassKey
          +
           
          +
          value() - Method in annotation type dagger.multibindings.IntKey
          +
           
          +
          value() - Method in annotation type dagger.multibindings.LongKey
          +
           
          +
          value() - Method in annotation type dagger.multibindings.StringKey
          +
           
          +
          valueOf(String) - Static method in enum dagger.model.BindingKind
          +
          +
          Returns the enum constant of this type with the specified name.
          +
          +
          valueOf(String) - Static method in enum dagger.model.RequestKind
          +
          +
          Returns the enum constant of this type with the specified name.
          +
          +
          valueOf(String) - Static method in enum dagger.producers.CancellationPolicy.Propagation
          +
          +
          Returns the enum constant of this type with the specified name.
          +
          +
          valueOf(String) - Static method in enum dagger.spi.model.BindingKind
          +
          +
          Returns the enum constant of this type with the specified name.
          +
          +
          valueOf(String) - Static method in enum dagger.spi.model.DaggerProcessingEnv.Backend
          +
          +
          Returns the enum constant of this type with the specified name.
          +
          +
          valueOf(String) - Static method in enum dagger.spi.model.RequestKind
          +
          +
          Returns the enum constant of this type with the specified name.
          +
          +
          values() - Static method in enum dagger.model.BindingKind
          +
          +
          Returns an array containing the constants of this enum type, in +the order they are declared.
          +
          +
          values() - Static method in enum dagger.model.RequestKind
          +
          +
          Returns an array containing the constants of this enum type, in +the order they are declared.
          +
          +
          values() - Static method in enum dagger.producers.CancellationPolicy.Propagation
          +
          +
          Returns an array containing the constants of this enum type, in +the order they are declared.
          +
          +
          values() - Static method in enum dagger.spi.model.BindingKind
          +
          +
          Returns an array containing the constants of this enum type, in +the order they are declared.
          +
          +
          values() - Static method in enum dagger.spi.model.DaggerProcessingEnv.Backend
          +
          +
          Returns an array containing the constants of this enum type, in +the order they are declared.
          +
          +
          values() - Static method in enum dagger.spi.model.RequestKind
          +
          +
          Returns an array containing the constants of this enum type, in +the order they are declared.
          +
          +
          view(View) - Method in interface dagger.hilt.android.internal.builders.ViewComponentBuilder
          +
           
          +
          view(View) - Method in interface dagger.hilt.android.internal.builders.ViewWithFragmentComponentBuilder
          +
           
          +
          ViewComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of the view.
          +
          +
          viewComponentBuilder() - Method in interface dagger.hilt.android.internal.managers.ViewComponentManager.ViewComponentBuilderEntryPoint
          +
           
          +
          ViewComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating a ViewComponent.
          +
          +
          ViewComponentManager - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          ViewComponentManager(View, boolean) - Constructor for class dagger.hilt.android.internal.managers.ViewComponentManager
          +
           
          +
          ViewComponentManager.FragmentContextWrapper - Class in dagger.hilt.android.internal.managers
          +
          +
          Do not use except in Hilt generated code!
          +
          +
          ViewComponentManager.ViewComponentBuilderEntryPoint - Interface in dagger.hilt.android.internal.managers
          +
          +
          Entrypoint for ViewComponentBuilder.
          +
          +
          ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint - Interface in dagger.hilt.android.internal.managers
          +
          + +
          +
          ViewModelComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of a single ViewModel.
          +
          +
          ViewModelComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating a ViewModelComponent.
          +
          +
          viewModelLifecycle(ViewModelLifecycle) - Method in interface dagger.hilt.android.internal.builders.ViewModelComponentBuilder
          +
           
          +
          ViewModelLifecycle - Interface in dagger.hilt.android
          +
          +
          A class for registering listeners on the ViewModel lifecycle.
          +
          +
          ViewModelScoped - Annotation Type in dagger.hilt.android.scopes
          +
          +
          Scope annotation for bindings that should exist for the life of a a single ViewModel.
          +
          +
          ViewScoped - Annotation Type in dagger.hilt.android.scopes
          +
          +
          Scope annotation for bindings that should exist for the life of a View.
          +
          +
          ViewWithFragmentComponent - Interface in dagger.hilt.android.components
          +
          +
          A Hilt component that has the lifetime of the view.
          +
          +
          viewWithFragmentComponentBuilder() - Method in interface dagger.hilt.android.internal.managers.ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint
          +
           
          +
          ViewWithFragmentComponentBuilder - Interface in dagger.hilt.android.internal.builders
          +
          +
          Interface for creating a ViewWithFragmentComponent.
          +
          +
          visitGraph(BindingGraph, DiagnosticReporter) - Method in interface dagger.spi.BindingGraphPlugin
          +
          +
          Called once for each valid root binding graph encountered by the Dagger processor.
          +
          +
          visitGraph(BindingGraph, DiagnosticReporter) - Method in interface dagger.spi.model.BindingGraphPlugin
          +
          +
          Called once for each valid root binding graph encountered by the Dagger processor.
          +
          +
          + + + +

          W

          +
          +
          waitForBindValue() - Method in class dagger.hilt.android.internal.testing.TestComponentData
          +
          +
          Returns true if creation of the component needs to wait for bind() to be called.
          +
          +
          wasInjectedByHilt() - Method in interface dagger.hilt.android.internal.migration.InjectedByHilt
          +
          +
          Returns true if this class was injected by Hilt.
          +
          +
          wasInjectedByHilt(Service) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
          +
          +
          Returns true if the Service was injected by Hilt.
          +
          +
          wasInjectedByHilt(BroadcastReceiver) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
          +
          +
          Returns true if the BroadcastReceiver was injected by Hilt.
          +
          +
          wasInjectedByHilt(View) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
          +
          +
          Returns true if the View was injected by Hilt.
          +
          +
          wasInjectedByHilt(ComponentActivity) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
          +
          +
          Returns true if the Activity was injected by Hilt.
          +
          +
          wasInjectedByHilt(Fragment) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
          +
          +
          Returns true if the Fragment was injected by Hilt.
          +
          +
          WithFragmentBindings - Annotation Type in dagger.hilt.android
          +
          +
          Makes a View annotated with AndroidEntryPoint have access to fragment bindings.
          +
          +
          withMultibindingContributionIdentifier(DaggerTypeElement, DaggerExecutableElement) - Method in class dagger.spi.model.Key
          +
          +
          Returns a copy of this key with the multibinding contribution identifier replaced with the + given multibinding contribution identifier.
          +
          +
          withoutMultibindingContributionIdentifier() - Method in class dagger.spi.model.Key
          +
          +
          Returns a copy of this key with the multibinding contribution identifier, if any, removed.
          +
          +
          withType(DaggerType) - Method in class dagger.spi.model.Key
          +
          +
          Returns a copy of this key with the type replaced with the given type.
          +
          +
          +A B C D E F G H I J K L M N O P Q R S T U V W 
          All Classes All Packages
          +
          +
          + +
          + + diff --git a/api/2.49/index.html b/api/2.49/index.html new file mode 100644 index 00000000000..c64c17fe6cb --- /dev/null +++ b/api/2.49/index.html @@ -0,0 +1,347 @@ + + + + + +Overview + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Dagger Dependency Injection API

          +
          +
          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          Packages 
          PackageDescription
          dagger +
          This package contains the public API for the Dagger 2 dependency + injection framework.
          +
          dagger.android +
          APIs to assist with performing injection on Android.
          +
          dagger.android.internal 
          dagger.android.support 
          dagger.assisted +
          This package contains the API for Dagger's assisted injection.
          +
          dagger.grpc.server 
          dagger.grpc.server.processor 
          dagger.hilt +
          This package contains the core APIs for Hilt.
          +
          dagger.hilt.android +
          This package contains Hilt APIs for Android applications.
          +
          dagger.hilt.android.components +
          This package contains Hilt's built-in Components for Android.
          +
          dagger.hilt.android.flags +
          Runtime flags to control Hilt behavior for rollout of changes.
          +
          dagger.hilt.android.internal.builders 
          dagger.hilt.android.internal.lifecycle 
          dagger.hilt.android.internal.managers 
          dagger.hilt.android.internal.migration 
          dagger.hilt.android.internal.modules 
          dagger.hilt.android.internal.testing 
          dagger.hilt.android.lifecycle +
          This package contains Hilt APIs for Android applications.
          +
          dagger.hilt.android.migration +
          This package contains Android APIs to help migrating a codebase to Hilt.
          +
          dagger.hilt.android.qualifiers +
          This package contains Hilt's built-in Android Qualifier annotations.
          +
          dagger.hilt.android.scopes +
          This package contains Hilt's built-in Android Scope annotations.
          +
          dagger.hilt.android.testing +
          This package contains APIs for writing Android local or instrumentation tests with Hilt.
          +
          dagger.hilt.codegen +
          This package contains APIs for code generators that produce code that will be processed by Hilt.
          +
          dagger.hilt.components +
          This package contains Hilt's built-in Components.
          +
          dagger.hilt.internal.aliasof 
          dagger.hilt.internal.definecomponent 
          dagger.hilt.internal.generatesrootinput 
          dagger.hilt.migration +
          This package contains APIs to help migrating a codebase to Hilt.
          +
          dagger.hilt.testing +
          This package contains APIs for writing tests with Hilt.
          +
          dagger.model +
          This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
          +
          dagger.multibindings +
          This package contains the API by which Dagger allows you to bind several objects into a + collection that can be injected without depending directly on each of the individual bindings.
          +
          dagger.producers +
          This package contains the public API for Dagger 2's producer functionality.
          +
          dagger.producers.monitoring +
          This package provides hooks for monitoring producers.
          +
          dagger.spi +
          This package contains the Service Provider interface (SPI) to the dagger.model APIs at + annotation-processing-time.
          +
          dagger.spi.model +
          This package contains the APIs that are core to Dagger's internal model of bindings and the + binding graph.
          +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/jquery-ui.overrides.css b/api/2.49/jquery-ui.overrides.css new file mode 100644 index 00000000000..facf852c27f --- /dev/null +++ b/api/2.49/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/api/2.49/jquery/external/jquery/jquery.js b/api/2.49/jquery/external/jquery/jquery.js new file mode 100644 index 00000000000..50937333b99 --- /dev/null +++ b/api/2.49/jquery/external/jquery/jquery.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
          " ], + col: [ 2, "", "
          " ], + tr: [ 2, "", "
          " ], + td: [ 3, "", "
          " ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "\r\n"; + +// inject VBScript +document.write(IEBinaryToArray_ByteStr_Script); + +global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for ( var i = 0; i < 256; i++ ) { + for ( var j = 0; j < 256; j++ ) { + byteMapping[ String.fromCharCode( i + (j << 8) ) ] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return rawBytes.replace(/[\s\S]/g, function( match ) { + return byteMapping[match]; + }) + lastChr; +}; + +// enforcing Stuk's coding style +// vim: set shiftwidth=4 softtabstop=4: + +},{}]},{},[1]) +; diff --git a/api/2.49/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/api/2.49/jquery/jszip-utils/dist/jszip-utils-ie.min.js new file mode 100644 index 00000000000..93d8bc8ef28 --- /dev/null +++ b/api/2.49/jquery/jszip-utils/dist/jszip-utils-ie.min.js @@ -0,0 +1,10 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/api/2.49/jquery/jszip-utils/dist/jszip-utils.js b/api/2.49/jquery/jszip-utils/dist/jszip-utils.js new file mode 100644 index 00000000000..775895ec92d --- /dev/null +++ b/api/2.49/jquery/jszip-utils/dist/jszip-utils.js @@ -0,0 +1,118 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; + enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); + enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; + enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; + + output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); + + } + + return output.join(""); +}; + +// public method for decoding +exports.decode = function(input) { + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0, resultIndex = 0; + + var dataUrlPrefix = "data:"; + + if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { + // This is a common error: people give a data url + // (data:image/png;base64,iVBOR...) with a {base64: true} and + // wonders why things don't work. + // We can detect that the string input looks like a data url but we + // *can't* be sure it is one: removing everything up to the comma would + // be too dangerous. + throw new Error("Invalid base64 input, it looks like a data url."); + } + + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + + var totalLength = input.length * 3 / 4; + if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { + totalLength--; + } + if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { + totalLength--; + } + if (totalLength % 1 !== 0) { + // totalLength is not an integer, the length does not match a valid + // base64 content. That can happen if: + // - the input is not a base64 content + // - the input is *almost* a base64 content, with a extra chars at the + // beginning or at the end + // - the input uses a base64 variant (base64url for example) + throw new Error("Invalid base64 input, bad content length."); + } + var output; + if (support.uint8array) { + output = new Uint8Array(totalLength|0); + } else { + output = new Array(totalLength|0); + } + + while (i < input.length) { + + enc1 = _keyStr.indexOf(input.charAt(i++)); + enc2 = _keyStr.indexOf(input.charAt(i++)); + enc3 = _keyStr.indexOf(input.charAt(i++)); + enc4 = _keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output[resultIndex++] = chr1; + + if (enc3 !== 64) { + output[resultIndex++] = chr2; + } + if (enc4 !== 64) { + output[resultIndex++] = chr3; + } + + } + + return output; +}; + +},{"./support":30,"./utils":32}],2:[function(require,module,exports){ +'use strict'; + +var external = require("./external"); +var DataWorker = require('./stream/DataWorker'); +var Crc32Probe = require('./stream/Crc32Probe'); +var DataLengthProbe = require('./stream/DataLengthProbe'); + +/** + * Represent a compressed object, with everything needed to decompress it. + * @constructor + * @param {number} compressedSize the size of the data compressed. + * @param {number} uncompressedSize the size of the data after decompression. + * @param {number} crc32 the crc32 of the decompressed file. + * @param {object} compression the type of compression, see lib/compressions.js. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. + */ +function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { + this.compressedSize = compressedSize; + this.uncompressedSize = uncompressedSize; + this.crc32 = crc32; + this.compression = compression; + this.compressedContent = data; +} + +CompressedObject.prototype = { + /** + * Create a worker to get the uncompressed content. + * @return {GenericWorker} the worker. + */ + getContentWorker: function () { + var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) + .pipe(this.compression.uncompressWorker()) + .pipe(new DataLengthProbe("data_length")); + + var that = this; + worker.on("end", function () { + if (this.streamInfo['data_length'] !== that.uncompressedSize) { + throw new Error("Bug : uncompressed data size mismatch"); + } + }); + return worker; + }, + /** + * Create a worker to get the compressed content. + * @return {GenericWorker} the worker. + */ + getCompressedWorker: function () { + return new DataWorker(external.Promise.resolve(this.compressedContent)) + .withStreamInfo("compressedSize", this.compressedSize) + .withStreamInfo("uncompressedSize", this.uncompressedSize) + .withStreamInfo("crc32", this.crc32) + .withStreamInfo("compression", this.compression) + ; + } +}; + +/** + * Chain the given worker with other workers to compress the content with the + * given compression. + * @param {GenericWorker} uncompressedWorker the worker to pipe. + * @param {Object} compression the compression object. + * @param {Object} compressionOptions the options to use when compressing. + * @return {GenericWorker} the new worker compressing the content. + */ +CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { + return uncompressedWorker + .pipe(new Crc32Probe()) + .pipe(new DataLengthProbe("uncompressedSize")) + .pipe(compression.compressWorker(compressionOptions)) + .pipe(new DataLengthProbe("compressedSize")) + .withStreamInfo("compression", compression); +}; + +module.exports = CompressedObject; + +},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require("./stream/GenericWorker"); + +exports.STORE = { + magic: "\x00\x00", + compressWorker : function (compressionOptions) { + return new GenericWorker("STORE compression"); + }, + uncompressWorker : function () { + return new GenericWorker("STORE decompression"); + } +}; +exports.DEFLATE = require('./flate'); + +},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); + +/** + * The following functions come from pako, from pako/lib/zlib/crc32.js + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Use ordinary array, since untyped makes no boost here +function makeTable() { + var c, table = []; + + for(var n =0; n < 256; n++){ + c = n; + for(var k =0; k < 8; k++){ + c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); + } + table[n] = c; + } + + return table; +} + +// Create table on load. Just 255 signed longs. Not a problem. +var crcTable = makeTable(); + + +function crc32(crc, buf, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +// That's all for the pako functions. + +/** + * Compute the crc32 of a string. + * This is almost the same as the function crc32, but for strings. Using the + * same function for the two use cases leads to horrible performances. + * @param {Number} crc the starting value of the crc. + * @param {String} str the string to use. + * @param {Number} len the length of the string. + * @param {Number} pos the starting position for the crc32 computation. + * @return {Number} the computed crc32. + */ +function crc32str(crc, str, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +module.exports = function crc32wrapper(input, crc) { + if (typeof input === "undefined" || !input.length) { + return 0; + } + + var isArray = utils.getTypeOf(input) !== "string"; + + if(isArray) { + return crc32(crc|0, input, input.length, 0); + } else { + return crc32str(crc|0, input, input.length, 0); + } +}; + +},{"./utils":32}],5:[function(require,module,exports){ +'use strict'; +exports.base64 = false; +exports.binary = false; +exports.dir = false; +exports.createFolders = true; +exports.date = null; +exports.compression = null; +exports.compressionOptions = null; +exports.comment = null; +exports.unixPermissions = null; +exports.dosPermissions = null; + +},{}],6:[function(require,module,exports){ +/* global Promise */ +'use strict'; + +// load the global object first: +// - it should be better integrated in the system (unhandledRejection in node) +// - the environment may have a custom Promise implementation (see zone.js) +var ES6Promise = null; +if (typeof Promise !== "undefined") { + ES6Promise = Promise; +} else { + ES6Promise = require("lie"); +} + +/** + * Let the user use/change some implementations. + */ +module.exports = { + Promise: ES6Promise +}; + +},{"lie":37}],7:[function(require,module,exports){ +'use strict'; +var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); + +var pako = require("pako"); +var utils = require("./utils"); +var GenericWorker = require("./stream/GenericWorker"); + +var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; + +exports.magic = "\x08\x00"; + +/** + * Create a worker that uses pako to inflate/deflate. + * @constructor + * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". + * @param {Object} options the options to use when (de)compressing. + */ +function FlateWorker(action, options) { + GenericWorker.call(this, "FlateWorker/" + action); + + this._pako = null; + this._pakoAction = action; + this._pakoOptions = options; + // the `meta` object from the last chunk received + // this allow this worker to pass around metadata + this.meta = {}; +} + +utils.inherits(FlateWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +FlateWorker.prototype.processChunk = function (chunk) { + this.meta = chunk.meta; + if (this._pako === null) { + this._createPako(); + } + this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); +}; + +/** + * @see GenericWorker.flush + */ +FlateWorker.prototype.flush = function () { + GenericWorker.prototype.flush.call(this); + if (this._pako === null) { + this._createPako(); + } + this._pako.push([], true); +}; +/** + * @see GenericWorker.cleanUp + */ +FlateWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this._pako = null; +}; + +/** + * Create the _pako object. + * TODO: lazy-loading this object isn't the best solution but it's the + * quickest. The best solution is to lazy-load the worker list. See also the + * issue #446. + */ +FlateWorker.prototype._createPako = function () { + this._pako = new pako[this._pakoAction]({ + raw: true, + level: this._pakoOptions.level || -1 // default compression + }); + var self = this; + this._pako.onData = function(data) { + self.push({ + data : data, + meta : self.meta + }); + }; +}; + +exports.compressWorker = function (compressionOptions) { + return new FlateWorker("Deflate", compressionOptions); +}; +exports.uncompressWorker = function () { + return new FlateWorker("Inflate", {}); +}; + +},{"./stream/GenericWorker":28,"./utils":32,"pako":38}],8:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); +var utf8 = require('../utf8'); +var crc32 = require('../crc32'); +var signature = require('../signature'); + +/** + * Transform an integer into a string in hexadecimal. + * @private + * @param {number} dec the number to convert. + * @param {number} bytes the number of bytes to generate. + * @returns {string} the result. + */ +var decToHex = function(dec, bytes) { + var hex = "", i; + for (i = 0; i < bytes; i++) { + hex += String.fromCharCode(dec & 0xff); + dec = dec >>> 8; + } + return hex; +}; + +/** + * Generate the UNIX part of the external file attributes. + * @param {Object} unixPermissions the unix permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : + * + * TTTTsstrwxrwxrwx0000000000ADVSHR + * ^^^^____________________________ file type, see zipinfo.c (UNX_*) + * ^^^_________________________ setuid, setgid, sticky + * ^^^^^^^^^________________ permissions + * ^^^^^^^^^^______ not used ? + * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only + */ +var generateUnixExternalFileAttr = function (unixPermissions, isDir) { + + var result = unixPermissions; + if (!unixPermissions) { + // I can't use octal values in strict mode, hence the hexa. + // 040775 => 0x41fd + // 0100664 => 0x81b4 + result = isDir ? 0x41fd : 0x81b4; + } + return (result & 0xFFFF) << 16; +}; + +/** + * Generate the DOS part of the external file attributes. + * @param {Object} dosPermissions the dos permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * Bit 0 Read-Only + * Bit 1 Hidden + * Bit 2 System + * Bit 3 Volume Label + * Bit 4 Directory + * Bit 5 Archive + */ +var generateDosExternalFileAttr = function (dosPermissions, isDir) { + + // the dir flag is already set for compatibility + return (dosPermissions || 0) & 0x3F; +}; + +/** + * Generate the various parts used in the construction of the final zip file. + * @param {Object} streamInfo the hash with information about the compressed file. + * @param {Boolean} streamedContent is the content streamed ? + * @param {Boolean} streamingEnded is the stream finished ? + * @param {number} offset the current offset from the start of the zip file. + * @param {String} platform let's pretend we are this platform (change platform dependents fields) + * @param {Function} encodeFileName the function to encode the file name / comment. + * @return {Object} the zip parts. + */ +var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { + var file = streamInfo['file'], + compression = streamInfo['compression'], + useCustomEncoding = encodeFileName !== utf8.utf8encode, + encodedFileName = utils.transformTo("string", encodeFileName(file.name)), + utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), + comment = file.comment, + encodedComment = utils.transformTo("string", encodeFileName(comment)), + utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), + useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, + useUTF8ForComment = utfEncodedComment.length !== comment.length, + dosTime, + dosDate, + extraFields = "", + unicodePathExtraField = "", + unicodeCommentExtraField = "", + dir = file.dir, + date = file.date; + + + var dataInfo = { + crc32 : 0, + compressedSize : 0, + uncompressedSize : 0 + }; + + // if the content is streamed, the sizes/crc32 are only available AFTER + // the end of the stream. + if (!streamedContent || streamingEnded) { + dataInfo.crc32 = streamInfo['crc32']; + dataInfo.compressedSize = streamInfo['compressedSize']; + dataInfo.uncompressedSize = streamInfo['uncompressedSize']; + } + + var bitflag = 0; + if (streamedContent) { + // Bit 3: the sizes/crc32 are set to zero in the local header. + // The correct values are put in the data descriptor immediately + // following the compressed data. + bitflag |= 0x0008; + } + if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { + // Bit 11: Language encoding flag (EFS). + bitflag |= 0x0800; + } + + + var extFileAttr = 0; + var versionMadeBy = 0; + if (dir) { + // dos or unix, we set the dos dir flag + extFileAttr |= 0x00010; + } + if(platform === "UNIX") { + versionMadeBy = 0x031E; // UNIX, version 3.0 + extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); + } else { // DOS or other, fallback to DOS + versionMadeBy = 0x0014; // DOS, version 2.0 + extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); + } + + // date + // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html + + dosTime = date.getUTCHours(); + dosTime = dosTime << 6; + dosTime = dosTime | date.getUTCMinutes(); + dosTime = dosTime << 5; + dosTime = dosTime | date.getUTCSeconds() / 2; + + dosDate = date.getUTCFullYear() - 1980; + dosDate = dosDate << 4; + dosDate = dosDate | (date.getUTCMonth() + 1); + dosDate = dosDate << 5; + dosDate = dosDate | date.getUTCDate(); + + if (useUTF8ForFileName) { + // set the unicode path extra field. unzip needs at least one extra + // field to correctly handle unicode path, so using the path is as good + // as any other information. This could improve the situation with + // other archive managers too. + // This field is usually used without the utf8 flag, with a non + // unicode path in the header (winrar, winzip). This helps (a bit) + // with the messy Windows' default compressed folders feature but + // breaks on p7zip which doesn't seek the unicode path extra field. + // So for now, UTF-8 everywhere ! + unicodePathExtraField = + // Version + decToHex(1, 1) + + // NameCRC32 + decToHex(crc32(encodedFileName), 4) + + // UnicodeName + utfEncodedFileName; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x70" + + // size + decToHex(unicodePathExtraField.length, 2) + + // content + unicodePathExtraField; + } + + if(useUTF8ForComment) { + + unicodeCommentExtraField = + // Version + decToHex(1, 1) + + // CommentCRC32 + decToHex(crc32(encodedComment), 4) + + // UnicodeName + utfEncodedComment; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x63" + + // size + decToHex(unicodeCommentExtraField.length, 2) + + // content + unicodeCommentExtraField; + } + + var header = ""; + + // version needed to extract + header += "\x0A\x00"; + // general purpose bit flag + header += decToHex(bitflag, 2); + // compression method + header += compression.magic; + // last mod file time + header += decToHex(dosTime, 2); + // last mod file date + header += decToHex(dosDate, 2); + // crc-32 + header += decToHex(dataInfo.crc32, 4); + // compressed size + header += decToHex(dataInfo.compressedSize, 4); + // uncompressed size + header += decToHex(dataInfo.uncompressedSize, 4); + // file name length + header += decToHex(encodedFileName.length, 2); + // extra field length + header += decToHex(extraFields.length, 2); + + + var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; + + var dirRecord = signature.CENTRAL_FILE_HEADER + + // version made by (00: DOS) + decToHex(versionMadeBy, 2) + + // file header (common to file and central directory) + header + + // file comment length + decToHex(encodedComment.length, 2) + + // disk number start + "\x00\x00" + + // internal file attributes TODO + "\x00\x00" + + // external file attributes + decToHex(extFileAttr, 4) + + // relative offset of local header + decToHex(offset, 4) + + // file name + encodedFileName + + // extra field + extraFields + + // file comment + encodedComment; + + return { + fileRecord: fileRecord, + dirRecord: dirRecord + }; +}; + +/** + * Generate the EOCD record. + * @param {Number} entriesCount the number of entries in the zip file. + * @param {Number} centralDirLength the length (in bytes) of the central dir. + * @param {Number} localDirLength the length (in bytes) of the local dir. + * @param {String} comment the zip file comment as a binary string. + * @param {Function} encodeFileName the function to encode the comment. + * @return {String} the EOCD record. + */ +var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { + var dirEnd = ""; + var encodedComment = utils.transformTo("string", encodeFileName(comment)); + + // end of central dir signature + dirEnd = signature.CENTRAL_DIRECTORY_END + + // number of this disk + "\x00\x00" + + // number of the disk with the start of the central directory + "\x00\x00" + + // total number of entries in the central directory on this disk + decToHex(entriesCount, 2) + + // total number of entries in the central directory + decToHex(entriesCount, 2) + + // size of the central directory 4 bytes + decToHex(centralDirLength, 4) + + // offset of start of central directory with respect to the starting disk number + decToHex(localDirLength, 4) + + // .ZIP file comment length + decToHex(encodedComment.length, 2) + + // .ZIP file comment + encodedComment; + + return dirEnd; +}; + +/** + * Generate data descriptors for a file entry. + * @param {Object} streamInfo the hash generated by a worker, containing information + * on the file entry. + * @return {String} the data descriptors. + */ +var generateDataDescriptors = function (streamInfo) { + var descriptor = ""; + descriptor = signature.DATA_DESCRIPTOR + + // crc-32 4 bytes + decToHex(streamInfo['crc32'], 4) + + // compressed size 4 bytes + decToHex(streamInfo['compressedSize'], 4) + + // uncompressed size 4 bytes + decToHex(streamInfo['uncompressedSize'], 4); + + return descriptor; +}; + + +/** + * A worker to concatenate other workers to create a zip file. + * @param {Boolean} streamFiles `true` to stream the content of the files, + * `false` to accumulate it. + * @param {String} comment the comment to use. + * @param {String} platform the platform to use, "UNIX" or "DOS". + * @param {Function} encodeFileName the function to encode file names and comments. + */ +function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { + GenericWorker.call(this, "ZipFileWorker"); + // The number of bytes written so far. This doesn't count accumulated chunks. + this.bytesWritten = 0; + // The comment of the zip file + this.zipComment = comment; + // The platform "generating" the zip file. + this.zipPlatform = platform; + // the function to encode file names and comments. + this.encodeFileName = encodeFileName; + // Should we stream the content of the files ? + this.streamFiles = streamFiles; + // If `streamFiles` is false, we will need to accumulate the content of the + // files to calculate sizes / crc32 (and write them *before* the content). + // This boolean indicates if we are accumulating chunks (it will change a lot + // during the lifetime of this worker). + this.accumulate = false; + // The buffer receiving chunks when accumulating content. + this.contentBuffer = []; + // The list of generated directory records. + this.dirRecords = []; + // The offset (in bytes) from the beginning of the zip file for the current source. + this.currentSourceOffset = 0; + // The total number of entries in this zip file. + this.entriesCount = 0; + // the name of the file currently being added, null when handling the end of the zip file. + // Used for the emitted metadata. + this.currentFile = null; + + + + this._sources = []; +} +utils.inherits(ZipFileWorker, GenericWorker); + +/** + * @see GenericWorker.push + */ +ZipFileWorker.prototype.push = function (chunk) { + + var currentFilePercent = chunk.meta.percent || 0; + var entriesCount = this.entriesCount; + var remainingFiles = this._sources.length; + + if(this.accumulate) { + this.contentBuffer.push(chunk); + } else { + this.bytesWritten += chunk.data.length; + + GenericWorker.prototype.push.call(this, { + data : chunk.data, + meta : { + currentFile : this.currentFile, + percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 + } + }); + } +}; + +/** + * The worker started a new source (an other worker). + * @param {Object} streamInfo the streamInfo object from the new source. + */ +ZipFileWorker.prototype.openedSource = function (streamInfo) { + this.currentSourceOffset = this.bytesWritten; + this.currentFile = streamInfo['file'].name; + + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + + // don't stream folders (because they don't have any content) + if(streamedContent) { + var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + } else { + // we need to wait for the whole file before pushing anything + this.accumulate = true; + } +}; + +/** + * The worker finished a source (an other worker). + * @param {Object} streamInfo the streamInfo object from the finished source. + */ +ZipFileWorker.prototype.closedSource = function (streamInfo) { + this.accumulate = false; + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + + this.dirRecords.push(record.dirRecord); + if(streamedContent) { + // after the streamed file, we put data descriptors + this.push({ + data : generateDataDescriptors(streamInfo), + meta : {percent:100} + }); + } else { + // the content wasn't streamed, we need to push everything now + // first the file record, then the content + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + while(this.contentBuffer.length) { + this.push(this.contentBuffer.shift()); + } + } + this.currentFile = null; +}; + +/** + * @see GenericWorker.flush + */ +ZipFileWorker.prototype.flush = function () { + + var localDirLength = this.bytesWritten; + for(var i = 0; i < this.dirRecords.length; i++) { + this.push({ + data : this.dirRecords[i], + meta : {percent:100} + }); + } + var centralDirLength = this.bytesWritten - localDirLength; + + var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); + + this.push({ + data : dirEnd, + meta : {percent:100} + }); +}; + +/** + * Prepare the next source to be read. + */ +ZipFileWorker.prototype.prepareNextSource = function () { + this.previous = this._sources.shift(); + this.openedSource(this.previous.streamInfo); + if (this.isPaused) { + this.previous.pause(); + } else { + this.previous.resume(); + } +}; + +/** + * @see GenericWorker.registerPrevious + */ +ZipFileWorker.prototype.registerPrevious = function (previous) { + this._sources.push(previous); + var self = this; + + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.closedSource(self.previous.streamInfo); + if(self._sources.length) { + self.prepareNextSource(); + } else { + self.end(); + } + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; +}; + +/** + * @see GenericWorker.resume + */ +ZipFileWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this.previous && this._sources.length) { + this.prepareNextSource(); + return true; + } + if (!this.previous && !this._sources.length && !this.generatedError) { + this.end(); + return true; + } +}; + +/** + * @see GenericWorker.error + */ +ZipFileWorker.prototype.error = function (e) { + var sources = this._sources; + if(!GenericWorker.prototype.error.call(this, e)) { + return false; + } + for(var i = 0; i < sources.length; i++) { + try { + sources[i].error(e); + } catch(e) { + // the `error` exploded, nothing to do + } + } + return true; +}; + +/** + * @see GenericWorker.lock + */ +ZipFileWorker.prototype.lock = function () { + GenericWorker.prototype.lock.call(this); + var sources = this._sources; + for(var i = 0; i < sources.length; i++) { + sources[i].lock(); + } +}; + +module.exports = ZipFileWorker; + +},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ +'use strict'; + +var compressions = require('../compressions'); +var ZipFileWorker = require('./ZipFileWorker'); + +/** + * Find the compression to use. + * @param {String} fileCompression the compression defined at the file level, if any. + * @param {String} zipCompression the compression defined at the load() level. + * @return {Object} the compression object to use. + */ +var getCompression = function (fileCompression, zipCompression) { + + var compressionName = fileCompression || zipCompression; + var compression = compressions[compressionName]; + if (!compression) { + throw new Error(compressionName + " is not a valid compression method !"); + } + return compression; +}; + +/** + * Create a worker to generate a zip file. + * @param {JSZip} zip the JSZip instance at the right root level. + * @param {Object} options to generate the zip file. + * @param {String} comment the comment to use. + */ +exports.generateWorker = function (zip, options, comment) { + + var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); + var entriesCount = 0; + try { + + zip.forEach(function (relativePath, file) { + entriesCount++; + var compression = getCompression(file.options.compression, options.compression); + var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; + var dir = file.dir, date = file.date; + + file._compressWorker(compression, compressionOptions) + .withStreamInfo("file", { + name : relativePath, + dir : dir, + date : date, + comment : file.comment || "", + unixPermissions : file.unixPermissions, + dosPermissions : file.dosPermissions + }) + .pipe(zipFileWorker); + }); + zipFileWorker.entriesCount = entriesCount; + } catch (e) { + zipFileWorker.error(e); + } + + return zipFileWorker; +}; + +},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ +'use strict'; + +/** + * Representation a of zip file in js + * @constructor + */ +function JSZip() { + // if this constructor is used without `new`, it adds `new` before itself: + if(!(this instanceof JSZip)) { + return new JSZip(); + } + + if(arguments.length) { + throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); + } + + // object containing the files : + // { + // "folder/" : {...}, + // "folder/data.txt" : {...} + // } + // NOTE: we use a null prototype because we do not + // want filenames like "toString" coming from a zip file + // to overwrite methods and attributes in a normal Object. + this.files = Object.create(null); + + this.comment = null; + + // Where we are in the hierarchy + this.root = ""; + this.clone = function() { + var newObj = new JSZip(); + for (var i in this) { + if (typeof this[i] !== "function") { + newObj[i] = this[i]; + } + } + return newObj; + }; +} +JSZip.prototype = require('./object'); +JSZip.prototype.loadAsync = require('./load'); +JSZip.support = require('./support'); +JSZip.defaults = require('./defaults'); + +// TODO find a better way to handle this version, +// a require('package.json').version doesn't work with webpack, see #327 +JSZip.version = "3.7.1"; + +JSZip.loadAsync = function (content, options) { + return new JSZip().loadAsync(content, options); +}; + +JSZip.external = require("./external"); +module.exports = JSZip; + +},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ +'use strict'; +var utils = require('./utils'); +var external = require("./external"); +var utf8 = require('./utf8'); +var ZipEntries = require('./zipEntries'); +var Crc32Probe = require('./stream/Crc32Probe'); +var nodejsUtils = require("./nodejsUtils"); + +/** + * Check the CRC32 of an entry. + * @param {ZipEntry} zipEntry the zip entry to check. + * @return {Promise} the result. + */ +function checkEntryCRC32(zipEntry) { + return new external.Promise(function (resolve, reject) { + var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); + worker.on("error", function (e) { + reject(e); + }) + .on("end", function () { + if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { + reject(new Error("Corrupted zip : CRC32 mismatch")); + } else { + resolve(); + } + }) + .resume(); + }); +} + +module.exports = function (data, options) { + var zip = this; + options = utils.extend(options || {}, { + base64: false, + checkCRC32: false, + optimizedBinaryString: false, + createFolders: false, + decodeFileName: utf8.utf8decode + }); + + if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); + } + + return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) + .then(function (data) { + var zipEntries = new ZipEntries(options); + zipEntries.load(data); + return zipEntries; + }).then(function checkCRC32(zipEntries) { + var promises = [external.Promise.resolve(zipEntries)]; + var files = zipEntries.files; + if (options.checkCRC32) { + for (var i = 0; i < files.length; i++) { + promises.push(checkEntryCRC32(files[i])); + } + } + return external.Promise.all(promises); + }).then(function addFiles(results) { + var zipEntries = results.shift(); + var files = zipEntries.files; + for (var i = 0; i < files.length; i++) { + var input = files[i]; + zip.file(input.fileNameStr, input.decompressed, { + binary: true, + optimizedBinaryString: true, + date: input.date, + dir: input.dir, + comment: input.fileCommentStr.length ? input.fileCommentStr : null, + unixPermissions: input.unixPermissions, + dosPermissions: input.dosPermissions, + createFolders: options.createFolders + }); + } + if (zipEntries.zipComment.length) { + zip.comment = zipEntries.zipComment; + } + + return zip; + }); +}; + +},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ +"use strict"; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); + +/** + * A worker that use a nodejs stream as source. + * @constructor + * @param {String} filename the name of the file entry for this stream. + * @param {Readable} stream the nodejs stream. + */ +function NodejsStreamInputAdapter(filename, stream) { + GenericWorker.call(this, "Nodejs stream input adapter for " + filename); + this._upstreamEnded = false; + this._bindStream(stream); +} + +utils.inherits(NodejsStreamInputAdapter, GenericWorker); + +/** + * Prepare the stream and bind the callbacks on it. + * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. + * @param {Stream} stream the nodejs stream to use. + */ +NodejsStreamInputAdapter.prototype._bindStream = function (stream) { + var self = this; + this._stream = stream; + stream.pause(); + stream + .on("data", function (chunk) { + self.push({ + data: chunk, + meta : { + percent : 0 + } + }); + }) + .on("error", function (e) { + if(self.isPaused) { + this.generatedError = e; + } else { + self.error(e); + } + }) + .on("end", function () { + if(self.isPaused) { + self._upstreamEnded = true; + } else { + self.end(); + } + }); +}; +NodejsStreamInputAdapter.prototype.pause = function () { + if(!GenericWorker.prototype.pause.call(this)) { + return false; + } + this._stream.pause(); + return true; +}; +NodejsStreamInputAdapter.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if(this._upstreamEnded) { + this.end(); + } else { + this._stream.resume(); + } + + return true; +}; + +module.exports = NodejsStreamInputAdapter; + +},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ +'use strict'; + +var Readable = require('readable-stream').Readable; + +var utils = require('../utils'); +utils.inherits(NodejsStreamOutputAdapter, Readable); + +/** +* A nodejs stream using a worker as source. +* @see the SourceWrapper in http://nodejs.org/api/stream.html +* @constructor +* @param {StreamHelper} helper the helper wrapping the worker +* @param {Object} options the nodejs stream options +* @param {Function} updateCb the update callback. +*/ +function NodejsStreamOutputAdapter(helper, options, updateCb) { + Readable.call(this, options); + this._helper = helper; + + var self = this; + helper.on("data", function (data, meta) { + if (!self.push(data)) { + self._helper.pause(); + } + if(updateCb) { + updateCb(meta); + } + }) + .on("error", function(e) { + self.emit('error', e); + }) + .on("end", function () { + self.push(null); + }); +} + + +NodejsStreamOutputAdapter.prototype._read = function() { + this._helper.resume(); +}; + +module.exports = NodejsStreamOutputAdapter; + +},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ +'use strict'; + +module.exports = { + /** + * True if this is running in Nodejs, will be undefined in a browser. + * In a browser, browserify won't include this file and the whole module + * will be resolved an empty object. + */ + isNode : typeof Buffer !== "undefined", + /** + * Create a new nodejs Buffer from an existing content. + * @param {Object} data the data to pass to the constructor. + * @param {String} encoding the encoding to use. + * @return {Buffer} a new Buffer. + */ + newBufferFrom: function(data, encoding) { + if (Buffer.from && Buffer.from !== Uint8Array.from) { + return Buffer.from(data, encoding); + } else { + if (typeof data === "number") { + // Safeguard for old Node.js versions. On newer versions, + // Buffer.from(number) / Buffer(number, encoding) already throw. + throw new Error("The \"data\" argument must not be a number"); + } + return new Buffer(data, encoding); + } + }, + /** + * Create a new nodejs Buffer with the specified size. + * @param {Integer} size the size of the buffer. + * @return {Buffer} a new Buffer. + */ + allocBuffer: function (size) { + if (Buffer.alloc) { + return Buffer.alloc(size); + } else { + var buf = new Buffer(size); + buf.fill(0); + return buf; + } + }, + /** + * Find out if an object is a Buffer. + * @param {Object} b the object to test. + * @return {Boolean} true if the object is a Buffer, false otherwise. + */ + isBuffer : function(b){ + return Buffer.isBuffer(b); + }, + + isStream : function (obj) { + return obj && + typeof obj.on === "function" && + typeof obj.pause === "function" && + typeof obj.resume === "function"; + } +}; + +},{}],15:[function(require,module,exports){ +'use strict'; +var utf8 = require('./utf8'); +var utils = require('./utils'); +var GenericWorker = require('./stream/GenericWorker'); +var StreamHelper = require('./stream/StreamHelper'); +var defaults = require('./defaults'); +var CompressedObject = require('./compressedObject'); +var ZipObject = require('./zipObject'); +var generate = require("./generate"); +var nodejsUtils = require("./nodejsUtils"); +var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); + + +/** + * Add a file in the current folder. + * @private + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file + * @param {Object} originalOptions the options of the file + * @return {Object} the new file. + */ +var fileAdd = function(name, data, originalOptions) { + // be sure sub folders exist + var dataType = utils.getTypeOf(data), + parent; + + + /* + * Correct options. + */ + + var o = utils.extend(originalOptions || {}, defaults); + o.date = o.date || new Date(); + if (o.compression !== null) { + o.compression = o.compression.toUpperCase(); + } + + if (typeof o.unixPermissions === "string") { + o.unixPermissions = parseInt(o.unixPermissions, 8); + } + + // UNX_IFDIR 0040000 see zipinfo.c + if (o.unixPermissions && (o.unixPermissions & 0x4000)) { + o.dir = true; + } + // Bit 4 Directory + if (o.dosPermissions && (o.dosPermissions & 0x0010)) { + o.dir = true; + } + + if (o.dir) { + name = forceTrailingSlash(name); + } + if (o.createFolders && (parent = parentFolder(name))) { + folderAdd.call(this, parent, true); + } + + var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; + if (!originalOptions || typeof originalOptions.binary === "undefined") { + o.binary = !isUnicodeString; + } + + + var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; + + if (isCompressedEmpty || o.dir || !data || data.length === 0) { + o.base64 = false; + o.binary = true; + data = ""; + o.compression = "STORE"; + dataType = "string"; + } + + /* + * Convert content to fit. + */ + + var zipObjectContent = null; + if (data instanceof CompressedObject || data instanceof GenericWorker) { + zipObjectContent = data; + } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + zipObjectContent = new NodejsStreamInputAdapter(name, data); + } else { + zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); + } + + var object = new ZipObject(name, zipObjectContent, o); + this.files[name] = object; + /* + TODO: we can't throw an exception because we have async promises + (we can have a promise of a Date() for example) but returning a + promise is useless because file(name, data) returns the JSZip + object for chaining. Should we break that to allow the user + to catch the error ? + + return external.Promise.resolve(zipObjectContent) + .then(function () { + return object; + }); + */ +}; + +/** + * Find the parent folder of the path. + * @private + * @param {string} path the path to use + * @return {string} the parent folder, or "" + */ +var parentFolder = function (path) { + if (path.slice(-1) === '/') { + path = path.substring(0, path.length - 1); + } + var lastSlash = path.lastIndexOf('/'); + return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; +}; + +/** + * Returns the path with a slash at the end. + * @private + * @param {String} path the path to check. + * @return {String} the path with a trailing slash. + */ +var forceTrailingSlash = function(path) { + // Check the name ends with a / + if (path.slice(-1) !== "/") { + path += "/"; // IE doesn't like substr(-1) + } + return path; +}; + +/** + * Add a (sub) folder in the current folder. + * @private + * @param {string} name the folder's name + * @param {boolean=} [createFolders] If true, automatically create sub + * folders. Defaults to false. + * @return {Object} the new folder. + */ +var folderAdd = function(name, createFolders) { + createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; + + name = forceTrailingSlash(name); + + // Does this folder already exist? + if (!this.files[name]) { + fileAdd.call(this, name, null, { + dir: true, + createFolders: createFolders + }); + } + return this.files[name]; +}; + +/** +* Cross-window, cross-Node-context regular expression detection +* @param {Object} object Anything +* @return {Boolean} true if the object is a regular expression, +* false otherwise +*/ +function isRegExp(object) { + return Object.prototype.toString.call(object) === "[object RegExp]"; +} + +// return the actual prototype of JSZip +var out = { + /** + * @see loadAsync + */ + load: function() { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + + /** + * Call a callback function for each entry at this folder level. + * @param {Function} cb the callback function: + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + */ + forEach: function(cb) { + var filename, relativePath, file; + /* jshint ignore:start */ + // ignore warning about unwanted properties because this.files is a null prototype object + for (filename in this.files) { + file = this.files[filename]; + relativePath = filename.slice(this.root.length, filename.length); + if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root + cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... + } + } + /* jshint ignore:end */ + }, + + /** + * Filter nested files/folders with the specified function. + * @param {Function} search the predicate to use : + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + * @return {Array} An array of matching elements. + */ + filter: function(search) { + var result = []; + this.forEach(function (relativePath, entry) { + if (search(relativePath, entry)) { // the file matches the function + result.push(entry); + } + + }); + return result; + }, + + /** + * Add a file to the zip file, or search a file. + * @param {string|RegExp} name The name of the file to add (if data is defined), + * the name of the file to find (if no data) or a regex to match files. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded + * @param {Object} o File options + * @return {JSZip|Object|Array} this JSZip object (when adding a file), + * a file (when searching by string) or an array of files (when searching by regex). + */ + file: function(name, data, o) { + if (arguments.length === 1) { + if (isRegExp(name)) { + var regexp = name; + return this.filter(function(relativePath, file) { + return !file.dir && regexp.test(relativePath); + }); + } + else { // text + var obj = this.files[this.root + name]; + if (obj && !obj.dir) { + return obj; + } else { + return null; + } + } + } + else { // more than one argument : we have data ! + name = this.root + name; + fileAdd.call(this, name, data, o); + } + return this; + }, + + /** + * Add a directory to the zip file, or search. + * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. + * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. + */ + folder: function(arg) { + if (!arg) { + return this; + } + + if (isRegExp(arg)) { + return this.filter(function(relativePath, file) { + return file.dir && arg.test(relativePath); + }); + } + + // else, name is a new folder + var name = this.root + arg; + var newFolder = folderAdd.call(this, name); + + // Allow chaining by returning a new object with this folder as the root + var ret = this.clone(); + ret.root = newFolder.name; + return ret; + }, + + /** + * Delete a file, or a directory and all sub-files, from the zip + * @param {string} name the name of the file to delete + * @return {JSZip} this JSZip object + */ + remove: function(name) { + name = this.root + name; + var file = this.files[name]; + if (!file) { + // Look for any folders + if (name.slice(-1) !== "/") { + name += "/"; + } + file = this.files[name]; + } + + if (file && !file.dir) { + // file + delete this.files[name]; + } else { + // maybe a folder, delete recursively + var kids = this.filter(function(relativePath, file) { + return file.name.slice(0, name.length) === name; + }); + for (var i = 0; i < kids.length; i++) { + delete this.files[kids[i].name]; + } + } + + return this; + }, + + /** + * Generate the complete zip file + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file + */ + generate: function(options) { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + /** + * Generate the complete zip file as an internal stream. + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {StreamHelper} the streamed zip file. + */ + generateInternalStream: function(options) { + var worker, opts = {}; + try { + opts = utils.extend(options || {}, { + streamFiles: false, + compression: "STORE", + compressionOptions : null, + type: "", + platform: "DOS", + comment: null, + mimeType: 'application/zip', + encodeFileName: utf8.utf8encode + }); + + opts.type = opts.type.toLowerCase(); + opts.compression = opts.compression.toUpperCase(); + + // "binarystring" is preferred but the internals use "string". + if(opts.type === "binarystring") { + opts.type = "string"; + } + + if (!opts.type) { + throw new Error("No output type specified."); + } + + utils.checkSupport(opts.type); + + // accept nodejs `process.platform` + if( + opts.platform === 'darwin' || + opts.platform === 'freebsd' || + opts.platform === 'linux' || + opts.platform === 'sunos' + ) { + opts.platform = "UNIX"; + } + if (opts.platform === 'win32') { + opts.platform = "DOS"; + } + + var comment = opts.comment || this.comment || ""; + worker = generate.generateWorker(this, opts, comment); + } catch (e) { + worker = new GenericWorker("error"); + worker.error(e); + } + return new StreamHelper(worker, opts.type || "string", opts.mimeType); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateAsync: function(options, onUpdate) { + return this.generateInternalStream(options).accumulate(onUpdate); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateNodeStream: function(options, onUpdate) { + options = options || {}; + if (!options.type) { + options.type = "nodebuffer"; + } + return this.generateInternalStream(options).toNodejsStream(onUpdate); + } +}; +module.exports = out; + +},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ +/* + * This file is used by module bundlers (browserify/webpack/etc) when + * including a stream implementation. We use "readable-stream" to get a + * consistent behavior between nodejs versions but bundlers often have a shim + * for "stream". Using this shim greatly improve the compatibility and greatly + * reduce the final size of the bundle (only one stream implementation, not + * two). + */ +module.exports = require("stream"); + +},{"stream":undefined}],17:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function ArrayReader(data) { + DataReader.call(this, data); + for(var i = 0; i < this.data.length; i++) { + data[i] = data[i] & 0xFF; + } +} +utils.inherits(ArrayReader, DataReader); +/** + * @see DataReader.byteAt + */ +ArrayReader.prototype.byteAt = function(i) { + return this.data[this.zero + i]; +}; +/** + * @see DataReader.lastIndexOfSignature + */ +ArrayReader.prototype.lastIndexOfSignature = function(sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3); + for (var i = this.length - 4; i >= 0; --i) { + if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { + return i - this.zero; + } + } + + return -1; +}; +/** + * @see DataReader.readAndCheckSignature + */ +ArrayReader.prototype.readAndCheckSignature = function (sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3), + data = this.readData(4); + return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; +}; +/** + * @see DataReader.readData + */ +ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + return []; + } + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = ArrayReader; + +},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ +'use strict'; +var utils = require('../utils'); + +function DataReader(data) { + this.data = data; // type : see implementation + this.length = data.length; + this.index = 0; + this.zero = 0; +} +DataReader.prototype = { + /** + * Check that the offset will not go too far. + * @param {string} offset the additional offset to check. + * @throws {Error} an Error if the offset is out of bounds. + */ + checkOffset: function(offset) { + this.checkIndex(this.index + offset); + }, + /** + * Check that the specified index will not be too far. + * @param {string} newIndex the index to check. + * @throws {Error} an Error if the index is out of bounds. + */ + checkIndex: function(newIndex) { + if (this.length < this.zero + newIndex || newIndex < 0) { + throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); + } + }, + /** + * Change the index. + * @param {number} newIndex The new index. + * @throws {Error} if the new index is out of the data. + */ + setIndex: function(newIndex) { + this.checkIndex(newIndex); + this.index = newIndex; + }, + /** + * Skip the next n bytes. + * @param {number} n the number of bytes to skip. + * @throws {Error} if the new index is out of the data. + */ + skip: function(n) { + this.setIndex(this.index + n); + }, + /** + * Get the byte at the specified index. + * @param {number} i the index to use. + * @return {number} a byte. + */ + byteAt: function(i) { + // see implementations + }, + /** + * Get the next number with a given byte size. + * @param {number} size the number of bytes to read. + * @return {number} the corresponding number. + */ + readInt: function(size) { + var result = 0, + i; + this.checkOffset(size); + for (i = this.index + size - 1; i >= this.index; i--) { + result = (result << 8) + this.byteAt(i); + } + this.index += size; + return result; + }, + /** + * Get the next string with a given byte size. + * @param {number} size the number of bytes to read. + * @return {string} the corresponding string. + */ + readString: function(size) { + return utils.transformTo("string", this.readData(size)); + }, + /** + * Get raw data without conversion, bytes. + * @param {number} size the number of bytes to read. + * @return {Object} the raw data, implementation specific. + */ + readData: function(size) { + // see implementations + }, + /** + * Find the last occurrence of a zip signature (4 bytes). + * @param {string} sig the signature to find. + * @return {number} the index of the last occurrence, -1 if not found. + */ + lastIndexOfSignature: function(sig) { + // see implementations + }, + /** + * Read the signature (4 bytes) at the current position and compare it with sig. + * @param {string} sig the expected signature + * @return {boolean} true if the signature matches, false otherwise. + */ + readAndCheckSignature: function(sig) { + // see implementations + }, + /** + * Get the next date. + * @return {Date} the date. + */ + readDate: function() { + var dostime = this.readInt(4); + return new Date(Date.UTC( + ((dostime >> 25) & 0x7f) + 1980, // year + ((dostime >> 21) & 0x0f) - 1, // month + (dostime >> 16) & 0x1f, // day + (dostime >> 11) & 0x1f, // hour + (dostime >> 5) & 0x3f, // minute + (dostime & 0x1f) << 1)); // second + } +}; +module.exports = DataReader; + +},{"../utils":32}],19:[function(require,module,exports){ +'use strict'; +var Uint8ArrayReader = require('./Uint8ArrayReader'); +var utils = require('../utils'); + +function NodeBufferReader(data) { + Uint8ArrayReader.call(this, data); +} +utils.inherits(NodeBufferReader, Uint8ArrayReader); + +/** + * @see DataReader.readData + */ +NodeBufferReader.prototype.readData = function(size) { + this.checkOffset(size); + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = NodeBufferReader; + +},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function StringReader(data) { + DataReader.call(this, data); +} +utils.inherits(StringReader, DataReader); +/** + * @see DataReader.byteAt + */ +StringReader.prototype.byteAt = function(i) { + return this.data.charCodeAt(this.zero + i); +}; +/** + * @see DataReader.lastIndexOfSignature + */ +StringReader.prototype.lastIndexOfSignature = function(sig) { + return this.data.lastIndexOf(sig) - this.zero; +}; +/** + * @see DataReader.readAndCheckSignature + */ +StringReader.prototype.readAndCheckSignature = function (sig) { + var data = this.readData(4); + return sig === data; +}; +/** + * @see DataReader.readData + */ +StringReader.prototype.readData = function(size) { + this.checkOffset(size); + // this will work because the constructor applied the "& 0xff" mask. + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = StringReader; + +},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ +'use strict'; +var ArrayReader = require('./ArrayReader'); +var utils = require('../utils'); + +function Uint8ArrayReader(data) { + ArrayReader.call(this, data); +} +utils.inherits(Uint8ArrayReader, ArrayReader); +/** + * @see DataReader.readData + */ +Uint8ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. + return new Uint8Array(0); + } + var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = Uint8ArrayReader; + +},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var support = require('../support'); +var ArrayReader = require('./ArrayReader'); +var StringReader = require('./StringReader'); +var NodeBufferReader = require('./NodeBufferReader'); +var Uint8ArrayReader = require('./Uint8ArrayReader'); + +/** + * Create a reader adapted to the data. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. + * @return {DataReader} the data reader. + */ +module.exports = function (data) { + var type = utils.getTypeOf(data); + utils.checkSupport(type); + if (type === "string" && !support.uint8array) { + return new StringReader(data); + } + if (type === "nodebuffer") { + return new NodeBufferReader(data); + } + if (support.uint8array) { + return new Uint8ArrayReader(utils.transformTo("uint8array", data)); + } + return new ArrayReader(utils.transformTo("array", data)); +}; + +},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ +'use strict'; +exports.LOCAL_FILE_HEADER = "PK\x03\x04"; +exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; +exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; +exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; +exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; +exports.DATA_DESCRIPTOR = "PK\x07\x08"; + +},{}],24:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var utils = require('../utils'); + +/** + * A worker which convert chunks to a specified type. + * @constructor + * @param {String} destType the destination type. + */ +function ConvertWorker(destType) { + GenericWorker.call(this, "ConvertWorker to " + destType); + this.destType = destType; +} +utils.inherits(ConvertWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +ConvertWorker.prototype.processChunk = function (chunk) { + this.push({ + data : utils.transformTo(this.destType, chunk.data), + meta : chunk.meta + }); +}; +module.exports = ConvertWorker; + +},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var crc32 = require('../crc32'); +var utils = require('../utils'); + +/** + * A worker which calculate the crc32 of the data flowing through. + * @constructor + */ +function Crc32Probe() { + GenericWorker.call(this, "Crc32Probe"); + this.withStreamInfo("crc32", 0); +} +utils.inherits(Crc32Probe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Crc32Probe.prototype.processChunk = function (chunk) { + this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); + this.push(chunk); +}; +module.exports = Crc32Probe; + +},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +/** + * A worker which calculate the total length of the data flowing through. + * @constructor + * @param {String} propName the name used to expose the length + */ +function DataLengthProbe(propName) { + GenericWorker.call(this, "DataLengthProbe for " + propName); + this.propName = propName; + this.withStreamInfo(propName, 0); +} +utils.inherits(DataLengthProbe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +DataLengthProbe.prototype.processChunk = function (chunk) { + if(chunk) { + var length = this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = length + chunk.data.length; + } + GenericWorker.prototype.processChunk.call(this, chunk); +}; +module.exports = DataLengthProbe; + + +},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +// the size of the generated chunks +// TODO expose this as a public variable +var DEFAULT_BLOCK_SIZE = 16 * 1024; + +/** + * A worker that reads a content and emits chunks. + * @constructor + * @param {Promise} dataP the promise of the data to split + */ +function DataWorker(dataP) { + GenericWorker.call(this, "DataWorker"); + var self = this; + this.dataIsReady = false; + this.index = 0; + this.max = 0; + this.data = null; + this.type = ""; + + this._tickScheduled = false; + + dataP.then(function (data) { + self.dataIsReady = true; + self.data = data; + self.max = data && data.length || 0; + self.type = utils.getTypeOf(data); + if(!self.isPaused) { + self._tickAndRepeat(); + } + }, function (e) { + self.error(e); + }); +} + +utils.inherits(DataWorker, GenericWorker); + +/** + * @see GenericWorker.cleanUp + */ +DataWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this.data = null; +}; + +/** + * @see GenericWorker.resume + */ +DataWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this._tickScheduled && this.dataIsReady) { + this._tickScheduled = true; + utils.delay(this._tickAndRepeat, [], this); + } + return true; +}; + +/** + * Trigger a tick a schedule an other call to this function. + */ +DataWorker.prototype._tickAndRepeat = function() { + this._tickScheduled = false; + if(this.isPaused || this.isFinished) { + return; + } + this._tick(); + if(!this.isFinished) { + utils.delay(this._tickAndRepeat, [], this); + this._tickScheduled = true; + } +}; + +/** + * Read and push a chunk. + */ +DataWorker.prototype._tick = function() { + + if(this.isPaused || this.isFinished) { + return false; + } + + var size = DEFAULT_BLOCK_SIZE; + var data = null, nextIndex = Math.min(this.max, this.index + size); + if (this.index >= this.max) { + // EOF + return this.end(); + } else { + switch(this.type) { + case "string": + data = this.data.substring(this.index, nextIndex); + break; + case "uint8array": + data = this.data.subarray(this.index, nextIndex); + break; + case "array": + case "nodebuffer": + data = this.data.slice(this.index, nextIndex); + break; + } + this.index = nextIndex; + return this.push({ + data : data, + meta : { + percent : this.max ? this.index / this.max * 100 : 0 + } + }); + } +}; + +module.exports = DataWorker; + +},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ +'use strict'; + +/** + * A worker that does nothing but passing chunks to the next one. This is like + * a nodejs stream but with some differences. On the good side : + * - it works on IE 6-9 without any issue / polyfill + * - it weights less than the full dependencies bundled with browserify + * - it forwards errors (no need to declare an error handler EVERYWHERE) + * + * A chunk is an object with 2 attributes : `meta` and `data`. The former is an + * object containing anything (`percent` for example), see each worker for more + * details. The latter is the real data (String, Uint8Array, etc). + * + * @constructor + * @param {String} name the name of the stream (mainly used for debugging purposes) + */ +function GenericWorker(name) { + // the name of the worker + this.name = name || "default"; + // an object containing metadata about the workers chain + this.streamInfo = {}; + // an error which happened when the worker was paused + this.generatedError = null; + // an object containing metadata to be merged by this worker into the general metadata + this.extraStreamInfo = {}; + // true if the stream is paused (and should not do anything), false otherwise + this.isPaused = true; + // true if the stream is finished (and should not do anything), false otherwise + this.isFinished = false; + // true if the stream is locked to prevent further structure updates (pipe), false otherwise + this.isLocked = false; + // the event listeners + this._listeners = { + 'data':[], + 'end':[], + 'error':[] + }; + // the previous worker, if any + this.previous = null; +} + +GenericWorker.prototype = { + /** + * Push a chunk to the next workers. + * @param {Object} chunk the chunk to push + */ + push : function (chunk) { + this.emit("data", chunk); + }, + /** + * End the stream. + * @return {Boolean} true if this call ended the worker, false otherwise. + */ + end : function () { + if (this.isFinished) { + return false; + } + + this.flush(); + try { + this.emit("end"); + this.cleanUp(); + this.isFinished = true; + } catch (e) { + this.emit("error", e); + } + return true; + }, + /** + * End the stream with an error. + * @param {Error} e the error which caused the premature end. + * @return {Boolean} true if this call ended the worker with an error, false otherwise. + */ + error : function (e) { + if (this.isFinished) { + return false; + } + + if(this.isPaused) { + this.generatedError = e; + } else { + this.isFinished = true; + + this.emit("error", e); + + // in the workers chain exploded in the middle of the chain, + // the error event will go downward but we also need to notify + // workers upward that there has been an error. + if(this.previous) { + this.previous.error(e); + } + + this.cleanUp(); + } + return true; + }, + /** + * Add a callback on an event. + * @param {String} name the name of the event (data, end, error) + * @param {Function} listener the function to call when the event is triggered + * @return {GenericWorker} the current object for chainability + */ + on : function (name, listener) { + this._listeners[name].push(listener); + return this; + }, + /** + * Clean any references when a worker is ending. + */ + cleanUp : function () { + this.streamInfo = this.generatedError = this.extraStreamInfo = null; + this._listeners = []; + }, + /** + * Trigger an event. This will call registered callback with the provided arg. + * @param {String} name the name of the event (data, end, error) + * @param {Object} arg the argument to call the callback with. + */ + emit : function (name, arg) { + if (this._listeners[name]) { + for(var i = 0; i < this._listeners[name].length; i++) { + this._listeners[name][i].call(this, arg); + } + } + }, + /** + * Chain a worker with an other. + * @param {Worker} next the worker receiving events from the current one. + * @return {worker} the next worker for chainability + */ + pipe : function (next) { + return next.registerPrevious(this); + }, + /** + * Same as `pipe` in the other direction. + * Using an API with `pipe(next)` is very easy. + * Implementing the API with the point of view of the next one registering + * a source is easier, see the ZipFileWorker. + * @param {Worker} previous the previous worker, sending events to this one + * @return {Worker} the current worker for chainability + */ + registerPrevious : function (previous) { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + + // sharing the streamInfo... + this.streamInfo = previous.streamInfo; + // ... and adding our own bits + this.mergeStreamInfo(); + this.previous = previous; + var self = this; + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.end(); + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; + }, + /** + * Pause the stream so it doesn't send events anymore. + * @return {Boolean} true if this call paused the worker, false otherwise. + */ + pause : function () { + if(this.isPaused || this.isFinished) { + return false; + } + this.isPaused = true; + + if(this.previous) { + this.previous.pause(); + } + return true; + }, + /** + * Resume a paused stream. + * @return {Boolean} true if this call resumed the worker, false otherwise. + */ + resume : function () { + if(!this.isPaused || this.isFinished) { + return false; + } + this.isPaused = false; + + // if true, the worker tried to resume but failed + var withError = false; + if(this.generatedError) { + this.error(this.generatedError); + withError = true; + } + if(this.previous) { + this.previous.resume(); + } + + return !withError; + }, + /** + * Flush any remaining bytes as the stream is ending. + */ + flush : function () {}, + /** + * Process a chunk. This is usually the method overridden. + * @param {Object} chunk the chunk to process. + */ + processChunk : function(chunk) { + this.push(chunk); + }, + /** + * Add a key/value to be added in the workers chain streamInfo once activated. + * @param {String} key the key to use + * @param {Object} value the associated value + * @return {Worker} the current worker for chainability + */ + withStreamInfo : function (key, value) { + this.extraStreamInfo[key] = value; + this.mergeStreamInfo(); + return this; + }, + /** + * Merge this worker's streamInfo into the chain's streamInfo. + */ + mergeStreamInfo : function () { + for(var key in this.extraStreamInfo) { + if (!this.extraStreamInfo.hasOwnProperty(key)) { + continue; + } + this.streamInfo[key] = this.extraStreamInfo[key]; + } + }, + + /** + * Lock the stream to prevent further updates on the workers chain. + * After calling this method, all calls to pipe will fail. + */ + lock: function () { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + this.isLocked = true; + if (this.previous) { + this.previous.lock(); + } + }, + + /** + * + * Pretty print the workers chain. + */ + toString : function () { + var me = "Worker " + this.name; + if (this.previous) { + return this.previous + " -> " + me; + } else { + return me; + } + } +}; + +module.exports = GenericWorker; + +},{}],29:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var ConvertWorker = require('./ConvertWorker'); +var GenericWorker = require('./GenericWorker'); +var base64 = require('../base64'); +var support = require("../support"); +var external = require("../external"); + +var NodejsStreamOutputAdapter = null; +if (support.nodestream) { + try { + NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); + } catch(e) {} +} + +/** + * Apply the final transformation of the data. If the user wants a Blob for + * example, it's easier to work with an U8intArray and finally do the + * ArrayBuffer/Blob conversion. + * @param {String} type the name of the final type + * @param {String|Uint8Array|Buffer} content the content to transform + * @param {String} mimeType the mime type of the content, if applicable. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. + */ +function transformZipOutput(type, content, mimeType) { + switch(type) { + case "blob" : + return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); + case "base64" : + return base64.encode(content); + default : + return utils.transformTo(type, content); + } +} + +/** + * Concatenate an array of data of the given type. + * @param {String} type the type of the data in the given array. + * @param {Array} dataArray the array containing the data chunks to concatenate + * @return {String|Uint8Array|Buffer} the concatenated data + * @throws Error if the asked type is unsupported + */ +function concat (type, dataArray) { + var i, index = 0, res = null, totalLength = 0; + for(i = 0; i < dataArray.length; i++) { + totalLength += dataArray[i].length; + } + switch(type) { + case "string": + return dataArray.join(""); + case "array": + return Array.prototype.concat.apply([], dataArray); + case "uint8array": + res = new Uint8Array(totalLength); + for(i = 0; i < dataArray.length; i++) { + res.set(dataArray[i], index); + index += dataArray[i].length; + } + return res; + case "nodebuffer": + return Buffer.concat(dataArray); + default: + throw new Error("concat : unsupported type '" + type + "'"); + } +} + +/** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {StreamHelper} helper the helper to use. + * @param {Function} updateCallback a callback called on each update. Called + * with one arg : + * - the metadata linked to the update received. + * @return Promise the promise for the accumulation. + */ +function accumulate(helper, updateCallback) { + return new external.Promise(function (resolve, reject){ + var dataArray = []; + var chunkType = helper._internalType, + resultType = helper._outputType, + mimeType = helper._mimeType; + helper + .on('data', function (data, meta) { + dataArray.push(data); + if(updateCallback) { + updateCallback(meta); + } + }) + .on('error', function(err) { + dataArray = []; + reject(err); + }) + .on('end', function (){ + try { + var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); + resolve(result); + } catch (e) { + reject(e); + } + dataArray = []; + }) + .resume(); + }); +} + +/** + * An helper to easily use workers outside of JSZip. + * @constructor + * @param {Worker} worker the worker to wrap + * @param {String} outputType the type of data expected by the use + * @param {String} mimeType the mime type of the content, if applicable. + */ +function StreamHelper(worker, outputType, mimeType) { + var internalType = outputType; + switch(outputType) { + case "blob": + case "arraybuffer": + internalType = "uint8array"; + break; + case "base64": + internalType = "string"; + break; + } + + try { + // the type used internally + this._internalType = internalType; + // the type used to output results + this._outputType = outputType; + // the mime type + this._mimeType = mimeType; + utils.checkSupport(internalType); + this._worker = worker.pipe(new ConvertWorker(internalType)); + // the last workers can be rewired without issues but we need to + // prevent any updates on previous workers. + worker.lock(); + } catch(e) { + this._worker = new GenericWorker("error"); + this._worker.error(e); + } +} + +StreamHelper.prototype = { + /** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {Function} updateCb the update callback. + * @return Promise the promise for the accumulation. + */ + accumulate : function (updateCb) { + return accumulate(this, updateCb); + }, + /** + * Add a listener on an event triggered on a stream. + * @param {String} evt the name of the event + * @param {Function} fn the listener + * @return {StreamHelper} the current helper. + */ + on : function (evt, fn) { + var self = this; + + if(evt === "data") { + this._worker.on(evt, function (chunk) { + fn.call(self, chunk.data, chunk.meta); + }); + } else { + this._worker.on(evt, function () { + utils.delay(fn, arguments, self); + }); + } + return this; + }, + /** + * Resume the flow of chunks. + * @return {StreamHelper} the current helper. + */ + resume : function () { + utils.delay(this._worker.resume, [], this._worker); + return this; + }, + /** + * Pause the flow of chunks. + * @return {StreamHelper} the current helper. + */ + pause : function () { + this._worker.pause(); + return this; + }, + /** + * Return a nodejs stream for this helper. + * @param {Function} updateCb the update callback. + * @return {NodejsStreamOutputAdapter} the nodejs stream. + */ + toNodejsStream : function (updateCb) { + utils.checkSupport("nodestream"); + if (this._outputType !== "nodebuffer") { + // an object stream containing blob/arraybuffer/uint8array/string + // is strange and I don't know if it would be useful. + // I you find this comment and have a good usecase, please open a + // bug report ! + throw new Error(this._outputType + " is not supported by this method"); + } + + return new NodejsStreamOutputAdapter(this, { + objectMode : this._outputType !== "nodebuffer" + }, updateCb); + } +}; + + +module.exports = StreamHelper; + +},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ +'use strict'; + +exports.base64 = true; +exports.array = true; +exports.string = true; +exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; +exports.nodebuffer = typeof Buffer !== "undefined"; +// contains true if JSZip can read/generate Uint8Array, false otherwise. +exports.uint8array = typeof Uint8Array !== "undefined"; + +if (typeof ArrayBuffer === "undefined") { + exports.blob = false; +} +else { + var buffer = new ArrayBuffer(0); + try { + exports.blob = new Blob([buffer], { + type: "application/zip" + }).size === 0; + } + catch (e) { + try { + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(buffer); + exports.blob = builder.getBlob('application/zip').size === 0; + } + catch (e) { + exports.blob = false; + } + } +} + +try { + exports.nodestream = !!require('readable-stream').Readable; +} catch(e) { + exports.nodestream = false; +} + +},{"readable-stream":16}],31:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); +var support = require('./support'); +var nodejsUtils = require('./nodejsUtils'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * The following functions come from pako, from pako/lib/utils/strings + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Table with utf8 lengths (calculated by first byte of sequence) +// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, +// because max possible codepoint is 0x10ffff +var _utf8len = new Array(256); +for (var i=0; i<256; i++) { + _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); +} +_utf8len[254]=_utf8len[254]=1; // Invalid sequence start + +// convert string to array (typed, when possible) +var string2buf = function (str) { + var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; + + // count binary size + for (m_pos = 0; m_pos < str_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; + } + + // allocate buffer + if (support.uint8array) { + buf = new Uint8Array(buf_len); + } else { + buf = new Array(buf_len); + } + + // convert + for (i=0, m_pos = 0; i < buf_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + if (c < 0x80) { + /* one byte */ + buf[i++] = c; + } else if (c < 0x800) { + /* two bytes */ + buf[i++] = 0xC0 | (c >>> 6); + buf[i++] = 0x80 | (c & 0x3f); + } else if (c < 0x10000) { + /* three bytes */ + buf[i++] = 0xE0 | (c >>> 12); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } else { + /* four bytes */ + buf[i++] = 0xf0 | (c >>> 18); + buf[i++] = 0x80 | (c >>> 12 & 0x3f); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } + } + + return buf; +}; + +// Calculate max possible position in utf8 buffer, +// that will not break sequence. If that's not possible +// - (very small limits) return max size as is. +// +// buf[] - utf8 bytes array +// max - length limit (mandatory); +var utf8border = function(buf, max) { + var pos; + + max = max || buf.length; + if (max > buf.length) { max = buf.length; } + + // go back from last position, until start of sequence found + pos = max-1; + while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } + + // Fuckup - very small and broken sequence, + // return max, because we should return something anyway. + if (pos < 0) { return max; } + + // If we came to start of buffer - that means vuffer is too small, + // return max too. + if (pos === 0) { return max; } + + return (pos + _utf8len[buf[pos]] > max) ? pos : max; +}; + +// convert array to string +var buf2string = function (buf) { + var str, i, out, c, c_len; + var len = buf.length; + + // Reserve max possible length (2 words per char) + // NB: by unknown reasons, Array is significantly faster for + // String.fromCharCode.apply than Uint16Array. + var utf16buf = new Array(len*2); + + for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } + + // apply mask on first byte + c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; + // join the rest + while (c_len > 1 && i < len) { + c = (c << 6) | (buf[i++] & 0x3f); + c_len--; + } + + // terminated by end of string? + if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } + + if (c < 0x10000) { + utf16buf[out++] = c; + } else { + c -= 0x10000; + utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); + utf16buf[out++] = 0xdc00 | (c & 0x3ff); + } + } + + // shrinkBuf(utf16buf, out) + if (utf16buf.length !== out) { + if(utf16buf.subarray) { + utf16buf = utf16buf.subarray(0, out); + } else { + utf16buf.length = out; + } + } + + // return String.fromCharCode.apply(null, utf16buf); + return utils.applyFromCharCode(utf16buf); +}; + + +// That's all for the pako functions. + + +/** + * Transform a javascript string into an array (typed if possible) of bytes, + * UTF-8 encoded. + * @param {String} str the string to encode + * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. + */ +exports.utf8encode = function utf8encode(str) { + if (support.nodebuffer) { + return nodejsUtils.newBufferFrom(str, "utf-8"); + } + + return string2buf(str); +}; + + +/** + * Transform a bytes array (or a representation) representing an UTF-8 encoded + * string into a javascript string. + * @param {Array|Uint8Array|Buffer} buf the data de decode + * @return {String} the decoded string. + */ +exports.utf8decode = function utf8decode(buf) { + if (support.nodebuffer) { + return utils.transformTo("nodebuffer", buf).toString("utf-8"); + } + + buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); + + return buf2string(buf); +}; + +/** + * A worker to decode utf8 encoded binary chunks into string chunks. + * @constructor + */ +function Utf8DecodeWorker() { + GenericWorker.call(this, "utf-8 decode"); + // the last bytes if a chunk didn't end with a complete codepoint. + this.leftOver = null; +} +utils.inherits(Utf8DecodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8DecodeWorker.prototype.processChunk = function (chunk) { + + var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); + + // 1st step, re-use what's left of the previous chunk + if (this.leftOver && this.leftOver.length) { + if(support.uint8array) { + var previousData = data; + data = new Uint8Array(previousData.length + this.leftOver.length); + data.set(this.leftOver, 0); + data.set(previousData, this.leftOver.length); + } else { + data = this.leftOver.concat(data); + } + this.leftOver = null; + } + + var nextBoundary = utf8border(data); + var usableData = data; + if (nextBoundary !== data.length) { + if (support.uint8array) { + usableData = data.subarray(0, nextBoundary); + this.leftOver = data.subarray(nextBoundary, data.length); + } else { + usableData = data.slice(0, nextBoundary); + this.leftOver = data.slice(nextBoundary, data.length); + } + } + + this.push({ + data : exports.utf8decode(usableData), + meta : chunk.meta + }); +}; + +/** + * @see GenericWorker.flush + */ +Utf8DecodeWorker.prototype.flush = function () { + if(this.leftOver && this.leftOver.length) { + this.push({ + data : exports.utf8decode(this.leftOver), + meta : {} + }); + this.leftOver = null; + } +}; +exports.Utf8DecodeWorker = Utf8DecodeWorker; + +/** + * A worker to endcode string chunks into utf8 encoded binary chunks. + * @constructor + */ +function Utf8EncodeWorker() { + GenericWorker.call(this, "utf-8 encode"); +} +utils.inherits(Utf8EncodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8EncodeWorker.prototype.processChunk = function (chunk) { + this.push({ + data : exports.utf8encode(chunk.data), + meta : chunk.meta + }); +}; +exports.Utf8EncodeWorker = Utf8EncodeWorker; + +},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ +'use strict'; + +var support = require('./support'); +var base64 = require('./base64'); +var nodejsUtils = require('./nodejsUtils'); +var setImmediate = require('set-immediate-shim'); +var external = require("./external"); + + +/** + * Convert a string that pass as a "binary string": it should represent a byte + * array but may have > 255 char codes. Be sure to take only the first byte + * and returns the byte array. + * @param {String} str the string to transform. + * @return {Array|Uint8Array} the string in a binary format. + */ +function string2binary(str) { + var result = null; + if (support.uint8array) { + result = new Uint8Array(str.length); + } else { + result = new Array(str.length); + } + return stringToArrayLike(str, result); +} + +/** + * Create a new blob with the given content and the given type. + * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use + * an Uint8Array because the stock browser of android 4 won't accept it (it + * will be silently converted to a string, "[object Uint8Array]"). + * + * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: + * when a large amount of Array is used to create the Blob, the amount of + * memory consumed is nearly 100 times the original data amount. + * + * @param {String} type the mime type of the blob. + * @return {Blob} the created blob. + */ +exports.newBlob = function(part, type) { + exports.checkSupport("blob"); + + try { + // Blob constructor + return new Blob([part], { + type: type + }); + } + catch (e) { + + try { + // deprecated, browser only, old way + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(part); + return builder.getBlob(type); + } + catch (e) { + + // well, fuck ?! + throw new Error("Bug : can't construct the Blob."); + } + } + + +}; +/** + * The identity function. + * @param {Object} input the input. + * @return {Object} the same input. + */ +function identity(input) { + return input; +} + +/** + * Fill in an array with a string. + * @param {String} str the string to use. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. + */ +function stringToArrayLike(str, array) { + for (var i = 0; i < str.length; ++i) { + array[i] = str.charCodeAt(i) & 0xFF; + } + return array; +} + +/** + * An helper for the function arrayLikeToString. + * This contains static information and functions that + * can be optimized by the browser JIT compiler. + */ +var arrayToStringHelper = { + /** + * Transform an array of int into a string, chunk by chunk. + * See the performances notes on arrayLikeToString. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @param {String} type the type of the array. + * @param {Integer} chunk the chunk size. + * @return {String} the resulting string. + * @throws Error if the chunk is too big for the stack. + */ + stringifyByChunk: function(array, type, chunk) { + var result = [], k = 0, len = array.length; + // shortcut + if (len <= chunk) { + return String.fromCharCode.apply(null, array); + } + while (k < len) { + if (type === "array" || type === "nodebuffer") { + result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); + } + else { + result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); + } + k += chunk; + } + return result.join(""); + }, + /** + * Call String.fromCharCode on every item in the array. + * This is the naive implementation, which generate A LOT of intermediate string. + * This should be used when everything else fail. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ + stringifyByChar: function(array){ + var resultStr = ""; + for(var i = 0; i < array.length; i++) { + resultStr += String.fromCharCode(array[i]); + } + return resultStr; + }, + applyCanBeUsed : { + /** + * true if the browser accepts to use String.fromCharCode on Uint8Array + */ + uint8array : (function () { + try { + return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; + } catch (e) { + return false; + } + })(), + /** + * true if the browser accepts to use String.fromCharCode on nodejs Buffer. + */ + nodebuffer : (function () { + try { + return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; + } catch (e) { + return false; + } + })() + } +}; + +/** + * Transform an array-like object to a string. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ +function arrayLikeToString(array) { + // Performances notes : + // -------------------- + // String.fromCharCode.apply(null, array) is the fastest, see + // see http://jsperf.com/converting-a-uint8array-to-a-string/2 + // but the stack is limited (and we can get huge arrays !). + // + // result += String.fromCharCode(array[i]); generate too many strings ! + // + // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 + // TODO : we now have workers that split the work. Do we still need that ? + var chunk = 65536, + type = exports.getTypeOf(array), + canUseApply = true; + if (type === "uint8array") { + canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; + } else if (type === "nodebuffer") { + canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; + } + + if (canUseApply) { + while (chunk > 1) { + try { + return arrayToStringHelper.stringifyByChunk(array, type, chunk); + } catch (e) { + chunk = Math.floor(chunk / 2); + } + } + } + + // no apply or chunk error : slow and painful algorithm + // default browser on android 4.* + return arrayToStringHelper.stringifyByChar(array); +} + +exports.applyFromCharCode = arrayLikeToString; + + +/** + * Copy the data from an array-like to an other array-like. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. + */ +function arrayLikeToArrayLike(arrayFrom, arrayTo) { + for (var i = 0; i < arrayFrom.length; i++) { + arrayTo[i] = arrayFrom[i]; + } + return arrayTo; +} + +// a matrix containing functions to transform everything into everything. +var transform = {}; + +// string to ? +transform["string"] = { + "string": identity, + "array": function(input) { + return stringToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["string"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return stringToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": function(input) { + return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); + } +}; + +// array to ? +transform["array"] = { + "string": arrayLikeToString, + "array": identity, + "arraybuffer": function(input) { + return (new Uint8Array(input)).buffer; + }, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// arraybuffer to ? +transform["arraybuffer"] = { + "string": function(input) { + return arrayLikeToString(new Uint8Array(input)); + }, + "array": function(input) { + return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); + }, + "arraybuffer": identity, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(new Uint8Array(input)); + } +}; + +// uint8array to ? +transform["uint8array"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return input.buffer; + }, + "uint8array": identity, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// nodebuffer to ? +transform["nodebuffer"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["nodebuffer"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return arrayLikeToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": identity +}; + +/** + * Transform an input into any type. + * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. + * If no output type is specified, the unmodified input will be returned. + * @param {String} outputType the output type. + * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. + * @throws {Error} an Error if the browser doesn't support the requested output type. + */ +exports.transformTo = function(outputType, input) { + if (!input) { + // undefined, null, etc + // an empty string won't harm. + input = ""; + } + if (!outputType) { + return input; + } + exports.checkSupport(outputType); + var inputType = exports.getTypeOf(input); + var result = transform[inputType][outputType](input); + return result; +}; + +/** + * Return the type of the input. + * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. + * @param {Object} input the input to identify. + * @return {String} the (lowercase) type of the input. + */ +exports.getTypeOf = function(input) { + if (typeof input === "string") { + return "string"; + } + if (Object.prototype.toString.call(input) === "[object Array]") { + return "array"; + } + if (support.nodebuffer && nodejsUtils.isBuffer(input)) { + return "nodebuffer"; + } + if (support.uint8array && input instanceof Uint8Array) { + return "uint8array"; + } + if (support.arraybuffer && input instanceof ArrayBuffer) { + return "arraybuffer"; + } +}; + +/** + * Throw an exception if the type is not supported. + * @param {String} type the type to check. + * @throws {Error} an Error if the browser doesn't support the requested type. + */ +exports.checkSupport = function(type) { + var supported = support[type.toLowerCase()]; + if (!supported) { + throw new Error(type + " is not supported by this platform"); + } +}; + +exports.MAX_VALUE_16BITS = 65535; +exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 + +/** + * Prettify a string read as binary. + * @param {string} str the string to prettify. + * @return {string} a pretty string. + */ +exports.pretty = function(str) { + var res = '', + code, i; + for (i = 0; i < (str || "").length; i++) { + code = str.charCodeAt(i); + res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); + } + return res; +}; + +/** + * Defer the call of a function. + * @param {Function} callback the function to call asynchronously. + * @param {Array} args the arguments to give to the callback. + */ +exports.delay = function(callback, args, self) { + setImmediate(function () { + callback.apply(self || null, args || []); + }); +}; + +/** + * Extends a prototype with an other, without calling a constructor with + * side effects. Inspired by nodejs' `utils.inherits` + * @param {Function} ctor the constructor to augment + * @param {Function} superCtor the parent constructor to use + */ +exports.inherits = function (ctor, superCtor) { + var Obj = function() {}; + Obj.prototype = superCtor.prototype; + ctor.prototype = new Obj(); +}; + +/** + * Merge the objects passed as parameters into a new one. + * @private + * @param {...Object} var_args All objects to merge. + * @return {Object} a new object with the data of the others. + */ +exports.extend = function() { + var result = {}, i, attr; + for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers + for (attr in arguments[i]) { + if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { + result[attr] = arguments[i][attr]; + } + } + } + return result; +}; + +/** + * Transform arbitrary content into a Promise. + * @param {String} name a name for the content being processed. + * @param {Object} inputData the content to process. + * @param {Boolean} isBinary true if the content is not an unicode string + * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. + * @param {Boolean} isBase64 true if the string content is encoded with base64. + * @return {Promise} a promise in a format usable by JSZip. + */ +exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { + + // if inputData is already a promise, this flatten it. + var promise = external.Promise.resolve(inputData).then(function(data) { + + + var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); + + if (isBlob && typeof FileReader !== "undefined") { + return new external.Promise(function (resolve, reject) { + var reader = new FileReader(); + + reader.onload = function(e) { + resolve(e.target.result); + }; + reader.onerror = function(e) { + reject(e.target.error); + }; + reader.readAsArrayBuffer(data); + }); + } else { + return data; + } + }); + + return promise.then(function(data) { + var dataType = exports.getTypeOf(data); + + if (!dataType) { + return external.Promise.reject( + new Error("Can't read the data of '" + name + "'. Is it " + + "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") + ); + } + // special case : it's way easier to work with Uint8Array than with ArrayBuffer + if (dataType === "arraybuffer") { + data = exports.transformTo("uint8array", data); + } else if (dataType === "string") { + if (isBase64) { + data = base64.decode(data); + } + else if (isBinary) { + // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask + if (isOptimizedBinaryString !== true) { + // this is a string, not in a base64 format. + // Be sure that this is a correct "binary string" + data = string2binary(data); + } + } + } + return data; + }); +}; + +},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var sig = require('./signature'); +var ZipEntry = require('./zipEntry'); +var utf8 = require('./utf8'); +var support = require('./support'); +// class ZipEntries {{{ +/** + * All the entries in the zip file. + * @constructor + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntries(loadOptions) { + this.files = []; + this.loadOptions = loadOptions; +} +ZipEntries.prototype = { + /** + * Check that the reader is on the specified signature. + * @param {string} expectedSignature the expected signature. + * @throws {Error} if it is an other signature. + */ + checkSignature: function(expectedSignature) { + if (!this.reader.readAndCheckSignature(expectedSignature)) { + this.reader.index -= 4; + var signature = this.reader.readString(4); + throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); + } + }, + /** + * Check if the given signature is at the given index. + * @param {number} askedIndex the index to check. + * @param {string} expectedSignature the signature to expect. + * @return {boolean} true if the signature is here, false otherwise. + */ + isSignature: function(askedIndex, expectedSignature) { + var currentIndex = this.reader.index; + this.reader.setIndex(askedIndex); + var signature = this.reader.readString(4); + var result = signature === expectedSignature; + this.reader.setIndex(currentIndex); + return result; + }, + /** + * Read the end of the central directory. + */ + readBlockEndOfCentral: function() { + this.diskNumber = this.reader.readInt(2); + this.diskWithCentralDirStart = this.reader.readInt(2); + this.centralDirRecordsOnThisDisk = this.reader.readInt(2); + this.centralDirRecords = this.reader.readInt(2); + this.centralDirSize = this.reader.readInt(4); + this.centralDirOffset = this.reader.readInt(4); + + this.zipCommentLength = this.reader.readInt(2); + // warning : the encoding depends of the system locale + // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. + // On a windows machine, this field is encoded with the localized windows code page. + var zipComment = this.reader.readData(this.zipCommentLength); + var decodeParamType = support.uint8array ? "uint8array" : "array"; + // To get consistent behavior with the generation part, we will assume that + // this is utf8 encoded unless specified otherwise. + var decodeContent = utils.transformTo(decodeParamType, zipComment); + this.zipComment = this.loadOptions.decodeFileName(decodeContent); + }, + /** + * Read the end of the Zip 64 central directory. + * Not merged with the method readEndOfCentral : + * The end of central can coexist with its Zip64 brother, + * I don't want to read the wrong number of bytes ! + */ + readBlockZip64EndOfCentral: function() { + this.zip64EndOfCentralSize = this.reader.readInt(8); + this.reader.skip(4); + // this.versionMadeBy = this.reader.readString(2); + // this.versionNeeded = this.reader.readInt(2); + this.diskNumber = this.reader.readInt(4); + this.diskWithCentralDirStart = this.reader.readInt(4); + this.centralDirRecordsOnThisDisk = this.reader.readInt(8); + this.centralDirRecords = this.reader.readInt(8); + this.centralDirSize = this.reader.readInt(8); + this.centralDirOffset = this.reader.readInt(8); + + this.zip64ExtensibleData = {}; + var extraDataSize = this.zip64EndOfCentralSize - 44, + index = 0, + extraFieldId, + extraFieldLength, + extraFieldValue; + while (index < extraDataSize) { + extraFieldId = this.reader.readInt(2); + extraFieldLength = this.reader.readInt(4); + extraFieldValue = this.reader.readData(extraFieldLength); + this.zip64ExtensibleData[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Read the end of the Zip 64 central directory locator. + */ + readBlockZip64EndOfCentralLocator: function() { + this.diskWithZip64CentralDirStart = this.reader.readInt(4); + this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); + this.disksCount = this.reader.readInt(4); + if (this.disksCount > 1) { + throw new Error("Multi-volumes zip are not supported"); + } + }, + /** + * Read the local files, based on the offset read in the central part. + */ + readLocalFiles: function() { + var i, file; + for (i = 0; i < this.files.length; i++) { + file = this.files[i]; + this.reader.setIndex(file.localHeaderOffset); + this.checkSignature(sig.LOCAL_FILE_HEADER); + file.readLocalPart(this.reader); + file.handleUTF8(); + file.processAttributes(); + } + }, + /** + * Read the central directory. + */ + readCentralDir: function() { + var file; + + this.reader.setIndex(this.centralDirOffset); + while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { + file = new ZipEntry({ + zip64: this.zip64 + }, this.loadOptions); + file.readCentralPart(this.reader); + this.files.push(file); + } + + if (this.centralDirRecords !== this.files.length) { + if (this.centralDirRecords !== 0 && this.files.length === 0) { + // We expected some records but couldn't find ANY. + // This is really suspicious, as if something went wrong. + throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); + } else { + // We found some records but not all. + // Something is wrong but we got something for the user: no error here. + // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); + } + } + }, + /** + * Read the end of central directory. + */ + readEndOfCentral: function() { + var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); + if (offset < 0) { + // Check if the content is a truncated zip or complete garbage. + // A "LOCAL_FILE_HEADER" is not required at the beginning (auto + // extractible zip for example) but it can give a good hint. + // If an ajax request was used without responseType, we will also + // get unreadable data. + var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); + + if (isGarbage) { + throw new Error("Can't find end of central directory : is this a zip file ? " + + "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); + } else { + throw new Error("Corrupted zip: can't find end of central directory"); + } + + } + this.reader.setIndex(offset); + var endOfCentralDirOffset = offset; + this.checkSignature(sig.CENTRAL_DIRECTORY_END); + this.readBlockEndOfCentral(); + + + /* extract from the zip spec : + 4) If one of the fields in the end of central directory + record is too small to hold required data, the field + should be set to -1 (0xFFFF or 0xFFFFFFFF) and the + ZIP64 format record should be created. + 5) The end of central directory record and the + Zip64 end of central directory locator record must + reside on the same disk when splitting or spanning + an archive. + */ + if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { + this.zip64 = true; + + /* + Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from + the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents + all numbers as 64-bit double precision IEEE 754 floating point numbers. + So, we have 53bits for integers and bitwise operations treat everything as 32bits. + see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators + and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 + */ + + // should look for a zip64 EOCD locator + offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + if (offset < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); + } + this.reader.setIndex(offset); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + this.readBlockZip64EndOfCentralLocator(); + + // now the zip64 EOCD record + if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { + // console.warn("ZIP64 end of central directory not where expected."); + this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + if (this.relativeOffsetEndOfZip64CentralDir < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); + } + } + this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + this.readBlockZip64EndOfCentral(); + } + + var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; + if (this.zip64) { + expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator + expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; + } + + var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; + + if (extraBytes > 0) { + // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); + if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { + // The offsets seem wrong, but we have something at the specified offset. + // So… we keep it. + } else { + // the offset is wrong, update the "zero" of the reader + // this happens if data has been prepended (crx files for example) + this.reader.zero = extraBytes; + } + } else if (extraBytes < 0) { + throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); + } + }, + prepareReader: function(data) { + this.reader = readerFor(data); + }, + /** + * Read a zip file and create ZipEntries. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. + */ + load: function(data) { + this.prepareReader(data); + this.readEndOfCentral(); + this.readCentralDir(); + this.readLocalFiles(); + } +}; +// }}} end of ZipEntries +module.exports = ZipEntries; + +},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var CompressedObject = require('./compressedObject'); +var crc32fn = require('./crc32'); +var utf8 = require('./utf8'); +var compressions = require('./compressions'); +var support = require('./support'); + +var MADE_BY_DOS = 0x00; +var MADE_BY_UNIX = 0x03; + +/** + * Find a compression registered in JSZip. + * @param {string} compressionMethod the method magic to find. + * @return {Object|null} the JSZip compression object, null if none found. + */ +var findCompression = function(compressionMethod) { + for (var method in compressions) { + if (!compressions.hasOwnProperty(method)) { + continue; + } + if (compressions[method].magic === compressionMethod) { + return compressions[method]; + } + } + return null; +}; + +// class ZipEntry {{{ +/** + * An entry in the zip file. + * @constructor + * @param {Object} options Options of the current file. + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntry(options, loadOptions) { + this.options = options; + this.loadOptions = loadOptions; +} +ZipEntry.prototype = { + /** + * say if the file is encrypted. + * @return {boolean} true if the file is encrypted, false otherwise. + */ + isEncrypted: function() { + // bit 1 is set + return (this.bitFlag & 0x0001) === 0x0001; + }, + /** + * say if the file has utf-8 filename/comment. + * @return {boolean} true if the filename/comment is in utf-8, false otherwise. + */ + useUTF8: function() { + // bit 11 is set + return (this.bitFlag & 0x0800) === 0x0800; + }, + /** + * Read the local part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readLocalPart: function(reader) { + var compression, localExtraFieldsLength; + + // we already know everything from the central dir ! + // If the central dir data are false, we are doomed. + // On the bright side, the local part is scary : zip64, data descriptors, both, etc. + // The less data we get here, the more reliable this should be. + // Let's skip the whole header and dash to the data ! + reader.skip(22); + // in some zip created on windows, the filename stored in the central dir contains \ instead of /. + // Strangely, the filename here is OK. + // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes + // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... + // Search "unzip mismatching "local" filename continuing with "central" filename version" on + // the internet. + // + // I think I see the logic here : the central directory is used to display + // content and the local directory is used to extract the files. Mixing / and \ + // may be used to display \ to windows users and use / when extracting the files. + // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 + this.fileNameLength = reader.readInt(2); + localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir + // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. + this.fileName = reader.readData(this.fileNameLength); + reader.skip(localExtraFieldsLength); + + if (this.compressedSize === -1 || this.uncompressedSize === -1) { + throw new Error("Bug or corrupted zip : didn't get enough information from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); + } + + compression = findCompression(this.compressionMethod); + if (compression === null) { // no compression found + throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); + } + this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); + }, + + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readCentralPart: function(reader) { + this.versionMadeBy = reader.readInt(2); + reader.skip(2); + // this.versionNeeded = reader.readInt(2); + this.bitFlag = reader.readInt(2); + this.compressionMethod = reader.readString(2); + this.date = reader.readDate(); + this.crc32 = reader.readInt(4); + this.compressedSize = reader.readInt(4); + this.uncompressedSize = reader.readInt(4); + var fileNameLength = reader.readInt(2); + this.extraFieldsLength = reader.readInt(2); + this.fileCommentLength = reader.readInt(2); + this.diskNumberStart = reader.readInt(2); + this.internalFileAttributes = reader.readInt(2); + this.externalFileAttributes = reader.readInt(4); + this.localHeaderOffset = reader.readInt(4); + + if (this.isEncrypted()) { + throw new Error("Encrypted zip are not supported"); + } + + // will be read in the local part, see the comments there + reader.skip(fileNameLength); + this.readExtraFields(reader); + this.parseZIP64ExtraField(reader); + this.fileComment = reader.readData(this.fileCommentLength); + }, + + /** + * Parse the external file attributes and get the unix/dos permissions. + */ + processAttributes: function () { + this.unixPermissions = null; + this.dosPermissions = null; + var madeBy = this.versionMadeBy >> 8; + + // Check if we have the DOS directory flag set. + // We look for it in the DOS and UNIX permissions + // but some unknown platform could set it as a compatibility flag. + this.dir = this.externalFileAttributes & 0x0010 ? true : false; + + if(madeBy === MADE_BY_DOS) { + // first 6 bits (0 to 5) + this.dosPermissions = this.externalFileAttributes & 0x3F; + } + + if(madeBy === MADE_BY_UNIX) { + this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; + // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); + } + + // fail safe : if the name ends with a / it probably means a folder + if (!this.dir && this.fileNameStr.slice(-1) === '/') { + this.dir = true; + } + }, + + /** + * Parse the ZIP64 extra field and merge the info in the current ZipEntry. + * @param {DataReader} reader the reader to use. + */ + parseZIP64ExtraField: function(reader) { + + if (!this.extraFields[0x0001]) { + return; + } + + // should be something, preparing the extra reader + var extraReader = readerFor(this.extraFields[0x0001].value); + + // I really hope that these 64bits integer can fit in 32 bits integer, because js + // won't let us have more. + if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { + this.uncompressedSize = extraReader.readInt(8); + } + if (this.compressedSize === utils.MAX_VALUE_32BITS) { + this.compressedSize = extraReader.readInt(8); + } + if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { + this.localHeaderOffset = extraReader.readInt(8); + } + if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { + this.diskNumberStart = extraReader.readInt(4); + } + }, + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readExtraFields: function(reader) { + var end = reader.index + this.extraFieldsLength, + extraFieldId, + extraFieldLength, + extraFieldValue; + + if (!this.extraFields) { + this.extraFields = {}; + } + + while (reader.index + 4 < end) { + extraFieldId = reader.readInt(2); + extraFieldLength = reader.readInt(2); + extraFieldValue = reader.readData(extraFieldLength); + + this.extraFields[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + + reader.setIndex(end); + }, + /** + * Apply an UTF8 transformation if needed. + */ + handleUTF8: function() { + var decodeParamType = support.uint8array ? "uint8array" : "array"; + if (this.useUTF8()) { + this.fileNameStr = utf8.utf8decode(this.fileName); + this.fileCommentStr = utf8.utf8decode(this.fileComment); + } else { + var upath = this.findExtraFieldUnicodePath(); + if (upath !== null) { + this.fileNameStr = upath; + } else { + // ASCII text or unsupported code page + var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); + this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); + } + + var ucomment = this.findExtraFieldUnicodeComment(); + if (ucomment !== null) { + this.fileCommentStr = ucomment; + } else { + // ASCII text or unsupported code page + var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); + this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); + } + } + }, + + /** + * Find the unicode path declared in the extra field, if any. + * @return {String} the unicode path, null otherwise. + */ + findExtraFieldUnicodePath: function() { + var upathField = this.extraFields[0x7075]; + if (upathField) { + var extraReader = readerFor(upathField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the filename changed, this field is out of date. + if (crc32fn(this.fileName) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(upathField.length - 5)); + } + return null; + }, + + /** + * Find the unicode comment declared in the extra field, if any. + * @return {String} the unicode comment, null otherwise. + */ + findExtraFieldUnicodeComment: function() { + var ucommentField = this.extraFields[0x6375]; + if (ucommentField) { + var extraReader = readerFor(ucommentField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the comment changed, this field is out of date. + if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); + } + return null; + } +}; +module.exports = ZipEntry; + +},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ +'use strict'; + +var StreamHelper = require('./stream/StreamHelper'); +var DataWorker = require('./stream/DataWorker'); +var utf8 = require('./utf8'); +var CompressedObject = require('./compressedObject'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * A simple object representing a file in the zip file. + * @constructor + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data + * @param {Object} options the options of the file + */ +var ZipObject = function(name, data, options) { + this.name = name; + this.dir = options.dir; + this.date = options.date; + this.comment = options.comment; + this.unixPermissions = options.unixPermissions; + this.dosPermissions = options.dosPermissions; + + this._data = data; + this._dataBinary = options.binary; + // keep only the compression + this.options = { + compression : options.compression, + compressionOptions : options.compressionOptions + }; +}; + +ZipObject.prototype = { + /** + * Create an internal stream for the content of this object. + * @param {String} type the type of each chunk. + * @return StreamHelper the stream. + */ + internalStream: function (type) { + var result = null, outputType = "string"; + try { + if (!type) { + throw new Error("No output type specified."); + } + outputType = type.toLowerCase(); + var askUnicodeString = outputType === "string" || outputType === "text"; + if (outputType === "binarystring" || outputType === "text") { + outputType = "string"; + } + result = this._decompressWorker(); + + var isUnicodeString = !this._dataBinary; + + if (isUnicodeString && !askUnicodeString) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + if (!isUnicodeString && askUnicodeString) { + result = result.pipe(new utf8.Utf8DecodeWorker()); + } + } catch (e) { + result = new GenericWorker("error"); + result.error(e); + } + + return new StreamHelper(result, outputType, ""); + }, + + /** + * Prepare the content in the asked type. + * @param {String} type the type of the result. + * @param {Function} onUpdate a function to call on each internal update. + * @return Promise the promise of the result. + */ + async: function (type, onUpdate) { + return this.internalStream(type).accumulate(onUpdate); + }, + + /** + * Prepare the content as a nodejs stream. + * @param {String} type the type of each chunk. + * @param {Function} onUpdate a function to call on each internal update. + * @return Stream the stream. + */ + nodeStream: function (type, onUpdate) { + return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); + }, + + /** + * Return a worker for the compressed content. + * @private + * @param {Object} compression the compression object to use. + * @param {Object} compressionOptions the options to use when compressing. + * @return Worker the worker. + */ + _compressWorker: function (compression, compressionOptions) { + if ( + this._data instanceof CompressedObject && + this._data.compression.magic === compression.magic + ) { + return this._data.getCompressedWorker(); + } else { + var result = this._decompressWorker(); + if(!this._dataBinary) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + return CompressedObject.createWorkerFrom(result, compression, compressionOptions); + } + }, + /** + * Return a worker for the decompressed content. + * @private + * @return Worker the worker. + */ + _decompressWorker : function () { + if (this._data instanceof CompressedObject) { + return this._data.getContentWorker(); + } else if (this._data instanceof GenericWorker) { + return this._data; + } else { + return new DataWorker(this._data); + } + } +}; + +var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; +var removedFn = function () { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); +}; + +for(var i = 0; i < removedMethods.length; i++) { + ZipObject.prototype[removedMethods[i]] = removedFn; +} +module.exports = ZipObject; + +},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ +(function (global){ +'use strict'; +var Mutation = global.MutationObserver || global.WebKitMutationObserver; + +var scheduleDrain; + +{ + if (Mutation) { + var called = 0; + var observer = new Mutation(nextTick); + var element = global.document.createTextNode(''); + observer.observe(element, { + characterData: true + }); + scheduleDrain = function () { + element.data = (called = ++called % 2); + }; + } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { + var channel = new global.MessageChannel(); + channel.port1.onmessage = nextTick; + scheduleDrain = function () { + channel.port2.postMessage(0); + }; + } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { + scheduleDrain = function () { + + // Create a + + + + + +
          + +

          index.html

          +
          + + diff --git a/api/2.49/overview-tree.html b/api/2.49/overview-tree.html new file mode 100644 index 00000000000..3142a69f3bb --- /dev/null +++ b/api/2.49/overview-tree.html @@ -0,0 +1,598 @@ + + + + + +Class Hierarchy + + + + + + + + + + + + + + +
          + +
          +
          + +
          +
          +

          Class Hierarchy

          + +
          +
          +

          Interface Hierarchy

          + +
          +
          +

          Annotation Type Hierarchy

          +
            +
          • dagger.hilt.android.qualifiers.ActivityContext (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.lifecycle.ActivityRetainedSavedState (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ActivityRetainedScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ActivityScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.migration.AliasOf (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.internal.aliasof.AliasOfPropagatedData (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.AndroidEntryPoint (implements java.lang.annotation.Annotation)
          • +
          • dagger.android.AndroidInjectionKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.qualifiers.ApplicationContext (implements java.lang.annotation.Annotation)
          • +
          • dagger.assisted.Assisted (implements java.lang.annotation.Annotation)
          • +
          • dagger.assisted.AssistedFactory (implements java.lang.annotation.Annotation)
          • +
          • dagger.assisted.AssistedInject (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindElementsIntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.Binds (implements java.lang.annotation.Annotation)
          • +
          • dagger.BindsInstance (implements java.lang.annotation.Annotation)
          • +
          • dagger.BindsOptionalOf (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindValue (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindValueIntoMap (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.BindValueIntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.grpc.server.CallScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.CancellationPolicy (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.ClassKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.Component (implements java.lang.annotation.Annotation)
          • +
          • dagger.Component.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.Component.Factory (implements java.lang.annotation.Annotation)
          • +
          • dagger.android.ContributesAndroidInjector (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.migration.CustomInject (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.CustomTestApplication (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.DefineComponent (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.DefineComponent.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.internal.definecomponent.DefineComponentClasses (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.migration.DisableInstallInCheck (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.EarlyEntryPoint (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.ElementsIntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.EntryPoint (implements java.lang.annotation.Annotation)
          • +
          • dagger.grpc.server.ForGrpcService (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.flags.FragmentGetContextFix.DisableFragmentGetContextFix (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.FragmentScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.GeneratesRootInput (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.internal.generatesrootinput.GeneratesRootInputPropagatedData (implements java.lang.annotation.Annotation)
          • +
          • dagger.grpc.server.GrpcService (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.HiltAndroidApp (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.HiltAndroidTest (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.lifecycle.HiltViewModel (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.internal.lifecycle.HiltViewModelAssistedMap (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.internal.lifecycle.HiltViewModelMap (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.InstallIn (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.internal.testing.InternalTestRoot (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.IntKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.IntoMap (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.IntoSet (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.LongKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.MapKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.Module (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.Multibinds (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.migration.OptionalInject (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.codegen.OriginatingElement (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProducerModule (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.Produces (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.Production (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionComponent (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionComponent.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionComponent.Factory (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionScope (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionSubcomponent (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionSubcomponent.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.producers.ProductionSubcomponent.Factory (implements java.lang.annotation.Annotation)
          • +
          • dagger.Provides (implements java.lang.annotation.Annotation)
          • +
          • dagger.Reusable (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ServiceScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.multibindings.StringKey (implements java.lang.annotation.Annotation)
          • +
          • dagger.Subcomponent (implements java.lang.annotation.Annotation)
          • +
          • dagger.Subcomponent.Builder (implements java.lang.annotation.Annotation)
          • +
          • dagger.Subcomponent.Factory (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.testing.TestInstallIn (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.testing.UninstallModules (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.UnstableApi (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ViewModelScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.scopes.ViewScoped (implements java.lang.annotation.Annotation)
          • +
          • dagger.hilt.android.WithFragmentBindings (implements java.lang.annotation.Annotation)
          • +
          +
          +
          +

          Enum Hierarchy

          + +
          +
          +
          +
          + +
          + + diff --git a/api/2.49/package-search-index.js b/api/2.49/package-search-index.js new file mode 100644 index 00000000000..fd8ba06f720 --- /dev/null +++ b/api/2.49/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"dagger"},{"l":"dagger.android"},{"l":"dagger.android.internal"},{"l":"dagger.android.support"},{"l":"dagger.assisted"},{"l":"dagger.grpc.server"},{"l":"dagger.grpc.server.processor"},{"l":"dagger.hilt"},{"l":"dagger.hilt.android"},{"l":"dagger.hilt.android.components"},{"l":"dagger.hilt.android.flags"},{"l":"dagger.hilt.android.internal.builders"},{"l":"dagger.hilt.android.internal.lifecycle"},{"l":"dagger.hilt.android.internal.managers"},{"l":"dagger.hilt.android.internal.migration"},{"l":"dagger.hilt.android.internal.modules"},{"l":"dagger.hilt.android.internal.testing"},{"l":"dagger.hilt.android.lifecycle"},{"l":"dagger.hilt.android.migration"},{"l":"dagger.hilt.android.qualifiers"},{"l":"dagger.hilt.android.scopes"},{"l":"dagger.hilt.android.testing"},{"l":"dagger.hilt.codegen"},{"l":"dagger.hilt.components"},{"l":"dagger.hilt.internal.aliasof"},{"l":"dagger.hilt.internal.definecomponent"},{"l":"dagger.hilt.internal.generatesrootinput"},{"l":"dagger.hilt.migration"},{"l":"dagger.hilt.testing"},{"l":"dagger.model"},{"l":"dagger.multibindings"},{"l":"dagger.producers"},{"l":"dagger.producers.monitoring"},{"l":"dagger.spi"},{"l":"dagger.spi.model"}] \ No newline at end of file diff --git a/api/2.49/package-search-index.zip b/api/2.49/package-search-index.zip new file mode 100644 index 0000000000000000000000000000000000000000..26d091aa8fa746e651a0c16d9627f83dbcedae50 GIT binary patch literal 445 zcmWIWW@Zs#;Nak3NSxgm&VU3Yf$W0BR3-ORj{)C#?<;{3ec5XU@b zMV>!iM=hT+?)}QXH{4d>gV5?YAH$H9tN!hE$qfs*;!f9O@}+?jE@KWUZByHxShh3Zb{ zcc!w-U7PzRX6jPotIGxF{Ze5UW{Xhy{p1x#R=0yt@m9IhR{QUt=)F<;;=-OMI|Gg- z|J8rhrj}dVvF^rHN1awJDTCrDOFyM`4&mbY`vbh$InK$vpCHM|z;K#{fg!+~kx7IB f5yHrFpb$m{IKw-@o0Sculo1Hsfph}Ucm@Ul8VRK) literal 0 HcmV?d00001 diff --git a/api/2.49/resources/glass.png b/api/2.49/resources/glass.png new file mode 100644 index 0000000000000000000000000000000000000000..a7f591f467a1c0c949bbc510156a0c1afb860a6e GIT binary patch literal 499 zcmVJoRsvExf%rEN>jUL}qZ_~k#FbE+Q;{`;0FZwVNX2n-^JoI; zP;4#$8DIy*Yk-P>VN(DUKmPse7mx+ExD4O|;?E5D0Z5($mjO3`*anwQU^s{ZDK#Lz zj>~{qyaIx5K!t%=G&2IJNzg!ChRpyLkO7}Ry!QaotAHAMpbB3AF(}|_f!G-oI|uK6 z`id_dumai5K%C3Y$;tKS_iqMPHg<*|-@e`liWLAggVM!zAP#@l;=c>S03;{#04Z~5 zN_+ss=Yg6*hTr59mzMwZ@+l~q!+?ft!fF66AXT#wWavHt30bZWFCK%!BNk}LN?0Hg z1VF_nfs`Lm^DjYZ1(1uD0u4CSIr)XAaqW6IT{!St5~1{i=i}zAy76p%_|w8rh@@c0Axr!ns=D-X+|*sY6!@wacG9%)Qn*O zl0sa739kT-&_?#oVxXF6tOnqTD)cZ}2vi$`ZU8RLAlo8=_z#*P3xI~i!lEh+Pdu-L zx{d*wgjtXbnGX_Yf@Tc7Q3YhLhPvc8noGJs2DA~1DySiA&6V{5JzFt ojAY1KXm~va;tU{v7C?Xj0BHw!K;2aXV*mgE07*qoM6N<$f;4TDA^-pY literal 0 HcmV?d00001 diff --git a/api/2.49/script.js b/api/2.49/script.js new file mode 100644 index 00000000000..7dc93c48e35 --- /dev/null +++ b/api/2.49/script.js @@ -0,0 +1,149 @@ +/* + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); + if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || + window.navigator.userAgent.indexOf('Edge/') > 0) { + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); + } + createElem(doc, tag, 'search.js'); + + $.get(pathtoroot + "module-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("module-search-index.json").async("text").then(function(content){ + moduleSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "package-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("package-search-index.json").async("text").then(function(content){ + packageSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "type-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("type-search-index.json").async("text").then(function(content){ + typeSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "member-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("member-search-index.json").async("text").then(function(content){ + memberSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "tag-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("tag-search-index.json").async("text").then(function(content){ + tagSearchIndex = JSON.parse(content); + }); + }); + }); + }); + if (!moduleSearchIndex) { + createElem(doc, tag, 'module-search-index.js'); + } + if (!packageSearchIndex) { + createElem(doc, tag, 'package-search-index.js'); + } + if (!typeSearchIndex) { + createElem(doc, tag, 'type-search-index.js'); + } + if (!memberSearchIndex) { + createElem(doc, tag, 'member-search-index.js'); + } + if (!tagSearchIndex) { + createElem(doc, tag, 'tag-search-index.js'); + } + $(window).resize(function() { + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + }); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(type) { + count = 0; + for (var key in data) { + var row = document.getElementById(key); + if ((data[key] & type) !== 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) { + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} + +function updateModuleFrame(pFrame, cFrame) { + top.packageFrame.location = pFrame; + top.classFrame.location = cFrame; +} diff --git a/api/2.49/search.js b/api/2.49/search.js new file mode 100644 index 00000000000..8492271e710 --- /dev/null +++ b/api/2.49/search.js @@ -0,0 +1,326 @@ +/* + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var noResult = {l: "No results found"}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Types"; +var catMembers = "Members"; +var catSearchTags = "SearchTags"; +var highlight = "$&"; +var camelCaseRegexp = ""; +var secondaryMatcher = ""; +function getHighlightedText(item) { + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; +} +function getURLPrefix(ui) { + var urlPrefix=""; + if (useModuleDirectories) { + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { + $.each(packageSearchIndex, function(index, item) { + if (item.m && ui.item.p == item.l) { + urlPrefix = item.m + slash; + } + }); + return urlPrefix; + } else { + return urlPrefix; + } + } + return urlPrefix; +} +var watermark = 'Search'; +$(function() { + $("#search").val(''); + $("#search").prop("disabled", false); + $("#reset").prop("disabled", false); + $("#search").val(watermark).addClass('watermark'); + $("#search").blur(function() { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + $("#search").on('click keydown', function() { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $("#reset").click(function() { + $("#search").val(''); + $("#search").focus(); + }); + $("#search").focus(); + $("#search")[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this, + currentCategory = ""; + rMenu.menu.bindings = $(); + $.each(items, function(index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append("
        • " + item.category + "
        • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "resultItem"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "resultItem"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = (item.m) + ? getHighlightedText(item.m + "/" + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = (item.p) + ? getHighlightedText(item.p + "." + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + var li = $("
        • ").appendTo(ul); + var div = $("
          ").appendTo(li); + if (item.category === catSearchTags) { + if (item.d) { + div.html(label + " (" + item.h + ")
          " + + item.d + "
          "); + } else { + div.html(label + " (" + item.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + $("#search").catcomplete({ + minLength: 1, + delay: 100, + source: function(request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); + camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); + var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); + secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf(".") + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function(index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ""; + $.each(packageSearchIndex, function(index, item) { + item.category = catPackages; + pkg = (item.m) + ? (item.m + "/" + item.l) + : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = (pCount > displayCount) ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function(index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = (tCount > displayCount) ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function(index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = (mCount > displayCount) ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function(index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = (tgCount > displayCount) ? tgCount : displayCount; + } + displayCount = (displayCount > 500) ? displayCount : 500; + var counter = function() { + var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; + var f = function(item) { + count[item.category] += 1; + return (count[item.category] <= displayCount); + }; + return f; + }(); + response(result.filter(counter)); + }, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search").empty(); + } + }, + autoFocus: true, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += "module-summary.html"; + } else { + url = ui.item.l + "-summary.html"; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === "") { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === "") { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $("#search").focus(); + } + } + }); +}); diff --git a/api/2.49/serialized-form.html b/api/2.49/serialized-form.html new file mode 100644 index 00000000000..e229d199daa --- /dev/null +++ b/api/2.49/serialized-form.html @@ -0,0 +1,163 @@ + + + + + +Serialized Form + + + + + + + + + + + + + + +
          + +
          +
          +
          +

          Serialized Form

          +
          +
          + +
          +
          +
          + +
          + + diff --git a/api/2.49/stylesheet.css b/api/2.49/stylesheet.css new file mode 100644 index 00000000000..de945eda261 --- /dev/null +++ b/api/2.49/stylesheet.css @@ -0,0 +1,910 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +a[name]:before, a[name]:target, a[id]:before, a[id]:target { + content:""; + display:inline-block; + position:relative; + padding-top:129px; + margin-top:-129px; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} + +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* + * Styles for navigation bar. + */ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.navPadding { + padding-top: 107px; +} +.fixedNav { + position:fixed; + width:100%; + z-index:999; + background-color:#ffffff; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch { + float:right; + margin:0 0 0 0; + padding:0; +} +ul.navListSearch li { + list-style:none; + float:right; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch li label { + position:relative; + right:-16px; +} +ul.subNavList li { + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Styles for page header and footer. + */ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexNav { + position:relative; + font-size:12px; + background-color:#dee3e9; +} +.indexNav ul { + margin-top:0; + padding:5px; +} +.indexNav ul li { + display:inline; + list-style-type:none; + padding-right:10px; + text-transform:uppercase; +} +.indexNav h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* + * Styles for page layout containers. + */ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, +.allClassesContainer, .allPackagesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* + * Styles for tables. + */ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, +.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, +.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.constantsSummary caption a:link, .constantsSummary caption a:visited, +.useSummary caption a:link, .useSummary caption a:visited { + color:#1f389c; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.deprecatedSummary caption a:link, +.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.usesSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.usesSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.usesSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.usesSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, +.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.usesSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; +} +.rowColor th, .altColor th { + font-weight:normal; +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td, +.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, +.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +.constantsSummary td { + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +.packagesSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + font-size:13px; +} +td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { + font-size:13px; +} +.constantsSummary th, .packagesSummary th { + font-size:13px; +} +.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary td.colLast { + white-space:normal; + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.requiresSummary td.colFirst, .requiresSummary th.colFirst, +.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, +.usesSummary td.colFirst, .usesSummary th.colFirst, +.providesSummary td.colFirst, .providesSummary th.colFirst, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, +.typeSummary td.colFirst, .typeSummary th.colFirst { + vertical-align:top; +} +.packagesSummary th.colLast, .packagesSummary td.colLast { + white-space:normal; +} +td.colFirst a:link, td.colFirst a:visited, +td.colSecond a:link, td.colSecond a:visited, +th.colFirst a:link, th.colFirst a:visited, +th.colSecond a:link, th.colSecond a:visited, +th.colConstructorName a:link, th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, .constantValuesContainer td a:visited, +.allClassesContainer td a:link, .allClassesContainer td a:visited, +.allPackagesContainer td a:link, .allPackagesContainer td a:visited { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor, .altColor th { + background-color:#FFFFFF; +} +.rowColor, .rowColor th { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +td.colLast div { + padding-top:0px; +} +td.colLast a { + padding-bottom:3px; +} +/* + * Styles for formatting effect. + */ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, +.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, +.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, +.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} +.deprecationBlock { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} +div.contentContainer ul.blockList li.blockList h2 { + padding-bottom:0px; +} +/* + * Styles for IFRAME. + */ +.mainContainer { + margin:0 auto; + padding:0; + height:100%; + width:100%; + position:fixed; + top:0; + left:0; +} +.leftContainer { + height:100%; + position:fixed; + width:320px; +} +.leftTop { + position:relative; + float:left; + width:315px; + top:0; + left:0; + height:30%; + border-right:6px solid #ccc; + border-bottom:6px solid #ccc; +} +.leftBottom { + position:relative; + float:left; + width:315px; + bottom:0; + left:0; + height:70%; + border-right:6px solid #ccc; + border-top:1px solid #000; +} +.rightContainer { + position:absolute; + left:320px; + top:0; + bottom:0; + height:100%; + right:0; + border-left:1px solid #000; +} +.rightIframe { + margin:0; + padding:0; + height:100%; + right:30px; + width:100%; + overflow:visible; + margin-bottom:30px; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.resultItem { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; + background-color: #FFFFFF; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.resultHighlight { + font-weight:bold; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +#search { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; +} +#reset { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:17px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.searchTagDescResult { + font-style:italic; + font-size:11px; +} +.searchTagHolderResult { + font-style:italic; + font-size:12px; +} +.searchTagResult:before, .searchTagResult:target { + color:red; +} +.moduleGraph span { + display:none; + position:absolute; +} +.moduleGraph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.methodSignature { + white-space:normal; +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} diff --git a/api/2.49/type-search-index.js b/api/2.49/type-search-index.js new file mode 100644 index 00000000000..aba08125813 --- /dev/null +++ b/api/2.49/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"dagger.hilt.android.components","l":"ActivityComponent"},{"p":"dagger.hilt.android.internal.builders","l":"ActivityComponentBuilder"},{"p":"dagger.hilt.android.internal.managers","l":"ActivityComponentManager.ActivityComponentBuilderEntryPoint"},{"p":"dagger.hilt.android.internal.managers","l":"ActivityComponentManager"},{"p":"dagger.hilt.android.qualifiers","l":"ActivityContext"},{"p":"dagger.hilt.android.internal.lifecycle","l":"DefaultViewModelFactories.ActivityEntryPoint"},{"p":"dagger.hilt.android.components","l":"ActivityRetainedComponent"},{"p":"dagger.hilt.android.internal.builders","l":"ActivityRetainedComponentBuilder"},{"p":"dagger.hilt.android","l":"ActivityRetainedLifecycle"},{"p":"dagger.hilt.android.lifecycle","l":"ActivityRetainedSavedState"},{"p":"dagger.hilt.android.scopes","l":"ActivityRetainedScoped"},{"p":"dagger.hilt.android.scopes","l":"ActivityScoped"},{"p":"dagger.hilt.migration","l":"AliasOf"},{"p":"dagger.hilt.internal.aliasof","l":"AliasOfPropagatedData"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"dagger.hilt.android","l":"AndroidEntryPoint"},{"p":"dagger.android","l":"AndroidInjection"},{"p":"dagger.android","l":"AndroidInjectionKey"},{"p":"dagger.android.internal","l":"AndroidInjectionKeys"},{"p":"dagger.android","l":"AndroidInjectionModule"},{"p":"dagger.android","l":"AndroidInjector"},{"p":"dagger.android.support","l":"AndroidSupportInjection"},{"p":"dagger.android.support","l":"AndroidSupportInjectionModule"},{"p":"dagger.hilt.android.internal.managers","l":"ApplicationComponentManager"},{"p":"dagger.hilt.android.qualifiers","l":"ApplicationContext"},{"p":"dagger.hilt.android.internal.modules","l":"ApplicationContextModule"},{"p":"dagger.assisted","l":"Assisted"},{"p":"dagger.assisted","l":"AssistedFactory"},{"p":"dagger.assisted","l":"AssistedInject"},{"p":"dagger.spi.model","l":"DaggerProcessingEnv.Backend"},{"p":"dagger.hilt.android.testing","l":"BindElementsIntoSet"},{"p":"dagger.model","l":"Binding"},{"p":"dagger.spi.model","l":"Binding"},{"p":"dagger.model","l":"BindingGraph"},{"p":"dagger.spi.model","l":"BindingGraph"},{"p":"dagger.spi","l":"BindingGraphPlugin"},{"p":"dagger.spi.model","l":"BindingGraphPlugin"},{"p":"dagger.model","l":"BindingKind"},{"p":"dagger.spi.model","l":"BindingKind"},{"p":"dagger","l":"Binds"},{"p":"dagger","l":"BindsInstance"},{"p":"dagger","l":"BindsOptionalOf"},{"p":"dagger.hilt.android.testing","l":"BindValue"},{"p":"dagger.hilt.android.testing","l":"BindValueIntoMap"},{"p":"dagger.hilt.android.testing","l":"BindValueIntoSet"},{"p":"dagger.hilt.android.internal.managers","l":"BroadcastReceiverComponentManager"},{"p":"dagger","l":"Component.Builder"},{"p":"dagger","l":"Subcomponent.Builder"},{"p":"dagger.android","l":"AndroidInjector.Builder"},{"p":"dagger.hilt","l":"DefineComponent.Builder"},{"p":"dagger.model","l":"DependencyRequest.Builder"},{"p":"dagger.model","l":"Key.Builder"},{"p":"dagger.producers","l":"ProductionComponent.Builder"},{"p":"dagger.producers","l":"ProductionSubcomponent.Builder"},{"p":"dagger.spi.model","l":"DependencyRequest.Builder"},{"p":"dagger.spi.model","l":"Key.Builder"},{"p":"dagger.grpc.server","l":"CallScoped"},{"p":"dagger.producers","l":"CancellationPolicy"},{"p":"dagger.model","l":"BindingGraph.ChildFactoryMethodEdge"},{"p":"dagger.spi.model","l":"BindingGraph.ChildFactoryMethodEdge"},{"p":"dagger.multibindings","l":"ClassKey"},{"p":"dagger","l":"Component"},{"p":"dagger.model","l":"BindingGraph.ComponentNode"},{"p":"dagger.spi.model","l":"BindingGraph.ComponentNode"},{"p":"dagger.model","l":"ComponentPath"},{"p":"dagger.spi.model","l":"ComponentPath"},{"p":"dagger.hilt.android.internal.managers","l":"ComponentSupplier"},{"p":"dagger.hilt.android.internal.testing","l":"TestComponentData.ComponentSupplier"},{"p":"dagger.android","l":"ContributesAndroidInjector"},{"p":"dagger.grpc.server","l":"CurrentContextModule"},{"p":"dagger.hilt.android.migration","l":"CustomInject"},{"p":"dagger.hilt.android.migration","l":"CustomInjection"},{"p":"dagger.hilt.android.testing","l":"CustomTestApplication"},{"p":"dagger.android","l":"DaggerActivity"},{"p":"dagger.spi.model","l":"DaggerAnnotation"},{"p":"dagger.android.support","l":"DaggerAppCompatActivity"},{"p":"dagger.android.support","l":"DaggerAppCompatDialogFragment"},{"p":"dagger.android","l":"DaggerApplication"},{"p":"dagger.android.support","l":"DaggerApplication"},{"p":"dagger.android","l":"DaggerBroadcastReceiver"},{"p":"dagger.android","l":"DaggerContentProvider"},{"p":"dagger.android","l":"DaggerDialogFragment"},{"p":"dagger.android.support","l":"DaggerDialogFragment"},{"p":"dagger.spi.model","l":"DaggerElement"},{"p":"dagger.spi.model","l":"DaggerExecutableElement"},{"p":"dagger.android","l":"DaggerFragment"},{"p":"dagger.android.support","l":"DaggerFragment"},{"p":"dagger.android","l":"DaggerIntentService"},{"p":"dagger.spi.model","l":"DaggerProcessingEnv"},{"p":"dagger.android","l":"DaggerService"},{"p":"dagger.spi.model","l":"DaggerType"},{"p":"dagger.spi.model","l":"DaggerTypeElement"},{"p":"dagger.hilt.android.internal.lifecycle","l":"DefaultViewModelFactories"},{"p":"dagger.hilt","l":"DefineComponent"},{"p":"dagger.hilt.internal.definecomponent","l":"DefineComponentClasses"},{"p":"dagger.hilt.internal.definecomponent","l":"DefineComponentNoParent"},{"p":"dagger.model","l":"BindingGraph.DependencyEdge"},{"p":"dagger.spi.model","l":"BindingGraph.DependencyEdge"},{"p":"dagger.model","l":"DependencyRequest"},{"p":"dagger.spi.model","l":"DependencyRequest"},{"p":"dagger.spi","l":"DiagnosticReporter"},{"p":"dagger.spi.model","l":"DiagnosticReporter"},{"p":"dagger.hilt.android.flags","l":"FragmentGetContextFix.DisableFragmentGetContextFix"},{"p":"dagger.hilt.migration","l":"DisableInstallInCheck"},{"p":"dagger.android","l":"DispatchingAndroidInjector"},{"p":"dagger.hilt.android","l":"EarlyEntryPoint"},{"p":"dagger.hilt.android","l":"EarlyEntryPoints"},{"p":"dagger.hilt.android.internal.testing","l":"EarlySingletonComponentCreator"},{"p":"dagger.model","l":"BindingGraph.Edge"},{"p":"dagger.spi.model","l":"BindingGraph.Edge"},{"p":"dagger.multibindings","l":"ElementsIntoSet"},{"p":"dagger.hilt","l":"EntryPoint"},{"p":"dagger.hilt","l":"EntryPoints"},{"p":"dagger","l":"Component.Factory"},{"p":"dagger","l":"Subcomponent.Factory"},{"p":"dagger.android","l":"AndroidInjector.Factory"},{"p":"dagger.producers","l":"ProductionComponent.Factory"},{"p":"dagger.producers","l":"ProductionSubcomponent.Factory"},{"p":"dagger.producers.monitoring","l":"ProductionComponentMonitor.Factory"},{"p":"dagger.producers.monitoring","l":"ProductionComponentTimingRecorder.Factory"},{"p":"dagger.producers.monitoring","l":"TimingProductionComponentMonitor.Factory"},{"p":"dagger.grpc.server","l":"ForGrpcService"},{"p":"dagger.hilt.android.components","l":"FragmentComponent"},{"p":"dagger.hilt.android.internal.builders","l":"FragmentComponentBuilder"},{"p":"dagger.hilt.android.internal.managers","l":"FragmentComponentManager.FragmentComponentBuilderEntryPoint"},{"p":"dagger.hilt.android.internal.managers","l":"FragmentComponentManager"},{"p":"dagger.hilt.android.internal.managers","l":"ViewComponentManager.FragmentContextWrapper"},{"p":"dagger.hilt.android.internal.lifecycle","l":"DefaultViewModelFactories.FragmentEntryPoint"},{"p":"dagger.hilt.android.flags","l":"FragmentGetContextFix"},{"p":"dagger.hilt.android.flags","l":"FragmentGetContextFix.FragmentGetContextFixEntryPoint"},{"p":"dagger.hilt.android.scopes","l":"FragmentScoped"},{"p":"dagger.hilt","l":"GeneratesRootInput"},{"p":"dagger.hilt.internal.generatesrootinput","l":"GeneratesRootInputPropagatedData"},{"p":"dagger.grpc.server","l":"GrpcCallMetadataModule"},{"p":"dagger.grpc.server","l":"GrpcService"},{"p":"dagger.grpc.server.processor","l":"GrpcServiceProcessor"},{"p":"dagger.android","l":"HasAndroidInjector"},{"p":"dagger.hilt.android.internal.migration","l":"HasCustomInject"},{"p":"dagger.hilt.android","l":"HiltAndroidApp"},{"p":"dagger.hilt.android.testing","l":"HiltAndroidRule"},{"p":"dagger.hilt.android.testing","l":"HiltAndroidTest"},{"p":"dagger.hilt.android.testing","l":"HiltTestApplication"},{"p":"dagger.hilt.android.lifecycle","l":"HiltViewModel"},{"p":"dagger.hilt.android.internal.lifecycle","l":"HiltViewModelAssistedMap"},{"p":"dagger.hilt.android.internal.lifecycle","l":"HiltViewModelFactory"},{"p":"dagger.hilt.android.internal.lifecycle","l":"HiltViewModelMap"},{"p":"dagger.hilt.android.internal.migration","l":"InjectedByHilt"},{"p":"dagger.grpc.server","l":"InProcessServerModule"},{"p":"dagger.hilt","l":"InstallIn"},{"p":"dagger.hilt.android.internal.lifecycle","l":"DefaultViewModelFactories.InternalFactoryFactory"},{"p":"dagger.hilt.android.internal.testing","l":"InternalTestRoot"},{"p":"dagger.multibindings","l":"IntKey"},{"p":"dagger.multibindings","l":"IntoMap"},{"p":"dagger.multibindings","l":"IntoSet"},{"p":"dagger.android","l":"DispatchingAndroidInjector.InvalidInjectorBindingException"},{"p":"dagger.model","l":"Key"},{"p":"dagger.spi.model","l":"Key"},{"p":"dagger.hilt.android.internal.lifecycle","l":"HiltViewModelMap.KeySet"},{"p":"dagger","l":"Lazy"},{"p":"dagger.multibindings","l":"LongKey"},{"p":"dagger","l":"MapKey"},{"p":"dagger.hilt.android.internal.testing","l":"MarkThatRulesRanRule"},{"p":"dagger.model","l":"BindingGraph.MaybeBinding"},{"p":"dagger.spi.model","l":"BindingGraph.MaybeBinding"},{"p":"dagger","l":"MembersInjector"},{"p":"dagger.model","l":"BindingGraph.MissingBinding"},{"p":"dagger.spi.model","l":"BindingGraph.MissingBinding"},{"p":"dagger","l":"Module"},{"p":"dagger.model","l":"Key.MultibindingContributionIdentifier"},{"p":"dagger.spi.model","l":"Key.MultibindingContributionIdentifier"},{"p":"dagger.multibindings","l":"Multibinds"},{"p":"dagger.grpc.server","l":"NettyServerModule"},{"p":"dagger.model","l":"BindingGraph.Node"},{"p":"dagger.spi.model","l":"BindingGraph.Node"},{"p":"dagger.hilt.android","l":"ActivityRetainedLifecycle.OnClearedListener"},{"p":"dagger.hilt.android.lifecycle","l":"RetainedLifecycle.OnClearedListener"},{"p":"dagger.hilt.android.testing","l":"OnComponentReadyRunner.OnComponentReadyListener"},{"p":"dagger.hilt.android.testing","l":"OnComponentReadyRunner"},{"p":"dagger.hilt.android.testing","l":"OnComponentReadyRunner.OnComponentReadyRunnerHolder"},{"p":"dagger.hilt.android.migration","l":"OptionalInject"},{"p":"dagger.hilt.android.migration","l":"OptionalInjectCheck"},{"p":"dagger.hilt.codegen","l":"OriginatingElement"},{"p":"dagger.producers","l":"Produced"},{"p":"dagger.producers","l":"Producer"},{"p":"dagger.producers","l":"ProducerModule"},{"p":"dagger.producers.monitoring","l":"ProducerMonitor"},{"p":"dagger.producers","l":"Producers"},{"p":"dagger.producers.monitoring","l":"ProducerTimingRecorder"},{"p":"dagger.producers.monitoring","l":"ProducerToken"},{"p":"dagger.producers","l":"Produces"},{"p":"dagger.producers","l":"Production"},{"p":"dagger.producers","l":"ProductionComponent"},{"p":"dagger.producers.monitoring","l":"ProductionComponentMonitor"},{"p":"dagger.producers.monitoring","l":"ProductionComponentTimingRecorder"},{"p":"dagger.producers","l":"ProductionScope"},{"p":"dagger.producers","l":"ProductionSubcomponent"},{"p":"dagger.producers","l":"CancellationPolicy.Propagation"},{"p":"dagger","l":"Provides"},{"p":"dagger.grpc.server","l":"ProxyServerCallHandler"},{"p":"dagger.model","l":"RequestKind"},{"p":"dagger.spi.model","l":"RequestKind"},{"p":"dagger.hilt.android.lifecycle","l":"RetainedLifecycle"},{"p":"dagger.hilt.android.internal.lifecycle","l":"RetainedLifecycleImpl"},{"p":"dagger","l":"Reusable"},{"p":"dagger.hilt.android.internal.managers","l":"SavedStateHandleHolder"},{"p":"dagger.model","l":"Scope"},{"p":"dagger.spi.model","l":"Scope"},{"p":"dagger.grpc.server","l":"ServerModule"},{"p":"dagger.hilt.android.components","l":"ServiceComponent"},{"p":"dagger.hilt.android.internal.builders","l":"ServiceComponentBuilder"},{"p":"dagger.hilt.android.internal.managers","l":"ServiceComponentManager.ServiceComponentBuilderEntryPoint"},{"p":"dagger.hilt.android.internal.managers","l":"ServiceComponentManager"},{"p":"dagger.grpc.server","l":"ProxyServerCallHandler.ServiceDefinitionFactory"},{"p":"dagger.hilt.android.scopes","l":"ServiceScoped"},{"p":"dagger.hilt.components","l":"SingletonComponent"},{"p":"dagger.multibindings","l":"StringKey"},{"p":"dagger","l":"Subcomponent"},{"p":"dagger.model","l":"BindingGraph.SubcomponentCreatorBindingEdge"},{"p":"dagger.spi.model","l":"BindingGraph.SubcomponentCreatorBindingEdge"},{"p":"dagger.hilt.android.internal.testing","l":"TestApplicationComponentManager"},{"p":"dagger.hilt.android.internal.testing","l":"TestApplicationComponentManagerHolder"},{"p":"dagger.hilt.android.internal.testing","l":"TestComponentData"},{"p":"dagger.hilt.android.internal.testing","l":"TestComponentDataSupplier"},{"p":"dagger.hilt.android.internal.testing","l":"TestInjector"},{"p":"dagger.hilt.testing","l":"TestInstallIn"},{"p":"dagger.producers.monitoring","l":"TimingProductionComponentMonitor"},{"p":"dagger.producers.monitoring","l":"TimingRecorders"},{"p":"dagger.hilt.android.testing","l":"UninstallModules"},{"p":"dagger.hilt.android","l":"UnstableApi"},{"p":"dagger.hilt.android.components","l":"ViewComponent"},{"p":"dagger.hilt.android.internal.builders","l":"ViewComponentBuilder"},{"p":"dagger.hilt.android.internal.managers","l":"ViewComponentManager.ViewComponentBuilderEntryPoint"},{"p":"dagger.hilt.android.internal.managers","l":"ViewComponentManager"},{"p":"dagger.hilt.android.components","l":"ViewModelComponent"},{"p":"dagger.hilt.android.internal.builders","l":"ViewModelComponentBuilder"},{"p":"dagger.hilt.android.internal.lifecycle","l":"HiltViewModelFactory.ViewModelFactoriesEntryPoint"},{"p":"dagger.hilt.android","l":"ViewModelLifecycle"},{"p":"dagger.hilt.android.scopes","l":"ViewModelScoped"},{"p":"dagger.hilt.android.scopes","l":"ViewScoped"},{"p":"dagger.hilt.android.components","l":"ViewWithFragmentComponent"},{"p":"dagger.hilt.android.internal.builders","l":"ViewWithFragmentComponentBuilder"},{"p":"dagger.hilt.android.internal.managers","l":"ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint"},{"p":"dagger.hilt.android","l":"WithFragmentBindings"}] \ No newline at end of file diff --git a/api/2.49/type-search-index.zip b/api/2.49/type-search-index.zip new file mode 100644 index 0000000000000000000000000000000000000000..0df197b74c7188754a1587b367d7e511c598a983 GIT binary patch literal 2096 zcmZvdc{~%0AIHaBVaUj_CYjraBv(C-tQ^%dn_GD1n4DwoBO(%|WTc##tGStDBlCL@ zkJ)l8VOH*|Qjy&1>G|vT{9do$`}@cD^Ll;0ukXKaqz#Zq0w5qD0KgO^IRgI0iC;N9 zCd5ZG%m;(_x~b_G?Cle+V(s0XR@XTybaY^%|B8vzm!XHjvw@{&&EVidZ!7vEUf-vK zo6Ef*d-GFhtLqlUj_>XlB$`m>Qmo+8#6cUx&AX|DrM4JRn6biLyy#SAObO*O)fZLR zUTCT!dUDuin{1x*QXFz$b{T2_MkKMqtV3<^X&$zSrKsee?61Ns{v2y90j+~p;KYXu zE6^wRvD$I8AkAx4{nTy*EECeE5aG&@+v+*JAF zj{|RvNS&&xRlqIRRn}dL(!6hDR+jGndrG@`Pk1C zG_`ZT=`2-3-G`nkZM7rM{8SQw>ne;~!TUphz)S3w~}izfOEBw!#8lR6U1WB#l_#f6+zDl=-%;sD?{TlT$8BV@w&E~S zmJRFThNMp8bEQoY3+6Isv80Z@L^yj!W#+o1mk(#ngq;tS(*7iEs@1 zxo;>{b*#K^KHM-~(qr;c@tVH_o1t2VyRGRMl{8o3CI@pS!9L$O;2Q!CeII{77ovxPRD9CK>xnr_sR%ODs%#WR$gTyuZ zey>p(vkek2hsFs(?FBYbYHZV8?C89;fL@lqwv48yEWM!`wOMwt7y#7#lQ^)XZ`l=e zXN2C3xTeVRQE#NIz`SnkQ&f@y@2d;minr|G115bDAYMomQ#EmcGdkL49VnL{OqneZ zQ*Qe&p&XQV(|HW>~gK*^47$6kuSMEU>NaE z%J(cC;$+D%BBk6*Me0Q6>|A!Y*yHh@Thg9YtJR`I&uE*P;yODYl-{R{h#VquNJ(fa zm8I@OHe8^;sxq!+0>tKdkHg-@RJ?fPZ$ysmdsnw(`kr8n@+Y*>cye1@l8tJJ;Ye1e^b@F?V?MO42(UqZRGi^xAHMnWJ=et zdPf~FXN~~t8bFeF{qje@0i_;&C|$sAMJXCNl54@3M)=wV8E?0hK|OlUYeK+FXYc(V zJ6B&uE}P`&sy#pax@@N}7-F2;Q#Q7jD!$+wv+@ zza&Um7r)umQn2YA2*_s3MfhRwDA6T)ipSWYBF1t80qw*xY;aQ0fusBIk7KFL;b|Se zbBnwJGP{gZV&90=jnVFyIXr!q-a?izSav$c&ob}B7eNH z$0@c=#LD$duaf^U$I`WAb~c!pHxslP|Fd|$2Wvpc*MAOAfFiC*5U31?U7>wQOPz{jyWlX`RJ!Os>vIrof?paE|kJuzr=#+?Y2}39ght8e zF_}wssb#Vy>h`ve!_veRRfN}+jObO{!X})Cz@^)6E_vxZgji6mhv|Thu#|Qm#YsEu zb~k2$JAyHC(X1?Arz|ThSDc||bLP0DQjzIv4bxO4HtgaW>T+1Y8Q9u&iCG0?_Lp_U za{~Q$dJ5?$FuiROw3jjflU*UNAbk0l`%YJNE8JVEYo^J9x_LNM!8+M^Vy@q5+@~YX z;q*72OH&!0rW2LlhdzX%vz3;pYL1SJ_yoOh-r;%Zwdh_Njpd3zf zSoyQ+L-b~!oo zRw=7B6Wr|=(dD!EI@6EXCW<<|%3!~sxKj| zCys{BSlX(bSL|4?=Oq5z6-Co)-KH&Qs>QUCw| literal 0 HcmV?d00001