mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Inline static fields from Java
This commit is contained in:
21
compiler/testData/codegen/bytecodeTextMultifile/inlineJavaStaticFields/JClass.java
vendored
Normal file
21
compiler/testData/codegen/bytecodeTextMultifile/inlineJavaStaticFields/JClass.java
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class JClass {
|
||||
public final static int PrimitiveInt = 9000;
|
||||
public final static int BigPrimitiveInt = 59000;
|
||||
public final static long PrimitiveLong = 100000;
|
||||
public final static short PrimitiveShort = 900;
|
||||
public final static boolean PrimitiveBool = false;
|
||||
public final static float PrimitiveFloat = 36.6;
|
||||
public final static double PrimitiveDouble = 42.4242;
|
||||
public final static byte PrimitiveByte = -8;
|
||||
public final static char PrimitiveChar = 'K';
|
||||
public final static String Str = ":J";
|
||||
|
||||
@NotNull
|
||||
public final static Integer BoxedInt = 9500;
|
||||
|
||||
public static int NonFinal = 9700;
|
||||
|
||||
public final int NonStatic = 9800;
|
||||
}
|
||||
Reference in New Issue
Block a user