Add all types from one type declaration to list of field declarations
Extract getter determination in separate classes