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.
|
Modifier and Type | Method and Description |
---|---|
IAnnotationBinding[] |
IBinding.getAnnotations()
Returns the resolved declaration annotations associated with this binding.
|
IAnnotationBinding[] |
IMethodBinding.getParameterAnnotations(int paramIndex)
Returns the resolved declaration annotations of a parameter of this method.
|
IAnnotationBinding[] |
ITypeBinding.getTypeAnnotations()
Returns the type annotations that this type reference is annotated with.
|
IAnnotationBinding |
Annotation.resolveAnnotationBinding()
Resolves and returns the resolved annotation for this annotation.
|
Modifier and Type | Method and 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. |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.