public class UnitManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
collectAllImports(CompiledUnit mainUnit,
java.util.HashSet<CompiledUnit> allUnits) |
CompiledUnit |
findUnitForModule(NamedElement module) |
CompiledUnit |
getCompiledModule(org.eclipse.emf.common.util.URI unitURI) |
LineNumberProvider |
getLineNumberProvider(org.eclipse.emf.common.util.URI unitURI) |
CompiledUnit |
getMainUnit() |
public static void collectAllImports(CompiledUnit mainUnit, java.util.HashSet<CompiledUnit> allUnits)
@NonNull public CompiledUnit getMainUnit()
@Nullable public CompiledUnit getCompiledModule(@NonNull org.eclipse.emf.common.util.URI unitURI)
@Nullable public LineNumberProvider getLineNumberProvider(@NonNull org.eclipse.emf.common.util.URI unitURI)
@Nullable public CompiledUnit findUnitForModule(@NonNull NamedElement module)