@@ -25,7 +25,7 @@ class ImportType extends Import {
2525 ImportType ( ) { imports ( this , _, _, 1 ) }
2626
2727 /** Gets the imported type. */
28- RefType getImportedType ( ) { imports ( this , result , _, _) }
28+ ClassOrInterface getImportedType ( ) { imports ( this , result , _, _) }
2929
3030 override string toString ( ) { result = "import " + this .getImportedType ( ) .toString ( ) }
3131
@@ -44,7 +44,7 @@ class ImportOnDemandFromType extends Import {
4444 ImportOnDemandFromType ( ) { imports ( this , _, _, 2 ) }
4545
4646 /** Gets the type from which accessible nested types are imported. */
47- RefType getTypeHoldingImport ( ) { imports ( this , result , _, _) }
47+ ClassOrInterface getTypeHoldingImport ( ) { imports ( this , result , _, _) }
4848
4949 /** Gets an imported type. */
5050 NestedType getAnImport ( ) { result .getEnclosingType ( ) = this .getTypeHoldingImport ( ) }
@@ -87,7 +87,7 @@ class ImportStaticOnDemand extends Import {
8787 ImportStaticOnDemand ( ) { imports ( this , _, _, 4 ) }
8888
8989 /** Gets the type from which accessible static members are imported. */
90- RefType getTypeHoldingImport ( ) { imports ( this , result , _, _) }
90+ ClassOrInterface getTypeHoldingImport ( ) { imports ( this , result , _, _) }
9191
9292 /** Gets an imported type. */
9393 NestedType getATypeImport ( ) { result .getEnclosingType ( ) = this .getTypeHoldingImport ( ) }
@@ -118,7 +118,7 @@ class ImportStaticTypeMember extends Import {
118118 ImportStaticTypeMember ( ) { imports ( this , _, _, 5 ) }
119119
120120 /** 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 , _, _) }
122122
123123 /** Gets the name of the imported member(s). */
124124 override string getName ( ) { imports ( this , _, result , _) }
0 commit comments