org.tinygroup.annotation.config
类 AnnotationTypeMatcher
java.lang.Object
org.tinygroup.annotation.config.AnnotationTypeMatcher
public class AnnotationTypeMatcher
- extends Object
封装classname和annotationType正则表达式的类
- 作者:
- renhui
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationTypeMatcher
public AnnotationTypeMatcher(List<String> classNames,
String annotationType)
isMatch
public boolean isMatch(String classFullPath)
- 传入的路径是否匹配已有的类路径正则
- 参数:
classFullPath -
- 返回:
isAnnotationTypeMatch
public boolean isAnnotationTypeMatch(Annotation annotation)
- 传入的注解是否匹配注解正则
- 参数:
annotation -
- 返回:
Copyright © 2006–2016 TinyGroup. All rights reserved.