
de.is24.deadcode4j.analyzer.JeeAnnotationsAnalyzer 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 class files: marks a class as being in use if it is annotated with one of those JEE annotations:
*
* - javax.annotation.ManagedBean
* - javax.faces.component.behavior.FacesBehavior
* - javax.faces.convert.FacesConverter
* - javax.faces.event.ListenerFor
* - javax.faces.event.ListenersFor
* - javax.faces.event.NamedEvent
* - javax.faces.render.FacesBehaviorRenderer
* - javax.faces.render.FacesRenderer
* - javax.faces.validator.FacesValidator
* - javax.faces.view.facelets.FaceletsResourceResolver
* - javax.inject.Named
* - javax.persistence.metamodel.StaticMetamodel
* - javax.xml.bind.annotation.XmlRegistry
* - javax.xml.bind.annotation.XmlSchema
*
*
* @since 1.3
*/
public final class JeeAnnotationsAnalyzer extends AnnotationsAnalyzer {
public JeeAnnotationsAnalyzer() {
super("_JEE-Annotation_",
"javax.annotation.ManagedBean",
"javax.faces.component.behavior.FacesBehavior",
"javax.faces.convert.FacesConverter",
"javax.faces.event.ListenerFor",
"javax.faces.event.ListenersFor",
"javax.faces.event.NamedEvent",
"javax.faces.render.FacesBehaviorRenderer",
"javax.faces.render.FacesRenderer",
"javax.faces.validator.FacesValidator",
"javax.faces.view.facelets.FaceletsResourceResolver",
"javax.inject.Named",
"javax.persistence.metamodel.StaticMetamodel",
"javax.xml.bind.annotation.XmlRegistry",
"javax.xml.bind.annotation.XmlSchema");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy