Interface MAnnotatedElement
-
- All Superinterfaces:
JAnnotatedElement
,JElement
,MElement
- All Known Subinterfaces:
MClass
,MConstructor
,MField
,MInvokable
,MMember
,MMethod
,MPackage
,MParameter
- All Known Implementing Classes:
AnnotatedElementImpl
,ArrayClassImpl
,BuiltinClassImpl
,ClassImpl
,ConstructorImpl
,FieldImpl
,InvokableImpl
,MemberImpl
,MethodImpl
,PackageImpl
,ParameterImpl
,PrimitiveClassImpl
,PropertyImpl
,UnresolvedClassImpl
,VoidClassImpl
public interface MAnnotatedElement extends MElement, JAnnotatedElement
Mutable version of JAnnotatedElement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MAnnotation
addLiteralAnnotation(java.lang.String annotationName)
MComment
createComment()
MAnnotation
findOrCreateAnnotation(java.lang.String annotationName)
Returns the annotation having the given name, creating it if it doesn't exist.MAnnotation
getMutableAnnotation(java.lang.String named)
MAnnotation[]
getMutableAnnotations()
MComment
getMutableComment()
void
removeComment()
-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotationProxy, getAnnotations, getAnnotationValue, getComment
-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, toString
-
Methods inherited from interface org.apache.xmlbeans.impl.jam.mutable.MElement
accept, createSourcePosition, getClassLoader, getMutableSourcePosition, removeSourcePosition, setArtifact, setSimpleName
-
-
-
-
Method Detail
-
findOrCreateAnnotation
MAnnotation findOrCreateAnnotation(java.lang.String annotationName)
Returns the annotation having the given name, creating it if it doesn't exist.
-
getMutableAnnotations
MAnnotation[] getMutableAnnotations()
-
getMutableAnnotation
MAnnotation getMutableAnnotation(java.lang.String named)
-
addLiteralAnnotation
MAnnotation addLiteralAnnotation(java.lang.String annotationName)
-
getMutableComment
MComment getMutableComment()
-
createComment
MComment createComment()
-
removeComment
void removeComment()
-
-