
de.is24.deadcode4j.AnalysisContext 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;
import de.is24.guava.NonNullFunction;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Map;
import static com.google.common.collect.Maps.newHashMap;
/**
* The AnalysisContext
extends {@link de.is24.deadcode4j.AnalysisSink} by providing access to the
* {@link #getModule() analyzed module} and {@link #getIntermediateResult(Object) the intermediate results} of the
* modules it depends on. Additionally, it provides a {@link #getCache() cache} to use for caching calculated
* data relevant for one context.
*
* @since 1.1.0
*/
public class AnalysisContext extends AnalysisSink {
@Nonnull
private final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy