Module: Mjava_Annotation

Included in:
Muml_Classifier, Muml_Operation, Muml_Property
Defined in:
lib/ontomde-uml2-java/java.rb

Overview

:include: java.rdoc :include: java_todo.rdoc

Instance Method Summary collapse

Instance Method Details

#java_writeAnnotationObject



6
7
8
9
10
11
12
13
14
# File 'lib/ontomde-uml2-java/java.rb', line 6

def java_writeAnnotation
  mtk_protected(Mrdf_Resource::NOREVERSE,"annotations") {
    java_annotation.each {|a|
      write(a)
      write("\n")
    }
    write("@Override\n") if (self.kind_of?(Muml_Operation) && !umlx_redefinesMethod.empty? && !umlx_redefinesMethod_one.umlx_owner_one.kind_of?(Muml_Interface) )
  }
end