Hello,
i ve a problem with Java reverse engenering on jabx generated classes.
the problem is due to :
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TUser", propOrder = {
})
[16:15:28] [Error] Fail to reverse Java source: C:\Workspace_test\jaxb-ri-20061211\bin\com\xx\yy\TUser.java; Encountered “}” at line 41, column 1.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-257
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.12.15 at 04:36:27 PM CET
//
package com.nordnet.windowswebhosting;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for TUser complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="TUser">
* <complexContent> ...
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TUser", propOrder = {
})
public class TUser {
@XmlElement(required = true)
protected String userName;
/**
* Gets the value of the userName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserName() {
return userName;
}
/**
* Sets the value of the userName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserName(String value) {
this.userName = value;
}
}
Actually, i modify the code (delete the lines between the first code tag) in order to have the reverse engenering.
Thanks