org.codehaus.jam.mutable
Interface MAnnotatedElement

All Superinterfaces:
JAnnotatedElement, JElement, MElement
All Known Subinterfaces:
MClass, MConstructor, MField, MInvokable, MMember, MMethod, MPackage, MParameter

public interface MAnnotatedElement
extends MElement, JAnnotatedElement

Mutable version of JAnnotatedElement.

Author:
Patrick Calahan <email: pcal-at-bea-dot-com>

Method Summary
 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.codehaus.jam.mutable.MElement
accept, createSourcePosition, getClassLoader, getMutableSourcePosition, removeSourcePosition, setArtifact, setSimpleName
 
Methods inherited from interface org.codehaus.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getComment
 
Methods inherited from interface org.codehaus.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, isSourceAvailable, toString
 

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()