java: Fill in content.Type structure for #2