@Test public void add_wrong_types() throws Exception { try { m_list.add(m_scope.bool().make(true)); fail(); } catch (IllegalArgumentException e) { } try { m_list.add(m_vsuper); fail(); } catch (IllegalArgumentException e) { } }
@Override public ListDataValue make() { return new ListDataValue(this); }
ListDataType extends CollectionDataType { @Override public ListDataValue make() { return new ListDataValue(this); } }
ListDataType extends CollectionDataType { @Override public ListDataValue make() { return new ListDataValue(this); } ListDataType(DataType inner_type, AnyType any); }
ListDataType extends CollectionDataType { @Override public ListDataValue make() { return new ListDataValue(this); } ListDataType(DataType inner_type, AnyType any); static final String build_list_name(DataType inner); static ListDataType list_of(DataType inner, PrimitiveScope pscope); @Override ListDataValue make(); @Override boolean is_abstract(); }
ListDataType extends CollectionDataType { @Override public ListDataValue make() { return new ListDataValue(this); } ListDataType(DataType inner_type, AnyType any); static final String build_list_name(DataType inner); static ListDataType list_of(DataType inner, PrimitiveScope pscope); @Override ListDataValue make(); @Override boolean is_abstract();  }