A B C D E F G H I K L M N O P Q R S T U V W 
All Classes All Packages

A

ACTIVITY - dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
 
ACTIVITY - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ACTIVITY_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ACTIVITY_COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ACTIVITY_COMPONENT_MANAGER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ACTIVITY_RETAINED_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ACTIVITY_SCOPED - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ActivityGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an Hilt Activity class for the @AndroidEntryPoint annotated class.
ActivityGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.ActivityGenerator
 
addGeneratedAnnotation(TypeSpec.Builder, ProcessingEnvironment, Class<?>) - Static method in class dagger.hilt.processor.internal.Processors
 
addGeneratedAnnotation(TypeSpec.Builder, ProcessingEnvironment, String) - Static method in class dagger.hilt.processor.internal.Processors
 
additionalProcessingOptions() - Method in class dagger.hilt.processor.internal.BaseProcessor
Returns additional processing options that should only be applied for a single processor.
additionalProcessingOptions() - Method in class dagger.hilt.processor.internal.root.RootProcessor
 
AGGREGATED_DEPS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_EARLY_ENTRY_POINT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_EARLY_ENTRY_POINT_PACKAGE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_ELEMENT_PROXY - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_ROOT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_ROOT_PACKAGE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_UNINSTALL_MODULES - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AGGREGATED_UNINSTALL_MODULES_PACKAGE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AggregatedDeps - Annotation Type in dagger.hilt.processor.internal.aggregateddeps
Annotation for propagating dependency information through javac runs.
AggregatedDepsMetadata - Class in dagger.hilt.processor.internal.aggregateddeps
A class that represents the values stored in an AggregatedDeps annotation.
AggregatedDepsMetadata() - Constructor for class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
AggregatedDepsProcessor - Class in dagger.hilt.processor.internal.aggregateddeps
Processor that outputs dummy files to propagate information through multiple javac runs.
AggregatedDepsProcessor() - Constructor for class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsProcessor
 
aggregatedElementProxyName(TypeElement) - Static method in class dagger.hilt.processor.internal.AggregatedElements
Returns the class name of the proxy or Optional.empty() if a proxy is not needed.
AggregatedElements - Class in dagger.hilt.processor.internal
Utility class for aggregating metadata.
AggregatedUninstallModulesMetadata - Class in dagger.hilt.processor.internal.uninstallmodules
A class that represents the values stored in an dagger.hilt.android.internal.uninstallmodules.AggregatedUninstallModules annotation.
AggregatedUninstallModulesMetadata() - Constructor for class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
 
aggregatingElement() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
Returns the aggregating element
aggregatingElement() - Method in class dagger.hilt.processor.internal.aliasof.AliasOfPropagatedDataMetadata
Returns the aggregating element
aggregatingElement() - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponentClassesMetadata
Returns the aggregating element
aggregatingElement() - Method in class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
Returns the aggregating element
ALIAS_OF - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ALIAS_OF_PROPAGATED_DATA - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ALIAS_OF_PROPAGATED_DATA_PACKAGE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AliasOfProcessor - Class in dagger.hilt.processor.internal.aliasof
Processes the annotations annotated with dagger.hilt.migration.AliasOf
AliasOfProcessor() - Constructor for class dagger.hilt.processor.internal.aliasof.AliasOfProcessor
 
AliasOfPropagatedDataMetadata - Class in dagger.hilt.processor.internal.aliasof
A class that represents the values stored in an dagger.hilt.internal.aliasof.AliasOfPropagatedData annotation.
AliasOfPropagatedDataMetadata() - Constructor for class dagger.hilt.processor.internal.aliasof.AliasOfPropagatedDataMetadata
 
AliasOfs - Class in dagger.hilt.processor.internal.aliasof
Extracts a multimap of aliases annotated with dagger.hilt.migration.AliasOf mapping them to scopes they are alias of.
allowsOptionalInjection() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns true if this class allows optional injection.
ANDROID_BIND_ELEMENTS_INTO_SET - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ANDROID_BIND_VALUE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ANDROID_BIND_VALUE_INTO_MAP - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ANDROID_BIND_VALUE_INTO_SET - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ANDROID_ENTRY_POINT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ANDROID_ENTRY_POINT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
AndroidClassNames - Class in dagger.hilt.android.processor.internal
Holder for commonly used class names.
AndroidEntryPointMetadata - Class in dagger.hilt.android.processor.internal.androidentrypoint
Metadata class for @AndroidEntryPoint annotated classes.
AndroidEntryPointMetadata() - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
 
AndroidEntryPointMetadata.AndroidType - Enum in dagger.hilt.android.processor.internal.androidentrypoint
The Android type of the Android Entry Point element.
AndroidEntryPointProcessor - Class in dagger.hilt.android.processor.internal.androidentrypoint
Processor that creates a module for classes marked with dagger.hilt.android.AndroidEntryPoint.
AndroidEntryPointProcessor() - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointProcessor
 
androidType() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns the AndroidEntryPointMetadata.AndroidType for the annotated element.
AnnotationValues - Class in dagger.hilt.processor.internal
A utility class for working with AnnotationValue instances.
APP - dagger.hilt.processor.internal.optionvalues.GradleProjectType
App project created with plugin 'com.android.application'.
append(ClassName, String) - Static method in class dagger.hilt.processor.internal.Processors
Appends the given string to the end of the class name.
APPLICATION - dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
 
APPLICATION - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
APPLICATION - Static variable in class dagger.hilt.processor.internal.ClassNames
 
APPLICATION_COMPONENT_MANAGER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
APPLICATION_CONTEXT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
APPLICATION_CONTEXT_MODULE - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
APPLICATION_CONTEXT_MODULE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
APPLICATION_PROVIDER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
APPLICATION_PROVIDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ApplicationGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an Hilt Application for an @AndroidEntryPoint app class.
ApplicationGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.ApplicationGenerator
 
ARRAYS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
asExecutable(TypeMirror) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
Returns a ExecutableType if the TypeMirror represents an executable type such as a method, constructor, or initializer or throws an IllegalArgumentException.
ASSISTED_INJECT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
asTypeElement(DeclaredType) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
Returns the TypeElement corresponding to a DeclaredType.
asTypeElement(TypeMirror) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
Returns the TypeElement corresponding to a TypeMirror.
ATTRIBUTE_SET - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 

B

BadInputException - Exception in dagger.hilt.processor.internal
Exception to throw when input code has caused an error.
BadInputException(String) - Constructor for exception dagger.hilt.processor.internal.BadInputException
 
BadInputException(String, Iterable<? extends Element>) - Constructor for exception dagger.hilt.processor.internal.BadInputException
 
BadInputException(String, Element) - Constructor for exception dagger.hilt.processor.internal.BadInputException
 
baseAllowsOptionalInjection() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns true if any base class (transitively) allows optional injection.
baseClassName() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The name of the base class given to @AndroidEntryPoint
baseElement() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The base class Element given to @AndroidEntryPoint.
baseMetadata() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns Optional of AndroidEntryPointMetadata.
BaseProcessor - Class in dagger.hilt.processor.internal
Implements default configurations for Processors, and provides structure for exception handling.
BaseProcessor() - Constructor for class dagger.hilt.processor.internal.BaseProcessor
 
BINDS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
BINDS_OPTIONAL_OF - Static variable in class dagger.hilt.processor.internal.ClassNames
 
BindValueProcessor - Class in dagger.hilt.android.processor.internal.bindvalue
Provides a test's @BindValue fields to the SINGLETON component.
BindValueProcessor() - Constructor for class dagger.hilt.android.processor.internal.bindvalue.BindValueProcessor
 
BooleanValue - Enum in dagger.hilt.processor.internal.optionvalues
Valid boolean values
BROADCAST_RECEIVER - dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
 
BROADCAST_RECEIVER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
BROADCAST_RECEIVER_COMPONENT_MANAGER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
BroadcastReceiverGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an Hilt BroadcastReceiver class for the @AndroidEntryPoint annotated class.
BroadcastReceiverGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.BroadcastReceiverGenerator
 
build() - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
 
builder() - Static method in class dagger.hilt.processor.internal.ComponentDescriptor
 
BUNDLE - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 

C

CALL_SUPER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
checkForCompilationError(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
Checks that the given element is not the error type.
checkNotErrorKind(TypeElement) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures that the given element is not an error kind and does not inherit from an error kind.
checkState(boolean, Object) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Collection<? extends Element>, Object) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Collection<? extends Element>, String, Object...) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Element, Object) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Element, String, Object...) - Static method in class dagger.hilt.processor.internal.ProcessorErrors
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkWrongAndDeprecatedOptions(ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
 
claimAnnotations() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
CLASS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ClassNames - Class in dagger.hilt.processor.internal
Holder for commonly used class names.
COLLECTIONS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
component() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
Returns the ClassName for this component descriptor.
component(ClassName) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
 
COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
COMPONENT_ACTIVITY - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
COMPONENT_BUILDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
COMPONENT_ENTRY_POINT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
COMPONENT_SUPPLIER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
COMPONENT_SUPPLIER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
COMPONENT_TREE_DEPS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ComponentDependencies - Class in dagger.hilt.processor.internal.aggregateddeps
Represents information needed to create a component (i.e.
ComponentDependencies() - Constructor for class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies
 
componentDescriptor(Element) - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponents
Returns the ComponentDescriptor for the given component element.
ComponentDescriptor - Class in dagger.hilt.processor.internal
Represents a single component in the hierarchy.
ComponentDescriptor() - Constructor for class dagger.hilt.processor.internal.ComponentDescriptor
 
ComponentDescriptor.Builder - Interface in dagger.hilt.processor.internal
Builder for ComponentDescriptor.
componentElements() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
componentEntryPoints() - Method in annotation type dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps
 
componentEntryPoints() - Method in class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies
Returns the component entry point associated with the given a component.
componentManager() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns the component manager this generated Hilt class should use.
componentManagerInitArgs() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns the initialization arguments for the component manager.
componentManagerParam() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
 
ComponentNames - Class in dagger.hilt.processor.internal
Utility class for getting the generated component name.
components() - Method in annotation type dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps
Returns the components that this dependency will be installed in.
Components - Class in dagger.hilt.processor.internal
Helper methods for defining components and the component hierarchy.
componentTree() - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
ComponentTreeDepsProcessor - Class in dagger.hilt.processor.internal.root
Processor that outputs dagger components based on transitive build deps.
ComponentTreeDepsProcessor() - Constructor for class dagger.hilt.processor.internal.root.ComponentTreeDepsProcessor
 
CONSTRUCTOR_NAME - Static variable in class dagger.hilt.processor.internal.Processors
 
CONTEXT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
CONTEXT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
CONTEXT_WRAPPER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
CONTEXTS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
CONTRIBUTES_ANDROID_INJECTOR - Static variable in class dagger.hilt.processor.internal.ClassNames
 
convertToAttributeNameMap(Map<? extends ExecutableElement, ? extends AnnotationValue>) - Static method in class dagger.hilt.processor.internal.Processors
Converts an annotation value map to be keyed by the attribute name.
copyMethodSpecWithoutBody(MethodSpec) - Static method in class dagger.hilt.processor.internal.Processors
 
create() - Static method in class dagger.hilt.processor.internal.definecomponent.DefineComponents
 
create(ImmutableSet<AliasOfPropagatedDataMetadata>, ImmutableSet<ComponentDescriptor>) - Static method in class dagger.hilt.processor.internal.aliasof.AliasOfs
 
creator() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
Returns the ClassName for the creator interface.
creator(ClassName) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
 
CUSTOM_INJECT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
CUSTOM_INJECTION - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
CUSTOM_TEST_APPLICATION - Static variable in class dagger.hilt.processor.internal.ClassNames
 
CustomTestApplicationProcessor - Class in dagger.hilt.android.processor.internal.customtestapplication
Processes usages of dagger.hilt.android.testing.CustomTestApplication.
CustomTestApplicationProcessor() - Constructor for class dagger.hilt.android.processor.internal.customtestapplication.CustomTestApplicationProcessor
 

D

dagger.hilt.android.processor.internal - package dagger.hilt.android.processor.internal
 
dagger.hilt.android.processor.internal.androidentrypoint - package dagger.hilt.android.processor.internal.androidentrypoint
 
dagger.hilt.android.processor.internal.bindvalue - package dagger.hilt.android.processor.internal.bindvalue
 
dagger.hilt.android.processor.internal.customtestapplication - package dagger.hilt.android.processor.internal.customtestapplication
 
dagger.hilt.processor.internal - package dagger.hilt.processor.internal
 
dagger.hilt.processor.internal.aggregateddeps - package dagger.hilt.processor.internal.aggregateddeps
 
dagger.hilt.processor.internal.aliasof - package dagger.hilt.processor.internal.aliasof
 
dagger.hilt.processor.internal.definecomponent - package dagger.hilt.processor.internal.definecomponent
 
dagger.hilt.processor.internal.disableinstallincheck - package dagger.hilt.processor.internal.disableinstallincheck
 
dagger.hilt.processor.internal.generatesrootinput - package dagger.hilt.processor.internal.generatesrootinput
 
dagger.hilt.processor.internal.optionvalues - package dagger.hilt.processor.internal.optionvalues
 
dagger.hilt.processor.internal.originatingelement - package dagger.hilt.processor.internal.originatingelement
 
dagger.hilt.processor.internal.root - package dagger.hilt.processor.internal.root
 
dagger.hilt.processor.internal.uninstallmodules - package dagger.hilt.processor.internal.uninstallmodules
 
DEFAULT_ROOT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DEFAULT_VIEW_MODEL_FACTORIES - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
DEFINE_COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DEFINE_COMPONENT_BUILDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DEFINE_COMPONENT_CLASSES - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DEFINE_COMPONENT_CLASSES_PACKAGE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DEFINE_COMPONENT_NO_PARENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DefineComponentClassesMetadata - Class in dagger.hilt.processor.internal.definecomponent
A class that represents the values stored in an dagger.hilt.internal.definecomponent.DefineComponentClasses annotation.
DefineComponentClassesMetadata() - Constructor for class dagger.hilt.processor.internal.definecomponent.DefineComponentClassesMetadata
 
DefineComponentProcessor - Class in dagger.hilt.processor.internal.definecomponent
A processor for dagger.hilt.DefineComponent and dagger.hilt.DefineComponent.Builder.
DefineComponentProcessor() - Constructor for class dagger.hilt.processor.internal.definecomponent.DefineComponentProcessor
 
DefineComponents - Class in dagger.hilt.processor.internal.definecomponent
A utility class for getting DefineComponentMetadatas.DefineComponentMetadata and DefineComponentBuilderMetadatas.DefineComponentBuilderMetadata.
delayErrors() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointProcessor
 
delayErrors() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
dependency() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
deps() - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
DISABLE_INSTALL_IN_CHECK - Static variable in class dagger.hilt.processor.internal.ClassNames
 
DisableInstallInCheckProcessor - Class in dagger.hilt.processor.internal.disableinstallincheck
Processes the annotations annotated with dagger.hilt.migration.DisableInstallInCheck
DisableInstallInCheckProcessor() - Constructor for class dagger.hilt.processor.internal.disableinstallincheck.DisableInstallInCheckProcessor
 

E

EARLY_ENTRY_POINT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
element() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The class Element annotated with @AndroidEntryPoint.
element() - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponentClassesMetadata
Returns the element annotated with dagger.hilt.internal.definecomponent.DefineComponent or dagger.hilt.internal.definecomponent.DefineComponent.Builder.
elementClassName() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The name of the class annotated with @AndroidEntryPoint
ElementDescriptors - Class in dagger.hilt.processor.internal
Utility class for getting field and method descriptors.
ENTRY_POINT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ENTRY_POINTS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
entryPoints() - Method in annotation type dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps
 
entryPoints() - Method in class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies
Returns the entry points associated with the given a component.
entryPoints(ClassName) - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
equals(Object) - Method in class dagger.hilt.processor.internal.ComponentDescriptor
Returns true if the given ComponentDescriptor represents the same ComponentDescriptor.component().
ErrorTypeException - Exception in dagger.hilt.processor.internal
Exception to throw when a required Element is or inherits from an error kind.
ErrorTypeException(String, Element) - Constructor for exception dagger.hilt.processor.internal.ErrorTypeException
 

F

FALSE - dagger.hilt.processor.internal.optionvalues.BooleanValue
 
findInheritedMethod(Types, TypeElement, ExecutableElement) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
Returns the first matching method, if one exists (starting with classElement, then searching each sub classes).
findMethod(Types, TypeElement, ExecutableElement) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
Returns a method with a matching signature in classElement if one exists.
findMethods(TypeElement, String) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
Returns methods with a matching name in classElement.
FRAGMENT - dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
 
FRAGMENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
FRAGMENT_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
FRAGMENT_COMPONENT_MANAGER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
FRAGMENT_GET_CONTEXT_FIX - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
FRAGMENT_SCOPED - Static variable in class dagger.hilt.processor.internal.ClassNames
 
FragmentGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an Hilt Fragment class for the @AndroidEntryPoint annotated class.
FragmentGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.FragmentGenerator
 
from(ImmutableSet<ComponentDescriptor>, ImmutableSet<AggregatedDepsMetadata>, ImmutableSet<AggregatedUninstallModulesMetadata>, ImmutableSet<AggregatedEarlyEntryPointMetadata>, Elements) - Static method in class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies
Returns the component dependencies for the given metadata.
from(ImmutableSet<TypeElement>, Elements) - Static method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
Returns metadata for each aggregated element.
from(ImmutableSet<TypeElement>, Elements) - Static method in class dagger.hilt.processor.internal.aliasof.AliasOfPropagatedDataMetadata
Returns metadata for each aggregated element.
from(ImmutableSet<TypeElement>, Elements) - Static method in class dagger.hilt.processor.internal.definecomponent.DefineComponentClassesMetadata
Returns metadata for each aggregated element.
from(ImmutableSet<TypeElement>, Elements) - Static method in class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
Returns metadata for each aggregated element.
from(String, ClassName, Elements) - Static method in class dagger.hilt.processor.internal.AggregatedElements
Returns all aggregated elements in the aggregating package after validating them.
from(Elements) - Static method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
Returns metadata for all aggregated elements in the aggregating package.
from(Elements) - Static method in class dagger.hilt.processor.internal.aliasof.AliasOfPropagatedDataMetadata
Returns metadata for all aggregated elements in the aggregating package.
from(Elements) - Static method in class dagger.hilt.processor.internal.definecomponent.DefineComponentClassesMetadata
Returns metadata for all aggregated elements in the aggregating package.
from(Elements) - Static method in class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
Returns metadata for all aggregated elements in the aggregating package.

G

generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.ActivityGenerator
 
generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.ApplicationGenerator
 
generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.BroadcastReceiverGenerator
 
generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.FragmentGenerator
 
generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.InjectorEntryPointGenerator
 
generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.ServiceGenerator
 
generate() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.ViewGenerator
 
generate() - Method in class dagger.hilt.processor.internal.root.TestComponentDataGenerator
{@code public final class FooTest_TestComponentDataSupplier extends TestComponentDataSupplier {
generate() - Method in class dagger.hilt.processor.internal.root.TestInjectorGenerator
 
generateAggregatingClass(String, AnnotationSpec, TypeElement, Class<?>, ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.Processors
 
GENERATED_COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
GENERATED_COMPONENT_MANAGER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
GENERATED_COMPONENT_MANAGER_HOLDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
GENERATED_ENTRY_POINT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
generatedClassModifiers() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Modifiers that should be applied to the generated class.
generatedClassName() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The name of the generated base class, beginning with 'Hilt_'.
generatedComponent(ClassName, ClassName) - Method in class dagger.hilt.processor.internal.ComponentNames
Returns the name of the generated component.
generatedComponentsWrapper(ClassName) - Method in class dagger.hilt.processor.internal.ComponentNames
Returns the name of the generated component wrapper.
generatedComponentTreeDeps(ClassName) - Method in class dagger.hilt.processor.internal.ComponentNames
 
GENERATES_ROOT_INPUT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
GENERATES_ROOT_INPUT_PROPAGATED_DATA - Static variable in class dagger.hilt.processor.internal.ClassNames
 
GeneratesRootInputProcessor - Class in dagger.hilt.processor.internal.generatesrootinput
Processes the annotations annotated with dagger.hilt.GeneratesRootInput which generate input for components and should be processed before component creation.
GeneratesRootInputProcessor() - Constructor for class dagger.hilt.processor.internal.generatesrootinput.GeneratesRootInputProcessor
 
GeneratesRootInputs - Class in dagger.hilt.processor.internal.generatesrootinput
Extracts the list of annotations annotated with dagger.hilt.GeneratesRootInput.
GeneratesRootInputs(ProcessingEnvironment) - Constructor for class dagger.hilt.processor.internal.generatesrootinput.GeneratesRootInputs
 
getAliasesFor(ClassName) - Method in class dagger.hilt.processor.internal.aliasof.AliasOfs
 
getAllMethods(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
Returns all transitive methods from a given TypeElement, not including constructors.
getAnnotationAnnotationArrayValues(Elements, AnnotationMirror) - Static method in class dagger.hilt.processor.internal.Processors
Returns a multimap from attribute name to the values that are an array of annotation mirrors.
getAnnotationClassValue(Elements, AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.Processors
Returns the TypeElement for a class attribute on an annotation.
getAnnotationClassValues(Elements, AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.Processors
Returns a list of TypeElements for a class attribute on an annotation.
getAnnotationMirror(Element, ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns the annotation mirror from the given element that corresponds to the given class.
getAnnotationMirror(Element, Class<? extends Annotation>) - Static method in class dagger.hilt.processor.internal.Processors
 
getAnnotationsAnnotatedWith(Element, ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns annotations of element that are annotated with subAnnotation
getAnnotationValues(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the list of values represented by an array annotation value.
getAnnotationValues(Elements, AnnotationMirror) - Static method in class dagger.hilt.processor.internal.Processors
Returns a map from AnnotationMirror attribute name to AnnotationValues
getBadElement() - Method in exception dagger.hilt.processor.internal.ErrorTypeException
 
getBadElements() - Method in exception dagger.hilt.processor.internal.BadInputException
 
getBoolean(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the value as a boolean.
getBooleanAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing an int.
getComponentDescriptors(ImmutableSet<DefineComponentClassesMetadata>) - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponents
Returns the set of aggregated ComponentDescriptors.
getComponentDescriptors(Elements, Element) - Static method in class dagger.hilt.processor.internal.Components
Returns the ComponentDescriptors for a given element annotated with dagger.hilt.InstallIn.
getComponents(Elements, Element) - Static method in class dagger.hilt.processor.internal.Components
Returns the dagger.hilt.InstallIn components for a given element.
getConstructors(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
 
getDeclaredType(TypeMirror) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
If the received mirror represents a declared type or an array of declared types, this returns the represented declared type.
getDeclaredType(TypeMirror) - Static method in class dagger.hilt.processor.internal.Processors
Returns the declared type if the received mirror represents a declared type or an array of declared types, otherwise throws an IllegalStateException.
getDeclaredTypeAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing a DeclaredType.
getElementsAnnotatedWith(RoundEnvironment, Class<? extends Annotation>...) - Static method in class dagger.hilt.processor.internal.Processors
Returns all elements in the round that are annotated with at least 1 of the given annotations.
getElementsToWaitFor(RoundEnvironment) - Method in class dagger.hilt.processor.internal.generatesrootinput.GeneratesRootInputs
 
getElementUtils() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
getEnclosedClassName(ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns an equivalent class name with the . (dots) used for inner classes replaced with _.
getEnclosedClassName(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
Returns an equivalent class name with the . (dots) used for inner classes replaced with _.
getEnclosedName(ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns the name of a class, including prefixing with enclosing class names.
getEnclosedName(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
Returns the name of a class.
getEnum(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the value as a VariableElement.
getEnumArrayAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing a Enum array.
getErrorHandler() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
getFieldDescriptor(VariableElement) - Static method in class dagger.hilt.processor.internal.ElementDescriptors
Returns the field descriptor of the given element.
getFullEnclosedName(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns the fully qualified class name, with _ instead of .
getFullyQualifiedEnclosedClassName(ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns the fully qualified class name, with _ instead of .
getGradleProjectType(ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
Returns project type or null if Hilt Gradle Plugin is not applied.
getInstallInAnnotationSpec(ImmutableSet<ClassName>) - Static method in class dagger.hilt.processor.internal.Components
 
getIntAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing an int.
getIntArrayValue(AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the int array value of an annotation
getIntValue(AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the int value of an annotation
getLongAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing a long.
getMapKeyAnnotations(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns MapKey annotated annotations found on an element.
getMessager() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
getMethodDescriptor(ExecutableElement) - Static method in class dagger.hilt.processor.internal.ElementDescriptors
Returns the method descriptor of the given element.
getMethods(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
Returns methods from a given TypeElement, not including constructors.
getOptionalAnnotationClassValue(Elements, AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.Processors
Returns an optional TypeElement for a class attribute on an annotation.
getOptionalAnnotationClassValues(Elements, AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.Processors
Returns a list of TypeElements for a class attribute on an annotation.
getOptionalDeclaredType(TypeMirror) - Static method in class dagger.hilt.processor.internal.Processors
Returns an Optional.of(T) the declared type if the received mirror represents a declared type or an array of declared types, otherwise returns Optional.empty().
getOptionalIntValue(AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns an optional int value of an annotation if the value name is present
getOptionalStringValue(AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns an optional String value of an annotation if the value name is present
getOriginatingElementAnnotation(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
 
getOriginatingTestElement(Element, Elements) - Static method in class dagger.hilt.processor.internal.Processors
 
getPackageElement(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns the given elements containing package element.
getPrimitiveType(TypeMirror) - Static method in class dagger.hilt.processor.internal.Processors
If the received mirror represents a primitive type or an array of primitive types, this returns the represented primitive type.
getProcessingEnv() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
getProcessorOptions() - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
 
getQualifierAnnotations(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns Qualifier annotated annotations found on an element.
getScopeAnnotations(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns Scope annotated annotations found on an element.
getString(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the value as a string.
getStringAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing a string.
getStringArrayAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
Gets the values from an annotation value representing a string array.
getStringArrayValue(AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the String array value of an annotation
getStrings(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns a string array value as a set of strings.
getStringValue(AnnotationMirror, String) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the String value of an annotation
getSupportedAnnotationTypes() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.android.processor.internal.bindvalue.BindValueProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.android.processor.internal.customtestapplication.CustomTestApplicationProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.aliasof.AliasOfProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponentProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.disableinstallincheck.DisableInstallInCheckProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.generatesrootinput.GeneratesRootInputProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.originatingelement.OriginatingElementProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.root.ComponentTreeDepsProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.root.RootProcessor
 
getSupportedAnnotationTypes() - Method in class dagger.hilt.processor.internal.uninstallmodules.UninstallModulesProcessor
 
getSupportedOptions() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
getSupportedSourceVersion() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
getTopLevelType(Element) - Static method in class dagger.hilt.processor.internal.Processors
 
getTypeElement(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns a class value as a TypeElement.
getTypeElements(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns a class array value as a set of TypeElement.
getTypeMirror(AnnotationValue) - Static method in class dagger.hilt.processor.internal.AnnotationValues
Returns the value as a class.
getTypeUtils() - Method in class dagger.hilt.processor.internal.BaseProcessor
 
GradleProjectType - Enum in dagger.hilt.processor.internal.optionvalues
Valid Gradle project type values.

H

HAS_CUSTOM_INJECT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
hasAndroidEntryPointMetadata(Element) - Static method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns true if the given element has Android Entry Point metadata.
hasAnnotation(AnnotationMirror, ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given element has an annotation with the given class name.
hasAnnotation(AnnotationMirror, Class<? extends Annotation>) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given element is annotated with the given annotation.
hasAnnotation(Element, ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given element has an annotation with the given class name.
hasAnnotation(Element, Class<? extends Annotation>) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given element is annotated with the given annotation.
hasAnnotationsAnnotatedWith(Element, ClassName) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if there are any annotations of element that are annotated with subAnnotation
hasDaggerAbstractMethodAnnotation(ExecutableElement) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given method is annotated with one of the annotations Dagger recognizes for abstract methods (e.g.
hasErrorTypeAnnotation(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given element has an annotation that is an error kind.
HASH_MAP - Static variable in class dagger.hilt.processor.internal.ClassNames
 
HASH_SET - Static variable in class dagger.hilt.processor.internal.ClassNames
 
hashCode() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
 
hasVisibleEmptyConstructor(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
 
HILT_ANDROID_APP - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
HILT_ANDROID_APP - Static variable in class dagger.hilt.processor.internal.ClassNames
 
HILT_ANDROID_TEST - Static variable in class dagger.hilt.processor.internal.ClassNames
 
HILT_VIEW_MODEL - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
HILT_VIEW_MODEL_KEYS_QUALIFIER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
HILT_VIEW_MODEL_MAP_QUALIFIER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
HiltCompilerOptions - Class in dagger.hilt.processor.internal
Hilt annotation processor options.
HiltCompilerOptions() - Constructor for class dagger.hilt.processor.internal.HiltCompilerOptions
 

I

init(ProcessingEnvironment) - Method in class dagger.hilt.processor.internal.BaseProcessor
 
init(ProcessingEnvironment) - Method in class dagger.hilt.processor.internal.root.RootProcessor
 
INJECT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
INJECT_VIA_ON_CONTEXT_AVAILABLE_LISTENER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
INJECTED_BY_HILT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
injectMethodName() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The name of inject method for this class.
injectorClassName() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
The name of the generated injector for the Hilt class.
InjectorEntryPointGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an entry point that allows for injection of the given activity
InjectorEntryPointGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.InjectorEntryPointGenerator
 
injectorInstallInAnnotation() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns the @InstallIn annotation for the module providing this class.
INSTALL_IN - Static variable in class dagger.hilt.processor.internal.ClassNames
 
installInComponents() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns set of scopes that the component interface should be installed in.
INTENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
INTERNAL_TEST_ROOT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
INTO_MAP - Static variable in class dagger.hilt.processor.internal.ClassNames
 
INTO_SET - Static variable in class dagger.hilt.processor.internal.ClassNames
 
isAndroidSuperclassValidationDisabled(TypeElement, ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
Returns true if the superclass validation is disabled for dagger.hilt.android.AndroidEntryPoint-annotated classes.
isAssignableFrom(TypeElement, ClassName) - Static method in class dagger.hilt.processor.internal.Processors
 
isAssignableFromAnyOf(TypeElement, ImmutableSet<ClassName>) - Static method in class dagger.hilt.processor.internal.Processors
 
isCrossCompilationRootValidationDisabled(ImmutableSet<TypeElement>, ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
Returns true if cross-compilation root validation is disabled.
isModule() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
isModuleInstallInCheckDisabled(ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
Returns true if the check for dagger.hilt.InstallIn is disabled.
isObjectMethod(ExecutableElement) - Static method in class dagger.hilt.processor.internal.Processors
Returns true iff the given method is one of the public or protected methods on Object, or an overridden version thereof.
isRoot() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
Returns true if the descriptor represents a root component.
isSharedTestComponentsEnabled(ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
Returns true of unit tests should try to share generated components, rather than using separate generated components per Hilt test root.
isTopLevel(Element) - Static method in class dagger.hilt.processor.internal.Processors
Returns true if the given element is a top-level element.

K

KOTLIN_METADATA - Static variable in class dagger.hilt.processor.internal.ClassNames
 
KOTLIN_SUPPRESS - Static variable in class dagger.hilt.processor.internal.ClassNames
 

L

LAYOUT_INFLATER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
LIBRARY - dagger.hilt.processor.internal.optionvalues.GradleProjectType
Library project created with plugin 'com.android.library'.
LIST - Static variable in class dagger.hilt.processor.internal.ClassNames
 

M

MAIN_THREAD - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
manuallyConstruct(TypeElement, TypeElement, ClassName, boolean, AndroidEntryPointMetadata.AndroidType, Optional<AndroidEntryPointMetadata>, ImmutableSet<ClassName>, TypeName, Optional<CodeBlock>) - Static method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
 
MAP - Static variable in class dagger.hilt.processor.internal.ClassNames
 
MAP_KEY - Static variable in class dagger.hilt.processor.internal.ClassNames
 
methodsOnInterfaces(TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
Finds methods of interfaces implemented by type.
MODULE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
modules() - Method in annotation type dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps
 
modules() - Method in class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies
Returns the modules for a component, without any filtering.
modules(ClassName) - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
modulesThatDaggerCannotConstruct(ClassName) - Method in class dagger.hilt.processor.internal.root.RootMetadata
Returns all modules in the given component that do not have accessible default constructors.
MoreTypes - Class in dagger.hilt.android.processor.internal
More utility methods for types.
MULTI_DEX_APPLICATION - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
MULTI_DEX_APPLICATION - Static variable in class dagger.hilt.processor.internal.ClassNames
 
MULTIBINDS - Static variable in class dagger.hilt.processor.internal.ClassNames
 

N

NULLABLE - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
NULLABLE_INTERNAL - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 

O

OBJECT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
of(ProcessingEnvironment, Element) - Static method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns the AndroidEntryPointMetadata for a @AndroidEntryPoint annotated element.
ON_COMPONENT_READY_RUNNER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ON_COMPONENT_READY_RUNNER_HOLDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ON_CONTEXT_AVAILABLE_LISTENER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
OPTIONAL_INJECT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ORIGINATING_ELEMENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
OriginatingElementProcessor - Class in dagger.hilt.processor.internal.originatingelement
Processes the annotations annotated with dagger.hilt.codegen.OriginatingElement to check that they're only used on top-level classes and the value passed is also a top-level class.
OriginatingElementProcessor() - Constructor for class dagger.hilt.processor.internal.originatingelement.OriginatingElementProcessor
 
overridesAndroidEntryPointClass() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns true if any base class (transitively) uses @AndroidEntryPoint.

P

parameterSpecFromVariableElement(VariableElement) - Static method in class dagger.hilt.processor.internal.Processors
 
parent() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
Returns the ClassName for the parent, if it exists.
parent(ComponentDescriptor) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
 
PkgPrivateMetadata - Class in dagger.hilt.processor.internal.aggregateddeps
PkgPrivateModuleMetadata contains a set of utilities for processing package private modules.
PkgPrivateMetadata() - Constructor for class dagger.hilt.processor.internal.aggregateddeps.PkgPrivateMetadata
 
postRoundProcess(RoundEnvironment) - Method in class dagger.hilt.android.processor.internal.bindvalue.BindValueProcessor
 
postRoundProcess(RoundEnvironment) - Method in class dagger.hilt.processor.internal.BaseProcessor
Used to perform post processing at the end of a round.
postRoundProcess(RoundEnvironment) - Method in class dagger.hilt.processor.internal.root.ComponentTreeDepsProcessor
 
postRoundProcess(RoundEnvironment) - Method in class dagger.hilt.processor.internal.root.RootProcessor
 
PRECONDITIONS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
prepend(ClassName, String) - Static method in class dagger.hilt.processor.internal.Processors
Prepends the given string to the beginning of the class name.
preRoundProcess(RoundEnvironment) - Method in class dagger.hilt.android.processor.internal.bindvalue.BindValueProcessor
 
preRoundProcess(RoundEnvironment) - Method in class dagger.hilt.processor.internal.BaseProcessor
Used to perform initialization before each round of processing.
privateEmptyConstructor() - Static method in class dagger.hilt.processor.internal.Processors
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class dagger.hilt.processor.internal.BaseProcessor
This should not be overridden, as it defines the order of the processing.
processEach(TypeElement, Element) - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.android.processor.internal.bindvalue.BindValueProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.android.processor.internal.customtestapplication.CustomTestApplicationProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.aliasof.AliasOfProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.BaseProcessor
Called for each element in a round that uses a supported annotation.
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponentProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.disableinstallincheck.DisableInstallInCheckProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.generatesrootinput.GeneratesRootInputProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.originatingelement.OriginatingElementProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.root.ComponentTreeDepsProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.root.RootProcessor
 
processEach(TypeElement, Element) - Method in class dagger.hilt.processor.internal.uninstallmodules.UninstallModulesProcessor
 
PROCESSED_ROOT_SENTINEL - Static variable in class dagger.hilt.processor.internal.ClassNames
 
PROCESSED_ROOT_SENTINEL_PACKAGE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ProcessorErrors - Class in dagger.hilt.processor.internal
Static helper methods for throwing errors during code generation.
Processors - Class in dagger.hilt.processor.internal
Static helper methods for writing a processor.
PRODUCTION_COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
PROVIDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
PROVIDES - Static variable in class dagger.hilt.processor.internal.ClassNames
 
publicEarlyEntryPoint(TypeElement, Elements) - Static method in class dagger.hilt.processor.internal.aggregateddeps.PkgPrivateMetadata
Returns the public Hilt wrapped type or the type itself if it is already public.
publicEntryPoint(TypeElement, Elements) - Static method in class dagger.hilt.processor.internal.aggregateddeps.PkgPrivateMetadata
Returns the public Hilt wrapped type or the type itself if it is already public.
publicModule(TypeElement, Elements) - Static method in class dagger.hilt.processor.internal.aggregateddeps.PkgPrivateMetadata
Returns the public Hilt wrapped type or the type itself if it is already public.

Q

QUALIFIER - Static variable in class dagger.hilt.processor.internal.ClassNames
 

R

rawTypeName(TypeName) - Static method in class dagger.hilt.processor.internal.Processors
Returns the TypeName for the raw type of the given type name.
removeNameSuffix(TypeElement, String) - Static method in class dagger.hilt.processor.internal.Processors
Removes the string suffix from the simple name of type and returns it.
replacedDependencies() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
replaces() - Method in annotation type dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps
Returns the deps that this dep replaces.
requiresBytecodeInjection() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns true if the class requires bytecode injection to replace the base class.
requiresModuleInstance(Elements, TypeElement) - Static method in class dagger.hilt.processor.internal.Processors
 
root() - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
ROOT_PROCESSOR - Static variable in class dagger.hilt.processor.internal.ClassNames
 
rootMetadata() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata
Returns the metadata for the root most class in the hierarchy.
RootMetadata - Class in dagger.hilt.processor.internal.root
Contains metadata about the given hilt root.
RootProcessor - Class in dagger.hilt.processor.internal.root
Processor that outputs dagger components based on transitive build deps.
RootProcessor() - Constructor for class dagger.hilt.processor.internal.root.RootProcessor
 

S

SAVED_STATE_HANDLE - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
SCOPE - Static variable in class dagger.hilt.processor.internal.ClassNames
 
scopes() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
Returns the ClassNames for the scopes of this component descriptor.
scopes(ImmutableSet<ClassName>) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
 
scopes(ClassName) - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
scopes(ClassName...) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
 
SERVICE - dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
 
SERVICE - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
SERVICE_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
SERVICE_COMPONENT_MANAGER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
SERVICE_SCOPED - Static variable in class dagger.hilt.processor.internal.ClassNames
 
ServiceGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an Hilt Service class for the @AndroidEntryPoint annotated class.
ServiceGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.ServiceGenerator
 
SET - Static variable in class dagger.hilt.processor.internal.ClassNames
 
SINGLETON - Static variable in class dagger.hilt.processor.internal.ClassNames
 
SINGLETON_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
SINGLETON_COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
STATIC_INITIALIZER_NAME - Static variable in class dagger.hilt.processor.internal.Processors
 
STRING_KEY - Static variable in class dagger.hilt.processor.internal.ClassNames
 
SUBCOMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
SUBCOMPONENT_BUILDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
SUPPRESS_WARNINGS - Static variable in class dagger.hilt.processor.internal.ClassNames
 

T

TARGET_API - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
test() - Method in annotation type dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps
Returns the test this dependency is associated with, otherwise an empty string.
TEST - dagger.hilt.processor.internal.optionvalues.GradleProjectType
Test project created with plugin 'com.android.test'.
TEST_APPLICATION_COMPONENT_MANAGER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_APPLICATION_COMPONENT_MANAGER_HOLDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_COMPONENT_DATA - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_COMPONENT_DATA_SUPPLIER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_INJECTOR - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_INSTALL_IN - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_INSTANCE_HOLDER - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TEST_SINGLETON_COMPONENT - Static variable in class dagger.hilt.processor.internal.ClassNames
 
TestComponentDataGenerator - Class in dagger.hilt.processor.internal.root
Generates an implementation of dagger.hilt.android.internal.TestComponentData.
TestComponentDataGenerator(ProcessingEnvironment, TypeElement, RootMetadata, ComponentNames) - Constructor for class dagger.hilt.processor.internal.root.TestComponentDataGenerator
 
testElement() - Method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
testElement() - Method in class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
Returns the test annotated with dagger.hilt.android.testing.UninstallModules.
TestInjectorGenerator - Class in dagger.hilt.processor.internal.root
Generates an entry point for a test.
testRootMetadata() - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
toClassNames(Iterable<TypeElement>) - Static method in class dagger.hilt.processor.internal.Processors
 
toIr(AggregatedDepsMetadata) - Static method in class dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsMetadata
 
toIr(AliasOfPropagatedDataMetadata) - Static method in class dagger.hilt.processor.internal.aliasof.AliasOfPropagatedDataMetadata
 
toIr(DefineComponentClassesMetadata) - Static method in class dagger.hilt.processor.internal.definecomponent.DefineComponentClassesMetadata
 
toIr(AggregatedUninstallModulesMetadata) - Static method in class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
 
toTypeElements(Elements, String[]) - Static method in class dagger.hilt.processor.internal.Processors
 
TRUE - dagger.hilt.processor.internal.optionvalues.BooleanValue
 

U

UNINSTALL_MODULES - Static variable in class dagger.hilt.processor.internal.ClassNames
 
uninstallModuleElements() - Method in class dagger.hilt.processor.internal.uninstallmodules.AggregatedUninstallModulesMetadata
Returns the list of uninstall modules in dagger.hilt.android.testing.UninstallModules.
UninstallModulesProcessor - Class in dagger.hilt.processor.internal.uninstallmodules
Validates dagger.hilt.android.testing.UninstallModules usages.
UninstallModulesProcessor() - Constructor for class dagger.hilt.processor.internal.uninstallmodules.UninstallModulesProcessor
 
UNSAFE_CASTS - Static variable in class dagger.hilt.processor.internal.ClassNames
 
UNSET - dagger.hilt.processor.internal.optionvalues.GradleProjectType
Project type is not set, e.g.
unwrapProxies(ImmutableSet<TypeElement>, Elements) - Static method in class dagger.hilt.processor.internal.AggregatedElements
Returns back the set of input aggregatedElements with all proxies unwrapped.
upperToLowerCamel(String) - Static method in class dagger.hilt.processor.internal.Processors
Shortcut for converting from upper camel to lower camel case
useAggregatingRootProcessor(ProcessingEnvironment) - Static method in class dagger.hilt.processor.internal.HiltCompilerOptions
Returns true if the aggregating processor is enabled (default is true).

V

valueOf(String) - Static method in enum dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dagger.hilt.processor.internal.optionvalues.BooleanValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dagger.hilt.processor.internal.optionvalues.GradleProjectType
Returns the enum constant of this type with the specified name.
values() - Static method in enum dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dagger.hilt.processor.internal.optionvalues.BooleanValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dagger.hilt.processor.internal.optionvalues.GradleProjectType
Returns an array containing the constants of this enum type, in the order they are declared.
VIEW - dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointMetadata.AndroidType
 
VIEW - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
VIEW_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
VIEW_COMPONENT_MANAGER - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
VIEW_MODEL - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
VIEW_MODEL_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
VIEW_MODEL_PROVIDER_FACTORY - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
VIEW_SCOPED - Static variable in class dagger.hilt.processor.internal.ClassNames
 
VIEW_WITH_FRAGMENT_COMPONENT - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
ViewGenerator - Class in dagger.hilt.android.processor.internal.androidentrypoint
Generates an Hilt View class for the @AndroidEntryPoint annotated class.
ViewGenerator(ProcessingEnvironment, AndroidEntryPointMetadata) - Constructor for class dagger.hilt.android.processor.internal.androidentrypoint.ViewGenerator
 

W

waitForBindValue() - Method in class dagger.hilt.processor.internal.root.RootMetadata
 
WITH_FRAGMENT_BINDINGS - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
 
withoutRenaming() - Static method in class dagger.hilt.processor.internal.ComponentNames
Returns an instance of ComponentNames that will base all component names off of the given root.
withRenaming(Function<ClassName, ClassName>) - Static method in class dagger.hilt.processor.internal.ComponentNames
Returns an instance of ComponentNames that will base all component names off of the given root after mapping it with rootRenamer.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes All Packages