public void addTypeDefinition(TypeDefinition typeDefinition){
  typeDefinitions.add(typeDefinition);
}

public void addTypeDefinition ( TypeDefinition typeDefinition ) { typeDefinitions . add ( typeDefinition ) ; }
adds a type definition .
