- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
41 lines
1.3 KiB
Java
41 lines
1.3 KiB
Java
package kotlin.jvm.internal;
|
|
|
|
import java.util.Collection;
|
|
import kotlin.jvm.KotlinReflectionNotSupportedError;
|
|
import kotlin.reflect.KCallable;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class PackageReference implements ClassBasedDeclarationContainer {
|
|
private final Class<?> jClass;
|
|
private final String moduleName;
|
|
|
|
@Override // kotlin.jvm.internal.ClassBasedDeclarationContainer
|
|
public Class<?> getJClass() {
|
|
return this.jClass;
|
|
}
|
|
|
|
public PackageReference(Class<?> jClass, String moduleName) {
|
|
Intrinsics.checkNotNullParameter(jClass, "jClass");
|
|
Intrinsics.checkNotNullParameter(moduleName, "moduleName");
|
|
this.jClass = jClass;
|
|
this.moduleName = moduleName;
|
|
}
|
|
|
|
@Override // kotlin.jvm.internal.ClassBasedDeclarationContainer
|
|
public Collection<KCallable> getMembers() {
|
|
throw new KotlinReflectionNotSupportedError();
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return (obj instanceof PackageReference) && Intrinsics.areEqual(getJClass(), ((PackageReference) obj).getJClass());
|
|
}
|
|
|
|
public int hashCode() {
|
|
return getJClass().hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return getJClass().toString() + " (Kotlin reflection is not available)";
|
|
}
|
|
}
|