public interface MAnnotatedElement extends MElement, JAnnotatedElement
Mutable version of JAnnotatedElement.
Modifier and Type | Method and 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() |
accept, createSourcePosition, getClassLoader, getMutableSourcePosition, removeSourcePosition, setArtifact, setSimpleName
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getComment
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, isSourceAvailable, toString
MAnnotation findOrCreateAnnotation(java.lang.String annotationName)
MAnnotation[] getMutableAnnotations()
MAnnotation getMutableAnnotation(java.lang.String named)
MAnnotation addLiteralAnnotation(java.lang.String annotationName)
MComment getMutableComment()
MComment createComment()
void removeComment()