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

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

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen.kotlin;

import com.google.common.collect.ImmutableMap;
import java.lang.Override;
import java.lang.String;
import javax.annotation.Generated;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;

@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_KotlinMetadata extends $AutoValue_KotlinMetadata {
  private volatile ImmutableMap methodDescriptors;

  private volatile boolean containsConstructorWithDefaultParam;

  private volatile boolean containsConstructorWithDefaultParam$Memoized;

  AutoValue_KotlinMetadata(TypeElement 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 - 2025 Weber Informatics LLC | Privacy Policy