CrackMe.apk
Download file
package kotlin.reflect.jvm.internal.impl.resolve;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import kotlin.reflect.jvm.internal.impl.descriptors.CallableDescriptor;
import kotlin.reflect.jvm.internal.impl.descriptors.ClassifierDescriptor;
import kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptor;
import kotlin.reflect.jvm.internal.impl.descriptors.TypeParameterDescriptor;
import kotlin.reflect.jvm.internal.impl.types.TypeConstructor;
import kotlin.reflect.jvm.internal.impl.types.checker.KotlinTypeChecker;
/* compiled from: DescriptorEquivalenceForOverrides.kt */
final class DescriptorEquivalenceForOverrides$areCallableDescriptorsEquivalent$overridingUtil$1 implements KotlinTypeChecker.TypeConstructorEquality {
final /* synthetic */ CallableDescriptor $a;
final /* synthetic */ boolean $allowCopiesFromTheSameDeclaration;
final /* synthetic */ CallableDescriptor $b;
DescriptorEquivalenceForOverrides$areCallableDescriptorsEquivalent$overridingUtil$1(boolean z, CallableDescriptor callableDescriptor, CallableDescriptor callableDescriptor2) {
this.$allowCopiesFromTheSameDeclaration = z;
this.$a = callableDescriptor;
this.$b = callableDescriptor2;
}
public final boolean equals(TypeConstructor typeConstructor, TypeConstructor typeConstructor2) {
Intrinsics.checkNotNullParameter(typeConstructor, "c1");
Intrinsics.checkNotNullParameter(typeConstructor2, "c2");
if (Intrinsics.areEqual((Object) typeConstructor, (Object) typeConstructor2)) {
return true;
}
ClassifierDescriptor declarationDescriptor = typeConstructor.getDeclarationDescriptor();
ClassifierDescriptor declarationDescriptor2 = typeConstructor2.getDeclarationDescriptor();
if (!(declarationDescriptor instanceof TypeParameterDescriptor) || !(declarationDescriptor2 instanceof TypeParameterDescriptor)) {
return false;
}
boolean z = this.$allowCopiesFromTheSameDeclaration;
final CallableDescriptor callableDescriptor = this.$a;
final CallableDescriptor callableDescriptor2 = this.$b;
return DescriptorEquivalenceForOverrides.INSTANCE.areTypeParametersEquivalent((TypeParameterDescriptor) declarationDescriptor, (TypeParameterDescriptor) declarationDescriptor2, z, new Function2<DeclarationDescriptor, DeclarationDescriptor, Boolean>() {
public final Boolean invoke(DeclarationDescriptor declarationDescriptor, DeclarationDescriptor declarationDescriptor2) {
return Boolean.valueOf(Intrinsics.areEqual((Object) declarationDescriptor, (Object) callableDescriptor) && Intrinsics.areEqual((Object) declarationDescriptor2, (Object) callableDescriptor2));
}
});
}
}
Download file