io.codemodder.remediation.MatchAndFixStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codemodder-base Show documentation
Show all versions of codemodder-base Show documentation
Base framework for writing codemods in Java
package io.codemodder.remediation;
import com.github.javaparser.ast.Node;
/** Provides matching logic as well as a fix strategy */
public abstract class MatchAndFixStrategy implements RemediationStrategy {
/**
* Matches a node against an expected pattern for a fix.
*
* @param node
* @return
*/
public abstract boolean match(final Node node);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy