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
public MAnnotation findOrCreateAnnotation(java.lang.String annotationName)
- Returns the annotation having the given name, creating it if it doesn't
exist.
getMutableAnnotations
public MAnnotation[] getMutableAnnotations()
getMutableAnnotation
public MAnnotation getMutableAnnotation(java.lang.String named)
addLiteralAnnotation
public MAnnotation addLiteralAnnotation(java.lang.String annotationName)
getMutableComment
public MComment getMutableComment()
createComment
public MComment createComment()
removeComment
public void removeComment()