Module: Muml_UML
- Defined in:
- lib/ontomde-uml2-java/java.rb
Instance Method Summary collapse
-
#java_writeClassModifiers ⇒ Object
write java class modifiers if needed (abstract, public, …) Example: public abstract.
-
#java_writeStaticModifier ⇒ Object
write java static modifier if needed.
Instance Method Details
#java_writeClassModifiers ⇒ Object
write java class modifiers if needed (abstract, public, …) Example: public abstract
364 365 366 367 368 369 |
# File 'lib/ontomde-uml2-java/java.rb', line 364 def java_writeClassModifiers uml_visibility.each { |v| write(v.java_visibilityModifiers) } write "abstract " if uml_isAbstract? end |
#java_writeStaticModifier ⇒ Object
write java static modifier if needed
372 373 374 |
# File 'lib/ontomde-uml2-java/java.rb', line 372 def java_writeStaticModifier write("static ") if uml_isStatic? end |