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

dagger.internal.codegen.kotlin.AutoValue_KotlinMetadata Maven / Gradle / Ivy

The newest version!
package dagger.internal.codegen.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;

  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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy