@@ -7,40 +7,40 @@ import scala.tasty.reflect
7
7
8
8
trait FlagsOpsImpl extends scala.tasty.reflect.FlagsOps with CoreImpl {
9
9
10
- def FlagsDeco (flagSet : scala.tasty.reflect. FlagSet ): FlagsAPI = new FlagsAPI {
11
- def is (that : reflect. FlagSet ): Boolean = flagSet. asInstanceOf [ FlagSet ].flags is that. asInstanceOf [ FlagSet ].flags
12
- def | (that : reflect. FlagSet ): reflect. FlagSet = new FlagSet ( flagSet. asInstanceOf [ FlagSet ].flags | that. asInstanceOf [ FlagSet ].flags)
13
- def & (that : reflect. FlagSet ): reflect. FlagSet = new FlagSet ( flagSet. asInstanceOf [ FlagSet ].flags & that. asInstanceOf [ FlagSet ].flags)
10
+ def FlagsDeco (flagSet : Flags ): FlagsAPI = new FlagsAPI {
11
+ def is (that : Flags ): Boolean = flagSet is that
12
+ def | (that : Flags ): Flags = flagSet | that
13
+ def & (that : Flags ): Flags = flagSet & that
14
14
}
15
15
16
16
object Flags extends FlagsModule {
17
- def Protected : FlagSet = new FlagSet ( core.Flags .Protected )
18
- def Abstract : FlagSet = new FlagSet ( core.Flags .Abstract )
19
- def Final : FlagSet = new FlagSet ( core.Flags .Final )
20
- def Sealed : FlagSet = new FlagSet ( core.Flags .Sealed )
21
- def Case : FlagSet = new FlagSet ( core.Flags .Case )
22
- def Implicit : FlagSet = new FlagSet ( core.Flags .Implicit )
23
- def Erased : FlagSet = new FlagSet ( core.Flags .Erased )
24
- def Lazy : FlagSet = new FlagSet ( core.Flags .Lazy )
25
- def Override : FlagSet = new FlagSet ( core.Flags .Override )
26
- def Inline : FlagSet = new FlagSet ( core.Flags .Inline )
27
- def Macro : FlagSet = new FlagSet ( core.Flags .Macro )
28
- def Static : FlagSet = new FlagSet ( core.Flags .JavaStatic )
29
- def Object : FlagSet = new FlagSet ( core.Flags .Module )
30
- def Trait : FlagSet = new FlagSet ( core.Flags .Trait )
31
- def Local : FlagSet = new FlagSet ( core.Flags .Local )
32
- def Synthetic : FlagSet = new FlagSet ( core.Flags .Synthetic )
33
- def Artifact : FlagSet = new FlagSet ( core.Flags .Artifact )
34
- def Mutable : FlagSet = new FlagSet ( core.Flags .Mutable )
35
- def FieldAccessor : FlagSet = new FlagSet ( core.Flags .Accessor )
36
- def CaseAcessor : FlagSet = new FlagSet ( core.Flags .CaseAccessor )
37
- def Covariant : FlagSet = new FlagSet ( core.Flags .Covariant )
38
- def Contravariant : FlagSet = new FlagSet ( core.Flags .Contravariant )
39
- def Scala2X : FlagSet = new FlagSet ( core.Flags .Scala2x )
40
- def DefaultParameterized : FlagSet = new FlagSet ( core.Flags .DefaultParameterized )
41
- def Stable : FlagSet = new FlagSet ( core.Flags .Stable )
42
- def Param : FlagSet = new FlagSet ( core.Flags .Param )
43
- def ParamAccessor : FlagSet = new FlagSet ( core.Flags .ParamAccessor )
17
+ def Protected : Flags = core.Flags .Protected
18
+ def Abstract : Flags = core.Flags .Abstract
19
+ def Final : Flags = core.Flags .Final
20
+ def Sealed : Flags = core.Flags .Sealed
21
+ def Case : Flags = core.Flags .Case
22
+ def Implicit : Flags = core.Flags .Implicit
23
+ def Erased : Flags = core.Flags .Erased
24
+ def Lazy : Flags = core.Flags .Lazy
25
+ def Override : Flags = core.Flags .Override
26
+ def Inline : Flags = core.Flags .Inline
27
+ def Macro : Flags = core.Flags .Macro
28
+ def Static : Flags = core.Flags .JavaStatic
29
+ def Object : Flags = core.Flags .Module
30
+ def Trait : Flags = core.Flags .Trait
31
+ def Local : Flags = core.Flags .Local
32
+ def Synthetic : Flags = core.Flags .Synthetic
33
+ def Artifact : Flags = core.Flags .Artifact
34
+ def Mutable : Flags = core.Flags .Mutable
35
+ def FieldAccessor : Flags = core.Flags .Accessor
36
+ def CaseAcessor : Flags = core.Flags .CaseAccessor
37
+ def Covariant : Flags = core.Flags .Covariant
38
+ def Contravariant : Flags = core.Flags .Contravariant
39
+ def Scala2X : Flags = core.Flags .Scala2x
40
+ def DefaultParameterized : Flags = core.Flags .DefaultParameterized
41
+ def Stable : Flags = core.Flags .Stable
42
+ def Param : Flags = core.Flags .Param
43
+ def ParamAccessor : Flags = core.Flags .ParamAccessor
44
44
}
45
45
46
46
}
0 commit comments