blob: c2f9ae7837f8aec20faec2b648488c4dc084b527 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
trait AnnotationTest {
@BooleanAnnotation(Constants.BooleanTrue)
@ByteAnnotation(Constants.Byte)
@CharAnnotation(Constants.Char)
@ShortAnnotation(Constants.Short)
@IntAnnotation(Constants.Int)
@LongAnnotation(Constants.Long)
@FloatAnnotation(Constants.Float)
@DoubleAnnotation(Constants.Double)
@StringAnnotation(Constants.String)
def test1: Unit
@BooleanAnnotation(Constants.InvertedBoolean)
@ByteAnnotation(Constants.NegativeByte)
@ShortAnnotation(Constants.NegativeShort)
@IntAnnotation(Constants.NegativeInt)
@LongAnnotation(Constants.NegativeLong)
@FloatAnnotation(Constants.NegativeFloat)
@DoubleAnnotation(Constants.NegativeDouble)
@StringAnnotation(Constants.NegativeString)
def test2: Unit
@BooleanAnnotation(Constants.BooleanFalse)
@ByteAnnotation(Constants.LiteralCharAsByte)
@CharAnnotation(Constants.LiteralChar)
@ShortAnnotation(Constants.LiteralCharAsShort)
@IntAnnotation(Constants.LiteralCharAsInt)
@LongAnnotation(Constants.LiteralCharAsLong)
def test3: Unit
@LongAnnotation(Constants.LiteralIntAsLong)
def test4: Unit
}
|