📜  2 次 IllegalAnnotationExceptions - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:22.647000             🧑  作者: Mango

代码示例1
package forum10795793;

import java.util.*;
import javax.xml.bind.annotation.*;

@XmlRootElement(name = "fields")
@XmlAccessorType(XmlAccessType.FIELD)
public class Fields {

    @XmlElement(name = "field")
    List fields = new ArrayList();

    public List getFields() {
        return fields;
    }

    public void setFields(List fields) {
        this.fields = fields;
    }

}