de.is24.deadcode4j.analyzer.AopXmlAnalyzer 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;
import de.is24.deadcode4j.Analyzer;
/**
* Analyzes aop.xml files: lists the aspects being referenced.
* This should work for both AspectJ and
* AspectWerkz.
*
* @since 1.5
*/
public final class AopXmlAnalyzer extends SimpleXmlAnalyzer implements Analyzer {
public AopXmlAnalyzer() {
super("_AOP-XML_", "aop.xml", null);
registerClassAttribute("aspect", "class");
registerClassAttribute("aspect", "name");
}
}