CrackMe.apk
Download file
package kotlin.reflect.jvm.internal.impl.load.java.components;
import java.util.Map;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt;
import kotlin.collections.MapsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
import kotlin.reflect.jvm.internal.impl.load.java.structure.JavaAnnotationArgument;
import kotlin.reflect.jvm.internal.impl.load.java.structure.JavaArrayAnnotationArgument;
import kotlin.reflect.jvm.internal.impl.load.java.structure.JavaEnumValueAnnotationArgument;
import kotlin.reflect.jvm.internal.impl.name.Name;
import kotlin.reflect.jvm.internal.impl.resolve.constants.ConstantValue;
/* compiled from: JavaAnnotationMapper.kt */
final class JavaTargetAnnotationDescriptor$allValueArguments$2 extends Lambda implements Function0<Map<Name, ? extends ConstantValue<? extends Object>>> {
final /* synthetic */ JavaTargetAnnotationDescriptor this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
JavaTargetAnnotationDescriptor$allValueArguments$2(JavaTargetAnnotationDescriptor javaTargetAnnotationDescriptor) {
super(0);
this.this$0 = javaTargetAnnotationDescriptor;
}
public final Map<Name, ConstantValue<Object>> invoke() {
ConstantValue<?> constantValue;
JavaAnnotationArgument firstArgument = this.this$0.getFirstArgument();
Map<K, V> map = null;
if (firstArgument instanceof JavaArrayAnnotationArgument) {
constantValue = JavaAnnotationTargetMapper.INSTANCE.mapJavaTargetArguments$descriptors_jvm(((JavaArrayAnnotationArgument) this.this$0.getFirstArgument()).getElements());
} else {
constantValue = firstArgument instanceof JavaEnumValueAnnotationArgument ? JavaAnnotationTargetMapper.INSTANCE.mapJavaTargetArguments$descriptors_jvm(CollectionsKt.listOf(this.this$0.getFirstArgument())) : null;
}
if (constantValue != null) {
map = MapsKt.mapOf(TuplesKt.to(JavaAnnotationMapper.INSTANCE.getTARGET_ANNOTATION_ALLOWED_TARGETS$descriptors_jvm(), constantValue));
}
return map == null ? MapsKt.emptyMap() : map;
}
}
Download file