mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Java property as annotation parameter
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
public static final int i = 2;
|
||||
public static final short s = 2;
|
||||
public static final float f = 2f;
|
||||
public static final double d = 2.0;
|
||||
public static final long l = 2L;
|
||||
public static final byte b = 2;
|
||||
public static final boolean bool = true;
|
||||
public static final char c = 'c';
|
||||
public static final String str = "str";
|
||||
}
|
||||
Reference in New Issue
Block a user