Package org.eclipse.jdt.core.dom
Interface IExtendedModifier
-
- All Known Implementing Classes:
Annotation,MarkerAnnotation,Modifier,NormalAnnotation,SingleMemberAnnotation
public interface IExtendedModifierCommon interface for AST nodes that represent modifiers or annotations.IExtendedModifier: Modifier Annotation
- Since:
- 3.1
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAnnotation()Returns whether this extended modifier is an annotation.booleanisModifier()Returns whether this extended modifier is a standard modifier.
-
-
-
Method Detail
-
isModifier
boolean isModifier()
Returns whether this extended modifier is a standard modifier.- Returns:
trueif this is a standard modifier (instance ofModifier), andfalseotherwise
-
isAnnotation
boolean isAnnotation()
Returns whether this extended modifier is an annotation.- Returns:
trueif this is an annotation (instance of a subclass ofAnnotation), andfalseotherwise
-
-