15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.tools.internal.xjc.generator.bean.field;
27
28 import com.sun.codemodel.internal.JBlock;
29 import com.sun.codemodel.internal.JExpression;
30 import com.sun.codemodel.internal.JFieldRef;
31 import com.sun.codemodel.internal.JFieldVar;
32 import com.sun.codemodel.internal.JMod;
33 import com.sun.codemodel.internal.JType;
34 import com.sun.codemodel.internal.JVar;
35 import com.sun.tools.internal.xjc.api.SpecVersion;
36 import com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl;
37 import com.sun.tools.internal.xjc.model.CPropertyInfo;
38
39 /**
40 *
41 *
42 * @author
43 * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com), Martin Grebac
44 */
45 abstract class AbstractFieldWithVar extends AbstractField {
46
47 /**
48 * Field declaration of the actual list object that we use
49 * to store data.
50 */
51 private JFieldVar field;
52
53 /**
54 * Invoke {@link #createField()} after calling the
55 * constructor.
|
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.tools.internal.xjc.generator.bean.field;
27
28 import com.sun.codemodel.internal.JBlock;
29 import com.sun.codemodel.internal.JExpression;
30 import com.sun.codemodel.internal.JFieldRef;
31 import com.sun.codemodel.internal.JFieldVar;
32 import com.sun.codemodel.internal.JMod;
33 import com.sun.codemodel.internal.JType;
34 import com.sun.codemodel.internal.JVar;
35 import com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl;
36 import com.sun.tools.internal.xjc.model.CPropertyInfo;
37
38 /**
39 *
40 *
41 * @author
42 * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com), Martin Grebac
43 */
44 abstract class AbstractFieldWithVar extends AbstractField {
45
46 /**
47 * Field declaration of the actual list object that we use
48 * to store data.
49 */
50 private JFieldVar field;
51
52 /**
53 * Invoke {@link #createField()} after calling the
54 * constructor.
|