All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.hilt.android.processor.internal.androidentrypoint.AutoValue_AndroidEntryPointMetadata Maven / Gradle / Ivy

There is a newer version: 2.45-kim-rc1
Show newest version
package dagger.hilt.android.processor.internal.androidentrypoint;

import com.google.common.collect.ImmutableSet;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.CodeBlock;
import com.squareup.javapoet.TypeName;
import java.lang.Override;
import java.util.Optional;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;

@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_AndroidEntryPointMetadata extends $AutoValue_AndroidEntryPointMetadata {
  private volatile AndroidEntryPointMetadata rootMetadata;

  AutoValue_AndroidEntryPointMetadata(TypeElement element$, TypeElement baseElement$,
      ClassName generatedClassName$, boolean requiresBytecodeInjection$,
      AndroidEntryPointMetadata.AndroidType androidType$,
      Optional baseMetadata$,
      ImmutableSet installInComponents$, TypeName componentManager$,
      Optional componentManagerInitArgs$) {
    super(element$, baseElement$, generatedClassName$, requiresBytecodeInjection$, androidType$, baseMetadata$, installInComponents$, componentManager$, componentManagerInitArgs$);
  }

  @Override
  public AndroidEntryPointMetadata rootMetadata() {
    if (rootMetadata == null) {
      synchronized (this) {
        if (rootMetadata == null) {
          rootMetadata = super.rootMetadata();
          if (rootMetadata == null) {
            throw new NullPointerException("rootMetadata() cannot return null");
          }
        }
      }
    }
    return rootMetadata;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy