Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.sd4components._symboltable;

import com.google.common.base.Preconditions;
import de.monticore.lang.sd4components.SD4ComponentsMill;
import de.monticore.lang.sd4components._ast.ASTSDComponent;
import de.monticore.lang.sd4components._ast.ASTSDPort;
Expand Down Expand Up @@ -39,7 +40,7 @@ public SD4ComponentsScopesGenitor() {

@Override
public ISD4ComponentsArtifactScope createFromAST(ASTSDArtifact rootNode) {
Log.errorIfNull(rootNode, "0xA7004x34638 Error by creating of the SD4ComponentsScopesGenitor symbol table: top ast node is null");
Preconditions.checkNotNull(rootNode, "0xA7004x34638 Error by creating of the SD4ComponentsScopesGenitor symbol table: top ast node is null");

String packageDeclaration = rootNode.isPresentPackageDeclaration() ? rootNode.getPackageDeclaration().getQName() : "";
List<ImportStatement> imports = new ArrayList<>();
Expand Down
Loading