Closed
Description
-
Flags
(PR Rework reflect Flags #10622)- Add
Deferred
,Infix
,JavaStatic
,Method
,NoInit
andTransparent
- Remove
ModuleClass
- Rename
Object
toModule
- Add
-
SymbolMethods
-
AddenclosingClass
andenclosingMethod
? (look in SourceCode) - Change signature to
def pos: Option[Position]
(PR Update reflect.Symbol position API #10656) - Add
def hasAnnotation(sym: Symbol): Boolean
anddef getAnnotation(sym: Symbol): Option[Term]
(PR Rework reflect annotations API #10643) - Rename
classMethod
todeclaredMethod
(PR Update reflect Symbol declarations API #10645) - Rename
typeMembers
tomemberTypes
(PR Update reflect Symbol declarations API #10645) - Rename
members
todeclarations
(PR Update reflect Symbol declarations API #10645) - Rename
method
tomemberMethod
(PR Update reflect Symbol declarations API #10645) - Add
declaredType
anddeclaredTypes
(PR Update reflect Symbol declarations API #10645)
-
- Add
NameTyped
as super type ofTermRef
andTypeRef
(PR AddNameTyped
,AndOrType
,LambdaType
andMethodOrPoly
#10630) - Add
AndOrType
as super type ofAndType
andOrType
(PR AddNameTyped
,AndOrType
,LambdaType
andMethodOrPoly
#10630) - Add
MethodOrPoly
as super type ofMethodType
andPolyType
(PR AddNameTyped
,AndOrType
,LambdaType
andMethodOrPoly
#10630) - Add
SourceFile
to docs ofReflection
(PR AddNameTyped
,AndOrType
,LambdaType
andMethodOrPoly
#10630) - Add
IfMethods.isInline
andMatchMethods.isInline
(PR AddisInline
toIfMethods
andMatchMethods
#10625) - Add
Position.apply(source, start, end)
and remove equivalent reporting API (PR Add constructor for reflect Position #10629) - Change signature to
def sourceCode: Option[String]
inPositionMethods
(PR Rework reflect SourceFile abstraction #10626) - Change signature to
def content: Option[String]
inSourceFileMethods
(PR Rework reflect SourceFile abstraction #10626) - Replace
Source.path
withSourceFile.current: SourceFile
and removeSource
(PR Rework reflect SourceFile abstraction #10626) -
Try to representSummonFrom
in the compiler as as{x => x match { case ... }}
and removeSummonFrom
(see issue RepresentsummonFrom
using a partial function #10624) - Define
Printer
type class forshow
:tree.show(using Printer.Tree)
(Extractors),tree.show(using Printer.Short)
,tree.show(using Printer.Ansi)
(PR Rework reflect show API #10661)