/** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter(AST ast) { super(ast); unsupportedIn2(); }
/** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter(AST ast) { super(ast); unsupportedIn2(); if (ast.apiLevel >= AST.JLS8) { this.modifiers = new ASTNode.NodeList(MODIFIERS_PROPERTY); } }
/** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter(AST ast) { super(ast); unsupportedIn2(); if (ast.apiLevel >= AST.JLS8_INTERNAL) { this.modifiers = new ASTNode.NodeList(MODIFIERS_PROPERTY); } }
/** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter(AST ast) { super(ast); unsupportedIn2(); if (ast.apiLevel >= AST.JLS8_INTERNAL) { this.modifiers = new ASTNode.NodeList(MODIFIERS_PROPERTY); } }
/** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter(AST ast) { super(ast); unsupportedIn2(); if (ast.apiLevel >= AST.JLS8) { this.modifiers = new ASTNode.NodeList(MODIFIERS_PROPERTY); } }
/** * Creates a new unparented node for a parameterized type owned by the * given AST. By default, an unspecified, but legal, type variable name, * and no type bounds. * <p> * N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TypeParameter(AST ast) { super(ast); unsupportedIn2(); if (ast.apiLevel >= AST.JLS8) { this.modifiers = new ASTNode.NodeList(MODIFIERS_PROPERTY); } }