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

dagger.hilt.processor.internal.kotlin.AutoValue_KotlinMetadata Maven / Gradle / Ivy

The newest version!
package dagger.hilt.processor.internal.kotlin;

import androidx.room.compiler.processing.XMethodElement;
import androidx.room.compiler.processing.XTypeElement;
import com.google.common.collect.ImmutableMap;
import com.google.errorprone.annotations.concurrent.LazyInit;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;

final class AutoValue_KotlinMetadata extends $AutoValue_KotlinMetadata {
  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile ImmutableMap methodDescriptors;

  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile boolean containsConstructorWithDefaultParam;

  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile boolean containsConstructorWithDefaultParam$Memoized;

  AutoValue_KotlinMetadata(XTypeElement typeElement$, KotlinMetadata.ClassMetadata classMetadata$) {
    super(typeElement$, classMetadata$);
  }

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

  @Override
  boolean containsConstructorWithDefaultParam() {
    if (!containsConstructorWithDefaultParam$Memoized) {
      synchronized (this) {
        if (!containsConstructorWithDefaultParam$Memoized) {
          containsConstructorWithDefaultParam = super.containsConstructorWithDefaultParam();
          containsConstructorWithDefaultParam$Memoized = true;
        }
      }
    }
    return containsConstructorWithDefaultParam;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy