Lines Matching defs:field
26 package com.sun.tools.internal.xjc.generator.bean.field;
56 /** The field that stores the list. */
57 protected JFieldVar field;
65 * if(field==null)
66 * field = create new list;
67 * return field;
108 // for the collectionType customization to take effect, the field needs to be strongly typed,
110 field = outline.implClass.field( JMod.PROTECTED, listT, prop.getName(false) );
112 field.init(newCoreList());
114 annotate(field);
123 // if eagerly instanciated, the field can't be null
126 internalGetter.body()._return(field);
136 block._if(field.eq(JExpr._null()))._then()
137 .assign(field,newCoreList());
169 * Reference to the {@link AbstractListField#field}
172 protected final JFieldRef field;
176 field = $target.ref(AbstractListField.this.field);
190 * Returns a reference to the List field that stores the data.
207 return field;
214 return JOp.cond( field.eq(JExpr._null()), JExpr.lit(0), field.invoke("size") );
218 body.assign(field,JExpr._null());
221 return field.ne(JExpr._null()).cand(field.invoke("isEmpty").not());