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 {
6
6
7
7
// Symbol
8
8
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
+
9
15
implicit class SymbolAPI (self : Symbol ) {
10
16
11
17
/** Owner of this symbol. The owner is the symbol in which this symbol is defined */
@@ -97,12 +103,6 @@ trait SymbolOps extends Core {
97
103
def isNoSymbol (given ctx : Context ): Boolean = internal.isNoSymbol(self)
98
104
}
99
105
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
-
106
106
implicit class ClassDefSymbolAPI (self : ClassDefSymbol ) {
107
107
108
108
/** Fields directly declared in the class */
You can’t perform that action at this time.
0 commit comments