[SLC] AbstractSymbolLightClassesByPsiTest: add more stable order

Now more diff between sources and libraries are readable.
Also prefer .descriptors to .fir as FIR is a first-class support

^KT-62892
This commit is contained in:
Dmitrii Gridin
2024-01-03 19:41:34 +01:00
committed by Space Team
parent d64f18eaa9
commit af5f76048b
68 changed files with 891 additions and 745 deletions
@@ -1,6 +1,6 @@
public final class C /* C*/ {
@org.jetbrains.annotations.Nullable()
private final Direction enumConst;
private final Direction enumConst = Direction.EAST /* initializer type: Direction */;
@org.jetbrains.annotations.Nullable()
public final Direction getEnumConst();// getEnumConst()
@@ -13,7 +13,7 @@ public enum Color /* Color*/ {
GREEN,
BLUE;
private final int rgb;
private final int rgb = 5 /* initializer type: int */;
@org.jetbrains.annotations.NotNull()
public static Color valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@@ -21,10 +21,13 @@ public enum Color /* Color*/ {
@org.jetbrains.annotations.NotNull()
public static Color[] values();// values()
private Color(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<Color> getEntries();// getEntries()
private Color(int);// .ctor(int)
private Color(java.lang.String);// .ctor(java.lang.String)
public final int getRgb();// getRgb()
}
@@ -40,6 +43,9 @@ public enum Direction /* Direction*/ {
@org.jetbrains.annotations.NotNull()
public static Direction[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<Direction> getEntries();// getEntries()
private Direction();// .ctor()
}
@@ -47,34 +53,45 @@ public abstract enum IntArithmetics /* IntArithmetics*/ implements java.util.fun
PLUS {
PLUS();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
},
TIMES {
TIMES();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
};
@java.lang.Override()
public int applyAsInt(int, int);// applyAsInt(int, int)
@org.jetbrains.annotations.NotNull()
public static IntArithmetics valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static IntArithmetics[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<IntArithmetics> getEntries();// getEntries()
private IntArithmetics();// .ctor()
public int applyAsInt(int, int);// applyAsInt(int, int)
class PLUS ...
class TIMES ...
}
public static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
PLUS();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
}
static final class TIMES /* IntArithmetics.TIMES*/ extends IntArithmetics {
TIMES();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
}
@@ -83,12 +100,14 @@ public abstract enum ProtocolState /* ProtocolState*/ {
WAITING {
WAITING();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
},
TALKING {
TALKING();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
};
@@ -102,34 +121,28 @@ public abstract enum ProtocolState /* ProtocolState*/ {
@org.jetbrains.annotations.NotNull()
public static ProtocolState[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<ProtocolState> getEntries();// getEntries()
private ProtocolState();// .ctor()
}
class TALKING ...
static final class TALKING /* ProtocolState.TALKING*/ extends ProtocolState {
TALKING();// .ctor()
class WAITING ...
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
}
static final class WAITING /* ProtocolState.WAITING*/ extends ProtocolState {
WAITING();// .ctor()
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
public abstract @interface Some /* Some*/ {
}
public static final class TALKING /* ProtocolState.TALKING*/ extends ProtocolState {
TALKING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
}
public static final class TIMES /* IntArithmetics.TIMES*/ extends IntArithmetics {
TIMES();// .ctor()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
}
public static final class WAITING /* ProtocolState.WAITING*/ extends ProtocolState {
WAITING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
}