<?xml version="1.0"?>
<ruleset name="JFlex ruleset" xmlns="http://pmd.sf.net/ruleset/1.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
	xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
	<description>
		The ruleset for JFlex is pretty complete.
	</description>

	<rule ref="rulesets/java/basic.xml" />
	<rule ref="rulesets/java/controversial.xml">
		<!-- Dataflow generates too many Found 'DU'-anomaly -->
		<exclude name="DataflowAnomalyAnalysis" />
		<!-- Fields in interfaces are automatically public static final, and methods 
			are public abstract. Generating a warning because these modifiers are superfluous 
			is really controversial. -->
		<exclude name="UnusedModifier" />
	</rule>
	<rule ref="rulesets/java/imports.xml" />
	<rule ref="rulesets/java/braces.xml" />
	<rule ref="rulesets/java/clone.xml" />
	<rule ref="rulesets/java/codesize.xml" />
	<rule ref="rulesets/java/design.xml" />
	<rule ref="rulesets/java/strings.xml" />
	<rule ref="rulesets/java/unusedcode.xml" />
</ruleset>
