Eclipse JDT
Release 3.1

org.eclipse.jdt.core.dom
Interface IExtendedModifier

All Known Implementing Classes:
Annotation, Modifier

public interface IExtendedModifier

Common interface for AST nodes that represent modifiers or annotations.

 ExtendedModifier:
   Modifier
   Annotation
 

Since:
3.1

Method Summary
 boolean isAnnotation()
          Returns whether this extended modifier is an annotation.
 boolean isModifier()
          Returns whether this extended modifier is a standard modifier.
 

Method Detail

isModifier

public boolean isModifier()
Returns whether this extended modifier is a standard modifier.

Returns:
true if this is a standard modifier (instance of Modifier), and false otherwise

isAnnotation

public boolean isAnnotation()
Returns whether this extended modifier is an annotation.

Returns:
true if this is an annotation (instance of a subclass of Annotation), and false otherwise

Eclipse JDT
Release 3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.