Files
strangepleasures 9688c3e761 [KAPT] Improve stub formatting; check raw stubs in tests
Merge-request: KT-MR-14244
Merged-by: Pavel Mikhailovskii <Pavel.Mikhailovskii@jetbrains.com>
2024-02-09 15:41:37 +00:00

275 lines
6.8 KiB
Plaintext
Vendored

/**
* public final enum class Em : kotlin/Enum<Em> {
*
* // signature: <init>(Ljava/lang/String;I)V
* private constructor()
*
* FOO,
*
* BAR,
*
* // module name: main
*
* // has Enum.entries
* }
*/
@kotlin.Metadata()
public enum Em {
FOO,
BAR;
Em() {
}
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<Em> getEntries() {
return null;
}
}
////////////////////
/**
* public final class Foo : kotlin/Any {
*
* // signature: <init>(ZBCCSIJFDLjava/lang/String;[I[J[D[Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;LEm;[LEm;)V
* public constructor(z: kotlin/Boolean (* = ... *), b: kotlin/Byte (* = ... *), c: kotlin/Char (* = ... *), c2: kotlin/Char (* = ... *), sh: kotlin/Short (* = ... *), i: kotlin/Int (* = ... *), l: kotlin/Long (* = ... *), f: kotlin/Float (* = ... *), d: kotlin/Double (* = ... *), s: kotlin/String (* = ... *), iarr: kotlin/IntArray (* = ... *), larr: kotlin/LongArray (* = ... *), darr: kotlin/DoubleArray (* = ... *), sarr: kotlin/Array<kotlin/String> (* = ... *), cl: java/lang/Class<*> (* = ... *), clarr: kotlin/Array<java/lang/Class<*>> (* = ... *), em: Em (* = ... *), emarr: kotlin/Array<Em> (* = ... *))
*
* // signature: foo(I)V
* public final fun foo(a: kotlin/Int (* = ... *)): kotlin/Unit
*
* // field: b:B
* // getter: getB()B
* public final val b: kotlin/Byte
* public final get
*
* // field: c:C
* // getter: getC()C
* public final val c: kotlin/Char
* public final get
*
* // field: c2:C
* // getter: getC2()C
* public final val c2: kotlin/Char
* public final get
*
* // field: cl:Ljava/lang/Class;
* // getter: getCl()Ljava/lang/Class;
* public final val cl: java/lang/Class<*>
* public final get
*
* // field: clarr:[Ljava/lang/Class;
* // getter: getClarr()[Ljava/lang/Class;
* public final val clarr: kotlin/Array<java/lang/Class<*>>
* public final get
*
* // field: d:D
* // getter: getD()D
* public final val d: kotlin/Double
* public final get
*
* // field: darr:[D
* // getter: getDarr()[D
* public final val darr: kotlin/DoubleArray
* public final get
*
* // field: em:LEm;
* // getter: getEm()LEm;
* public final val em: Em
* public final get
*
* // field: emarr:[LEm;
* // getter: getEmarr()[LEm;
* public final val emarr: kotlin/Array<Em>
* public final get
*
* // field: f:F
* // getter: getF()F
* public final val f: kotlin/Float
* public final get
*
* // field: i:I
* // getter: getI()I
* public final val i: kotlin/Int
* public final get
*
* // field: iarr:[I
* // getter: getIarr()[I
* public final val iarr: kotlin/IntArray
* public final get
*
* // field: l:J
* // getter: getL()J
* public final val l: kotlin/Long
* public final get
*
* // field: larr:[J
* // getter: getLarr()[J
* public final val larr: kotlin/LongArray
* public final get
*
* // field: s:Ljava/lang/String;
* // getter: getS()Ljava/lang/String;
* public final val s: kotlin/String
* public final get
*
* // field: sarr:[Ljava/lang/String;
* // getter: getSarr()[Ljava/lang/String;
* public final val sarr: kotlin/Array<kotlin/String>
* public final get
*
* // field: sh:S
* // getter: getSh()S
* public final val sh: kotlin/Short
* public final get
*
* // field: z:Z
* // getter: getZ()Z
* public final val z: kotlin/Boolean
* public final get
*
* // module name: main
* }
*/
@kotlin.Metadata()
public final class Foo {
private final boolean z = true;
private final byte b = 0;
private final char c = 'c';
private final char c2 = '\n';
private final short sh = 10;
private final int i = 10;
private final long l = -10L;
private final float f = 1.0f;
private final double d = -1.0;
@org.jetbrains.annotations.NotNull()
private final java.lang.String s = "foo";
@org.jetbrains.annotations.NotNull()
private final int[] iarr = {1, 2, 3};
@org.jetbrains.annotations.NotNull()
private final long[] larr = {-1L, 0L, 1L};
@org.jetbrains.annotations.NotNull()
private final double[] darr = {7.3};
@org.jetbrains.annotations.NotNull()
private final java.lang.String[] sarr = {"a", "bc"};
@org.jetbrains.annotations.NotNull()
private final java.lang.Class<?> cl = null;
@org.jetbrains.annotations.NotNull()
private final java.lang.Class<?>[] clarr = {};
@org.jetbrains.annotations.NotNull()
private final Em em = Em.BAR;
@org.jetbrains.annotations.NotNull()
private final Em[] emarr = {Em.FOO, Em.BAR};
public Foo() {
super();
}
public Foo(boolean z, byte b, char c, char c2, short sh, int i, long l, float f, double d, @org.jetbrains.annotations.NotNull() java.lang.String s, @org.jetbrains.annotations.NotNull() int[] iarr, @org.jetbrains.annotations.NotNull() long[] larr, @org.jetbrains.annotations.NotNull() double[] darr, @org.jetbrains.annotations.NotNull() java.lang.String[] sarr, @org.jetbrains.annotations.NotNull() java.lang.Class<?> cl, @org.jetbrains.annotations.NotNull() java.lang.Class<?>[] clarr, @org.jetbrains.annotations.NotNull() Em em, @org.jetbrains.annotations.NotNull() Em[] emarr) {
super();
}
public final boolean getZ() {
return false;
}
public final byte getB() {
return 0;
}
public final char getC() {
return '\u0000';
}
public final char getC2() {
return '\u0000';
}
public final short getSh() {
return 0;
}
public final int getI() {
return 0;
}
public final long getL() {
return 0L;
}
public final float getF() {
return 0.0F;
}
public final double getD() {
return 0.0;
}
@org.jetbrains.annotations.NotNull()
public final java.lang.String getS() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final int[] getIarr() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final long[] getLarr() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final double[] getDarr() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final java.lang.String[] getSarr() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final java.lang.Class<?> getCl() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final java.lang.Class<?>[] getClarr() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final Em getEm() {
return null;
}
@org.jetbrains.annotations.NotNull()
public final Em[] getEmarr() {
return null;
}
public final void foo(int a) {
}
}