Class MethodMatcher
- java.lang.Object
-
- org.hotswap.agent.versions.matcher.AbstractMatcher
-
- org.hotswap.agent.versions.matcher.MethodMatcher
-
- All Implemented Interfaces:
VersionMatcher
public class MethodMatcher extends AbstractMatcher
The MethodMatcher is the matcher responsible for parsing and applying the matching algorithm at the method level. Each method in the plugin is allowed to match different versions of artifacts, so one plugin could potentially work for multiple versions of the same artifact which might have different implementation details.- Author:
- alpapad@gmail.com
-
-
Field Summary
-
Fields inherited from class org.hotswap.agent.versions.matcher.AbstractMatcher
LOGGER, matchers, shouldApply
-
-
Constructor Summary
Constructors Constructor Description MethodMatcher(Method method)Instantiates a new method matcher.
-
-
-
Constructor Detail
-
MethodMatcher
public MethodMatcher(Method method)
Instantiates a new method matcher.- Parameters:
method- the method
-
-