All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.is24.deadcode4j.analyzer.SpringAnnotationsAnalyzer Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package de.is24.deadcode4j.analyzer;

/**
 * Analyzes class files: marks a class as being in use if it is annotated with one of those Spring annotations:
 * 
    *
  • org.springframework.jmx.export.annotation.ManagedResource
  • *
  • org.springframework.stereotype.Component
  • *
*

* Those Spring annotations are marked with @Component and thus are recursively considered as well: *

    *
  • org.springframework.context.annotation.Configuration
  • *
  • org.springframework.stereotype.Controller
  • *
  • org.springframework.stereotype.Service
  • *
  • org.springframework.stereotype.Repository
  • *
* * @since 1.3 */ public final class SpringAnnotationsAnalyzer extends AnnotationsAnalyzer { public SpringAnnotationsAnalyzer() { super("_Spring-Annotation_", "org.springframework.jmx.export.annotation.ManagedResource", "org.springframework.stereotype.Component"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy