com.github.datalking.aop.TruePointcut Maven / Gradle / Ivy
package com.github.datalking.aop;
import java.io.Serializable;
/**
* @author yaoo on 4/18/18
*/
public class TruePointcut implements Pointcut, Serializable {
public static final TruePointcut INSTANCE = new TruePointcut();
private TruePointcut() {
}
@Override
public ClassFilter getClassFilter() {
return ClassFilter.TRUE;
}
@Override
public MethodMatcher getMethodMatcher() {
return MethodMatcher.TRUE;
}
private Object readResolve() {
return INSTANCE;
}
@Override
public String toString() {
return "Pointcut.TRUE";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy