public class JavaAnnotationImpl extends AbstractJavaSource<JavaAnnotation> implements JavaAnnotation
body, document, enclosingType, loader, unit| Constructor and Description |
|---|
JavaAnnotationImpl(JavaSource<?> enclosingType,
org.eclipse.jface.text.Document document,
org.eclipse.jdt.core.dom.CompilationUnit unit,
org.eclipse.jdt.core.dom.BodyDeclaration body) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationElement |
addAnnotationElement() |
AnnotationElement |
addAnnotationElement(String declaration) |
AnnotationElement |
getAnnotationElement(String name) |
List<AnnotationElement> |
getAnnotationElements() |
SourceType |
getSourceType() |
boolean |
hasAnnotationElement(AnnotationElement annotationElement) |
boolean |
hasAnnotationElement(String name) |
JavaAnnotation |
removeAnnotationElement(AnnotationElement annotationElement) |
protected JavaAnnotation |
updateTypeNames(String name)
Call-back to allow updating of any necessary internal names with the given name.
|
addAnnotation, addAnnotation, addAnnotation, addImport, addImport, addImport, addImport, addInterface, addInterface, addInterface, equals, getAnnotation, getAnnotation, getAnnotations, getBodyDeclaration, getCanonicalName, getEnclosingType, getImport, getImport, getImport, getImport, getImports, getInterfaces, getInternal, getMembers, getName, getNestedClasses, getOrigin, getPackage, getQualifiedName, getSyntaxErrors, getVisibility, hasAnnotation, hasAnnotation, hashCode, hasImport, hasImport, hasImport, hasImport, hasInterface, hasInterface, hasInterface, hasSyntaxErrors, isAnnotation, isClass, isDefaultPackage, isEnum, isInterface, isPackagePrivate, isPrivate, isProtected, isPublic, removeAnnotation, removeImport, removeImport, removeImport, removeImport, removeInterface, removeInterface, removeInterface, requiresImport, requiresImport, resolveType, setDefaultPackage, setName, setPackage, setPackagePrivate, setPrivate, setProtected, setPublic, setVisibility, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCanonicalName, getEnclosingType, getNestedClasses, getQualifiedName, getSyntaxErrors, hasSyntaxErrors, isAnnotation, isClass, isEnum, isInterfacegetPackage, isDefaultPackage, setDefaultPackage, setPackageaddImport, addImport, addImport, addImport, getImport, getImport, getImport, getImport, getImports, hasImport, hasImport, hasImport, hasImport, removeImport, removeImport, removeImport, removeImport, requiresImport, requiresImport, resolveTypegetVisibility, isPackagePrivate, isPrivate, isProtected, isPublic, setPackagePrivate, setPrivate, setProtected, setPublic, setVisibilityaddAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotation, removeAnnotationgetInternalgetMemberspublic JavaAnnotationImpl(JavaSource<?> enclosingType, org.eclipse.jface.text.Document document, org.eclipse.jdt.core.dom.CompilationUnit unit, org.eclipse.jdt.core.dom.BodyDeclaration body)
protected JavaAnnotation updateTypeNames(String name)
AbstractJavaSourceupdateTypeNames in class AbstractJavaSource<JavaAnnotation>public SourceType getSourceType()
getSourceType in interface JavaSource<JavaAnnotation>public AnnotationElement addAnnotationElement()
addAnnotationElement in interface JavaAnnotationpublic AnnotationElement addAnnotationElement(String declaration)
addAnnotationElement in interface JavaAnnotationpublic boolean hasAnnotationElement(String name)
hasAnnotationElement in interface JavaAnnotationpublic boolean hasAnnotationElement(AnnotationElement annotationElement)
hasAnnotationElement in interface JavaAnnotationpublic AnnotationElement getAnnotationElement(String name)
getAnnotationElement in interface JavaAnnotationpublic List<AnnotationElement> getAnnotationElements()
getAnnotationElements in interface JavaAnnotationpublic JavaAnnotation removeAnnotationElement(AnnotationElement annotationElement)
removeAnnotationElement in interface JavaAnnotationCopyright © 2013 JBoss by Red Hat. All Rights Reserved.