
de.is24.deadcode4j.analyzer.JettyXmlAnalyzer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deadcode4j-maven-plugin Show documentation
Show all versions of deadcode4j-maven-plugin Show documentation
Finds unused classes of a project
package de.is24.deadcode4j.analyzer;
/**
* Analyzes Jetty XML configuration files.
* Reports the {@code class} and {@code type} attributes as classes being referenced.
*
* @since 2.0.0
*/
public class JettyXmlAnalyzer extends SimpleXmlAnalyzer {
public JettyXmlAnalyzer() {
super("_Jetty-XML_", ".xml", "Configure");
registerClassAttribute("Arg", "type");
registerClassAttribute("Array", "type");
registerClassAttribute("Call", "class");
registerClassAttribute("Configure", "class");
registerClassAttribute("Get", "class");
registerClassAttribute("Item", "type");
registerClassAttribute("New", "class");
registerClassAttribute("Put", "type");
registerClassAttribute("Set", "class");
registerClassAttribute("Set", "type");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy