Mutable version of JConstructor.
136137138139140141142143144145146
nextElement(); } private void readConstructor(MClass clazz) throws XMLStreamException { assertStart(CONSTRUCTOR); MConstructor ctor = clazz.addNewConstructor(); nextElement(); readInvokableContents(ctor); assertEnd(CONSTRUCTOR); nextElement(); }
436437438439440441442443444
} } public MConstructor addNewConstructor() { if (mConstructors == null) mConstructors = new ArrayList(); MConstructor out = new ConstructorImpl(this); mConstructors.add(out); return out; }