org.tinygroup.annotation.config
类 AnnotationTypeMatcher

java.lang.Object
  继承者 org.tinygroup.annotation.config.AnnotationTypeMatcher

public class AnnotationTypeMatcher
extends Object

封装classname和annotationType正则表达式的类

作者:
renhui

构造方法摘要
AnnotationTypeMatcher(List<String> classNames, String annotationType)
           
 
方法摘要
 boolean isAnnotationTypeMatch(Annotation annotation)
          传入的注解是否匹配注解正则
 boolean isMatch(String classFullPath)
          传入的路径是否匹配已有的类路径正则
 
从类 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.