protected fun addTypes(item: AItem): Unit
Add types to types list from item.
Parameter item with type AItem.