cleanup

parent cc54fc98
Pipeline #218406 failed with stage
in 1 minute and 10 seconds
......@@ -25,6 +25,8 @@ import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._ast.ASTSubComponent;
import de.monticore.lang.monticar.resolutions._ast.ASTUnitNumberTypeArgument;
import de.monticore.types.typesymbols._symboltable.TypeSymbol;
import de.se_rwth.commons.logging.Log;
import external1.types._ast.ASTSimpleReferenceType;
import external1.types._ast.ASTTypeArgument;
/**
* @author Sascha Schneiders
......@@ -45,8 +47,7 @@ public class TypeHelper {
@Deprecated
public static int getUnitNumberFromUnitNumberTypeArgument(ASTEMAComponentInstantiation node, int index) {
int counter = 0;
//TODO IMPLEMENT ME!F
/*if (node.getType() instanceof ASTSimpleReferenceType) {
if (node.getType() instanceof ASTSimpleReferenceType) {
for (ASTTypeArgument typeArgument : ((ASTSimpleReferenceType) node.getType()).getTypeArguments().getTypeArgumentList()) {
if (typeArgument instanceof ASTUnitNumberTypeArgument) {
ASTUnitNumberTypeArgument unitNumberTypeArgument = ((ASTUnitNumberTypeArgument) typeArgument);
......@@ -56,7 +57,7 @@ public class TypeHelper {
++counter;
}
}
}*/
}
return 0;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment