@@ -25,7 +25,7 @@ class ImportType extends Import {
25
25
ImportType ( ) { imports ( this , _, _, 1 ) }
26
26
27
27
/** Gets the imported type. */
28
- RefType getImportedType ( ) { imports ( this , result , _, _) }
28
+ ClassOrInterface getImportedType ( ) { imports ( this , result , _, _) }
29
29
30
30
override string toString ( ) { result = "import " + this .getImportedType ( ) .toString ( ) }
31
31
@@ -44,7 +44,7 @@ class ImportOnDemandFromType extends Import {
44
44
ImportOnDemandFromType ( ) { imports ( this , _, _, 2 ) }
45
45
46
46
/** Gets the type from which accessible nested types are imported. */
47
- RefType getTypeHoldingImport ( ) { imports ( this , result , _, _) }
47
+ ClassOrInterface getTypeHoldingImport ( ) { imports ( this , result , _, _) }
48
48
49
49
/** Gets an imported type. */
50
50
NestedType getAnImport ( ) { result .getEnclosingType ( ) = this .getTypeHoldingImport ( ) }
@@ -87,7 +87,7 @@ class ImportStaticOnDemand extends Import {
87
87
ImportStaticOnDemand ( ) { imports ( this , _, _, 4 ) }
88
88
89
89
/** Gets the type from which accessible static members are imported. */
90
- RefType getTypeHoldingImport ( ) { imports ( this , result , _, _) }
90
+ ClassOrInterface getTypeHoldingImport ( ) { imports ( this , result , _, _) }
91
91
92
92
/** Gets an imported type. */
93
93
NestedType getATypeImport ( ) { result .getEnclosingType ( ) = this .getTypeHoldingImport ( ) }
@@ -118,7 +118,7 @@ class ImportStaticTypeMember extends Import {
118
118
ImportStaticTypeMember ( ) { imports ( this , _, _, 5 ) }
119
119
120
120
/** Gets the type from which static members with a given name are imported. */
121
- RefType getTypeHoldingImport ( ) { imports ( this , result , _, _) }
121
+ ClassOrInterface getTypeHoldingImport ( ) { imports ( this , result , _, _) }
122
122
123
123
/** Gets the name of the imported member(s). */
124
124
override string getName ( ) { imports ( this , _, result , _) }
0 commit comments