/** * Creates a new complete constructor {@code AInterfaceDeclIR} 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 templateTypes_ the {@link NodeList} node for the {@code templateTypes} child of this {@link AInterfaceDeclIR} node * @param extension_ the {@link NodeList} node for the {@code extension} child of this {@link AInterfaceDeclIR} node * @param package_ the {@link String} node for the {@code package} child of this {@link AInterfaceDeclIR} node * @param name_ the {@link String} node for the {@code name} child of this {@link AInterfaceDeclIR} node * @param fields_ the {@link NodeList} node for the {@code fields} child of this {@link AInterfaceDeclIR} node * @param methodSignatures_ the {@link NodeList} node for the {@code methodSignatures} child of this {@link AInterfaceDeclIR} node */ public AInterfaceDeclIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, List<? extends ATemplateTypeIR> templateTypes_, List<? extends ATokenNameIR> extension_, String package_, String name_, List<? extends AFieldDeclIR> fields_, List<? extends AMethodDeclIR> methodSignatures_) { super(sourceNode_,tag_,metaData_); this.setTemplateTypes(templateTypes_); this.setExtension(extension_); this.setPackage(package_); this.setName(name_); this.setFields(fields_); this.setMethodSignatures(methodSignatures_); }
/** * Creates a new tree field only constructor {@code AInterfaceDeclIR TAG=interface} 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 templateTypes_ the {@link NodeList} node for the {@code templateTypes} child of this {@link AInterfaceDeclIR} node * @param extension_ the {@link NodeList} node for the {@code extension} child of this {@link AInterfaceDeclIR} node * @param package_ the {@link String} node for the {@code package} child of this {@link AInterfaceDeclIR} node * @param name_ the {@link String} node for the {@code name} child of this {@link AInterfaceDeclIR} node * @param fields_ the {@link NodeList} node for the {@code fields} child of this {@link AInterfaceDeclIR} node * @param methodSignatures_ the {@link NodeList} node for the {@code methodSignatures} child of this {@link AInterfaceDeclIR} node */ public AInterfaceDeclIR(List<? extends ATemplateTypeIR> templateTypes_, List<? extends ATokenNameIR> extension_, String package_, String name_, List<? extends AFieldDeclIR> fields_, List<? extends AMethodDeclIR> methodSignatures_) { super(null,null,null); this.setTemplateTypes(templateTypes_); this.setExtension(extension_); this.setPackage(package_); this.setName(name_); this.setFields(fields_); this.setMethodSignatures(methodSignatures_); }