1
+ package scala .reflect .api
2
+
3
+ trait TreeBuildUtil extends Universe {
4
+
5
+ /** The symbol corresponding to the globally accessible class with the
6
+ * given fully qualified name `fullname`.
7
+ */
8
+ def staticClass (fullname : String ): Symbol
9
+
10
+ /** The symbol corresponding to the globally accessible object with the
11
+ * given fully qualified name `fullname`.
12
+ */
13
+ def staticModule (fullname : String ): Symbol
14
+
15
+ /** The this-ptype of the globally accessible object with the
16
+ * given fully qualified name `fullname`.
17
+ */
18
+ def thisModuleType (fullname : String ): Type
19
+
20
+ /** Selects type symbol with given simple name `name` from the defined members of `owner`.
21
+ */
22
+ def selectType (owner : Symbol , name : String ): Symbol
23
+
24
+ /** Selects term symbol with given name and type from the defined members of prefix type
25
+ * @pre The prefix type
26
+ * @name The name of the selected member
27
+ */
28
+ def selectTerm (owner : Symbol , name : String ): Symbol
29
+
30
+ def selectOverloadedMethod (owner : Symbol , name : String , index : Int ): Symbol
31
+
32
+ def selectParam (owner : Symbol , idx : Int ): Symbol
33
+
34
+ def newScopeWith (decls : Symbol * ): Scope
35
+
36
+ /** Create a fresh free variable symbol.
37
+ * @param name the name of the free variable
38
+ * @param tsig the type signature of the free variable
39
+ * @param value the value of the free variable at runtime
40
+ */
41
+ def freeVar (name : String , tsig : Type , value : Any ): Symbol
42
+
43
+ /** Create a Modiiers structure given internal flags, qualifier, annotations */
44
+ def modifiersFromInternalFlags (flags : Long , privateWithin : Name , annotations : List [Tree ]): Modifiers
45
+
46
+ }
0 commit comments