com.jn.langx.invocation.matcher.TrueMethodMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langx-java Show documentation
Show all versions of langx-java Show documentation
Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang.
Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...
package com.jn.langx.invocation.matcher;
import com.jn.langx.invocation.MethodInvocation;
import java.lang.reflect.Method;
public class TrueMethodMatcher implements MethodMatcher {
public static final TrueMethodMatcher INSTANCE = new TrueMethodMatcher();
@Override
public boolean matches(Method method) {
return true;
}
@Override
public boolean matches(MethodInvocation invocation) {
return true;
}
@Override
public boolean isInvocationMatcher() {
return false;
}
}