Java property as annotation parameter

This commit is contained in:
Natalia.Ukhorskaya
2013-07-31 20:39:15 +04:00
parent e792238cbe
commit acf8c88cfc
7 changed files with 135 additions and 7 deletions

View File

@@ -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";
}