public static boolean isConcreteListType(Type type) { if (type instanceof NonTerminalType) { IConstructor sym = ((NonTerminalType) type).getSymbol(); return SymbolAdapter.isAnyList(sym); } return false; }
public boolean isConcreteListType() { return SymbolAdapter.isAnyList(getSymbol()); }