Package io.codemodder.remediation
Class MatchAndFixStrategy
java.lang.Object
io.codemodder.remediation.MatchAndFixStrategy
- All Implemented Interfaces:
RemediationStrategy
Provides matching logic as well as a fix strategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
match
(com.github.javaparser.ast.Node node) Matches a node against an expected pattern for a fix.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.codemodder.remediation.RemediationStrategy
fix
-
Constructor Details
-
MatchAndFixStrategy
public MatchAndFixStrategy()
-
-
Method Details
-
match
public abstract boolean match(com.github.javaparser.ast.Node node) Matches a node against an expected pattern for a fix.- Parameters:
node
-- Returns:
-