Salesforce List系のインスタンス化シンタックス

イシュー

参考

addしなくても、以下でいける

public list<String> MyList = new list<String> {'AAA', 'AAA', 'BBB', 'BBB', 'CCC'};