Deserialize annotations on classes

First version, not all kinds of value arguments of annotations are supported
This commit is contained in:
Alexander Udalov
2013-07-04 21:04:53 +04:00
parent 9a33567287
commit 4aeeafdff0
31 changed files with 804 additions and 152 deletions
@@ -0,0 +1,20 @@
package test
annotation class IntAnno(val value: Int)
annotation class ShortAnno(val value: Short)
annotation class ByteAnno(val value: Byte)
annotation class LongAnno(val value: Long)
annotation class CharAnno(val value: Char)
annotation class BooleanAnno(val value: Boolean)
annotation class FloatAnno(val value: Float)
annotation class DoubleAnno(val value: Double)
IntAnno(42)
ShortAnno(42)
ByteAnno(42)
LongAnno(42)
CharAnno('A')
BooleanAnno(false)
FloatAnno(3.14)
DoubleAnno(3.14)
class Class