/******************************************************************************* * Copyright (c) 2004, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package net.sourceforge.phpdt.core.dom; /** * Common interface for AST nodes that represent modifiers or * annotations. *
* ExtendedModifier: * Modifier * Annotation ** @since 3.1 */ public interface IExtendedModifier { /** * Returns whether this extended modifier is a standard modifier. * * @return
true
if this is a standard modifier
* (instance of {@link Modifier}), and false
otherwise
*/
public boolean isModifier();
/**
* Returns whether this extended modifier is an annotation.
*
* @return true
if this is an annotation
* (instance of a subclass of {@link Annotation}), and
* false
otherwise
*/
public boolean isAnnotation();
}