File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
library/src/scala/tasty/reflect Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ trait SymbolOps extends Core {
66
77 // Symbol
88
9+ object Symbol {
10+ /** The ClassSymbol of a global class definition */
11+ def classSymbol (fullName : String )(given ctx : Context ): ClassDefSymbol =
12+ internal.ClassDefSymbol_of (fullName)
13+ }
14+
915 implicit class SymbolAPI (self : Symbol ) {
1016
1117 /** Owner of this symbol. The owner is the symbol in which this symbol is defined */
@@ -97,12 +103,6 @@ trait SymbolOps extends Core {
97103 def isNoSymbol (given ctx : Context ): Boolean = internal.isNoSymbol(self)
98104 }
99105
100- object ClassDefSymbol {
101- /** The ClassSymbol of a global class definition */
102- def of (fullName : String )(given ctx : Context ): ClassDefSymbol =
103- internal.ClassDefSymbol_of (fullName)
104- }
105-
106106 implicit class ClassDefSymbolAPI (self : ClassDefSymbol ) {
107107
108108 /** Fields directly declared in the class */
You can’t perform that action at this time.
0 commit comments