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