<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>
<language name="Javadoc" version="7" kateversion="5.79" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
	<highlighting>
		<contexts>
			<context name="Start" attribute="Normal Text" lineEndContext="#stay">
				<IncludeRules context="FindJavadoc" />
			</context>
			<context name="FindJavadoc" attribute="Normal Text" lineEndContext="#stay">
				<StringDetect attribute="JavadocFS" context="#stay" String="/**/"/>
				<StringDetect attribute="JavadocFS" context="JavadocFSar" String="/**" beginRegion="Javadoc"/>
			</context>
			<context attribute="JavadocFS" lineEndContext="#stay" name="JavadocFSar">
				<Detect2Chars attribute="JavadocFS" context="#pop" char="*" char1="/" endRegion="Javadoc"/>
				<RegExpr attribute="JavadocFS" context="Javadocar" String="[!?.](\s*$|\s(?![\da-z]))|^\s*\**\s*(?=@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\s|$))"/>
				<IncludeRules context="FindInlineTag"/>
				<IncludeRules context="##Comments"/>
				<IncludeRules context="##HTML"/>
			</context>
			<context attribute="Javadoc" lineEndContext="#stay" name="FindInlineTag">
				<WordDetect attribute="InlineTag" context="LiteralTagar" String="{@code"/>
				<StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}"/>
				<StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}"/>
				<WordDetect attribute="InlineTag" context="InlineTagar" String="{@link"/>
				<WordDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain"/>
				<WordDetect attribute="InlineTag" context="LiteralTagar" String="{@literal"/>
				<StringDetect attribute="InlineTag" context="#stay" String="{@value}"/>
				<WordDetect attribute="InlineTag" context="InlineTagar" String="{@value"/>
				<WordDetect attribute="InlineTag" context="LiteralTagar" String="{@summary"/>
				<WordDetect attribute="InlineTag" context="LiteralTagar" String="{@systemProperty"/>
			</context>
			<context attribute="Javadoc" lineEndContext="#stay" name="Javadocar">
				<Detect2Chars attribute="JavadocFS" context="#pop#pop" char="*" char1="/" endRegion="Javadoc"/>
				<DetectChar attribute="JavadocFS" context="JavadocFSStarPrefix" char="*" firstNonSpace="true"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@author"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@deprecated"/>
				<WordDetect attribute="BlockTag" context="JavadocParam" String="@exception"/>
				<WordDetect attribute="BlockTag" context="JavadocParam" String="@param"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@return"/>
				<WordDetect attribute="BlockTag" context="SeeTag" String="@see"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@serial"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@serialData"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@serialField"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@since"/>
				<WordDetect attribute="BlockTag" context="JavadocParam" String="@throws"/>
				<WordDetect attribute="BlockTag" context="#stay" String="@version"/>
				<IncludeRules context="FindInlineTag"/>
				<IncludeRules context="##Alerts"/>
				<IncludeRules context="##HTML"/>
			</context>
			<context attribute="Javadoc" lineEndContext="#pop" name="JavadocFSStarPrefix" fallthroughContext="#pop">
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" endRegion="Javadoc"/>
				<DetectChar attribute="JavadocFS" context="#stay" char="*"/>
			</context>
			<context attribute="Javadoc" lineEndContext="#pop" name="JavadocParam" fallthroughContext="JavadocParamIdent">
				<DetectSpaces context="JavadocParamIdent"/>
			</context>
			<context attribute="JavadocParam" lineEndContext="#pop#pop" name="JavadocParamIdent">
				<DetectSpaces attribute="Javadoc" context="#pop#pop"/>
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop#pop" char="*" char1="/" endRegion="Javadoc"/>
			</context>
			<context attribute="InlineTag" name="InlineTagar" lineEndContext="#stay">
				<DetectChar attribute="InlineTag" context="#pop" char="}" />
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
				<IncludeRules context="##HTML"/>
			</context>
			<context attribute="InlineTag" name="LiteralTagar" lineEndContext="#stay">
				<DetectChar attribute="InlineTag" context="#pop" char="}" />
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
			</context>
			<context attribute="SeeTag" lineEndContext="#pop" name="SeeTag">
				<Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
				<IncludeRules context="##HTML"/>
			</context>
		</contexts>
		<itemDatas>
			<itemData name="Normal Text"  defStyleNum="dsNormal"/>
			<itemData name="BlockTag"     defStyleNum="dsAnnotation" bold="1" italic="0" spellChecking="false"/>
			<itemData name="InlineTag"    defStyleNum="dsAnnotation" bold="0" italic="0" spellChecking="false"/>
			<itemData name="JavadocParam" defStyleNum="dsAnnotation" bold="0" italic="1" spellChecking="false"/>
			<itemData name="SeeTag"       defStyleNum="dsAnnotation" bold="0" italic="1" spellChecking="false"/>
			<itemData name="JavadocFS"    defStyleNum="dsComment" bold="1" italic="0" spellChecking="false"/>
			<itemData name="Javadoc"      defStyleNum="dsComment"/>
		</itemDatas>
	</highlighting>
	<general>
		<keywords casesensitive="1"/>
	</general>
</language>
