1 /*******************************************************************************
2 * Copyright (c) 2004, 2005 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.core.dom;
14 * Common interface for AST nodes that represent modifiers or
23 public interface IExtendedModifier {
26 * Returns whether this extended modifier is a standard modifier.
28 * @return <code>true</code> if this is a standard modifier
29 * (instance of {@link Modifier}), and <code>false</code> otherwise
31 public boolean isModifier();
34 * Returns whether this extended modifier is an annotation.
36 * @return <code>true</code> if this is an annotation
37 * (instance of a subclass of {@link Annotation}), and
38 * <code>false</code> otherwise
40 public boolean isAnnotation();