All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jn.langx.invocation.matcher.MethodMatcher Maven / Gradle / Ivy

Go to download

Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang. Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...

There is a newer version: 4.8.2
Show newest version
package com.jn.langx.invocation.matcher;

import com.jn.langx.invocation.MethodInvocation;

import java.lang.reflect.Method;

public interface MethodMatcher {
    /**
     * 用于静态匹配,也就是未必是在调用方法时进行匹配
     */
    boolean matches(Method method);

    /**
     * 用于调用方法时进行匹配
     */
    boolean matches(MethodInvocation invocation);

    /**
     * @return 是否只能用于匹配 MethodInvocation
     */
    boolean isInvocationMatcher();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy