| 1 | /******************************************************************************* |
|---|---|
| 2 | * Copyright (c) 2016, 2017 IBM Corporation and others. |
| 3 | * |
| 4 | * This program and the accompanying materials |
| 5 | * are made available under the terms of the Eclipse Public License 2.0 |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * https://www.eclipse.org/legal/epl-2.0/ |
| 8 | * |
| 9 | * SPDX-License-Identifier: EPL-2.0 |
| 10 | * |
| 11 | * IBM Corporation - initial API and implementation |
| 12 | *******************************************************************************/ |
| 13 | package org.eclipse.jdt.core.dom; |
| 14 | |
| 15 | /** |
| 16 | * Abstract base class of AST nodes that represent module directives (added in JLS9 API). |
| 17 | * |
| 18 | * <pre> |
| 19 | * ModuleDirective: |
| 20 | * {@link RequiresDirective} |
| 21 | * {@link ExportsDirective} |
| 22 | * {@link OpensDirective} |
| 23 | * {@link UsesDirective} |
| 24 | * {@link ProvidesDirective} |
| 25 | * </pre> |
| 26 | * |
| 27 | * @noextend This class is not intended to be subclassed by clients. |
| 28 | * @since 3.14 |
| 29 | */ |
| 30 | public abstract class ModuleDirective extends ASTNode { |
| 31 | |
| 32 | ModuleDirective(AST ast) { |
| 33 | super(ast); |
| 34 | unsupportedBelow9(); |
| 35 | } |
| 36 | } |
| 37 |
Members