You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When removing a child of a CompilationUnit (e.g. an ImportDeclaration), the CompilationUnit passes the result of List.remove() to Node.updateReferences(); see below.
boolean result = false;
...
if (result) {
updateReferences(result);
}
Node.updateReferences() checks whether the argument is either a SymbolReference or a SymbolDefinition and updates the usages accordingly. For ImportDeclarations which implement SymbolDefinition this does not work as expected
The text was updated successfully, but these errors were encountered:
When removing a child of a
CompilationUnit
(e.g. anImportDeclaration
), theCompilationUnit
passes the result ofList.remove()
toNode.updateReferences()
; see below.Node.updateReferences()
checks whether the argument is either aSymbolReference
or aSymbolDefinition
and updates the usages accordingly. ForImportDeclaration
s which implementSymbolDefinition
this does not work as expectedThe text was updated successfully, but these errors were encountered: