Rabbit-R1/switch port/java/sources/kotlin/jvm/internal/FunInterfaceConstructorReference.java

42 lines
1.3 KiB
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package kotlin.jvm.internal;
import java.io.Serializable;
import kotlin.reflect.KFunction;
/* loaded from: classes3.dex */
public class FunInterfaceConstructorReference extends FunctionReference implements Serializable {
private final Class funInterface;
public FunInterfaceConstructorReference(Class cls) {
super(1);
this.funInterface = cls;
}
@Override // kotlin.jvm.internal.FunctionReference
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof FunInterfaceConstructorReference) {
return this.funInterface.equals(((FunInterfaceConstructorReference) obj).funInterface);
}
return false;
}
@Override // kotlin.jvm.internal.FunctionReference
public int hashCode() {
return this.funInterface.hashCode();
}
@Override // kotlin.jvm.internal.FunctionReference
public String toString() {
return "fun interface " + this.funInterface.getName();
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // kotlin.jvm.internal.FunctionReference, kotlin.jvm.internal.CallableReference
public KFunction getReflected() {
throw new UnsupportedOperationException("Functional interface constructor does not support reflection");
}
}