- 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
-
- AGGREGATED_DEPS - 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.
- 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
-
- ALIAS_OF - Static variable in class dagger.hilt.processor.internal.ClassNames
-
- ALIAS_OF_PROPAGATED_DATA - 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
-
- 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.
- AliasOfs(ProcessingEnvironment, ImmutableSet<ClassName>) - Constructor for class dagger.hilt.processor.internal.aliasof.AliasOfs
-
- 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
-
- AnnotationValues - Class in dagger.hilt.processor.internal
-
A utility class for working with AnnotationValue instances.
- append(ClassName, String) - Static method in class dagger.hilt.processor.internal.Processors
-
Appends the given string to the end of the class name.
- 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(TypeMirror) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
-
Returns the TypeElement corresponding to a TypeMirror.
- asTypeElement(DeclaredType) - Static method in class dagger.hilt.android.processor.internal.MoreTypes
-
Returns the TypeElement corresponding to a DeclaredType.
- ATTRIBUTE_SET - Static variable in class dagger.hilt.android.processor.internal.AndroidClassNames
-
- 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, 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.
- 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.
- childrenOf(ComponentDescriptor) - Method in class dagger.hilt.processor.internal.ComponentTree
-
- 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 - Static variable in class dagger.hilt.processor.internal.ClassNames
-
- component(ClassName) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
-
- component() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
-
Returns the ClassName for this component descriptor.
- 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
-
- 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
-
- ComponentDependencies.Dependencies - Class in dagger.hilt.processor.internal.aggregateddeps
-
Holds a set of component dependencies, e.g.
- ComponentDescriptor - Class in dagger.hilt.processor.internal
-
Represents a single component in the hierarchy.
- ComponentDescriptor() - Constructor for class dagger.hilt.processor.internal.ComponentDescriptor
-
- componentDescriptor(Element) - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponents
-
- ComponentDescriptor.Builder - Interface in dagger.hilt.processor.internal
-
Builder for ComponentDescriptor.
- componentEntryPoints() - Method in class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies
-
Returns the component entry point associated with the given a component.
- ComponentGenerator - Class in dagger.hilt.processor.internal
-
Generates a Dagger component or subcomponent interface.
- ComponentGenerator(ProcessingEnvironment, ClassName, TypeElement, Optional<ClassName>, Set<? extends ClassName>, Set<? extends TypeName>, ImmutableCollection<ClassName>, ImmutableList<AnnotationSpec>, ClassName, Optional<TypeSpec>) - Constructor for class dagger.hilt.processor.internal.ComponentGenerator
-
- 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 - Class in dagger.hilt.processor.internal
-
Helper methods for defining components and the component hierarchy.
- ComponentTree - Class in dagger.hilt.processor.internal
-
A representation of the full tree of scopes.
- ComponentTree(ImmutableGraph<ComponentDescriptor>) - Constructor for class dagger.hilt.processor.internal.ComponentTree
-
- componentTree() - Method in class dagger.hilt.processor.internal.root.RootMetadata
-
- 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
-
- 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
-
- creator(ClassName) - Method in interface dagger.hilt.processor.internal.ComponentDescriptor.Builder
-
- creator() - Method in class dagger.hilt.processor.internal.ComponentDescriptor
-
Returns the ClassName for the creator interface.
- 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
-
- 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.ComponentGenerator
-
- generate() - Method in class dagger.hilt.processor.internal.root.TestComponentDataGenerator
-
public final class FooTest_ComponentDataHolder {
public static TestComponentData get() {
return new TestComponentData(
false, // waitForBindValue
testInstance -> injectInternal(($1T) testInstance),
Arrays.asList(FooTest.TestModule.class, ...),
modules ->
DaggerFooTest_ApplicationComponent.builder()
.applicationContextModule(
new ApplicationContextModule(ApplicationProvider.getApplicationContext()))
.testModule((FooTest.TestModule) modules.get(FooTest.TestModule.class))
.testModule(modules.containsKey(FooTest.TestModule.class)
? (FooTest.TestModule) modules.get(FooTest.TestModule.class)
: ((TestInstace) testInstance).new TestModule())
.build());
}
}
- generate() - Method in class dagger.hilt.processor.internal.root.TestComponentDataSupplierGenerator
-
{@code
public final class TestComponentDataSupplierImpl extends TestComponentDataSupplier {
private final Map, TestComponentData> testComponentDataMap = new HashMap<>();
protected TestComponentDataSupplierImpl() {
testComponentDataMap.put(FooTest.class, new FooTest_ComponentData());
testComponentDataMap.put(BarTest.class, new BarTest_ComponentData());
...
- generate() - Method in class dagger.hilt.processor.internal.root.TestInjectorGenerator
-
- 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) - Static method in class dagger.hilt.processor.internal.ComponentNames
-
Returns the name of the generated component.
- generatedComponentsWrapper(ClassName) - Static method in class dagger.hilt.processor.internal.ComponentNames
-
Returns the name of the generated component wrapper.
- 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
-
- get(ProcessingEnvironment) - Method in enum dagger.hilt.android.processor.internal.androidentrypoint.HiltCompilerOptions.BooleanOption
-
- get(ClassName, ClassName, boolean) - Method in class dagger.hilt.processor.internal.aggregateddeps.ComponentDependencies.Dependencies
-
Returns the dependencies to be installed in the given component for the given root.
- 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, Class<? extends Annotation>) - Static method in class dagger.hilt.processor.internal.Processors
-
- getAnnotationMirror(Element, String) - Static method in class dagger.hilt.processor.internal.Processors
-
- 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.
- 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
-
- getBooleanAnnotationValue(AnnotationValue) - Static method in class dagger.hilt.processor.internal.Processors
-
Gets the values from an annotation value representing an int.
- getComponentDescriptors(Elements, Element) - Static method in class dagger.hilt.processor.internal.Components
-
- getComponentDescriptors() - Method in class dagger.hilt.processor.internal.ComponentTree
-
- getComponents(Elements, Element) - Static method in class dagger.hilt.processor.internal.Components
-
Returns the dagger.hilt.InstallIn components for a given element.
- getComponentTree(Elements) - Method in class dagger.hilt.processor.internal.definecomponent.DefineComponents
-
- 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
_.
- 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
-
- 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 .
- 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
-
- getMetadataUtil() - Static method in class dagger.hilt.processor.internal.KotlinMetadataUtils
-
Gets the metadata util.
- 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
-
- 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.android.processor.internal.androidentrypoint.HiltCompilerOptions
-
- getQualifiedName() - Method in enum dagger.hilt.android.processor.internal.androidentrypoint.HiltCompilerOptions.BooleanOption
-
- 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
- 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.android.processor.internal.uninstallmodules.UninstallModulesProcessor
-
- 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.RootProcessor
-
- getSupportedOptions() - Method in class dagger.hilt.android.processor.internal.androidentrypoint.AndroidEntryPointProcessor
-
- getSupportedSourceVersion() - Method in class dagger.hilt.processor.internal.BaseProcessor
-
- getTopLevelType(Element) - Static method in class dagger.hilt.processor.internal.Processors
-
- 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
-