@Override
    public boolean matches(Class<?> type) {
      return type != null && type.isAnnotationPresent(annotation);
    }
Returns true if the type is annotated with the class provided to the constructor.
src/main/java/org/apache/ibatis/io/ResolverUtil.java