
return cvTerm;
}</BUG>
switch (subType) {
case A_ION:
<BUG>if (neutralLosses == null || neutralLosses.isEmpty()) {
</BUG>
cvTerm = new CvTerm("PSI-MS", "MS:1001229", "frag: a ion", "" + getNumber());
<BUG>} else if (neutralLosses.size() == 1 && neutralLosses.get(0).isSameAs(NeutralLoss.H2O)) {
</BUG>
cvTerm = new CvTerm("PSI-MS", "MS:1001234", "frag: a ion - H2O", "" + getNumber());

public String getNameWithNumber() {
return getSubTypeAsString() + getNumber() + getNeutralLossesAsString();
}
@Override
public CvTerm getPrideCvTerm() {
if (cvTerm == null) {
switch (subType) {
case A_ION:
if (neutralLosses == null || neutralLosses.length == 0) {
cvTerm = new CvTerm("PSI-MS", "MS:1001229", "frag: a ion", "" + getNumber());
} else if (neutralLosses.length == 1 && neutralLosses[0].isSameAs(NeutralLoss.H2O)) {
