//this is the code in the main class, i have omitted some 400 lines of code // the setters and getters for the type /** * Gets the value of the types property. * * @return * possible object is * {@link TranslationUnit.Types } * */ public TranslationUnit.Types getTypes() { return types; } /** * Sets the value of the types property. * * @param value * allowed object is * {@link TranslationUnit.Types } * */ public void setTypes(TranslationUnit.Types value) { this.types = value; } //the subclass /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence maxOccurs="unbounded" minOccurs="0">
     *         <group ref="{}tcc_type"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "arrayTypeOrBooleanTypeOrEnumeralType" }) public static class Types { @XmlElementRefs({ @XmlElementRef(name = "reference_type", type = JAXBElement.class), @XmlElementRef(name = "real_type", type = JAXBElement.class), @XmlElementRef(name = "record_type", type = JAXBElement.class), @XmlElementRef(name = "template_type_parm", type = JAXBElement.class), @XmlElementRef(name = "complex_type", type = JAXBElement.class), @XmlElementRef(name = "array_type", type = JAXBElement.class), @XmlElementRef(name = "union_type", type = JAXBElement.class), @XmlElementRef(name = "void_type", type = JAXBElement.class), @XmlElementRef(name = "boolean_type", type = JAXBElement.class), @XmlElementRef(name = "char_type", type = JAXBElement.class), @XmlElementRef(name = "pointer_type", type = JAXBElement.class), @XmlElementRef(name = "typename_type", type = JAXBElement.class), @XmlElementRef(name = "method_type", type = JAXBElement.class), @XmlElementRef(name = "enumeral_type", type = JAXBElement.class), @XmlElementRef(name = "integer_type", type = JAXBElement.class), @XmlElementRef(name = "vector_type", type = JAXBElement.class), @XmlElementRef(name = "function_type", type = JAXBElement.class) }) protected List> arrayTypeOrBooleanTypeOrEnumeralType; /** * Gets the value of the arrayTypeOrBooleanTypeOrEnumeralType property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the arrayTypeOrBooleanTypeOrEnumeralType property. * *

* For example, to add a new item, do as follows: *

         *    getArrayTypeOrBooleanTypeOrEnumeralType().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccRecordTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccRecordTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccFunctionTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccEnumeralTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccTypeType }{@code >} * {@link JAXBElement }{@code <}{@link TccFunctionTypeType }{@code >} * * */ public List> getArrayTypeOrBooleanTypeOrEnumeralType() { if (arrayTypeOrBooleanTypeOrEnumeralType == null) { arrayTypeOrBooleanTypeOrEnumeralType = new ArrayList>(); } return this.arrayTypeOrBooleanTypeOrEnumeralType; } }