mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-22 15:51:33 +00:00
Get rid of multiple usages of IntrinsicObjects where JavaToKotlinClassMap was already used, simplify code, and support loading of *CompanionObject as Kotlin built-in companions from Java code. Also fix a small bug where Boolean was considered a class with an intrinsic companion in IntrinsicObjects, although it was not
11 lines
262 B
Java
Vendored
11 lines
262 B
Java
Vendored
package test;
|
|
|
|
import kotlin.jvm.internal.*;
|
|
|
|
public interface IntrinsicCompanionObject {
|
|
void testInt(IntCompanionObject i);
|
|
void testChar(CharCompanionObject c);
|
|
void testString(StringCompanionObject s);
|
|
void testEnum(EnumCompanionObject e);
|
|
}
|