# Uses of Class
org.eclipse.jdt.core.dom.Annotation

Packages that use Annotation
Package
Description
org.eclipse.jdt.core.dom
The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document.
org.eclipse.jdt.core.dom.rewrite
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.

## Uses of Annotation in org.eclipse.jdt.core.dom

Subclasses of Annotation in org.eclipse.jdt.core.dom
Modifier and Type
Class
Description
`final class`
`MarkerAnnotation`
Marker annotation node (added in JLS3 API).
`final class`
`NormalAnnotation`
Normal annotation node (added in JLS3 API).
`final class`
`SingleMemberAnnotation`
Single member annotation node (added in JLS3 API).

## Uses of Annotation in org.eclipse.jdt.core.dom.rewrite

Methods in org.eclipse.jdt.core.dom.rewrite that return Annotation
Modifier and Type
Method
Description
`Annotation`
ImportRewrite.`addAnnotation(IAnnotationBinding annotation, AST ast, ImportRewrite.ImportRewriteContext context)`
Adds the necessary imports for the given annotation binding to the rewriter's record and returns an `Annotation` that can be used in the code.