![JAR search and dependency download from the Maven repository](/logo.png)
de.is24.deadcode4j.analyzer.AnalyzerAdapter 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.AnalysisContext;
import de.is24.deadcode4j.AnalysisSink;
import de.is24.deadcode4j.AnalyzedCode;
import de.is24.deadcode4j.Analyzer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nonnull;
/**
* The AnalyzerAdapter
implements all non-vital methods defined for an Analyzer
with a no-op.
*
* @since 1.4
*/
public abstract class AnalyzerAdapter implements Analyzer {
protected final Logger logger = LoggerFactory.getLogger(getClass());
@Override
public String toString() {
return getClass().getName();
}
@Override
public void finishAnalysis(@Nonnull AnalysisContext analysisContext) {
}
@Override
public void finishAnalysis(@Nonnull AnalysisSink analysisSink, @Nonnull AnalyzedCode analyzedCode) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy