Lines Matching defs:field

26 package com.sun.tools.internal.xjc.generator.bean.field;
96 * The type of this field, which can hold all the possible types.
101 * The publicly visible type of this field.
124 * Annotate the field according to the recipes given as {@link CPropertyInfo}.
126 protected void annotate( JAnnotatable field ) {
128 assert(field!=null);
132 so that it can be better shared, for how a field gets
140 annotateAttribute(field);
142 annotateElement(field);
144 field.annotate(XmlValue.class);
146 annotateReference(field);
149 outline.parent().generateAdapterIfNecessary(prop,field);
153 field.annotate2(XmlSchemaTypeWriter.class)
158 field.annotate(XmlInlineBinaryData.class);
161 private void annotateReference(JAnnotatable field) {
171 refw = field.annotate2(XmlElementRefWriter.class);
180 XmlElementRefsWriter refsw = field.annotate2(XmlElementRefsWriter.class);
192 field.annotate(XmlMixed.class);
196 XmlAnyElementWriter xaew = field.annotate2(XmlAnyElementWriter.class);
208 * Annotate the element property 'field'
210 private void annotateElement(JAnnotatable field) {
215 field.annotate(XmlList.class);
220 // XmlElementWrapperWriter xcw = field.annotate2(XmlElementWrapperWriter.class);
227 writeXmlElementAnnotation(field, t, resolve(t,IMPLEMENTATION), false);
231 writeXmlElementAnnotation(field, t, resolve(t,IMPLEMENTATION), true);
246 * @param field
251 private void writeXmlElementAnnotation( JAnnotatable field, CTypeRef ctype, JType jtype,
271 if(xew == null) xew = getXew(checkWrapper, field);
279 if(xew == null) xew = getXew(checkWrapper, field);
286 if(xew == null) xew = getXew(checkWrapper, field);
303 if(xew == null) xew = getXew(checkWrapper, field);
310 if(xew == null) xew = getXew(checkWrapper, field);
316 if(xew == null) xew = getXew(checkWrapper, field);
331 private XmlElementWriter getXew(boolean checkWrapper, JAnnotatable field) {
335 xesw = field.annotate2(XmlElementsWriter.class);
339 xew = field.annotate2(XmlElementWriter.class);
345 * Annotate the attribute property 'field'
347 private void annotateAttribute(JAnnotatable field) {
353 XmlAttributeWriter xaw = field.annotate2(XmlAttributeWriter.class);
406 * Generates the field declaration.
409 return outline.implClass.field( JMod.PROTECTED, type, prop.getName(false) );