Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package kotlin.jvm.internal;
|
||||
|
||||
import java.io.Serializable;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.reflect.KFunction;
|
||||
|
||||
@SinceKotlin(version = "1.7")
|
||||
/* 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 ".concat(this.funInterface.getName());
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionReference, kotlin.jvm.internal.CallableReference
|
||||
public KFunction getReflected() {
|
||||
throw new UnsupportedOperationException("Functional interface constructor does not support reflection");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user