CrackMe.apk
Download file
package kotlin.reflect.jvm.internal.impl.descriptors.runtime.structure;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
import java.util.List;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.reflect.jvm.internal.impl.load.java.structure.JavaAnnotationOwner;
import kotlin.reflect.jvm.internal.impl.name.FqName;
/* compiled from: ReflectJavaAnnotationOwner.kt */
public interface ReflectJavaAnnotationOwner extends JavaAnnotationOwner {
AnnotatedElement getElement();
/* compiled from: ReflectJavaAnnotationOwner.kt */
public static final class DefaultImpls {
public static boolean isDeprecatedInJavaDoc(ReflectJavaAnnotationOwner reflectJavaAnnotationOwner) {
Intrinsics.checkNotNullParameter(reflectJavaAnnotationOwner, "this");
return false;
}
public static List<ReflectJavaAnnotation> getAnnotations(ReflectJavaAnnotationOwner reflectJavaAnnotationOwner) {
Intrinsics.checkNotNullParameter(reflectJavaAnnotationOwner, "this");
AnnotatedElement element = reflectJavaAnnotationOwner.getElement();
Annotation[] declaredAnnotations = element == null ? null : element.getDeclaredAnnotations();
return declaredAnnotations == null ? CollectionsKt.emptyList() : ReflectJavaAnnotationOwnerKt.getAnnotations(declaredAnnotations);
}
public static ReflectJavaAnnotation findAnnotation(ReflectJavaAnnotationOwner reflectJavaAnnotationOwner, FqName fqName) {
Annotation[] declaredAnnotations;
Intrinsics.checkNotNullParameter(reflectJavaAnnotationOwner, "this");
Intrinsics.checkNotNullParameter(fqName, "fqName");
AnnotatedElement element = reflectJavaAnnotationOwner.getElement();
if (element == null || (declaredAnnotations = element.getDeclaredAnnotations()) == null) {
return null;
}
return ReflectJavaAnnotationOwnerKt.findAnnotation(declaredAnnotations, fqName);
}
}
}
Download file