test_class.declarator: mapper = new DatamodelMapper("http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final ObjectMapper mapper = new DatamodelMapper("http://example.com/entity/");
test_class.type: ObjectMapper
test_class.var_name: mapper
test_class.declarator: iid = new ItemIdValueImpl("Q42", "http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final ItemIdValue iid = new ItemIdValueImpl("Q42", "http://example.com/entity/");
test_class.type: ItemIdValue
test_class.var_name: iid
test_class.declarator: s = new StatementImpl("MyId", StatementRank.NORMAL,
  			new SomeValueSnakImpl(new PropertyIdValueImpl("P42", "http://example.com/entity/")),
  			Collections.emptyList(), Collections.emptyList(), iid)
test_class.modifier: private final
test_class.original_string: private final Statement s = new StatementImpl("MyId", StatementRank.NORMAL,
  			new SomeValueSnakImpl(new PropertyIdValueImpl("P42", "http://example.com/entity/")),
  			Collections.emptyList(), Collections.emptyList(), iid);
test_class.type: Statement
test_class.var_name: s
test_class.declarator: statementGroups = Collections.singletonList(
  			new StatementGroupImpl(Collections.singletonList(s))
  	)
test_class.modifier: private final
test_class.original_string: private final List<StatementGroup> statementGroups = Collections.singletonList(
  			new StatementGroupImpl(Collections.singletonList(s))
  	);
test_class.type: List<StatementGroup>
test_class.var_name: statementGroups
test_class.declarator: label = new TermImpl("en", "label")
test_class.modifier: private final
test_class.original_string: private final MonolingualTextValue label = new TermImpl("en", "label");
test_class.type: MonolingualTextValue
test_class.var_name: label
test_class.declarator: labelList = Collections.singletonList(label)
test_class.modifier: private final
test_class.original_string: private final List<MonolingualTextValue> labelList = Collections.singletonList(label);
test_class.type: List<MonolingualTextValue>
test_class.var_name: labelList
test_class.declarator: desc = new MonolingualTextValueImpl("des", "fr")
test_class.modifier: private final
test_class.original_string: private final MonolingualTextValue desc = new MonolingualTextValueImpl("des", "fr");
test_class.type: MonolingualTextValue
test_class.var_name: desc
test_class.declarator: descList = Collections.singletonList(desc)
test_class.modifier: private final
test_class.original_string: private final List<MonolingualTextValue> descList = Collections.singletonList(desc);
test_class.type: List<MonolingualTextValue>
test_class.var_name: descList
test_class.declarator: alias = new MonolingualTextValueImpl("alias", "de")
test_class.modifier: private final
test_class.original_string: private final MonolingualTextValue alias = new MonolingualTextValueImpl("alias", "de");
test_class.type: MonolingualTextValue
test_class.var_name: alias
test_class.declarator: aliasList = Collections.singletonList(alias)
test_class.modifier: private final
test_class.original_string: private final List<MonolingualTextValue> aliasList = Collections.singletonList(alias);
test_class.type: List<MonolingualTextValue>
test_class.var_name: aliasList
test_class.declarator: sitelinks = Collections.singletonList(
  			new SiteLinkImpl("Douglas Adams", "enwiki", Collections.emptyList())
  	)
test_class.modifier: private final
test_class.original_string: private final List<SiteLink> sitelinks = Collections.singletonList(
  			new SiteLinkImpl("Douglas Adams", "enwiki", Collections.emptyList())
  	);
test_class.type: List<SiteLink>
test_class.var_name: sitelinks
test_class.declarator: ir1 = new ItemDocumentImpl(iid,
  			labelList, descList, aliasList,
  			statementGroups, sitelinks, 1234)
test_class.modifier: private final
test_class.original_string: private final ItemDocument ir1 = new ItemDocumentImpl(iid,
  			labelList, descList, aliasList,
  			statementGroups, sitelinks, 1234);
test_class.type: ItemDocument
test_class.var_name: ir1
test_class.declarator: ir2 = new ItemDocumentImpl(iid,
  			labelList, descList, aliasList,
  			statementGroups, sitelinks, 1234)
test_class.modifier: private final
test_class.original_string: private final ItemDocument ir2 = new ItemDocumentImpl(iid,
  			labelList, descList, aliasList,
  			statementGroups, sitelinks, 1234);
test_class.type: ItemDocument
test_class.var_name: ir2
test_class.declarator: JSON_ITEM_LABEL = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{\"en\":{\"language\":\"en\",\"value\":\"label\"}},\"descriptions\":{},\"aliases\":{},\"claims\":{},\"sitelinks\":{}}"
test_class.modifier: private final
test_class.original_string: private final String JSON_ITEM_LABEL = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{\"en\":{\"language\":\"en\",\"value\":\"label\"}},\"descriptions\":{},\"aliases\":{},\"claims\":{},\"sitelinks\":{}}";
test_class.type: String
test_class.var_name: JSON_ITEM_LABEL
test_class.declarator: JSON_ITEM_DESCRIPTION = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{\"fr\":{\"language\":\"fr\",\"value\":\"des\"}},\"aliases\":{},\"claims\":{},\"sitelinks\":{}}"
test_class.modifier: private final
test_class.original_string: private final String JSON_ITEM_DESCRIPTION = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{\"fr\":{\"language\":\"fr\",\"value\":\"des\"}},\"aliases\":{},\"claims\":{},\"sitelinks\":{}}";
test_class.type: String
test_class.var_name: JSON_ITEM_DESCRIPTION
test_class.declarator: JSON_ITEM_ALIASES = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{},\"aliases\":{\"de\":[{\"language\":\"de\",\"value\":\"alias\"}]},\"claims\":{},\"sitelinks\":{}}"
test_class.modifier: private final
test_class.original_string: private final String JSON_ITEM_ALIASES = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{},\"aliases\":{\"de\":[{\"language\":\"de\",\"value\":\"alias\"}]},\"claims\":{},\"sitelinks\":{}}";
test_class.type: String
test_class.var_name: JSON_ITEM_ALIASES
test_class.declarator: JSON_ITEM_STATEMENTS = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{},\"aliases\":{},\"claims\":{\"P42\":[{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P42\",\"snaktype\":\"somevalue\"},\"type\":\"statement\"}]},\"sitelinks\":{}}"
test_class.modifier: private final
test_class.original_string: private final String JSON_ITEM_STATEMENTS = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{},\"aliases\":{},\"claims\":{\"P42\":[{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P42\",\"snaktype\":\"somevalue\"},\"type\":\"statement\"}]},\"sitelinks\":{}}";
test_class.type: String
test_class.var_name: JSON_ITEM_STATEMENTS
test_class.declarator: JSON_ITEM_SITELINKS = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{},\"aliases\":{},\"claims\":{},\"sitelinks\":{\"enwiki\":{\"title\":\"Douglas Adams\",\"site\":\"enwiki\",\"badges\":[]}}}"
test_class.modifier: private final
test_class.original_string: private final String JSON_ITEM_SITELINKS = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":{},\"descriptions\":{},\"aliases\":{},\"claims\":{},\"sitelinks\":{\"enwiki\":{\"title\":\"Douglas Adams\",\"site\":\"enwiki\",\"badges\":[]}}}";
test_class.type: String
test_class.var_name: JSON_ITEM_SITELINKS
test_class.declarator: JSON_ITEM_EMPTY_ARRAYS = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":[],\"descriptions\":[],\"aliases\":[],\"claims\":[],\"sitelinks\":[]}"
test_class.modifier: private final
test_class.original_string: private final String JSON_ITEM_EMPTY_ARRAYS = "{\"type\":\"item\",\"id\":\"Q42\",\"labels\":[],\"descriptions\":[],\"aliases\":[],\"claims\":[],\"sitelinks\":[]}";
test_class.type: String
test_class.var_name: JSON_ITEM_EMPTY_ARRAYS
test_class.file: wdtk-datamodel/src/test/java/org/wikidata/wdtk/datamodel/implementation/ItemDocumentImplTest.java
test_class.identifier: ItemDocumentImplTest
test_case.body: @Test
  	public void testWithAliasInNewLanguage() {
  		MonolingualTextValue newAlias = new MonolingualTextValueImpl(
  				"Item42", "fr");
  		ItemDocument withAliases = ir1.withAliases("fr", Collections.singletonList(newAlias));
  		assertEquals(Collections.singletonList(newAlias), withAliases.getAliases().get("fr"));
  	}
test_case.class_method_signature: ItemDocumentImplTest.testWithAliasInNewLanguage()
test_case.full_signature: @Test public void testWithAliasInNewLanguage()
test_case.identifier: testWithAliasInNewLanguage
test_case.invocations: withAliases singletonList assertEquals singletonList get getAliases
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithAliasInNewLanguage()
focal_class.declarator: sitelinks
focal_class.modifier: @JsonDeserialize(contentAs=SiteLinkImpl.class)
  	private final
focal_class.original_string: @JsonDeserialize(contentAs=SiteLinkImpl.class)
  	private final Map<String, SiteLink> sitelinks;
focal_class.type: Map<String, SiteLink>
focal_class.var_name: sitelinks
focal_class.file: wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/implementation/ItemDocumentImpl.java
focal_class.identifier: ItemDocumentImpl
focal_class.interfaces: implements ItemDocument
focal_class.class_method_signature: ItemDocumentImpl.ItemDocumentImpl(
  			ItemIdValue id,
  			List<MonolingualTextValue> labels,
  			List<MonolingualTextValue> descriptions,
  			List<MonolingualTextValue> aliases,
  			List<StatementGroup> statements,
  			List<SiteLink> siteLinks,
  			long revisionId)
focal_class.full_signature: public  ItemDocumentImpl(
  			ItemIdValue id,
  			List<MonolingualTextValue> labels,
  			List<MonolingualTextValue> descriptions,
  			List<MonolingualTextValue> aliases,
  			List<StatementGroup> statements,
  			List<SiteLink> siteLinks,
  			long revisionId)
focal_class.identifier: ItemDocumentImpl
focal_class.modifiers: public
focal_class.parameters: (
  			ItemIdValue id,
  			List<MonolingualTextValue> labels,
  			List<MonolingualTextValue> descriptions,
  			List<MonolingualTextValue> aliases,
  			List<StatementGroup> statements,
  			List<SiteLink> siteLinks,
  			long revisionId)
focal_class.signature:  ItemDocumentImpl(
  			ItemIdValue id,
  			List<MonolingualTextValue> labels,
  			List<MonolingualTextValue> descriptions,
  			List<MonolingualTextValue> aliases,
  			List<StatementGroup> statements,
  			List<SiteLink> siteLinks,
  			long revisionId)
focal_class.class_method_signature: ItemDocumentImpl.ItemDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
  			@JsonProperty("descriptions") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> descriptions,
  			@JsonProperty("aliases") @JsonDeserialize(using = AliasesDeserializer.class) Map<String, List<MonolingualTextValue>> aliases,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("sitelinks") Map<String, SiteLink> sitelinks,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.full_signature: @JsonCreator public  ItemDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
  			@JsonProperty("descriptions") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> descriptions,
  			@JsonProperty("aliases") @JsonDeserialize(using = AliasesDeserializer.class) Map<String, List<MonolingualTextValue>> aliases,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("sitelinks") Map<String, SiteLink> sitelinks,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.identifier: ItemDocumentImpl
focal_class.modifiers: @JsonCreator public
focal_class.parameters: (
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
  			@JsonProperty("descriptions") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> descriptions,
  			@JsonProperty("aliases") @JsonDeserialize(using = AliasesDeserializer.class) Map<String, List<MonolingualTextValue>> aliases,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("sitelinks") Map<String, SiteLink> sitelinks,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.signature:  ItemDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
  			@JsonProperty("descriptions") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> descriptions,
  			@JsonProperty("aliases") @JsonDeserialize(using = AliasesDeserializer.class) Map<String, List<MonolingualTextValue>> aliases,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("sitelinks") Map<String, SiteLink> sitelinks,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.class_method_signature: ItemDocumentImpl.ItemDocumentImpl(
  			ItemIdValue subject,
  			Map<String, MonolingualTextValue> labels,
  			Map<String, MonolingualTextValue> descriptions,
  			Map<String, List<MonolingualTextValue>> aliases,
  			Map<String, List<Statement>> claims, 
  			Map<String, SiteLink> siteLinks,
  			long revisionId)
focal_class.full_signature: protected  ItemDocumentImpl(
  			ItemIdValue subject,
  			Map<String, MonolingualTextValue> labels,
  			Map<String, MonolingualTextValue> descriptions,
  			Map<String, List<MonolingualTextValue>> aliases,
  			Map<String, List<Statement>> claims, 
  			Map<String, SiteLink> siteLinks,
  			long revisionId)
focal_class.identifier: ItemDocumentImpl
focal_class.modifiers: protected
focal_class.parameters: (
  			ItemIdValue subject,
  			Map<String, MonolingualTextValue> labels,
  			Map<String, MonolingualTextValue> descriptions,
  			Map<String, List<MonolingualTextValue>> aliases,
  			Map<String, List<Statement>> claims, 
  			Map<String, SiteLink> siteLinks,
  			long revisionId)
focal_class.signature:  ItemDocumentImpl(
  			ItemIdValue subject,
  			Map<String, MonolingualTextValue> labels,
  			Map<String, MonolingualTextValue> descriptions,
  			Map<String, List<MonolingualTextValue>> aliases,
  			Map<String, List<Statement>> claims, 
  			Map<String, SiteLink> siteLinks,
  			long revisionId)
focal_class.class_method_signature: ItemDocumentImpl.getItemId()
focal_class.full_signature: @JsonIgnore @Override public ItemIdValue getItemId()
focal_class.identifier: getItemId
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: ()
focal_class.return: ItemIdValue
focal_class.signature: ItemIdValue getItemId()
focal_class.class_method_signature: ItemDocumentImpl.getEntityId()
focal_class.full_signature: @JsonIgnore @Override public ItemIdValue getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: ()
focal_class.return: ItemIdValue
focal_class.signature: ItemIdValue getEntityId()
focal_class.class_method_signature: ItemDocumentImpl.getSiteLinks()
focal_class.full_signature: @JsonProperty("sitelinks") @Override public Map<String, SiteLink> getSiteLinks()
focal_class.identifier: getSiteLinks
focal_class.modifiers: @JsonProperty("sitelinks") @Override public
focal_class.parameters: ()
focal_class.return: Map<String, SiteLink>
focal_class.signature: Map<String, SiteLink> getSiteLinks()
focal_class.class_method_signature: ItemDocumentImpl.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ItemDocumentImpl.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: ItemDocumentImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ItemDocumentImpl.withRevisionId(long newRevisionId)
focal_class.full_signature: @Override public ItemDocument withRevisionId(long newRevisionId)
focal_class.identifier: withRevisionId
focal_class.modifiers: @Override public
focal_class.parameters: (long newRevisionId)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument withRevisionId(long newRevisionId)
focal_class.class_method_signature: ItemDocumentImpl.withLabel(MonolingualTextValue newLabel)
focal_class.full_signature: @Override public ItemDocument withLabel(MonolingualTextValue newLabel)
focal_class.identifier: withLabel
focal_class.modifiers: @Override public
focal_class.parameters: (MonolingualTextValue newLabel)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument withLabel(MonolingualTextValue newLabel)
focal_class.class_method_signature: ItemDocumentImpl.withDescription(MonolingualTextValue newDescription)
focal_class.full_signature: @Override public ItemDocument withDescription(MonolingualTextValue newDescription)
focal_class.identifier: withDescription
focal_class.modifiers: @Override public
focal_class.parameters: (MonolingualTextValue newDescription)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument withDescription(MonolingualTextValue newDescription)
focal_class.class_method_signature: ItemDocumentImpl.withAliases(String language, List<MonolingualTextValue> aliases)
focal_class.full_signature: @Override public ItemDocument withAliases(String language, List<MonolingualTextValue> aliases)
focal_class.identifier: withAliases
focal_class.modifiers: @Override public
focal_class.parameters: (String language, List<MonolingualTextValue> aliases)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument withAliases(String language, List<MonolingualTextValue> aliases)
focal_class.class_method_signature: ItemDocumentImpl.withStatement(Statement statement)
focal_class.full_signature: @Override public ItemDocument withStatement(Statement statement)
focal_class.identifier: withStatement
focal_class.modifiers: @Override public
focal_class.parameters: (Statement statement)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument withStatement(Statement statement)
focal_class.class_method_signature: ItemDocumentImpl.withoutStatementIds(Set<String> statementIds)
focal_class.full_signature: @Override public ItemDocument withoutStatementIds(Set<String> statementIds)
focal_class.identifier: withoutStatementIds
focal_class.modifiers: @Override public
focal_class.parameters: (Set<String> statementIds)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument withoutStatementIds(Set<String> statementIds)
focal_class.superclass: extends TermedStatementDocumentImpl
focal_method.body: @Override
  	public ItemDocument withAliases(String language, List<MonolingualTextValue> aliases) {
  		return new ItemDocumentImpl(getItemId(),
  				labels, descriptions,
  				withAliases(this.aliases, language, aliases), claims,
  				sitelinks, revisionId);
  	}
focal_method.class_method_signature: ItemDocumentImpl.withAliases(String language, List<MonolingualTextValue> aliases)
focal_method.full_signature: @Override public ItemDocument withAliases(String language, List<MonolingualTextValue> aliases)
focal_method.identifier: withAliases
focal_method.invocations: getItemId withAliases
focal_method.modifiers: @Override public
focal_method.parameters: (String language, List<MonolingualTextValue> aliases)
focal_method.return: ItemDocument
focal_method.signature: ItemDocument withAliases(String language, List<MonolingualTextValue> aliases)