public class JavaAnnotationImpl extends AbstractJavaSource<JavaAnnotationSource> implements JavaAnnotationSource
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 |
|---|---|
AnnotationElementSource |
addAnnotationElement() |
AnnotationElementSource |
addAnnotationElement(String declaration) |
AnnotationElementSource |
getAnnotationElement(String name) |
List<AnnotationElementSource> |
getAnnotationElements() |
boolean |
hasAnnotationElement(AnnotationElement<?> annotationElement) |
boolean |
hasAnnotationElement(String name) |
JavaAnnotationSource |
removeAnnotationElement(AnnotationElement<?> annotationElement) |
protected JavaAnnotationSource |
updateTypeNames(String name)
Call-back to allow updating of any necessary internal names with the given name.
|
addAnnotation, addAnnotation, addAnnotation, addImport, addImport, addImport, addImport, equals, getAnnotation, getAnnotation, getAnnotations, getBodyDeclaration, getCanonicalName, getEnclosingType, getImport, getImport, getImport, getImport, getImports, getInternal, getName, getNestedClasses, getOrigin, getPackage, getQualifiedName, getSyntaxErrors, getVisibility, hasAnnotation, hasAnnotation, hashCode, hasImport, hasImport, hasImport, hasImport, hasSyntaxErrors, isAnnotation, isClass, isDefaultPackage, isEnum, isInterface, isPackagePrivate, isPrivate, isProtected, isPublic, removeAnnotation, removeImport, removeImport, removeImport, removeImport, requiresImport, requiresImport, resolveType, setDefaultPackage, setName, setPackage, setPackagePrivate, setPrivate, setProtected, setPublic, setVisibility, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEnclosingType, getNestedClassesgetCanonicalName, getQualifiedName, getSyntaxErrors, hasSyntaxErrors, isAnnotation, isClass, isEnum, isInterfacesetDefaultPackage, setPackagegetPackage, isDefaultPackageaddImport, addImport, addImport, addImport, getImport, getImport, getImport, getImport, getImports, hasImport, hasImport, hasImport, hasImport, removeImport, removeImport, removeImport, removeImport, requiresImport, requiresImport, resolveTypesetNamesetPackagePrivate, setPrivate, setProtected, setPublic, setVisibilitygetVisibility, isPackagePrivate, isPrivate, isProtected, isPublicaddAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, removeAnnotationhasAnnotation, hasAnnotationgetInternalpublic JavaAnnotationImpl(JavaSource<?> enclosingType, org.eclipse.jface.text.Document document, org.eclipse.jdt.core.dom.CompilationUnit unit, org.eclipse.jdt.core.dom.BodyDeclaration body)
protected JavaAnnotationSource updateTypeNames(String name)
AbstractJavaSourceupdateTypeNames in class AbstractJavaSource<JavaAnnotationSource>public AnnotationElementSource addAnnotationElement()
addAnnotationElement in interface JavaAnnotationSourcepublic AnnotationElementSource addAnnotationElement(String declaration)
addAnnotationElement in interface JavaAnnotationSourcepublic boolean hasAnnotationElement(String name)
hasAnnotationElement in interface JavaAnnotation<JavaAnnotationSource>public boolean hasAnnotationElement(AnnotationElement<?> annotationElement)
hasAnnotationElement in interface JavaAnnotation<JavaAnnotationSource>public AnnotationElementSource getAnnotationElement(String name)
getAnnotationElement in interface JavaAnnotation<JavaAnnotationSource>getAnnotationElement in interface JavaAnnotationSourcepublic List<AnnotationElementSource> getAnnotationElements()
getAnnotationElements in interface JavaAnnotation<JavaAnnotationSource>getAnnotationElements in interface JavaAnnotationSourcepublic JavaAnnotationSource removeAnnotationElement(AnnotationElement<?> annotationElement)
removeAnnotationElement in interface JavaAnnotationSourceCopyright © 2013 JBoss by Red Hat. All Rights Reserved.