code: func (pc *class) Imports() []string {
  	for _, field := range pc.Fields {
  		for _, imp := range field.imports {
  			// do not import ourself
  			if imp.Name == pc.Name() {
  				continue
  			}
  			pc.addImport(imp.Module, imp.Name)
  		}
  	}
  
  	return commons.MapToSortedStrings(pc.imports)
  }
docs: // return list of import statements