protected LazilyInitializedInfo clone() { return clone(false); }
public JSDocInfo clone(boolean cloneTypeNodes) { JSDocInfo other = new JSDocInfo(); other.info = this.info == null ? null : this.info.clone(cloneTypeNodes); other.documentation = this.documentation; other.visibility = this.visibility; other.bitset = this.bitset; other.type = cloneType(this.type, cloneTypeNodes); other.thisType = cloneType(this.thisType, cloneTypeNodes); other.includeDocumentation = this.includeDocumentation; other.originalCommentPosition = this.originalCommentPosition; return other; }
@SuppressWarnings("MissingOverride") // Adding @Override breaks the GWT compilation. protected LazilyInitializedInfo clone() { return clone(false); }
public JSDocInfo clone(boolean cloneTypeNodes) { JSDocInfo other = new JSDocInfo(); other.info = this.info == null ? null : this.info.clone(cloneTypeNodes); other.documentation = this.documentation; other.visibility = this.visibility; other.bitset = this.bitset; other.type = cloneType(this.type, cloneTypeNodes); other.thisType = cloneType(this.thisType, cloneTypeNodes); other.includeDocumentation = this.includeDocumentation; other.originalCommentPosition = this.originalCommentPosition; return other; }