|
Eclipse JDT Release 3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.core.dom.ASTNode
org.eclipse.jdt.core.dom.Expression
org.eclipse.jdt.core.dom.Annotation
public abstract class Annotation
Abstract base class of AST nodes that represent annotations.
Annotation:
NormalAnnotation
MarkerAnnotation
SingleMemberAnnotation
| Field Summary |
|---|
| Method Summary | |
|---|---|
Name |
getTypeName()
Returns the annotation type name of this annotation. |
ChildPropertyDescriptor |
getTypeNameProperty()
Returns structural property descriptor for the "typeName" property of this node. |
boolean |
isAnnotation()
Returns whether this extended modifier is an annotation. |
boolean |
isMarkerAnnotation()
Returns whether this is a marker annotation ( MarkerAnnotation). |
boolean |
isModifier()
Returns whether this extended modifier is a standard modifier. |
boolean |
isNormalAnnotation()
Returns whether this is a normal annotation ( NormalAnnotation). |
boolean |
isSingleMemberAnnotation()
Returns whether this is a single member annotation. |
void |
setTypeName(Name typeName)
Sets the annotation type name of this annotation. |
| Methods inherited from class org.eclipse.jdt.core.dom.Expression |
|---|
resolveBoxing, resolveConstantExpressionValue, resolveTypeBinding, resolveUnboxing |
| Methods inherited from class org.eclipse.jdt.core.dom.ASTNode |
|---|
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final ChildPropertyDescriptor getTypeNameProperty()
public boolean isModifier()
IExtendedModifier
isModifier in interface IExtendedModifiertrue if this is a standard modifier
(instance of Modifier), and false otherwiseIExtendedModifier.isModifier()public boolean isAnnotation()
IExtendedModifier
isAnnotation in interface IExtendedModifiertrue if this is an annotation
(instance of a subclass of Annotation), and
false otherwiseIExtendedModifier.isAnnotation()public Name getTypeName()
public void setTypeName(Name typeName)
typeName - the annotation type name
java.lang.IllegalArgumentException - if:
public boolean isNormalAnnotation()
NormalAnnotation).
true if this is a normal annotation,
and false otherwisepublic boolean isMarkerAnnotation()
MarkerAnnotation).
true if this is a marker annotation,
and false otherwisepublic boolean isSingleMemberAnnotation()
SingleMemberAnnotation).
true if this is a single member annotation,
and false otherwise
|
Eclipse JDT Release 3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||