/** * Creates a new tree field only constructor {@code AClassTypeIR TAG=class} node with the given nodes as children. * @deprecated This method should not be used, use AstFactory instead. * The basic child nodes are removed from their previous parents. * @param types_ the {@link NodeList} node for the {@code types} child of this {@link AClassTypeIR} node * @param name_ the {@link String} node for the {@code name} child of this {@link AClassTypeIR} node */ public AClassTypeIR(Boolean optional_, ANamedTypeDeclIR namedInvType_, List<? extends STypeIR> types_, String name_) { super(null,null,null,optional_,namedInvType_); this.setTypes(types_); this.setName(name_); }
/** * Creates a new complete constructor {@code AClassTypeIR} node with the given nodes as children. * @deprecated This method should not be used, use AstFactory instead. * The basic child nodes are removed from their previous parents. * @param types_ the {@link NodeList} node for the {@code types} child of this {@link AClassTypeIR} node * @param name_ the {@link String} node for the {@code name} child of this {@link AClassTypeIR} node */ public AClassTypeIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, Boolean optional_, ANamedTypeDeclIR namedInvType_, List<? extends STypeIR> types_, String name_) { super(sourceNode_,tag_,metaData_,optional_,namedInvType_); this.setTypes(types_); this.setName(name_); }