From: Jean-Christophe Beaupré Date: Mon, 24 Nov 2014 14:24:14 +0000 (-0500) Subject: neo_doxygen: Do not override the `abstract` attribute to `false`. X-Git-Tag: v0.6.11~15^2~18 X-Git-Url: http://nitlanguage.org neo_doxygen: Do not override the `abstract` attribute to `false`. Signed-off-by: Jean-Christophe Beaupré --- diff --git a/contrib/neo_doxygen/src/doxml/language_specific.nit b/contrib/neo_doxygen/src/doxml/language_specific.nit index bbc6410..10757ea 100644 --- a/contrib/neo_doxygen/src/doxml/language_specific.nit +++ b/contrib/neo_doxygen/src/doxml/language_specific.nit @@ -162,7 +162,9 @@ class JavaSource # For abstract members, Doxygen put `abstract` at the beginning of the type. # We assume that Doxygen do not put annotations in the type (it seems to # be the case). - member.is_abstract = extract_keyword(type_text, "abstract") + if extract_keyword(type_text, "abstract") then + member.is_abstract = true + end # TODO final # TODO void # TODO Avoid using `RawType` when possible. Only use `RawType` as a fallback.